swagger.yaml 947 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099
  1. definitions:
  2. app.Response:
  3. properties:
  4. code:
  5. type: integer
  6. data: {}
  7. msg:
  8. type: string
  9. page:
  10. description: 页码
  11. type: integer
  12. pagesize:
  13. description: 每页条数
  14. type: integer
  15. total:
  16. description: 总条数
  17. type: integer
  18. type: object
  19. common.ClientMenu:
  20. properties:
  21. children:
  22. description: 子菜单列表
  23. items:
  24. $ref: '#/definitions/common.ClientMenu'
  25. type: array
  26. code:
  27. description: ID
  28. type: string
  29. isshow:
  30. description: 是否显示
  31. type: boolean
  32. remark:
  33. description: 备注
  34. type: string
  35. rulekey:
  36. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  37. type: string
  38. sort:
  39. description: 排序
  40. type: integer
  41. title:
  42. description: 标题
  43. type: string
  44. type:
  45. description: 类型,1:菜单 2:按钮
  46. type: integer
  47. url:
  48. description: URL
  49. type: string
  50. type: object
  51. common.PCWebMenu:
  52. properties:
  53. auth:
  54. description: 页面权限列表
  55. items:
  56. $ref: '#/definitions/common.PCWebMenuAuth'
  57. type: array
  58. children:
  59. description: 子菜单列表
  60. items:
  61. $ref: '#/definitions/common.PCWebMenu'
  62. type: array
  63. code:
  64. description: ID,新版本中权限KEY也是这个字段
  65. type: string
  66. component:
  67. description: 路由组件
  68. type: string
  69. isshow:
  70. description: 是否显示
  71. type: boolean
  72. path:
  73. description: 路由路径
  74. type: string
  75. remark:
  76. description: 备注
  77. type: string
  78. rulekey:
  79. description: 权限主键,非空表示需要判断控制,非空值不可重复
  80. type: string
  81. sort:
  82. description: 排序
  83. type: integer
  84. title:
  85. description: 标题
  86. type: string
  87. url:
  88. description: URL
  89. type: string
  90. type: object
  91. common.PCWebMenuAuth:
  92. properties:
  93. code:
  94. description: ID,新版本中权限KEY也是这个字段
  95. type: string
  96. isshow:
  97. description: 是否显示
  98. type: boolean
  99. label:
  100. description: 标题
  101. type: string
  102. remark:
  103. description: 备注
  104. type: string
  105. rulekey:
  106. description: 权限主键,非空表示需要判断控制,非空值不可重复
  107. type: string
  108. type: object
  109. common.QueryImageConfigsRsp:
  110. properties:
  111. areauserid:
  112. description: 所属机构ID
  113. type: integer
  114. configid:
  115. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  116. type: integer
  117. createdate:
  118. description: 创建时间
  119. type: string
  120. creatorid:
  121. description: 创建人
  122. type: integer
  123. imagedetailpath:
  124. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  125. type: string
  126. imagepath:
  127. description: 图片
  128. type: string
  129. imagetype:
  130. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  131. type: integer
  132. isshow:
  133. description: 是否展示 - 0:不展示 1:展示
  134. type: integer
  135. marketid:
  136. description: 市场ID
  137. type: integer
  138. modifierid:
  139. description: 操作人
  140. type: integer
  141. sort:
  142. description: 排序
  143. type: integer
  144. title:
  145. description: 标题
  146. type: string
  147. trademode:
  148. description: 交易模式
  149. type: integer
  150. updatedate:
  151. description: 修改时间
  152. type: string
  153. url:
  154. description: 链接(地址或商品ID)
  155. type: string
  156. urltype:
  157. description: 链接类型 - 1:直接地址 2:商品ID
  158. type: integer
  159. required:
  160. - configid
  161. type: object
  162. common.QueryNoticeRsp:
  163. properties:
  164. auditoruserid:
  165. description: 审核人
  166. type: integer
  167. auditremark:
  168. description: 审核备注
  169. type: string
  170. audittime:
  171. description: 审核日期
  172. type: string
  173. autoid:
  174. description: 自增ID
  175. type: integer
  176. content:
  177. description: 内容
  178. type: string
  179. createtime:
  180. description: 创建时间
  181. type: string
  182. creatorid:
  183. description: 建仓人
  184. type: integer
  185. endtime:
  186. description: 结束时间
  187. type: string
  188. istop:
  189. description: 是否置顶 - 0:不置顶 1:置顶
  190. type: integer
  191. msgiconurl:
  192. description: 消息图标Url
  193. type: string
  194. msgtype:
  195. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  196. type: integer
  197. publisher:
  198. description: 消息发布者
  199. type: string
  200. readed:
  201. description: 是否已读
  202. type: boolean
  203. scheduletime:
  204. description: 计划发送时间
  205. type: string
  206. sendtype:
  207. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  208. type: integer
  209. sentstatus:
  210. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  211. type: integer
  212. title:
  213. description: 标题
  214. type: string
  215. userid:
  216. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  217. type: integer
  218. required:
  219. - autoid
  220. type: object
  221. common.QueryProvincesAndCitiesRsp:
  222. properties:
  223. cities:
  224. description: 市
  225. items:
  226. $ref: '#/definitions/models.Division'
  227. type: array
  228. province:
  229. $ref: '#/definitions/models.Division'
  230. description: 省
  231. type: object
  232. common.QueryTableDefineRsp:
  233. properties:
  234. columns:
  235. description: 列头信息数组
  236. items:
  237. $ref: '#/definitions/models.Tablecolumnconfig'
  238. type: array
  239. remark:
  240. description: Remark
  241. type: string
  242. tabelmenu:
  243. description: 列表菜单
  244. type: string
  245. tablekey:
  246. description: 列表Key
  247. type: string
  248. tablename:
  249. description: 列表名称
  250. type: string
  251. tabletype:
  252. description: 列表类型 - 1:管理端 2:终端
  253. type: integer
  254. required:
  255. - tablekey
  256. type: object
  257. common.QueryTraderMenuRsp:
  258. properties:
  259. OperationMenu:
  260. description: 功能菜单
  261. items:
  262. $ref: '#/definitions/models.OperationPrimaryMenu'
  263. type: array
  264. QuoteMenu:
  265. description: 报价牌分类菜单
  266. items:
  267. $ref: '#/definitions/models.QuotePrimaryMenu'
  268. type: array
  269. type: object
  270. cptrade.Cptradepositioncancel:
  271. properties:
  272. accountid:
  273. description: 申请人账户ID
  274. type: integer
  275. applystatus:
  276. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  277. type: integer
  278. applytime:
  279. description: 申请时间
  280. type: string
  281. cancelid:
  282. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  283. type: integer
  284. cancelqty:
  285. description: 注销数量
  286. type: integer
  287. createtime:
  288. description: 创建时间
  289. type: string
  290. creatorid:
  291. description: 创建人ID
  292. type: integer
  293. creatorname:
  294. description: 创建人
  295. type: string
  296. goodscode:
  297. description: 订单商品代码
  298. type: string
  299. goodsid:
  300. description: 商品ID
  301. type: integer
  302. goodsname:
  303. description: 订单商品名称
  304. type: string
  305. goodunit:
  306. description: 报价单位
  307. type: string
  308. handlestatus:
  309. description: 处理状态
  310. type: integer
  311. marketid:
  312. description: 市场ID
  313. type: integer
  314. marketname:
  315. description: 市场名称
  316. type: string
  317. tradedate:
  318. description: 交易日(yyyyMMdd)
  319. type: string
  320. userid:
  321. description: 申请人ID
  322. type: integer
  323. required:
  324. - cancelid
  325. type: object
  326. cptrade.Cptradepresaleapply:
  327. properties:
  328. accountid:
  329. description: 申请人账户ID
  330. type: integer
  331. applyid:
  332. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  333. type: integer
  334. applyremark:
  335. description: 申请备注
  336. type: string
  337. applystatus:
  338. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  339. type: integer
  340. applytime:
  341. description: 申请时间
  342. type: string
  343. attachmenturl:
  344. description: 附件地址
  345. type: string
  346. endtime:
  347. description: 预售结束时间
  348. type: string
  349. goodscode:
  350. description: 商品代码
  351. type: string
  352. goodsid:
  353. description: 商品ID
  354. type: integer
  355. goodsname:
  356. description: 商品名称
  357. type: string
  358. goodunit:
  359. description: 报价单位
  360. type: string
  361. handlestatus:
  362. description: 处理状态
  363. type: integer
  364. marketid:
  365. description: 预售市场ID
  366. type: integer
  367. marketname:
  368. description: 预售市场名称
  369. type: string
  370. presaleqty:
  371. description: 预售数量
  372. type: integer
  373. relatedgoodscode:
  374. description: 关联交易合约代码
  375. type: string
  376. relatedgoodsid:
  377. description: 关联交易合约ID
  378. type: integer
  379. relatedgoodsname:
  380. description: 关联交易合约名称
  381. type: string
  382. starttime:
  383. description: 预售开始时间
  384. type: string
  385. tradedate:
  386. description: 交易日(yyyyMMdd)
  387. type: string
  388. trademode:
  389. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  390. type: integer
  391. userid:
  392. description: 申请人ID
  393. type: integer
  394. required:
  395. - applyid
  396. type: object
  397. cptrade.Cptradeusergoodsdata:
  398. properties:
  399. EnabledQty:
  400. description: 可用量
  401. type: integer
  402. GoodsCode:
  403. description: 订单商品代码
  404. type: string
  405. GoodsName:
  406. description: 订单商品名称
  407. type: string
  408. WRStandardCode:
  409. description: 仓单标准代码
  410. type: string
  411. WRStandardName:
  412. description: 仓单标准名称
  413. type: string
  414. accountid:
  415. description: 账户ID
  416. type: integer
  417. cancelqty:
  418. description: 注销量
  419. type: integer
  420. curpresaleqty:
  421. description: 当前预售量
  422. type: integer
  423. deliveryqty:
  424. description: 交割量
  425. type: integer
  426. freezeamount:
  427. description: 冻结金额
  428. type: number
  429. goodsid:
  430. description: 商品ID
  431. type: integer
  432. goodunit:
  433. description: 报价单位
  434. type: string
  435. hasspotfreeze:
  436. description: 是否有现货冻结 - 0:否 1:有
  437. type: integer
  438. inqty:
  439. description: 转入量(总数量)
  440. type: integer
  441. marketid:
  442. description: 市场ID
  443. type: integer
  444. presaledamount:
  445. description: 已预售总金额
  446. type: integer
  447. presaledqty:
  448. description: 已预售量
  449. type: integer
  450. userid:
  451. description: 用户ID
  452. type: integer
  453. wrstandardid:
  454. description: 仓单标准ID
  455. type: integer
  456. required:
  457. - accountid
  458. - goodsid
  459. type: object
  460. cptrade.QueryCPTradeMyBidRsp:
  461. properties:
  462. accountid:
  463. description: 账户ID[报价币种]
  464. type: integer
  465. goodsid:
  466. description: 商品ID
  467. type: integer
  468. goodunit:
  469. description: 报价单位
  470. type: string
  471. marketid:
  472. description: 市场ID
  473. type: integer
  474. orderid:
  475. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  476. type: integer
  477. orderprice:
  478. description: 委托价格
  479. type: number
  480. orderqty:
  481. description: 委托数量
  482. type: integer
  483. ordertime:
  484. description: 委托时间
  485. type: string
  486. ordertotalprice:
  487. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  488. type: number
  489. ordertotalweight:
  490. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  491. type: integer
  492. totaltotalprice:
  493. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  494. type: number
  495. tradeprice:
  496. description: 成交价格
  497. type: number
  498. tradeqty:
  499. description: 成交数量
  500. type: integer
  501. required:
  502. - accountid
  503. - goodsid
  504. - marketid
  505. - orderid
  506. - orderqty
  507. - ordertime
  508. - tradeprice
  509. - tradeqty
  510. type: object
  511. cptrade.QueryCPTradeOrderDetailRsq:
  512. properties:
  513. accountid:
  514. description: 账户ID[报价币种]
  515. type: integer
  516. buildtype:
  517. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  518. type: integer
  519. buyorsell:
  520. description: 买卖 - 0:买 1:卖
  521. type: integer
  522. cancelorderid:
  523. description: 撤单单号(撤单时填写)
  524. type: integer
  525. cancelqty:
  526. description: 撤单数量
  527. type: integer
  528. clientordertime:
  529. description: 客户端委托时间
  530. type: string
  531. clientticket:
  532. description: 客户端流水号
  533. type: string
  534. clienttype:
  535. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  536. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  537. type: integer
  538. closeexchagechargevalue:
  539. description: 平仓交易所手续费设置值
  540. type: number
  541. closefeealgorithm:
  542. description: 平仓手续费收取方式 1:比率 2:固定
  543. type: integer
  544. closefreezecharge:
  545. description: 平仓冻结手续费(先建后平操作,需要记录)
  546. type: number
  547. closememberchargevalue:
  548. description: 平仓会员手续费设置值
  549. type: number
  550. closeqty:
  551. description: 平仓数量(先建后平操作 需要记录)
  552. type: integer
  553. closetradeqty:
  554. description: 平仓成交数量(先建后平操作,需要记录)
  555. type: integer
  556. closeunfreezecharge:
  557. description: 平仓解冻手续费(先建后平操作,需要记录)
  558. type: number
  559. delistingtype:
  560. description: 摘牌类型 - 1:价格最优 2:点选成交
  561. type: integer
  562. freezecharge:
  563. description: 冻结手续费
  564. type: number
  565. freezemargin:
  566. description: 冻结保证金(冻结交易金额)
  567. type: number
  568. gcaccountid:
  569. description: 账户ID[合约币种]
  570. type: integer
  571. goodsid:
  572. description: 商品ID
  573. type: integer
  574. isconfirmexercise:
  575. description: 是否确认行权- 0:否 1:是
  576. type: integer
  577. ispreexercise:
  578. description: 是否预申报- 0:否 1:是
  579. type: integer
  580. listingselecttype:
  581. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  582. type: integer
  583. marginalgorithm:
  584. description: 保证金收取方式 1:比率 2:固定
  585. type: integer
  586. marginvalue:
  587. description: 即市保证金设置值
  588. type: number
  589. marketid:
  590. description: 市场ID
  591. type: integer
  592. marketmaxsub:
  593. description: 市价最大偏移范围
  594. type: number
  595. memberuserid:
  596. description: 所属会员UserID
  597. type: integer
  598. openexchagechargevalue:
  599. description: 建仓交易所手续费设置值
  600. type: number
  601. openfeealgorithm:
  602. description: 建仓手续费收取方式 1:比率 2:固定
  603. type: integer
  604. openfreezecharge:
  605. description: 开仓冻结手续费(先建后平操作,需要记录)
  606. type: number
  607. openmemberchargevalue:
  608. description: 建仓会员手续费设置值
  609. type: number
  610. openqty:
  611. description: 开仓数量(先建后平操作,需要记录)
  612. type: integer
  613. opentradeqty:
  614. description: 开仓成交数量(先建后平操作,需要记录)
  615. type: integer
  616. openunfreezecharge:
  617. description: 开仓解冻手续费(先建后平操作,需要记录)
  618. type: number
  619. operatetype:
  620. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  621. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  622. 15:管理端协议转让
  623. type: integer
  624. operatorid:
  625. description: 登录账号(LoginID)
  626. type: integer
  627. optiontype:
  628. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  629. type: integer
  630. orderprice:
  631. description: 委托价格
  632. type: number
  633. orderqty:
  634. description: 委托数量
  635. type: integer
  636. ordersrc:
  637. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  638. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  639. type: integer
  640. orderstatus:
  641. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  642. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  643. 16:成交失败违约(荷兰式竞拍专用)
  644. type: integer
  645. ordertime:
  646. description: 委托时间
  647. type: string
  648. preexerciseprice:
  649. description: 预申报价格
  650. type: number
  651. premium:
  652. description: 权利金
  653. type: number
  654. preorderid:
  655. description: 关联预埋单号(止盈止损单时填写)
  656. type: integer
  657. pricemode:
  658. description: '取价方式 - 1:市价 2: 限价'
  659. type: integer
  660. quoteid:
  661. description: 报价单ID
  662. type: integer
  663. relatedid:
  664. description: 关联单号(交割单)
  665. type: integer
  666. retcode:
  667. description: 错误代码
  668. type: integer
  669. sessionid:
  670. description: 会话ID
  671. type: integer
  672. strorderid:
  673. description: 委托单号
  674. type: string
  675. tradedate:
  676. description: 交易日(yyyyMMdd)
  677. type: string
  678. tradeproperty:
  679. description: 交易属性
  680. type: integer
  681. tradeqty:
  682. description: 成交数量
  683. type: integer
  684. unfreezecharge:
  685. description: 解冻手续费
  686. type: number
  687. unfreezemargin:
  688. description: 解冻保证金
  689. type: number
  690. updatetime:
  691. description: 更新时间
  692. type: string
  693. uuid:
  694. description: 发起端唯一id
  695. type: string
  696. validtime:
  697. description: 有效期限
  698. type: string
  699. validtype:
  700. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  701. type: integer
  702. volumetype:
  703. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  704. type: integer
  705. required:
  706. - accountid
  707. - buildtype
  708. - buyorsell
  709. - goodsid
  710. - marketid
  711. - memberuserid
  712. - operatetype
  713. - orderqty
  714. - ordertime
  715. - pricemode
  716. - strorderid
  717. - tradedate
  718. - validtype
  719. type: object
  720. cptrade.QueryMyCPTradeGoodsRsp:
  721. properties:
  722. accountid:
  723. description: 卖方账户ID
  724. type: integer
  725. agreeunit:
  726. description: 合约单位
  727. type: number
  728. applyid:
  729. description: 关联申请ID
  730. type: integer
  731. attachmenturl:
  732. description: 附件地址
  733. type: string
  734. createtime:
  735. description: 创建时间
  736. type: string
  737. currencyid:
  738. description: 报价货币ID
  739. type: integer
  740. decimalplace:
  741. description: 报价小数位
  742. type: integer
  743. endtime:
  744. description: 预售结束时间
  745. type: string
  746. floorprice:
  747. description: 底价[大宗式竞拍]
  748. type: number
  749. goodscode:
  750. description: 商品代码(预售)
  751. type: string
  752. goodsdetail:
  753. description: 详情[大宗]
  754. type: string
  755. goodsid:
  756. description: 商品ID(自增ID SEQ_GOODS)
  757. type: integer
  758. goodsname:
  759. description: 商品名称(预售)
  760. type: string
  761. goodunit:
  762. description: 报价单位
  763. type: string
  764. goodunitid:
  765. description: 报价单位ID
  766. type: integer
  767. marketid:
  768. description: 所属市场ID
  769. type: integer
  770. marketname:
  771. description: 预售市场名称
  772. type: string
  773. presaledamount:
  774. description: 已预售总金额(预售结束时更新)
  775. type: number
  776. presaledqty:
  777. description: 已预售量(预售结束时更新)
  778. type: integer
  779. presalemode:
  780. description: 预售模式 - 1:一口价 2:大宗式竞拍
  781. type: integer
  782. presaleqty:
  783. description: 预售数量
  784. type: integer
  785. refprice:
  786. description: 参考价格[一口价]
  787. type: number
  788. relatedgoodscode:
  789. description: 商品代码(订单)
  790. type: string
  791. relatedgoodsid:
  792. description: 关联交易合约ID
  793. type: integer
  794. relatedgoodsname:
  795. description: 商品名称(订单)
  796. type: string
  797. relatedmarketid:
  798. description: 关联交易合约市场ID
  799. type: integer
  800. sellstatus:
  801. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  802. type: integer
  803. startprice:
  804. description: 起拍价[大宗式竞拍]
  805. type: number
  806. starttime:
  807. description: 预售开始时间
  808. type: string
  809. tradedate:
  810. description: 交易日(yyyyMMdd)
  811. type: string
  812. tradeprice:
  813. description: 成交价[大宗]
  814. type: number
  815. userid:
  816. description: 卖方用户ID
  817. type: integer
  818. required:
  819. - goodscode
  820. - goodsid
  821. - goodsname
  822. - marketid
  823. - relatedgoodscode
  824. - relatedgoodsname
  825. type: object
  826. cptrade.QueryPresaleGoodsExRsp:
  827. properties:
  828. attachmenturl:
  829. description: 附件地址
  830. type: string
  831. createtime:
  832. description: 创建时间
  833. type: string
  834. endtime:
  835. description: 预售结束时间
  836. type: string
  837. floorprice:
  838. description: 底价[大宗式竞拍]
  839. type: number
  840. goodsdetail:
  841. description: 详情[大宗]
  842. type: string
  843. goodsid:
  844. description: 商品ID(预售)
  845. type: integer
  846. goodunit:
  847. description: 报价单位
  848. type: string
  849. marketid:
  850. description: 预售市场ID - 根据预售模式选择市场
  851. type: integer
  852. presaledamount:
  853. description: 已预售总金额(预售结束时更新)
  854. type: number
  855. presaledqty:
  856. description: 已预售量(预售结束时更新)
  857. type: integer
  858. presalemode:
  859. description: 预售模式 - 1:一口价 2:大宗式竞拍
  860. type: integer
  861. presaleqty:
  862. description: 预售数量
  863. type: integer
  864. refprice:
  865. description: 参考价格[一口价]
  866. type: number
  867. relatedgoodsid:
  868. description: 关联交易合约ID
  869. type: integer
  870. relatedmarketid:
  871. description: 关联交易合约市场ID
  872. type: integer
  873. sellstatus:
  874. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  875. type: integer
  876. startprice:
  877. description: 起拍价[大宗式竞拍]
  878. type: number
  879. starttime:
  880. description: 预售开始时间
  881. type: string
  882. tradedate:
  883. description: 交易日(yyyyMMdd)
  884. type: string
  885. tradeprice:
  886. description: 成交价[大宗]
  887. type: number
  888. required:
  889. - goodsid
  890. type: object
  891. delivery.QueryDeliveryRelationRsp:
  892. properties:
  893. begindate:
  894. description: 起始日期(yyyyMMdd)
  895. type: string
  896. buytemplateid:
  897. description: 买履约计划模板ID
  898. type: integer
  899. deliverygoodscode:
  900. description: 品种代码
  901. type: string
  902. deliverygoodsid:
  903. description: 交割商品
  904. type: integer
  905. deliverygoodsname:
  906. description: 品种名称
  907. type: string
  908. deliverymode:
  909. description: 交割方式 - 1:点选式 2:申报式
  910. type: integer
  911. deliverypricerule:
  912. description: 交割价规则- 1:行情价 2:建仓价
  913. type: integer
  914. deliverytype:
  915. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  916. type: integer
  917. enddate:
  918. description: 结束日期(yyyyMMdd)
  919. type: string
  920. enumdicname:
  921. description: 品类单位名称
  922. type: string
  923. goodscode:
  924. description: 商品代码
  925. type: string
  926. goodsid:
  927. description: 交易合约ID
  928. type: integer
  929. goodsname:
  930. description: 商品名称
  931. type: string
  932. marketid:
  933. description: 市场ID
  934. type: integer
  935. mindeliveryqty:
  936. description: 最小交割系数(K)
  937. type: integer
  938. p2deliveryprice:
  939. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  940. type: number
  941. p2deliveryratio:
  942. description: P2合约系数(p)
  943. type: integer
  944. p2goodsid:
  945. description: P2合约ID
  946. type: integer
  947. p2pricemode:
  948. description: P2合约价格方式 - 1:商品价 2:固定值
  949. type: integer
  950. pdeliveryprice:
  951. description: P合约价格(商品价时填写0,固定值时填写固定值)
  952. type: number
  953. pdeliveryratio:
  954. description: P合约系数(n)
  955. type: integer
  956. pgoodscode:
  957. description: p合约代码
  958. type: string
  959. pgoodsid:
  960. description: P合约ID
  961. type: integer
  962. ppricemode:
  963. description: P合约价格方式 - 1:商品价 2:固定值
  964. type: integer
  965. rratio:
  966. description: 兑换系数(R)
  967. type: integer
  968. rratio1:
  969. description: 兑换系数(交易合约)(R1)
  970. type: integer
  971. rratio2:
  972. description: 兑换系数(仓单标准)(R2)
  973. type: integer
  974. selltemplateid:
  975. description: 卖履约计划模板ID
  976. type: integer
  977. wrstandardid:
  978. description: 仓单标准ID
  979. type: integer
  980. xdeliveryratio:
  981. description: 交易合约系数(m)
  982. type: integer
  983. required:
  984. - begindate
  985. - enddate
  986. - goodsid
  987. - mindeliveryqty
  988. - xdeliveryratio
  989. type: object
  990. ermcp.ExposureDetailRsp:
  991. properties:
  992. areauserid:
  993. description: 机构ID
  994. type: integer
  995. changeQty:
  996. description: 套保变动量
  997. type: number
  998. contracttype:
  999. description: 现货合同类型 - 1:采购 -1:销售
  1000. type: integer
  1001. convertfactor:
  1002. description: 标仓系数
  1003. type: number
  1004. convertratio:
  1005. description: 套保系数
  1006. type: number
  1007. createtime:
  1008. description: 时间
  1009. type: string
  1010. enumdicname:
  1011. description: 现货商品单位名称
  1012. type: string
  1013. logtype:
  1014. description: 类型 - 1:套保计划 2:现货合同
  1015. type: integer
  1016. middlegoodsId:
  1017. description: 套保商品id
  1018. type: integer
  1019. middlegoodscode:
  1020. description: 套保商品代码
  1021. type: string
  1022. middlegoodsname:
  1023. description: 套保商品名称
  1024. type: string
  1025. qty:
  1026. description: 数量
  1027. type: number
  1028. relateNo:
  1029. description: 现货合同/套保计划编号
  1030. type: string
  1031. wrstandardcode:
  1032. description: 现货商品代码
  1033. type: string
  1034. wrstandardid:
  1035. description: 现货商品ID
  1036. type: integer
  1037. wrstandardname:
  1038. description: 现货商品名称
  1039. type: string
  1040. type: object
  1041. ermcp.ExposureHedgePosDetailRsp:
  1042. properties:
  1043. buyorsell:
  1044. description: 买卖方向 0-买 1-卖
  1045. type: integer
  1046. channelbuildtype:
  1047. description: 开平方向 1-建仓 2-平仓
  1048. type: integer
  1049. goodscode:
  1050. description: 商品代码
  1051. type: string
  1052. goodsname:
  1053. description: 商品名称
  1054. type: string
  1055. hedgegoodsid:
  1056. description: 商品id
  1057. type: integer
  1058. tradeqty:
  1059. description: 数量(成交数量)
  1060. type: integer
  1061. tradetime:
  1062. description: 时间(成交时间)
  1063. type: string
  1064. type: object
  1065. ermcp.ExposureHedgePositionRsp:
  1066. properties:
  1067. accountid:
  1068. description: 资金账号[外部母账户]
  1069. type: integer
  1070. curbuyposition:
  1071. description: 期末买头寸
  1072. type: integer
  1073. cursellposition:
  1074. description: 期末卖头寸
  1075. type: integer
  1076. curtdbuyposition:
  1077. description: 期末今日买头寸
  1078. type: integer
  1079. curtdsellposition:
  1080. description: 期末今日卖头寸
  1081. type: integer
  1082. curydbuyposition:
  1083. description: 期末上日买头寸
  1084. type: integer
  1085. curydsellposition:
  1086. description: 期末上日卖头寸
  1087. type: integer
  1088. decreaseqty:
  1089. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1090. type: integer
  1091. fretdbuyposition:
  1092. description: 冻结今日买头寸
  1093. type: integer
  1094. fretdsellposition:
  1095. description: 冻结今日卖头寸
  1096. type: integer
  1097. freydbuyposition:
  1098. description: 冻结上日买头寸
  1099. type: integer
  1100. freydsellposition:
  1101. description: 冻结上日卖头寸
  1102. type: integer
  1103. goodscode:
  1104. description: 商品代码
  1105. type: string
  1106. goodsid:
  1107. description: 商品id
  1108. type: integer
  1109. goodsname:
  1110. description: 商品名称
  1111. type: string
  1112. hedgeaccountcode:
  1113. description: 对冲账号
  1114. type: string
  1115. hedgegoodsid:
  1116. description: 对冲合约ID
  1117. type: integer
  1118. increaseqty:
  1119. description: 增加数量 = 期末买头寸 - 期初买头寸
  1120. type: integer
  1121. marketid:
  1122. description: 市场ID
  1123. type: integer
  1124. relateduserid:
  1125. description: 关联用户id
  1126. type: integer
  1127. totalcurqty:
  1128. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1129. type: integer
  1130. totalydqty:
  1131. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1132. type: integer
  1133. tradedate:
  1134. description: 交易日(yyyyMMdd)
  1135. type: string
  1136. ydbuyposition:
  1137. description: 期初买头寸
  1138. type: integer
  1139. ydsellposition:
  1140. description: 期初卖头寸
  1141. type: integer
  1142. type: object
  1143. ermcp.ExposureSpotDetailRsp:
  1144. properties:
  1145. contracttype:
  1146. description: 合同类型 1-采购 -1-销售
  1147. type: integer
  1148. createtime:
  1149. description: 创建时间
  1150. type: string
  1151. enumdicname:
  1152. description: 现货商品单位名称
  1153. type: string
  1154. logtype:
  1155. description: 记录类型 1-套保 2-现货合同
  1156. type: integer
  1157. qty:
  1158. description: 数量
  1159. type: number
  1160. recordname:
  1161. description: 类型名称
  1162. type: string
  1163. relatedid:
  1164. description: 套保计划ID/现货合同ID
  1165. type: string
  1166. relatedno:
  1167. description: 编号
  1168. type: string
  1169. strtime:
  1170. description: 时间
  1171. type: string
  1172. wrstandardcode:
  1173. description: 现货商品代码
  1174. type: string
  1175. wrstandardname:
  1176. description: 现货商品名称
  1177. type: string
  1178. type: object
  1179. ermcp.ExposureSpotRsp:
  1180. properties:
  1181. areauserid:
  1182. description: 所属机构
  1183. type: integer
  1184. decreaseqty:
  1185. description: 减少数量=-(销售已定价数量+采购计划数量)
  1186. type: number
  1187. increaseqty:
  1188. description: 增加数量=销售计划数量+采购已定价数量
  1189. type: number
  1190. oritoalspotqty:
  1191. description: 昨日数量
  1192. type: number
  1193. totalspotqty:
  1194. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1195. type: number
  1196. updatetime:
  1197. description: 更新时间
  1198. type: string
  1199. wrstandardcode:
  1200. description: 现货品种代码
  1201. type: string
  1202. wrstandardid:
  1203. description: 现货商品ID
  1204. type: integer
  1205. wrstandardname:
  1206. description: 现货品种
  1207. type: string
  1208. type: object
  1209. ermcp.HisExposureRsp:
  1210. properties:
  1211. data:
  1212. description: 历史敞口
  1213. items:
  1214. $ref: '#/definitions/models.ErmcpHisExposure'
  1215. type: array
  1216. enumdicname:
  1217. description: 单位名称
  1218. type: string
  1219. middlegoodscode:
  1220. description: 套保品种代码
  1221. type: string
  1222. middlegoodsid:
  1223. description: 套保品种ID
  1224. type: integer
  1225. middlegoodsname:
  1226. description: 套保品种名称
  1227. type: string
  1228. type: object
  1229. ermcp.PendingAuditCntRsp:
  1230. properties:
  1231. areastockqty:
  1232. description: '待审核数量: 库存申请'
  1233. type: integer
  1234. businessdjqty:
  1235. description: '待审核数量: 点价'
  1236. type: integer
  1237. businessfpqty:
  1238. description: '待审核数量: 发票'
  1239. type: integer
  1240. businessjsqty:
  1241. description: '待审核数量: 结算'
  1242. type: integer
  1243. businesskxqty:
  1244. description: '待审核数量: 款项'
  1245. type: integer
  1246. hedgeplanqty:
  1247. description: '待审核数量: 套保计划'
  1248. type: integer
  1249. spotcontractqty:
  1250. description: '待审核数量: 现货合同'
  1251. type: integer
  1252. userqty:
  1253. description: '待审核数量: 用户'
  1254. type: integer
  1255. type: object
  1256. ermcp.QryAvalidGPRsp:
  1257. properties:
  1258. goodsgroupid:
  1259. description: 期货品种id
  1260. type: integer
  1261. goodsgroupname:
  1262. description: 期货品种名称
  1263. type: string
  1264. goodunitid:
  1265. description: 品种单位id
  1266. type: integer
  1267. goodunitname:
  1268. description: 品种单位名称
  1269. type: string
  1270. outergroupcode:
  1271. description: 期货品种代码
  1272. type: string
  1273. type: object
  1274. ermcp.QryBusinessDjRsp:
  1275. properties:
  1276. amount:
  1277. description: 期初均价
  1278. type: number
  1279. applyid:
  1280. description: 申请人
  1281. type: string
  1282. applyname:
  1283. description: 申请人名称
  1284. type: string
  1285. applystatus:
  1286. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1287. type: integer
  1288. applytime:
  1289. description: 申请时间
  1290. type: string
  1291. attachurl:
  1292. description: 附件
  1293. type: string
  1294. auditid:
  1295. description: 审核人ID
  1296. type: string
  1297. auditname:
  1298. description: 审核人名称
  1299. type: string
  1300. auditremark:
  1301. description: 审核备注
  1302. type: string
  1303. audittime:
  1304. description: 审核时间
  1305. type: string
  1306. buyusername:
  1307. description: 采购方名称
  1308. type: string
  1309. contractno:
  1310. description: 合同编号
  1311. type: string
  1312. contractstatus:
  1313. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1314. type: integer
  1315. contracttype:
  1316. description: 现货合同类型 - 1:采购 -1:销售
  1317. type: integer
  1318. deliverygoodscode:
  1319. description: 现货品种代码
  1320. type: string
  1321. deliverygoodsid:
  1322. description: 现货商品ID
  1323. type: integer
  1324. deliverygoodsname:
  1325. description: 现货品种名称
  1326. type: string
  1327. enumdicname:
  1328. description: 单位名称
  1329. type: string
  1330. goodscode:
  1331. description: 点价合约
  1332. type: string
  1333. goodsname:
  1334. description: 商品名称
  1335. type: string
  1336. operateapplyid:
  1337. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1338. type: string
  1339. operateapplytype:
  1340. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1341. type: integer
  1342. pricedPrice:
  1343. description: 点价价格(非必填)
  1344. type: number
  1345. pricedQty:
  1346. description: 点价数量(非必填)
  1347. type: number
  1348. pricemove:
  1349. description: 升贴水
  1350. type: number
  1351. pricetype:
  1352. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1353. type: integer
  1354. relatedid:
  1355. description: 现货合同ID
  1356. type: string
  1357. sellusername:
  1358. description: 销售方名字
  1359. type: string
  1360. userid:
  1361. description: 用户ID
  1362. type: integer
  1363. wrstandardcode:
  1364. description: 品类代码
  1365. type: string
  1366. wrstandardid:
  1367. description: 品类id
  1368. type: integer
  1369. wrstandardname:
  1370. description: 品类名称
  1371. type: string
  1372. type: object
  1373. ermcp.QryBussinessFpRsp:
  1374. properties:
  1375. applyid:
  1376. description: 申请人
  1377. type: string
  1378. applyname:
  1379. description: 申请人名称
  1380. type: string
  1381. applystatus:
  1382. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1383. type: integer
  1384. applytime:
  1385. description: 申请时间
  1386. type: string
  1387. attachurl:
  1388. description: 附件
  1389. type: string
  1390. auditid:
  1391. description: 审核人ID
  1392. type: string
  1393. auditname:
  1394. description: 审核人名称
  1395. type: string
  1396. auditremark:
  1397. description: 审核备注
  1398. type: string
  1399. audittime:
  1400. description: 审核时间
  1401. type: string
  1402. buyusername:
  1403. description: 采购方名称
  1404. type: string
  1405. contractno:
  1406. description: 合同编号
  1407. type: string
  1408. contractstatus:
  1409. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1410. type: integer
  1411. contracttype:
  1412. description: 现货合同类型 - 1:采购 -1:销售
  1413. type: integer
  1414. deliverygoodscode:
  1415. description: 现货品种代码
  1416. type: string
  1417. deliverygoodsid:
  1418. description: 现货商品ID
  1419. type: integer
  1420. deliverygoodsname:
  1421. description: 现货品种名称
  1422. type: string
  1423. enumdicname:
  1424. description: 单位名称
  1425. type: string
  1426. goodscode:
  1427. description: 点价合约
  1428. type: string
  1429. goodsname:
  1430. description: 商品名称
  1431. type: string
  1432. invoiceamount:
  1433. description: 已开收票金额(销售为开票,采购为收票)
  1434. type: number
  1435. operateapplyid:
  1436. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1437. type: string
  1438. operateapplytype:
  1439. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1440. type: integer
  1441. pricemove:
  1442. description: 升贴水
  1443. type: number
  1444. pricetype:
  1445. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1446. type: integer
  1447. relatedid:
  1448. description: 现货合同ID
  1449. type: string
  1450. sellusername:
  1451. description: 销售方名字
  1452. type: string
  1453. userid:
  1454. description: 用户ID
  1455. type: integer
  1456. wrstandardcode:
  1457. description: 品类代码
  1458. type: string
  1459. wrstandardid:
  1460. description: 品类id
  1461. type: integer
  1462. wrstandardname:
  1463. description: 品类名称
  1464. type: string
  1465. type: object
  1466. ermcp.QryBussinessJsExRsp:
  1467. properties:
  1468. applyid:
  1469. description: 申请人
  1470. type: string
  1471. applyname:
  1472. description: 申请人名称
  1473. type: string
  1474. applystatus:
  1475. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1476. type: integer
  1477. applytime:
  1478. description: 申请时间
  1479. type: string
  1480. attachurl:
  1481. description: 附件
  1482. type: string
  1483. auditid:
  1484. description: 审核人ID
  1485. type: string
  1486. auditname:
  1487. description: 审核人名称
  1488. type: string
  1489. auditremark:
  1490. description: 审核备注
  1491. type: string
  1492. audittime:
  1493. description: 审核时间
  1494. type: string
  1495. buyusername:
  1496. description: 采购方名称
  1497. type: string
  1498. contractno:
  1499. description: 合同编号
  1500. type: string
  1501. contractstatus:
  1502. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1503. type: integer
  1504. contracttype:
  1505. description: 现货合同类型 - 1:采购 -1:销售
  1506. type: integer
  1507. deliverygoodscode:
  1508. description: 现货品种代码
  1509. type: string
  1510. deliverygoodsid:
  1511. description: 现货商品ID
  1512. type: integer
  1513. deliverygoodsname:
  1514. description: 现货品种名称
  1515. type: string
  1516. enumdicname:
  1517. description: 单位名称
  1518. type: string
  1519. goodscode:
  1520. description: 点价合约
  1521. type: string
  1522. goodsname:
  1523. description: 商品名称
  1524. type: string
  1525. operateapplyid:
  1526. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1527. type: string
  1528. operateapplytype:
  1529. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1530. type: integer
  1531. pricemove:
  1532. description: 升贴水
  1533. type: number
  1534. pricetype:
  1535. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1536. type: integer
  1537. reckontype:
  1538. description: 结算类型
  1539. type: string
  1540. reckonvalue:
  1541. description: 值
  1542. type: number
  1543. relatedid:
  1544. description: 现货合同ID
  1545. type: string
  1546. sellusername:
  1547. description: 销售方名字
  1548. type: string
  1549. userid:
  1550. description: 用户ID
  1551. type: integer
  1552. wrstandardcode:
  1553. description: 品类代码
  1554. type: string
  1555. wrstandardid:
  1556. description: 品类id
  1557. type: integer
  1558. wrstandardname:
  1559. description: 品类名称
  1560. type: string
  1561. type: object
  1562. ermcp.QryBussinessJsRsp:
  1563. properties:
  1564. addmargin:
  1565. description: 追加保证金(非必填)
  1566. type: number
  1567. applyid:
  1568. description: 申请人
  1569. type: string
  1570. applyname:
  1571. description: 申请人名称
  1572. type: string
  1573. applystatus:
  1574. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1575. type: integer
  1576. applytime:
  1577. description: 申请时间
  1578. type: string
  1579. attachurl:
  1580. description: 附件
  1581. type: string
  1582. auditid:
  1583. description: 审核人ID
  1584. type: string
  1585. auditname:
  1586. description: 审核人名称
  1587. type: string
  1588. auditremark:
  1589. description: 审核备注
  1590. type: string
  1591. audittime:
  1592. description: 审核时间
  1593. type: string
  1594. buyusername:
  1595. description: 采购方名称
  1596. type: string
  1597. contractno:
  1598. description: 合同编号
  1599. type: string
  1600. contractstatus:
  1601. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1602. type: integer
  1603. contracttype:
  1604. description: 现货合同类型 - 1:采购 -1:销售
  1605. type: integer
  1606. decmargin:
  1607. description: 减少保证金(非必填)
  1608. type: number
  1609. deliverygoodscode:
  1610. description: 现货品种代码
  1611. type: string
  1612. deliverygoodsid:
  1613. description: 现货商品ID
  1614. type: integer
  1615. deliverygoodsname:
  1616. description: 现货品种名称
  1617. type: string
  1618. enumdicname:
  1619. description: 单位名称
  1620. type: string
  1621. goodscode:
  1622. description: 点价合约
  1623. type: string
  1624. goodsname:
  1625. description: 商品名称
  1626. type: string
  1627. operateapplyid:
  1628. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1629. type: string
  1630. operateapplytype:
  1631. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1632. type: integer
  1633. pricemove:
  1634. description: 升贴水
  1635. type: number
  1636. pricetype:
  1637. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1638. type: integer
  1639. reckonadjustamount:
  1640. description: 结算调整金额(非必填)
  1641. type: number
  1642. reckonosamount:
  1643. description: 结算溢短金额(非必填)
  1644. type: number
  1645. reckonotheramount:
  1646. description: 结算其他费用(非必填)
  1647. type: number
  1648. reckonrealqty:
  1649. description: 结算实际数量(非必填)
  1650. type: number
  1651. relatedid:
  1652. description: 现货合同ID
  1653. type: string
  1654. sellusername:
  1655. description: 销售方名字
  1656. type: string
  1657. userid:
  1658. description: 用户ID
  1659. type: integer
  1660. wrstandardcode:
  1661. description: 品类代码
  1662. type: string
  1663. wrstandardid:
  1664. description: 品类id
  1665. type: integer
  1666. wrstandardname:
  1667. description: 品类名称
  1668. type: string
  1669. type: object
  1670. ermcp.QryBussinessKxRsp:
  1671. properties:
  1672. applyid:
  1673. description: 申请人
  1674. type: string
  1675. applyname:
  1676. description: 申请人名称
  1677. type: string
  1678. applystatus:
  1679. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1680. type: integer
  1681. applytime:
  1682. description: 申请时间
  1683. type: string
  1684. attachurl:
  1685. description: 附件
  1686. type: string
  1687. auditid:
  1688. description: 审核人ID
  1689. type: string
  1690. auditname:
  1691. description: 审核人名称
  1692. type: string
  1693. auditremark:
  1694. description: 审核备注
  1695. type: string
  1696. audittime:
  1697. description: 审核时间
  1698. type: string
  1699. buyusername:
  1700. description: 采购方名称
  1701. type: string
  1702. contractno:
  1703. description: 合同编号
  1704. type: string
  1705. contractstatus:
  1706. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1707. type: integer
  1708. contracttype:
  1709. description: 现货合同类型 - 1:采购 -1:销售
  1710. type: integer
  1711. deductamount:
  1712. description: 期初均价
  1713. type: number
  1714. deliverygoodscode:
  1715. description: 现货品种代码
  1716. type: string
  1717. deliverygoodsid:
  1718. description: 现货商品ID
  1719. type: integer
  1720. deliverygoodsname:
  1721. description: 现货品种名称
  1722. type: string
  1723. enumdicname:
  1724. description: 单位名称
  1725. type: string
  1726. goodscode:
  1727. description: 点价合约
  1728. type: string
  1729. goodsname:
  1730. description: 商品名称
  1731. type: string
  1732. kxtype:
  1733. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1734. type: integer
  1735. operateapplyid:
  1736. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1737. type: string
  1738. operateapplytype:
  1739. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1740. type: integer
  1741. payamount:
  1742. description: 期初均价
  1743. type: number
  1744. pricemove:
  1745. description: 升贴水
  1746. type: number
  1747. pricetype:
  1748. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1749. type: integer
  1750. relatedid:
  1751. description: 现货合同ID
  1752. type: string
  1753. sellusername:
  1754. description: 销售方名字
  1755. type: string
  1756. userid:
  1757. description: 用户ID
  1758. type: integer
  1759. wrstandardcode:
  1760. description: 品类代码
  1761. type: string
  1762. wrstandardid:
  1763. description: 品类id
  1764. type: integer
  1765. wrstandardname:
  1766. description: 品类名称
  1767. type: string
  1768. type: object
  1769. ermcp.QryGGCovertCfgRsp:
  1770. properties:
  1771. convertratio:
  1772. description: 折算系数
  1773. type: number
  1774. destgoodsgroupid:
  1775. description: 目标品种ID
  1776. type: integer
  1777. dstcode:
  1778. description: 目录品种代码
  1779. type: string
  1780. dstexchangecode:
  1781. description: 目标期货交易所
  1782. type: string
  1783. dstname:
  1784. description: 目标品种名称
  1785. type: string
  1786. dstunitid:
  1787. description: 目标品种单位ID
  1788. type: integer
  1789. dstunitidname:
  1790. description: 目标品种单位名称
  1791. type: string
  1792. modifytime:
  1793. description: 修改时间
  1794. type: string
  1795. srccode:
  1796. description: 源品种代码
  1797. type: string
  1798. srcexchangecode:
  1799. description: 源期货交易所
  1800. type: string
  1801. srcgoodsgroupid:
  1802. description: 源品种ID
  1803. type: integer
  1804. srcname:
  1805. description: 源品种名称
  1806. type: string
  1807. srcunitid:
  1808. description: 源品种单位ID
  1809. type: integer
  1810. srcunitidname:
  1811. description: 源品种单位名称
  1812. type: string
  1813. type: object
  1814. ermcp.QryMGChangeLogRsp:
  1815. properties:
  1816. aftervalue:
  1817. description: 变更后
  1818. type: number
  1819. applyid:
  1820. description: 操作人
  1821. type: integer
  1822. applyname:
  1823. description: 操作人名称
  1824. type: string
  1825. applysrc:
  1826. description: 操作来源 - 1:管理端 2:终端
  1827. type: integer
  1828. beforevalue:
  1829. description: 变更前
  1830. type: number
  1831. changelogtype:
  1832. description: 变更流水类型 - 1:套保比率变更
  1833. type: integer
  1834. handlestatus:
  1835. description: 处理状态
  1836. type: integer
  1837. logdatetime:
  1838. description: 流水日期
  1839. type: string
  1840. logid:
  1841. description: 流水ID
  1842. type: integer
  1843. logremark:
  1844. description: 流水备注
  1845. type: string
  1846. middlegoodsid:
  1847. description: 套保品种ID
  1848. type: integer
  1849. tradedate:
  1850. description: 交易日(yyyyMMdd)
  1851. type: string
  1852. updatetime:
  1853. description: 更新时间
  1854. type: string
  1855. type: object
  1856. ermcp.QryMiddleGoodsDetailRsp:
  1857. properties:
  1858. cvList:
  1859. description: 期货品种折算列表
  1860. items:
  1861. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1862. type: array
  1863. mg:
  1864. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1865. description: 套保品种基本信息
  1866. wrcList:
  1867. description: 现货品种列表(现货商品折算配置)
  1868. items:
  1869. $ref: '#/definitions/models.WRSConverTDetail'
  1870. type: array
  1871. type: object
  1872. ermcp.QryMiddleGoodsRsp:
  1873. properties:
  1874. areauserid:
  1875. description: 机构用户ID
  1876. type: integer
  1877. createtime:
  1878. description: 修改时间
  1879. type: string
  1880. enumdicname:
  1881. description: 单位名称
  1882. type: string
  1883. evaluateratio:
  1884. description: 估价系数
  1885. type: number
  1886. goodsgroupid:
  1887. description: 关联期货品种ID
  1888. type: integer
  1889. goodsunitid:
  1890. description: 单位ID
  1891. type: integer
  1892. isvalid:
  1893. description: 状态 0-无效(停用) 1-有效(正常)
  1894. type: integer
  1895. middlegoodscode:
  1896. description: 套保品种代码
  1897. type: string
  1898. middlegoodsid:
  1899. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1900. type: integer
  1901. middlegoodsname:
  1902. description: 套保品种名称
  1903. type: string
  1904. modifytime:
  1905. description: 修改时间
  1906. type: string
  1907. needarbitrageratio:
  1908. description: 套利比例
  1909. type: number
  1910. needhedgeratio:
  1911. description: 套保比率
  1912. type: number
  1913. qtydecimalplace:
  1914. description: 数量小数位
  1915. type: integer
  1916. relatedgoodsid:
  1917. description: 关联交易商品ID
  1918. type: integer
  1919. relatedgoodstype:
  1920. description: 关联商品类型 - 1:期货合约 2:现货品种
  1921. type: integer
  1922. remark:
  1923. description: 备注
  1924. type: string
  1925. type: object
  1926. ermcp.QryOPLogRsp:
  1927. properties:
  1928. aftervalue:
  1929. description: 变更后
  1930. type: number
  1931. applyid:
  1932. description: 操作人ID
  1933. type: string
  1934. applyname:
  1935. description: 操作人名称
  1936. type: string
  1937. beforevalue:
  1938. description: 变更前
  1939. type: number
  1940. biztype:
  1941. description: 业务类型 - 1:套保计划 2:现货合同
  1942. type: integer
  1943. contracttype:
  1944. description: 现货合同类型 - 1:采购 -1:销售
  1945. type: integer
  1946. logvalue:
  1947. description: 数值
  1948. type: number
  1949. operatelogtype:
  1950. description: 操作流水类型
  1951. type: integer
  1952. operatelogtypedesc:
  1953. description: 操作流水类型名称
  1954. type: string
  1955. relatedid:
  1956. description: 现货合同ID\套保计划
  1957. type: string
  1958. updatetime:
  1959. description: 更新时间
  1960. type: string
  1961. type: object
  1962. ermcp.QryUserInfoRsp:
  1963. properties:
  1964. address:
  1965. description: 通讯地址
  1966. type: string
  1967. attachment1:
  1968. description: 附件1
  1969. type: string
  1970. audittime:
  1971. description: 审核时间
  1972. type: string
  1973. cardbackphotourl:
  1974. description: 证件反面图片地址
  1975. type: string
  1976. cardfrontphotourl:
  1977. description: 证件正面图片地址
  1978. type: string
  1979. cardnum:
  1980. description: 证件号码
  1981. type: string
  1982. cardtype:
  1983. description: 证件类型
  1984. type: integer
  1985. cardtypename:
  1986. description: 证件类型名称
  1987. type: string
  1988. cityid:
  1989. description: 市
  1990. type: integer
  1991. contactname:
  1992. description: 联系人
  1993. type: string
  1994. countryid:
  1995. description: 国家
  1996. type: integer
  1997. createtime:
  1998. description: 创建时间
  1999. type: string
  2000. customername:
  2001. description: 企业名称
  2002. type: string
  2003. districtid:
  2004. description: 区域
  2005. type: integer
  2006. email:
  2007. description: 邮件
  2008. type: string
  2009. legalpersonname:
  2010. description: 法人姓名(企业)
  2011. type: string
  2012. memberuserid:
  2013. description: 所属机构ID
  2014. type: integer
  2015. mobile:
  2016. description: 手机号码
  2017. type: string
  2018. modifytime:
  2019. description: 修改时间
  2020. type: string
  2021. nickname:
  2022. description: 昵称
  2023. type: string
  2024. provinceid:
  2025. description: 省
  2026. type: integer
  2027. remark:
  2028. description: 备注
  2029. type: string
  2030. status:
  2031. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2032. type: integer
  2033. statusdesc:
  2034. description: 账户状态中文描述
  2035. type: string
  2036. taxpayernum:
  2037. description: 纳税人识别号
  2038. type: string
  2039. telphone:
  2040. description: 联系电话
  2041. type: string
  2042. userid:
  2043. description: 用户ID
  2044. type: integer
  2045. userinfotype:
  2046. description: 客户类型
  2047. type: string
  2048. type: object
  2049. ermcp.QryWarehouseRsp:
  2050. properties:
  2051. address:
  2052. description: 详细地址
  2053. type: string
  2054. areauserid:
  2055. description: 所属机构
  2056. type: integer
  2057. autoid:
  2058. description: 自增ID(仓库ID)
  2059. type: integer
  2060. cityid:
  2061. description: 市
  2062. type: integer
  2063. contactname:
  2064. description: 联系人
  2065. type: string
  2066. contactnum:
  2067. description: 联系电话
  2068. type: string
  2069. countryid:
  2070. description: 国家
  2071. type: integer
  2072. createtime:
  2073. description: 创建时间
  2074. type: string
  2075. districtid:
  2076. description: 区
  2077. type: integer
  2078. hasvideo:
  2079. description: 是否有视频 - 0:无 1:有
  2080. type: integer
  2081. provinceid:
  2082. description: 省
  2083. type: integer
  2084. remark:
  2085. description: 审核备注
  2086. type: string
  2087. videourl:
  2088. description: 视频地址
  2089. type: string
  2090. warehousecode:
  2091. description: 仓库代码
  2092. type: string
  2093. warehousename:
  2094. description: 仓库名称
  2095. type: string
  2096. warehousestatus:
  2097. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2098. type: integer
  2099. warehousetype:
  2100. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2101. type: integer
  2102. type: object
  2103. ermcp.QueryErmcpTradePositionRsp:
  2104. properties:
  2105. agreeunit:
  2106. description: 合约单位
  2107. type: number
  2108. buyorsell:
  2109. description: 方向 - 0:买 1:卖
  2110. type: integer
  2111. curpositionqty:
  2112. description: 持仓(总仓数量, 期末头寸)
  2113. type: integer
  2114. curtdposition:
  2115. description: 今仓数量(期末今日头寸)
  2116. type: integer
  2117. curtdpositionenabled:
  2118. description: 今仓可用
  2119. type: integer
  2120. decimalplace:
  2121. description: 报价小数位
  2122. type: integer
  2123. enableqty:
  2124. description: 可用(总仓可用)
  2125. type: integer
  2126. exexchangename:
  2127. description: 外部交易所名称
  2128. type: string
  2129. exexehangecode:
  2130. description: 外部交易所代码
  2131. type: string
  2132. exexehangeid:
  2133. description: 外部交易所id
  2134. type: integer
  2135. goodscode:
  2136. description: 商品代码(内部)
  2137. type: string
  2138. goodsid:
  2139. description: 商品ID(自增ID SEQ_GOODS)
  2140. type: integer
  2141. goodsname:
  2142. description: 商品名称
  2143. type: string
  2144. last:
  2145. description: 现价
  2146. type: number
  2147. marketid:
  2148. description: 所属市场ID
  2149. type: integer
  2150. openaverageprice:
  2151. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2152. type: number
  2153. opencost:
  2154. description: 开仓成本
  2155. type: number
  2156. openpl:
  2157. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2158. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2159. type: number
  2160. outgoodscode:
  2161. description: 商品代码(外部)
  2162. type: string
  2163. positionaverageprice:
  2164. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2165. type: number
  2166. positioncost:
  2167. description: 持仓成本
  2168. type: number
  2169. positionpl:
  2170. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2171. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2172. type: number
  2173. positionplrate:
  2174. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2175. type: number
  2176. usedmargin:
  2177. description: 占用保证金
  2178. type: number
  2179. type: object
  2180. ermcp.RealtimeExposurePositionRsp:
  2181. properties:
  2182. agreeunit:
  2183. description: 合约单位
  2184. type: string
  2185. areauserid:
  2186. description: 所属机构id
  2187. type: integer
  2188. convertratio:
  2189. description: 期货品种系数(折算系数)
  2190. type: number
  2191. curhedgeqty:
  2192. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2193. type: number
  2194. curqty:
  2195. description: 当前持仓
  2196. type: integer
  2197. diffhedgeqty:
  2198. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2199. type: number
  2200. diffqty:
  2201. description: 持仓变动量=当前持仓-昨日持仓
  2202. type: integer
  2203. goodscode:
  2204. description: 商品代码
  2205. type: string
  2206. goodsid:
  2207. description: 商品id
  2208. type: integer
  2209. goodsname:
  2210. description: 商品名称
  2211. type: string
  2212. hedgeaccountcode:
  2213. description: 对冲账号(只有外部账号才有值)
  2214. type: string
  2215. middlegoodscode:
  2216. description: 套保商品代码
  2217. type: string
  2218. middlegoodsid:
  2219. description: 套保商品id
  2220. type: integer
  2221. middlegoodsname:
  2222. description: 套保商品名称
  2223. type: string
  2224. ydqty:
  2225. description: 昨日持仓
  2226. type: integer
  2227. type: object
  2228. ermcp.RealtimeExposureRsp:
  2229. properties:
  2230. AreaUserID:
  2231. description: 所属机构
  2232. type: integer
  2233. BuyFutureQty:
  2234. description: 买入期货数量
  2235. type: number
  2236. BuyPlanQty:
  2237. description: 采购计划数量
  2238. type: number
  2239. BuyPricedQty:
  2240. description: 采购合同已定价数量
  2241. type: number
  2242. MiddleGoodsCode:
  2243. description: 套保品种代码
  2244. type: string
  2245. MiddleGoodsHedgeRatio:
  2246. description: 套保比例
  2247. type: number
  2248. MiddleGoodsID:
  2249. description: 套保品种
  2250. type: integer
  2251. MiddleGoodsName:
  2252. description: 套保品种名称
  2253. type: string
  2254. NeedHedgeExposoure:
  2255. description: 应套保敞口(套保敞口)
  2256. type: number
  2257. NeedHedgeRatio:
  2258. description: 应套保敞口比例
  2259. type: number
  2260. OriBuyFutureQty:
  2261. description: 期初买入期货数量
  2262. type: number
  2263. OriBuyPlanQty:
  2264. description: 期初采购计划数量
  2265. type: number
  2266. OriBuyPricedQty:
  2267. description: 期初采购合同已定价数量
  2268. type: number
  2269. OriSellFutureQty:
  2270. description: 期初卖出期货数量
  2271. type: number
  2272. OriSellPlanQty:
  2273. description: 期初销售计划数量
  2274. type: number
  2275. OriSellPricedQty:
  2276. description: 期初销售合同已定价数量
  2277. type: number
  2278. OriTotalSpotQty:
  2279. description: 期初现货总量
  2280. type: number
  2281. SellFutureQty:
  2282. description: 卖出期货数量
  2283. type: number
  2284. SellPlanQty:
  2285. description: 销售计划数量
  2286. type: number
  2287. SellPricedQty:
  2288. description: 销售合同已定价数量
  2289. type: number
  2290. TotalExposure:
  2291. description: 总敞口 平安:净敞口
  2292. type: number
  2293. TotalFutureQty:
  2294. description: 期货总量 平安:保值净持仓量
  2295. type: number
  2296. TotalHedgeRatio:
  2297. description: 敞口比例
  2298. type: number
  2299. TotalNeedHedgeQty:
  2300. description: 应套保总量(现货应套保总量)
  2301. type: number
  2302. TotalSpotQty:
  2303. description: 现货总量 平安:采销定价净值
  2304. type: number
  2305. arbitrageqty:
  2306. description: 套利量
  2307. type: number
  2308. diffArbitrageQty:
  2309. description: 期初均价
  2310. type: number
  2311. diffExposoureQty:
  2312. description: 期初均价
  2313. type: number
  2314. diffFutuQty:
  2315. description: 期初均价
  2316. type: number
  2317. diffHedgeQty:
  2318. description: 期初均价
  2319. type: number
  2320. diffQty:
  2321. description: 期初均价
  2322. type: number
  2323. diffSpotHedgeQty:
  2324. description: 期初均价
  2325. type: number
  2326. diffSpotQty:
  2327. description: 期初均价
  2328. type: number
  2329. enumdicname:
  2330. description: 单位名称
  2331. type: string
  2332. hedgeqty:
  2333. description: 套保量
  2334. type: number
  2335. needarbitrageqty:
  2336. description: 应套利量
  2337. type: number
  2338. needarbitrageratio:
  2339. description: 套利比例
  2340. type: number
  2341. needhedgeqty:
  2342. description: 应套保量
  2343. type: number
  2344. oriarbitrageqty:
  2345. description: 期初套利量
  2346. type: number
  2347. orihedgeqty:
  2348. description: 期初套保量
  2349. type: number
  2350. orineedhedgeexposoure:
  2351. description: 期初套保敞口
  2352. type: number
  2353. oritotalexposure:
  2354. description: 期初总敞口
  2355. type: number
  2356. oritotalfutureqty:
  2357. description: 期初期货总量
  2358. type: number
  2359. oritotalneedhedgeqty:
  2360. description: 期初现货应套保量
  2361. type: number
  2362. type: object
  2363. erms2.QueryArbitrageStrategyRsp:
  2364. properties:
  2365. applybasis:
  2366. description: 申请基差
  2367. type: number
  2368. asapplyid:
  2369. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2370. type: string
  2371. asname:
  2372. description: 策略名称
  2373. type: string
  2374. asno:
  2375. description: 策略编号
  2376. type: string
  2377. basischangepl:
  2378. description: 基差变动损益[结算更新]
  2379. type: number
  2380. biztype:
  2381. description: 业务类型 - 1:正向套利 -1:反向套利
  2382. type: integer
  2383. closetradedate:
  2384. description: 完结交易日(yyyyMMdd)
  2385. type: string
  2386. curbasis:
  2387. description: 当前基差[结算更新]
  2388. type: number
  2389. deliverygoodsid:
  2390. description: 现货品种ID
  2391. type: integer
  2392. futureavgprice:
  2393. description: 期货建仓均价
  2394. type: number
  2395. futurecloseamount:
  2396. description: 期货平仓金额
  2397. type: number
  2398. futurecloseqty:
  2399. description: 期货平仓数量
  2400. type: number
  2401. futureopenamount:
  2402. description: 期货开仓金额
  2403. type: number
  2404. futureopenqty:
  2405. description: 期货开仓数量
  2406. type: number
  2407. futurepl:
  2408. description: 期货总盈亏[结算更新]
  2409. type: number
  2410. futureqty:
  2411. description: 期货持仓数量
  2412. type: number
  2413. futurequote:
  2414. description: 期货额度
  2415. type: number
  2416. goodsgroupid:
  2417. description: 期货品种ID
  2418. type: integer
  2419. marketid:
  2420. description: 市场ID
  2421. type: integer
  2422. netexposure:
  2423. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2424. type: number
  2425. netexposurepl:
  2426. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2427. type: number
  2428. netexposurerate:
  2429. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2430. type: number
  2431. openbasis:
  2432. description: 建仓基差
  2433. type: number
  2434. pricedspotqty:
  2435. description: 已定价现货数量
  2436. type: number
  2437. pricedspotqtynotax:
  2438. description: 已定价现货不含税数量
  2439. type: number
  2440. remark:
  2441. description: 备注
  2442. type: string
  2443. spotavgprice:
  2444. description: 现货均价
  2445. type: number
  2446. spotbuyamount:
  2447. description: 现货采购金额
  2448. type: number
  2449. spotbuyqty:
  2450. description: 现货采购数量
  2451. type: number
  2452. spotpl:
  2453. description: 现货总盈亏[结算更新]
  2454. type: number
  2455. spotquota:
  2456. description: 现货额度
  2457. type: number
  2458. spotsellamount:
  2459. description: 现货销售金额
  2460. type: number
  2461. spotsellqty:
  2462. description: 现货销售数量
  2463. type: number
  2464. spotusedquota:
  2465. description: 现货占用资金
  2466. type: number
  2467. strategystatus:
  2468. description: 策略状态 - 0:未结束 1:已结束
  2469. type: integer
  2470. totalpl:
  2471. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2472. type: number
  2473. tradedate:
  2474. description: 交易日(yyyyMMdd)
  2475. type: string
  2476. updatetime:
  2477. description: 更新时间
  2478. type: string
  2479. usedquota:
  2480. description: 已占用资金
  2481. type: number
  2482. userid:
  2483. description: 所属机构
  2484. type: integer
  2485. required:
  2486. - asapplyid
  2487. type: object
  2488. erms2.QueryInnerTradeDetailRsp:
  2489. properties:
  2490. accountid:
  2491. description: 账号ID
  2492. type: integer
  2493. agreeunit:
  2494. description: 合约单位
  2495. type: number
  2496. asapplyid:
  2497. description: 策略申请ID
  2498. type: integer
  2499. asname:
  2500. description: 策略名称
  2501. type: string
  2502. asno:
  2503. description: 策略编号
  2504. type: string
  2505. buyorsell:
  2506. description: 方向 - 0:买 1:卖
  2507. type: integer
  2508. channelbuildtype:
  2509. description: 委托单据类型 0:无 1:建仓 2:平仓
  2510. type: integer
  2511. closetype:
  2512. description: 平仓方式 - 0:无 1:平今 2:平昨
  2513. type: integer
  2514. decimalplace:
  2515. description: 报价小数位
  2516. type: integer
  2517. detailtype:
  2518. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2519. type: integer
  2520. exexchangecode:
  2521. description: 外部交易所代码
  2522. type: string
  2523. exexchangename:
  2524. description: 外部交易所名称
  2525. type: string
  2526. goodscode:
  2527. description: 商品代码(合约)
  2528. type: string
  2529. goodsgroupid:
  2530. description: 商品组ID(品种ID)
  2531. type: integer
  2532. goodsgroupname:
  2533. description: 商品组名称(品种)
  2534. type: string
  2535. goodsid:
  2536. description: 商品ID
  2537. type: integer
  2538. goodsname:
  2539. description: 商品名称(合约)
  2540. type: string
  2541. goodunit:
  2542. description: 报价单位
  2543. type: string
  2544. marketid:
  2545. description: 市场ID
  2546. type: integer
  2547. orderid:
  2548. description: 委托单号
  2549. type: string
  2550. outgoodscode:
  2551. description: 商品代码(外部)
  2552. type: string
  2553. relatedouttradeid:
  2554. description: 关联外部成交单ID
  2555. type: string
  2556. remark:
  2557. description: 备注
  2558. type: string
  2559. spotcontractid:
  2560. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2561. type: integer
  2562. spotcontractno:
  2563. description: 现货合同编号
  2564. type: string
  2565. tradeid:
  2566. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2567. type: string
  2568. tradeprice:
  2569. description: 成交价格
  2570. type: number
  2571. tradeqty:
  2572. description: 成交数量
  2573. type: integer
  2574. tradetime:
  2575. description: 成交时间
  2576. type: string
  2577. updatetime:
  2578. description: 更新时间
  2579. type: string
  2580. required:
  2581. - asapplyid
  2582. - buyorsell
  2583. - goodscode
  2584. - goodsgroupid
  2585. - goodsgroupname
  2586. - goodsname
  2587. - tradeid
  2588. type: object
  2589. erms2.QuerySpotContractRsp:
  2590. properties:
  2591. accountid:
  2592. description: 资金账户ID
  2593. type: integer
  2594. areauserid:
  2595. description: 所属机构
  2596. type: integer
  2597. closedate:
  2598. description: 终止日期
  2599. type: string
  2600. closeremark:
  2601. description: 结束备注
  2602. type: string
  2603. closetradedate:
  2604. description: 完结交易日(yyyyMMdd)
  2605. type: string
  2606. closetype:
  2607. description: 终止类型 - 1:违约 2:提前终止
  2608. type: integer
  2609. contractamount:
  2610. description: 合同金额
  2611. type: number
  2612. contractattachment:
  2613. description: 合同附件
  2614. type: string
  2615. contractno:
  2616. description: 现货合同编号
  2617. type: string
  2618. contractqty:
  2619. description: 合同数量(数值) (用于计算)
  2620. type: number
  2621. contractqtychar:
  2622. description: 合同数量\已订价数量 (用于显示)
  2623. type: string
  2624. contractstatus:
  2625. description: 合同状态 - 0:未结束 1:已结束
  2626. type: integer
  2627. contracttype:
  2628. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2629. type: integer
  2630. customeraccountid:
  2631. description: 客户资金账户ID
  2632. type: integer
  2633. customeruserid:
  2634. description: 客户ID
  2635. type: integer
  2636. deliverygoodsdesc:
  2637. description: 品种说明
  2638. type: string
  2639. deliverygoodsid:
  2640. description: 现货品种ID
  2641. type: integer
  2642. handlestatus:
  2643. description: 处理状态
  2644. type: integer
  2645. invoiceatt:
  2646. description: 发票附件
  2647. type: string
  2648. invoicedatetime:
  2649. description: 开收票更新时间
  2650. type: string
  2651. invoiceopentime:
  2652. description: 开票时间
  2653. type: string
  2654. invoiceremark:
  2655. description: 发票备注
  2656. type: string
  2657. invoicestatus:
  2658. description: 开收票状态 - 0:未开票 1:已开票
  2659. type: integer
  2660. lastdate:
  2661. description: 交货时间
  2662. type: string
  2663. marketid:
  2664. description: 市场ID
  2665. type: integer
  2666. paydatetime:
  2667. description: 收付款更新时间
  2668. type: string
  2669. payremark:
  2670. description: 收付款备注
  2671. type: string
  2672. paystatus:
  2673. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2674. type: integer
  2675. positionqty:
  2676. description: 头寸数量 - 合同数量去小数部分
  2677. type: integer
  2678. producttype:
  2679. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2680. type: integer
  2681. relatedqty:
  2682. description: 已关联数量
  2683. type: number
  2684. relatedstatus:
  2685. description: 关联完结状态 - 0:未结束 1:已结束
  2686. type: integer
  2687. remark:
  2688. description: 备注
  2689. type: string
  2690. signdate:
  2691. description: 签订日期
  2692. type: string
  2693. spotcontractid:
  2694. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2695. type: string
  2696. spotdatetime:
  2697. description: 收发货更新时间
  2698. type: string
  2699. spotprice:
  2700. description: 价格
  2701. type: number
  2702. spotremark:
  2703. description: 收发货备注
  2704. type: string
  2705. spotstatus:
  2706. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2707. type: integer
  2708. tradedate:
  2709. description: 交易日(yyyyMMdd)
  2710. type: string
  2711. userid:
  2712. description: 业务员用户ID
  2713. type: integer
  2714. warehouseid:
  2715. description: 仓库ID
  2716. type: integer
  2717. wrfactortypeid:
  2718. description: 仓单要素类型ID
  2719. type: integer
  2720. wrstandardid:
  2721. description: 仓单标准ID(SEQ_WRSTANDARD)
  2722. type: integer
  2723. required:
  2724. - spotcontractid
  2725. type: object
  2726. erms3.AddErms2ASApplyReq:
  2727. properties:
  2728. applybasis:
  2729. description: 申请基差
  2730. type: number
  2731. applystatus:
  2732. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2733. type: integer
  2734. asapplyid:
  2735. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2736. type: integer
  2737. asname:
  2738. description: 策略名称
  2739. type: string
  2740. asno:
  2741. description: 策略编号
  2742. type: string
  2743. auditid:
  2744. description: 审核人
  2745. type: integer
  2746. auditremark:
  2747. description: 审核备注
  2748. type: string
  2749. audittime:
  2750. description: 审核时间
  2751. type: string
  2752. biztype:
  2753. description: 业务类型 - 1:正向套利 2:反向套利
  2754. type: integer
  2755. createtime:
  2756. description: 创建时间
  2757. type: string
  2758. creatorid:
  2759. description: 创建人
  2760. type: integer
  2761. deliverygoodsid:
  2762. description: 现货品种ID
  2763. type: integer
  2764. futurequote:
  2765. description: 期货额度
  2766. type: number
  2767. goodsgroupid:
  2768. description: 期货品种ID
  2769. type: integer
  2770. marketid:
  2771. description: 市场ID
  2772. type: integer
  2773. remark:
  2774. description: 备注
  2775. type: string
  2776. spotquota:
  2777. description: 现货额度
  2778. type: number
  2779. tradedate:
  2780. description: 交易日(yyyyMMdd)
  2781. type: string
  2782. userid:
  2783. description: 所属机构
  2784. type: integer
  2785. required:
  2786. - asapplyid
  2787. type: object
  2788. erms3.AddErms2SpotTradeApplyReq:
  2789. properties:
  2790. applyjsondetail:
  2791. description: 申请明细(JSON)
  2792. type: string
  2793. applystatus:
  2794. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2795. type: integer
  2796. areauserid:
  2797. description: 所属机构
  2798. type: integer
  2799. auditid:
  2800. description: 审核人
  2801. type: integer
  2802. auditremark:
  2803. description: 审核备注
  2804. type: string
  2805. audittime:
  2806. description: 审核时间
  2807. type: string
  2808. createtime:
  2809. description: 创建时间
  2810. type: string
  2811. creatorid:
  2812. description: 创建人
  2813. type: integer
  2814. deliverygoodsid:
  2815. description: 现货品种ID
  2816. type: integer
  2817. futureaccountid:
  2818. description: 期货资金账户
  2819. type: integer
  2820. goodsgroupid:
  2821. description: 期货品种
  2822. type: integer
  2823. marketid:
  2824. description: 市场ID
  2825. type: integer
  2826. remark:
  2827. description: 备注
  2828. type: string
  2829. spotaccountid:
  2830. description: 现货资金账户
  2831. type: integer
  2832. spottradeid:
  2833. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2834. type: integer
  2835. spottradename:
  2836. description: 业务名称
  2837. type: string
  2838. spottradeno:
  2839. description: 业务编号
  2840. type: string
  2841. tradedate:
  2842. description: 交易日(yyyyMMdd)
  2843. type: string
  2844. wrstandardid:
  2845. description: 仓单标准ID
  2846. type: integer
  2847. required:
  2848. - spottradeid
  2849. type: object
  2850. erms3.AddSpotContractApplyReq:
  2851. properties:
  2852. accountid:
  2853. description: 资金账户ID
  2854. type: integer
  2855. areauserid:
  2856. description: 所属机构
  2857. type: integer
  2858. contractattachment:
  2859. description: 合同附件
  2860. type: string
  2861. contractno:
  2862. description: 现货合同编号
  2863. type: string
  2864. contracttype:
  2865. description: 现货合同类型 - 1:采购 -1:销售
  2866. type: integer
  2867. creatorid:
  2868. description: 申请人
  2869. type: integer
  2870. customeraccountid:
  2871. description: 客户资金账户ID
  2872. type: integer
  2873. customeruserid:
  2874. description: 客户ID
  2875. type: integer
  2876. details:
  2877. description: 明细
  2878. items:
  2879. $ref: '#/definitions/erms3.SoptContractDetail'
  2880. type: array
  2881. orimargin:
  2882. description: 初始保证金
  2883. type: number
  2884. remark:
  2885. description: 备注
  2886. type: string
  2887. signdate:
  2888. description: 签订日期
  2889. type: string
  2890. required:
  2891. - accountid
  2892. - areauserid
  2893. - contractno
  2894. - contracttype
  2895. - customeraccountid
  2896. - customeruserid
  2897. - details
  2898. - orimargin
  2899. - signdate
  2900. type: object
  2901. erms3.AddSpotContractApplyRsp:
  2902. properties:
  2903. contractno:
  2904. description: 现货合同编号
  2905. type: string
  2906. spotcontractid:
  2907. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2908. type: integer
  2909. required:
  2910. - contractno
  2911. type: object
  2912. erms3.AddUserInfoApplyReq:
  2913. properties:
  2914. accountid:
  2915. description: 交易系统帐号Id (加密存储)
  2916. type: integer
  2917. areacode:
  2918. description: 机构代码
  2919. type: string
  2920. areaid:
  2921. description: 机构Id
  2922. type: integer
  2923. attachment1:
  2924. description: 附件1
  2925. type: string
  2926. attachment2:
  2927. description: 附件2
  2928. type: string
  2929. attachment3:
  2930. description: 附件3
  2931. type: string
  2932. attachment4:
  2933. description: 附件4
  2934. type: string
  2935. attachment5:
  2936. description: 附件5
  2937. type: string
  2938. auditedby:
  2939. description: 审核人
  2940. type: string
  2941. auditime:
  2942. description: 审核时间
  2943. type: string
  2944. auditsrc:
  2945. description: 审核来源 - 1:管理端 2:终端
  2946. type: integer
  2947. bankaccount:
  2948. description: 银行帐号 (加密存储)
  2949. type: string
  2950. bankaccountname:
  2951. description: 收款人名称
  2952. type: string
  2953. bankcardbackphotourl:
  2954. description: 银行卡背面照地址
  2955. type: string
  2956. bankcardfrontphotourl:
  2957. description: 银行卡正面照地址
  2958. type: string
  2959. bankid:
  2960. description: 银行编码
  2961. type: string
  2962. bankname:
  2963. description: 银行名称
  2964. type: string
  2965. bankpictureurl:
  2966. description: 银行卡正面地址
  2967. type: string
  2968. biznature:
  2969. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2970. type: integer
  2971. bizscope:
  2972. description: 企业经营范围(企业)
  2973. type: string
  2974. biztype:
  2975. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2976. type: integer
  2977. brokerid:
  2978. description: 经纪人ID(加密存储)
  2979. type: string
  2980. cardaddress:
  2981. description: 证件地址 (加密存储)
  2982. type: string
  2983. cardbackphotourl:
  2984. description: 背面证件照地址
  2985. type: string
  2986. cardfrontphotourl:
  2987. description: 正面证件照地址
  2988. type: string
  2989. cardnum:
  2990. description: 证件号码 (加密存储)
  2991. type: string
  2992. cardtype:
  2993. description: 证件类型
  2994. type: integer
  2995. cityid:
  2996. description: 市
  2997. type: integer
  2998. company:
  2999. description: 公司(个人)
  3000. type: string
  3001. contactcardbackphotourl:
  3002. description: 联系人证件背面图片地址
  3003. type: string
  3004. contactcardfrontphotourl:
  3005. description: 联系人证件正面图片地址
  3006. type: string
  3007. contactname:
  3008. description: 联系人
  3009. type: string
  3010. countryid:
  3011. description: 国家
  3012. type: integer
  3013. createtime:
  3014. description: 开户申请时间
  3015. type: string
  3016. cusbankid:
  3017. description: 签约类型
  3018. type: string
  3019. cusbankname:
  3020. description: 签约类型名称
  3021. type: string
  3022. customername:
  3023. description: 客户名称(企业名称)
  3024. type: string
  3025. districtid:
  3026. description: 地区
  3027. type: integer
  3028. email:
  3029. description: Email地址(加密存储)
  3030. type: string
  3031. halfbodyphotourl:
  3032. description: 半身照地址
  3033. type: string
  3034. headurl:
  3035. description: 头像地址
  3036. type: string
  3037. ipaddress:
  3038. description: IP地址
  3039. type: string
  3040. isvalidate:
  3041. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3042. type: string
  3043. legalcardbackphotourl:
  3044. description: 法人身份证背面照地址
  3045. type: string
  3046. legalcardfrontphotourl:
  3047. description: 法人身份证正面照地址
  3048. type: string
  3049. legalpersonname:
  3050. description: 法人姓名(企业)
  3051. type: string
  3052. logincode:
  3053. description: 登录帐号 (加密存储)
  3054. type: string
  3055. memberareaid:
  3056. description: 所属会员ID
  3057. type: integer
  3058. mobile2:
  3059. description: 手机号码[明文-尚志]
  3060. type: string
  3061. mobilephone:
  3062. description: 手机号码 (加密存储)
  3063. type: string
  3064. modifiedby:
  3065. description: 修改人帐号
  3066. type: integer
  3067. modifiedtime:
  3068. description: 修改时间
  3069. type: string
  3070. nickname:
  3071. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3072. type: string
  3073. openmode:
  3074. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3075. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3076. type: integer
  3077. otherurl:
  3078. description: 其它图片地址[使用分号分隔]
  3079. type: string
  3080. postalcode:
  3081. description: 邮政编码
  3082. type: string
  3083. provinceid:
  3084. description: 省
  3085. type: integer
  3086. proxystatementurl:
  3087. description: 授权委托书
  3088. type: string
  3089. qq:
  3090. description: QQ(加密存储
  3091. type: string
  3092. referral:
  3093. description: 推荐人编码
  3094. type: string
  3095. remark:
  3096. description: 备注
  3097. type: string
  3098. removebeforestatus:
  3099. description: REMOVEBEFORESTATUS
  3100. type: integer
  3101. sex:
  3102. description: 性别 - 0:女 1:男
  3103. type: integer
  3104. signedstatus:
  3105. description: 账户一号签签约状态
  3106. type: integer
  3107. signpdfurl:
  3108. description: 签约pdf文件
  3109. type: string
  3110. subbranch:
  3111. description: 开户支行
  3112. type: string
  3113. taxpayernum:
  3114. description: 纳税人识别号
  3115. type: string
  3116. telphone:
  3117. description: 联系电话(加密存储)
  3118. type: string
  3119. userid:
  3120. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3121. type: integer
  3122. userinfotype:
  3123. description: 用户信息类型 - 1:个人 2:企业
  3124. type: integer
  3125. username:
  3126. description: 用户姓名
  3127. type: string
  3128. userstate:
  3129. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3130. type: integer
  3131. usertype:
  3132. description: 用户类型 - 1:投资者 2:机构
  3133. type: integer
  3134. videourl:
  3135. description: 视频地址
  3136. type: string
  3137. wechat:
  3138. description: 微信号 (加密存储)
  3139. type: string
  3140. required:
  3141. - userid
  3142. type: object
  3143. erms3.CustomerInfo:
  3144. properties:
  3145. accountids:
  3146. description: 资金账户ID列表
  3147. items:
  3148. type: integer
  3149. type: array
  3150. customername:
  3151. description: 名称(企业名称)
  3152. type: string
  3153. mobile:
  3154. description: 手机号码
  3155. type: string
  3156. userid:
  3157. description: 用户ID
  3158. type: integer
  3159. required:
  3160. - userid
  3161. type: object
  3162. erms3.ModifyUserInfoApplyReq:
  3163. properties:
  3164. accountid:
  3165. description: 交易系统帐号Id (加密存储)
  3166. type: integer
  3167. areacode:
  3168. description: 机构代码
  3169. type: string
  3170. areaid:
  3171. description: 机构Id
  3172. type: integer
  3173. attachment1:
  3174. description: 附件1
  3175. type: string
  3176. attachment2:
  3177. description: 附件2
  3178. type: string
  3179. attachment3:
  3180. description: 附件3
  3181. type: string
  3182. attachment4:
  3183. description: 附件4
  3184. type: string
  3185. attachment5:
  3186. description: 附件5
  3187. type: string
  3188. auditedby:
  3189. description: 审核人
  3190. type: string
  3191. auditime:
  3192. description: 审核时间
  3193. type: string
  3194. auditsrc:
  3195. description: 审核来源 - 1:管理端 2:终端
  3196. type: integer
  3197. bankaccount:
  3198. description: 银行帐号 (加密存储)
  3199. type: string
  3200. bankaccountname:
  3201. description: 收款人名称
  3202. type: string
  3203. bankcardbackphotourl:
  3204. description: 银行卡背面照地址
  3205. type: string
  3206. bankcardfrontphotourl:
  3207. description: 银行卡正面照地址
  3208. type: string
  3209. bankid:
  3210. description: 银行编码
  3211. type: string
  3212. bankname:
  3213. description: 银行名称
  3214. type: string
  3215. bankpictureurl:
  3216. description: 银行卡正面地址
  3217. type: string
  3218. biznature:
  3219. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3220. type: integer
  3221. bizscope:
  3222. description: 企业经营范围(企业)
  3223. type: string
  3224. biztype:
  3225. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3226. type: integer
  3227. brokerid:
  3228. description: 经纪人ID(加密存储)
  3229. type: string
  3230. cardaddress:
  3231. description: 证件地址 (加密存储)
  3232. type: string
  3233. cardbackphotourl:
  3234. description: 背面证件照地址
  3235. type: string
  3236. cardfrontphotourl:
  3237. description: 正面证件照地址
  3238. type: string
  3239. cardnum:
  3240. description: 证件号码 (加密存储)
  3241. type: string
  3242. cardtype:
  3243. description: 证件类型
  3244. type: integer
  3245. cityid:
  3246. description: 市
  3247. type: integer
  3248. company:
  3249. description: 公司(个人)
  3250. type: string
  3251. contactcardbackphotourl:
  3252. description: 联系人证件背面图片地址
  3253. type: string
  3254. contactcardfrontphotourl:
  3255. description: 联系人证件正面图片地址
  3256. type: string
  3257. contactname:
  3258. description: 联系人
  3259. type: string
  3260. countryid:
  3261. description: 国家
  3262. type: integer
  3263. createtime:
  3264. description: 开户申请时间
  3265. type: string
  3266. cusbankid:
  3267. description: 签约类型
  3268. type: string
  3269. cusbankname:
  3270. description: 签约类型名称
  3271. type: string
  3272. customername:
  3273. description: 客户名称(企业名称)
  3274. type: string
  3275. districtid:
  3276. description: 地区
  3277. type: integer
  3278. email:
  3279. description: Email地址(加密存储)
  3280. type: string
  3281. halfbodyphotourl:
  3282. description: 半身照地址
  3283. type: string
  3284. headurl:
  3285. description: 头像地址
  3286. type: string
  3287. ipaddress:
  3288. description: IP地址
  3289. type: string
  3290. isvalidate:
  3291. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3292. type: string
  3293. legalcardbackphotourl:
  3294. description: 法人身份证背面照地址
  3295. type: string
  3296. legalcardfrontphotourl:
  3297. description: 法人身份证正面照地址
  3298. type: string
  3299. legalpersonname:
  3300. description: 法人姓名(企业)
  3301. type: string
  3302. logincode:
  3303. description: 登录帐号 (加密存储)
  3304. type: string
  3305. memberareaid:
  3306. description: 所属会员ID
  3307. type: integer
  3308. mobile2:
  3309. description: 手机号码[明文-尚志]
  3310. type: string
  3311. mobilephone:
  3312. description: 手机号码 (加密存储)
  3313. type: string
  3314. modifiedby:
  3315. description: 修改人帐号
  3316. type: integer
  3317. modifiedtime:
  3318. description: 修改时间
  3319. type: string
  3320. nickname:
  3321. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3322. type: string
  3323. openmode:
  3324. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3325. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3326. type: integer
  3327. otherurl:
  3328. description: 其它图片地址[使用分号分隔]
  3329. type: string
  3330. postalcode:
  3331. description: 邮政编码
  3332. type: string
  3333. provinceid:
  3334. description: 省
  3335. type: integer
  3336. proxystatementurl:
  3337. description: 授权委托书
  3338. type: string
  3339. qq:
  3340. description: QQ(加密存储
  3341. type: string
  3342. referral:
  3343. description: 推荐人编码
  3344. type: string
  3345. remark:
  3346. description: 备注
  3347. type: string
  3348. removebeforestatus:
  3349. description: REMOVEBEFORESTATUS
  3350. type: integer
  3351. sex:
  3352. description: 性别 - 0:女 1:男
  3353. type: integer
  3354. signedstatus:
  3355. description: 账户一号签签约状态
  3356. type: integer
  3357. signpdfurl:
  3358. description: 签约pdf文件
  3359. type: string
  3360. subbranch:
  3361. description: 开户支行
  3362. type: string
  3363. taxpayernum:
  3364. description: 纳税人识别号
  3365. type: string
  3366. telphone:
  3367. description: 联系电话(加密存储)
  3368. type: string
  3369. userid:
  3370. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3371. type: integer
  3372. userinfotype:
  3373. description: 用户信息类型 - 1:个人 2:企业
  3374. type: integer
  3375. username:
  3376. description: 用户姓名
  3377. type: string
  3378. userstate:
  3379. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3380. type: integer
  3381. usertype:
  3382. description: 用户类型 - 1:投资者 2:机构
  3383. type: integer
  3384. videourl:
  3385. description: 视频地址
  3386. type: string
  3387. wechat:
  3388. description: 微信号 (加密存储)
  3389. type: string
  3390. required:
  3391. - userid
  3392. type: object
  3393. erms3.QryAuditContractRsp:
  3394. properties:
  3395. accountid:
  3396. description: 交易员ID
  3397. type: string
  3398. applystatus:
  3399. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3400. type: integer
  3401. curdeliveryqty:
  3402. description: 未交收量
  3403. type: integer
  3404. customername:
  3405. description: 采购方ID
  3406. type: string
  3407. deliverygoodsid:
  3408. description: 品种ID
  3409. type: string
  3410. deliveryqty:
  3411. description: 交收量
  3412. type: integer
  3413. enumdicname:
  3414. description: 单位名称
  3415. type: string
  3416. matchaccountid:
  3417. description: 业务员ID
  3418. type: string
  3419. matchcustomername:
  3420. description: 销售方ID
  3421. type: string
  3422. pricedqty:
  3423. description: 定价量
  3424. type: number
  3425. signdate:
  3426. description: 签订日期
  3427. type: string
  3428. spotcontractid:
  3429. description: 合同ID
  3430. type: string
  3431. totaldqty:
  3432. description: 合同量
  3433. type: number
  3434. unpricedqty:
  3435. description: 未定价量
  3436. type: number
  3437. wrstandardname:
  3438. description: 商品名称
  3439. type: string
  3440. required:
  3441. - matchcustomername
  3442. - spotcontractid
  3443. type: object
  3444. erms3.QryPendingBizRsp:
  3445. properties:
  3446. accountid:
  3447. description: 现货账户
  3448. type: string
  3449. areaname:
  3450. description: 所属部门
  3451. type: string
  3452. bizid:
  3453. description: 业务ID
  3454. type: string
  3455. bizname:
  3456. description: 业务名称
  3457. type: string
  3458. status:
  3459. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3460. type: integer
  3461. type:
  3462. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3463. type: integer
  3464. type: object
  3465. erms3.QueryBusinessInfoRsp:
  3466. properties:
  3467. businessid:
  3468. description: 业务ID.
  3469. type: integer
  3470. buyamount:
  3471. description: 采购额.
  3472. type: number
  3473. buyqty:
  3474. description: 采购量.
  3475. type: string
  3476. futurepl:
  3477. description: 期货盈亏.
  3478. type: number
  3479. futureqty:
  3480. description: 期货敞口.
  3481. type: string
  3482. goodsid:
  3483. description: 商品名称/商品代码.
  3484. type: string
  3485. hedgingqty:
  3486. description: 套保量.
  3487. type: string
  3488. sellamount:
  3489. description: 销售额.
  3490. type: number
  3491. sellqty:
  3492. description: 销售量.
  3493. type: string
  3494. spotmarketvalue:
  3495. description: 现货市值.
  3496. type: number
  3497. spotpl:
  3498. description: 浮动权益.
  3499. type: number
  3500. spotqty:
  3501. description: 现货量.
  3502. type: string
  3503. statu:
  3504. description: 状态,0-未结束 1-已结束.
  3505. type: integer
  3506. totalpl:
  3507. description: 总盈亏.
  3508. type: number
  3509. totalqty:
  3510. description: 总敞口.
  3511. type: string
  3512. type:
  3513. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3514. type: integer
  3515. type: object
  3516. erms3.QuerySpotContractAppleFormRsp:
  3517. properties:
  3518. goodses:
  3519. description: 合约列表
  3520. items:
  3521. $ref: '#/definitions/models.GoodsIDAndName'
  3522. type: array
  3523. oppositeusers:
  3524. description: 对方账号列表
  3525. items:
  3526. $ref: '#/definitions/erms3.CustomerInfo'
  3527. type: array
  3528. ouruser:
  3529. $ref: '#/definitions/erms3.CustomerInfo'
  3530. description: 我方账号
  3531. warehouseinfos:
  3532. description: 仓库信息列表
  3533. items:
  3534. $ref: '#/definitions/models.Warehouseinfo'
  3535. type: array
  3536. wrstandards:
  3537. description: 仓单标准列表
  3538. items:
  3539. $ref: '#/definitions/models.WRStandardInfo'
  3540. type: array
  3541. type: object
  3542. erms3.QuerySpotContractInfoRsp:
  3543. properties:
  3544. accountid:
  3545. description: 表示交易员ID.
  3546. type: integer
  3547. curdeliveryqty:
  3548. description: 表示未交收量.
  3549. type: number
  3550. customername:
  3551. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3552. type: string
  3553. deliverygoodsid:
  3554. description: 表示品种ID.
  3555. type: string
  3556. deliveryqty:
  3557. description: 表示交收量.
  3558. type: number
  3559. matchaccountid:
  3560. description: 表示业务员ID.
  3561. type: integer
  3562. matchcustomername:
  3563. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3564. type: string
  3565. priceqty:
  3566. description: 表示定价量.
  3567. type: number
  3568. relatedbizid:
  3569. description: 表示业务ID.
  3570. type: string
  3571. signdate:
  3572. description: 表示签订日期.
  3573. type: string
  3574. spotcontractid:
  3575. description: 合同ID
  3576. type: string
  3577. status:
  3578. description: 表示状态,0-履约中 1-已完成.
  3579. type: integer
  3580. totalqty:
  3581. description: 表示合同量.
  3582. type: number
  3583. unpricedqty:
  3584. description: 表示未定价量.
  3585. type: number
  3586. wrstandardname:
  3587. description: 表示商品ID.
  3588. type: string
  3589. type: object
  3590. erms3.QueryUserInfoAppliesRsp:
  3591. properties:
  3592. biznature:
  3593. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3594. type: integer
  3595. contactname:
  3596. description: 联系人
  3597. type: string
  3598. createtime:
  3599. description: 开户申请时间
  3600. type: string
  3601. userid:
  3602. description: 用户ID(自增ID)
  3603. type: integer
  3604. userinfotype:
  3605. description: 用户信息类型 - 1:个人 2:企业
  3606. type: integer
  3607. username:
  3608. description: 用户姓名
  3609. type: string
  3610. userstate:
  3611. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3612. type: integer
  3613. required:
  3614. - userid
  3615. type: object
  3616. erms3.QueryUserInfosRsp:
  3617. properties:
  3618. biznature:
  3619. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3620. type: integer
  3621. contactname:
  3622. description: 联系人
  3623. type: string
  3624. customername:
  3625. description: 客户名称(企业名称)
  3626. type: string
  3627. userid:
  3628. description: 用户ID
  3629. type: integer
  3630. userinfotype:
  3631. description: 用户信息类型 - 1:个人 2:企业
  3632. type: integer
  3633. userstatus:
  3634. description: 用户状态 - 1:正常 2:注销
  3635. type: integer
  3636. required:
  3637. - userid
  3638. type: object
  3639. erms3.SoptContractDetail:
  3640. properties:
  3641. deliverygoodsdesc:
  3642. description: 现货品种说明
  3643. type: string
  3644. deliverygoodsid:
  3645. description: 现货品种ID
  3646. type: integer
  3647. deliverygoodsname:
  3648. description: 现货品种名称
  3649. type: string
  3650. pointdesc:
  3651. description: 点价描述
  3652. type: string
  3653. producttype:
  3654. description: 产品类型 1:标准仓单 2:等标 3:非标
  3655. type: integer
  3656. producttypename:
  3657. description: 产品类型名称
  3658. type: string
  3659. spotPointOrderVoList:
  3660. description: 点价列表
  3661. items:
  3662. $ref: '#/definitions/erms3.SpotPointOrder'
  3663. type: array
  3664. spotPriceOrderList:
  3665. description: 定价列表
  3666. items:
  3667. $ref: '#/definitions/erms3.SpotPriceOrder'
  3668. type: array
  3669. unitname:
  3670. description: 单位名称
  3671. type: string
  3672. warehouseid:
  3673. description: 仓库ID
  3674. type: integer
  3675. warehousename:
  3676. description: 仓库名称
  3677. type: string
  3678. wrstandardid:
  3679. description: 交易标的ID
  3680. type: integer
  3681. wrstandardname:
  3682. description: 交易标的名称
  3683. type: string
  3684. required:
  3685. - deliverygoodsid
  3686. - producttype
  3687. - unitname
  3688. - warehouseid
  3689. - wrstandardid
  3690. - wrstandardname
  3691. type: object
  3692. erms3.SpotPointOrder:
  3693. properties:
  3694. basic:
  3695. description: 基差
  3696. type: number
  3697. deliveryenddate:
  3698. description: 交收结束日期
  3699. type: string
  3700. deliverystartdate:
  3701. description: 交收开始日期
  3702. type: string
  3703. enddate:
  3704. description: 点价结束日期
  3705. type: string
  3706. goodsid:
  3707. description: 商品ID
  3708. type: integer
  3709. goodsname:
  3710. description: 商品名称
  3711. type: string
  3712. qty:
  3713. description: 数量
  3714. type: number
  3715. startdate:
  3716. description: 点价开始日期
  3717. type: string
  3718. required:
  3719. - basic
  3720. - goodsid
  3721. - qty
  3722. type: object
  3723. erms3.SpotPriceOrder:
  3724. properties:
  3725. amount:
  3726. description: 金额
  3727. type: number
  3728. deliveryenddate:
  3729. description: 交收结束日期
  3730. type: string
  3731. deliverystartdate:
  3732. description: 交收开始日期
  3733. type: string
  3734. price:
  3735. description: 价格
  3736. type: number
  3737. qty:
  3738. description: 数量
  3739. type: number
  3740. required:
  3741. - amount
  3742. - price
  3743. - qty
  3744. type: object
  3745. models.Arearole:
  3746. properties:
  3747. createtime:
  3748. description: 创建时间
  3749. type: string
  3750. creatorid:
  3751. description: 创建人ID
  3752. type: integer
  3753. fromuserid:
  3754. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3755. type: integer
  3756. isreturnscore:
  3757. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3758. type: integer
  3759. modifierid:
  3760. description: 修改人ID
  3761. type: integer
  3762. modifytime:
  3763. description: 修改时间
  3764. type: string
  3765. orgtype:
  3766. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3767. type: integer
  3768. outuserid:
  3769. description: 外部账户[场外期权做市商]
  3770. type: string
  3771. parentuserid:
  3772. description: 上级组织机构(组织机构)
  3773. type: integer
  3774. roletype:
  3775. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3776. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3777. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3778. type: integer
  3779. rootuserid:
  3780. description: 顶级组织机构用户ID(组织机构)
  3781. type: integer
  3782. shoppassword:
  3783. description: 商城店铺登陆密码(商城店铺角色使用)
  3784. type: string
  3785. sublevelpath:
  3786. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3787. type: string
  3788. suborgtype:
  3789. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3790. type: integer
  3791. tradeaccountid:
  3792. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3793. type: integer
  3794. transurl:
  3795. description: 物流地址(物流机构)
  3796. type: string
  3797. userid:
  3798. description: 机构用户ID其他做市关系,都设置为 1
  3799. type: integer
  3800. required:
  3801. - roletype
  3802. - userid
  3803. type: object
  3804. models.BuyOrder:
  3805. properties:
  3806. accountid:
  3807. description: 资金账户ID
  3808. type: integer
  3809. buyusername:
  3810. description: 买方
  3811. type: string
  3812. marketid:
  3813. description: 市场ID
  3814. type: integer
  3815. ordertime:
  3816. description: 委托时间
  3817. type: string
  3818. origin:
  3819. description: 原产地
  3820. type: string
  3821. performancetemplateid:
  3822. description: 履约计划模板ID
  3823. type: integer
  3824. remark:
  3825. description: 备注
  3826. type: string
  3827. userid:
  3828. description: 用户ID
  3829. type: integer
  3830. validtime:
  3831. description: 有效期限
  3832. type: string
  3833. warehouseids:
  3834. description: 仓库ID - 多个, 逗号分隔
  3835. type: string
  3836. warehouseinfosdisplay:
  3837. type: string
  3838. wrtradeorderid:
  3839. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3840. type: string
  3841. wrtradeorderstatus:
  3842. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、
  3843. type: integer
  3844. zscategory:
  3845. description: 钻石分类 - 枚举”ZSCategory“
  3846. type: integer
  3847. zscategorydisplay:
  3848. type: string
  3849. zsclaritytype:
  3850. description: 净度 - 两个, 逗号分隔
  3851. type: string
  3852. zsclaritytypedisplay:
  3853. type: string
  3854. zscolortype:
  3855. description: 颜色 - 两个, 逗号分隔
  3856. type: string
  3857. zscolortypedisplay:
  3858. type: string
  3859. zscrystaltype:
  3860. description: 晶型 - 多个,逗号分隔
  3861. type: string
  3862. zscrystaltypedisplay:
  3863. type: string
  3864. zscurrencytype:
  3865. description: 货币类型 - 多个, 逗号分隔
  3866. type: string
  3867. zscurrencytypedisplay:
  3868. type: string
  3869. zscuttype:
  3870. description: 切工 - 两个, 逗号分隔
  3871. type: string
  3872. zscuttypedisplay:
  3873. type: string
  3874. zsczcolor1type:
  3875. description: 彩钻颜色1, 逗号分隔
  3876. type: string
  3877. zsczcolor1typedisplay:
  3878. type: string
  3879. zsczcolor2type:
  3880. description: 彩钻颜色2, 逗号分隔
  3881. type: string
  3882. zsczcolor2typedisplay:
  3883. type: string
  3884. zsczcolor3type:
  3885. description: 彩钻颜色3, 逗号分隔
  3886. type: string
  3887. zsczcolor3typedisplay:
  3888. type: string
  3889. zsfluorescencetype:
  3890. description: 荧光 - 多个, 逗号分隔
  3891. type: string
  3892. zsfluorescencetypedisplay:
  3893. type: string
  3894. zspolishtype:
  3895. description: 抛光度 - 两个, 逗号分隔
  3896. type: string
  3897. zspolishtypedisplay:
  3898. type: string
  3899. zsshapetype:
  3900. description: 形状 - 多个, 逗号分隔
  3901. type: string
  3902. zsshapetypedisplay:
  3903. type: string
  3904. zssize:
  3905. description: 尺寸 - 两个小数, 逗号分隔
  3906. type: string
  3907. zsstyletype:
  3908. description: 款式 - 多个, 逗号分隔
  3909. type: string
  3910. zsstyletypedisplay:
  3911. type: string
  3912. zssymmetrytype:
  3913. description: 对称度 - 两个, 逗号分隔
  3914. type: string
  3915. zssymmetrytypedisplay:
  3916. type: string
  3917. zstabledisplay:
  3918. description: 求购信息
  3919. type: string
  3920. type: object
  3921. models.DgFactoryItem:
  3922. properties:
  3923. dgfactoryitemid:
  3924. description: 选择项ID(SEQ_DGFACTORYITEM)
  3925. type: integer
  3926. dgfactoryitemtypeid:
  3927. description: 要素项类型
  3928. type: integer
  3929. dgfactoryitemvalue:
  3930. description: 要素项值(类型为仓库时填写仓库名称)
  3931. type: string
  3932. orderindex:
  3933. description: 顺序
  3934. type: integer
  3935. type: object
  3936. models.Division:
  3937. properties:
  3938. autoid:
  3939. description: 自增ID
  3940. type: integer
  3941. divisioncode:
  3942. description: 行政代码
  3943. type: string
  3944. divisionlevel:
  3945. description: 行政级别
  3946. type: string
  3947. divisionname:
  3948. description: 行政名称
  3949. type: string
  3950. modifierid:
  3951. description: 修改人
  3952. type: integer
  3953. modifytime:
  3954. description: 修改时间
  3955. type: string
  3956. parentcode:
  3957. description: 上级行政代码
  3958. type: string
  3959. pathname:
  3960. description: 路径名称
  3961. type: string
  3962. postcode:
  3963. description: 邮政编码
  3964. type: string
  3965. separablename:
  3966. description: 可拆分的全称
  3967. type: string
  3968. shortcode:
  3969. description: 地区简码
  3970. type: string
  3971. required:
  3972. - autoid
  3973. - divisioncode
  3974. type: object
  3975. models.Enumdicitem:
  3976. properties:
  3977. autoid:
  3978. description: 自增ID
  3979. type: integer
  3980. bankmappedvalue:
  3981. description: 银行服务对应值
  3982. type: string
  3983. enumdiccode:
  3984. description: 所属枚举代码
  3985. type: string
  3986. enumdicid:
  3987. description: 所属枚举ID
  3988. type: integer
  3989. enumdicname:
  3990. description: 枚举项名称
  3991. type: string
  3992. enumitemname:
  3993. description: 枚举项值
  3994. type: integer
  3995. enumitemstatus:
  3996. description: 枚举项状态 - 1.启用 2.不启用
  3997. type: integer
  3998. enumitemvalue:
  3999. description: 通用值 - [币种通用简写]
  4000. type: string
  4001. param1:
  4002. description: 参数1[币种:币种小数位]
  4003. type: string
  4004. param2:
  4005. description: 参数1[币种:币种显示单位]
  4006. type: string
  4007. remark:
  4008. description: 备注
  4009. type: string
  4010. required:
  4011. - autoid
  4012. - enumdiccode
  4013. - enumdicid
  4014. - enumitemname
  4015. type: object
  4016. models.Ermcp2AreaExposure:
  4017. properties:
  4018. areauserid:
  4019. description: 所属机构
  4020. type: integer
  4021. enumdicname:
  4022. description: 单位
  4023. type: string
  4024. futureqty:
  4025. description: 期货套期量
  4026. type: number
  4027. futureqtychange:
  4028. description: 期货变动量 = FutureQty - OriFutureQty
  4029. type: number
  4030. goodsunitid:
  4031. description: 单位ID
  4032. type: integer
  4033. hedgedspotexposure:
  4034. description: 被套期现货敞口量
  4035. type: number
  4036. hedgedspratio:
  4037. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4038. type: number
  4039. hedgedtotalexposourechange:
  4040. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4041. type: number
  4042. hedgedtotalexposure:
  4043. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4044. type: number
  4045. hedgeplanqty:
  4046. description: 套期计划量
  4047. type: number
  4048. hedgeplanqtychange:
  4049. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4050. type: number
  4051. hedgespotqty:
  4052. description: 被套期现货量
  4053. type: number
  4054. middlegoodsid:
  4055. description: 套保品种
  4056. type: integer
  4057. middlegoodsname:
  4058. description: 套保品种名称
  4059. type: string
  4060. orifutureqty:
  4061. description: 期初期货套期量
  4062. type: number
  4063. orihedgedspotexposure:
  4064. description: 期初被套期现货敞口量
  4065. type: number
  4066. orihedgedtotalexposure:
  4067. description: 期初套期敞口量
  4068. type: number
  4069. orihedgeplanqty:
  4070. description: 期初套期计划量
  4071. type: number
  4072. orihedgespotqty:
  4073. description: 期初被套期现货量
  4074. type: number
  4075. orispotexposure:
  4076. description: 期初现货敞口量
  4077. type: number
  4078. orispotqty:
  4079. description: 期初现货总量
  4080. type: number
  4081. oritotalexposure:
  4082. description: 期初总敞口量
  4083. type: number
  4084. spotexposure:
  4085. description: 现货敞口量
  4086. type: number
  4087. spotqty:
  4088. description: 现货总量
  4089. type: number
  4090. spotqtychange:
  4091. description: 现货变动量 = SpotQty - OriSpotQty
  4092. type: number
  4093. spratio:
  4094. description: 总期现比例 = 期货套期量/现货敞口量
  4095. type: number
  4096. totalexposure:
  4097. description: 总敞口量 = 现货敞口量 + 期货套期量
  4098. type: number
  4099. totalexposurechange:
  4100. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4101. type: number
  4102. updatetime:
  4103. description: 更新时间 --DATE
  4104. type: string
  4105. type: object
  4106. models.Ermcp2hedgeditem:
  4107. properties:
  4108. accountname:
  4109. description: 套期主体
  4110. type: string
  4111. applyid:
  4112. description: 申请人
  4113. type: integer
  4114. applysrc:
  4115. description: 申请来源 - 1:管理端 2:终端
  4116. type: integer
  4117. areauserid:
  4118. description: 企业ID
  4119. type: integer
  4120. auditid:
  4121. description: 审核人
  4122. type: integer
  4123. auditremark:
  4124. description: 审核备注
  4125. type: string
  4126. auditsrc:
  4127. description: 审核来源 - 1:管理端 2:终端
  4128. type: integer
  4129. audittime:
  4130. description: 审核时间
  4131. type: string
  4132. audittradedate:
  4133. description: 审核交易日(yyyyMMdd)
  4134. type: string
  4135. createtime:
  4136. description: 申请时间
  4137. type: string
  4138. curprice:
  4139. description: 当前市场价
  4140. type: number
  4141. curstock:
  4142. description: 期末库存量 = 采购总量 - 销售总量
  4143. type: number
  4144. deliverygoodsid:
  4145. description: 现货品种ID
  4146. type: integer
  4147. enddate:
  4148. description: 完成日期
  4149. type: string
  4150. endtradedate:
  4151. description: 完成交易日
  4152. type: string
  4153. enumdicname:
  4154. description: 单位
  4155. type: string
  4156. exeamount:
  4157. description: 执行市价总额
  4158. type: number
  4159. exeavgprice:
  4160. description: 执行市场均价= 执行市价总额 / 执行现货量
  4161. type: number
  4162. execontractamount:
  4163. description: 执行定价总额
  4164. type: number
  4165. exeqty:
  4166. description: 执行现货量
  4167. type: number
  4168. exerestamount:
  4169. description: 执行剩余市价总额【现货贸易】
  4170. type: number
  4171. futurefloatpl:
  4172. description: 期货浮动损益
  4173. type: number
  4174. futurehedgepl:
  4175. description: 期货实际损益
  4176. type: number
  4177. futurehedgeplchange:
  4178. description: 期货实际损益变动
  4179. type: number
  4180. futurepl:
  4181. description: 期货套期损益
  4182. type: number
  4183. futureplchange:
  4184. description: 期货套期损益变动
  4185. type: number
  4186. hedgeamount:
  4187. description: 套期市价总额
  4188. type: number
  4189. hedgecontractamount:
  4190. description: 套期定价总额 【定价采购合同】【现货贸易】
  4191. type: number
  4192. hedgeditemid:
  4193. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4194. type: string
  4195. hedgeditemname:
  4196. description: 项目名称
  4197. type: string
  4198. hedgeditemnum:
  4199. description: 项目编号
  4200. type: string
  4201. hedgeditemstatus:
  4202. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4203. type: integer
  4204. hedgedtype:
  4205. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4206. type: integer
  4207. hedgeqty:
  4208. description: 套期现货量
  4209. type: number
  4210. hedgerate:
  4211. description: 套保比率
  4212. type: number
  4213. hedgerestamount:
  4214. description: 套期剩余市价总额【现货贸易】
  4215. type: number
  4216. hedgesumpl:
  4217. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4218. type: number
  4219. middlegoodslist:
  4220. description: 套期商品列表
  4221. items:
  4222. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4223. type: array
  4224. oriavgprice:
  4225. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4226. type: number
  4227. orifuturehedgepl:
  4228. description: 期初期货实际损益
  4229. type: number
  4230. orifuturepl:
  4231. description: 期初期货套期损益
  4232. type: number
  4233. orispothedgepl:
  4234. description: 期初现货实际损益
  4235. type: number
  4236. orispotpl:
  4237. description: 期初现货套期损益
  4238. type: number
  4239. planenddate:
  4240. description: 计划结束日期
  4241. type: string
  4242. planstartdate:
  4243. description: 计划开始日期
  4244. type: string
  4245. remark:
  4246. description: 备注
  4247. type: string
  4248. spotbookamount:
  4249. description: 现货账面总额
  4250. type: number
  4251. spotfloatpl:
  4252. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4253. type: number
  4254. spothedgepl:
  4255. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4256. type: number
  4257. spothedgeplchange:
  4258. description: 现货实际损益变动
  4259. type: number
  4260. spotpl:
  4261. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4262. type: number
  4263. spotplchange:
  4264. description: 现货套期损益变动
  4265. type: number
  4266. spottradepl:
  4267. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4268. type: number
  4269. sumobspl:
  4270. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4271. type: number
  4272. tradeuserid:
  4273. description: 交易用户ID
  4274. type: integer
  4275. unexeqty:
  4276. description: 未执行现货量 = 套期现货量 - 执行现货量
  4277. type: number
  4278. updatetime:
  4279. description: 更新时间
  4280. type: string
  4281. vatpl:
  4282. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4283. type: number
  4284. vatrate:
  4285. description: 增值税
  4286. type: number
  4287. wrstandardid:
  4288. description: 现货商品ID
  4289. type: integer
  4290. wrstandardname:
  4291. description: 商品名称
  4292. type: string
  4293. type: object
  4294. models.Ermcp2hedgeditemlink:
  4295. properties:
  4296. areauserid:
  4297. description: 企业ID
  4298. type: integer
  4299. createtime:
  4300. description: '[关联时间]创建时间'
  4301. type: string
  4302. customeruserid:
  4303. description: 对手方 【3:采购合同 4:销售合同】
  4304. type: integer
  4305. deliverygoodsid:
  4306. description: 现货品种ID
  4307. type: integer
  4308. enumdicname:
  4309. description: 单位
  4310. type: string
  4311. hedgeditemid:
  4312. description: 被套期项目ID
  4313. type: integer
  4314. hedgeditemlinkid:
  4315. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4316. type: integer
  4317. hedgeditemnum:
  4318. description: 项目编号
  4319. type: string
  4320. hedgedtype:
  4321. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4322. type: integer
  4323. relatedamount:
  4324. description: 市价总额 = 关联数量 * 期初市场价
  4325. type: number
  4326. relatedhedgeplanid:
  4327. description: 关联计划ID 【1:采购计划 2:销售计划】
  4328. type: integer
  4329. relatedqty:
  4330. description: 关联数量
  4331. type: number
  4332. relatedspotcontractid:
  4333. description: 关联合同ID 【3:采购合同 4:销售合同】
  4334. type: integer
  4335. relatedtype:
  4336. description: 关联类型 - 1:套期关联 2:执行关联
  4337. type: integer
  4338. spotgoodsbrandid:
  4339. description: 现货品牌ID
  4340. type: integer
  4341. spotpricedamount:
  4342. description: '[关联定价总额]定价总额'
  4343. type: number
  4344. spotpricedavgprice:
  4345. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4346. type: number
  4347. spottype:
  4348. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4349. type: integer
  4350. tradeuserid:
  4351. description: 交易用户ID
  4352. type: integer
  4353. unexeqty:
  4354. description: 未执行现货量【项目关联时值】
  4355. type: number
  4356. wrstandardid:
  4357. description: 现货商品ID
  4358. type: integer
  4359. wrstandardname:
  4360. description: 现货商品
  4361. type: string
  4362. required:
  4363. - relatedspotcontractid
  4364. type: object
  4365. models.Ermcp2hedgeditemsDetail:
  4366. properties:
  4367. accountname:
  4368. description: 套期主体
  4369. type: string
  4370. areauserid:
  4371. description: 企业ID
  4372. type: integer
  4373. createtime:
  4374. description: '[日期时间]创建时间'
  4375. type: string
  4376. customeruserid:
  4377. description: 对手方 【3:采购合同 4:销售合同】
  4378. type: integer
  4379. deliverygoodsid:
  4380. description: 现货品种ID
  4381. type: integer
  4382. enumdicname:
  4383. description: 单位
  4384. type: string
  4385. hedgeditemid:
  4386. description: 被套期项目ID
  4387. type: string
  4388. hedgeditemspotid:
  4389. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4390. type: string
  4391. hedgedtype:
  4392. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4393. type: integer
  4394. hedgeplanno:
  4395. description: 计划编号
  4396. type: string
  4397. middlegoodschange:
  4398. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4399. type: number
  4400. oriavgprice:
  4401. description: 期初市场价[当初市场价]
  4402. type: number
  4403. relatedamount:
  4404. description: 市价总额 = 关联数量 * 期初市场价
  4405. type: number
  4406. relatedhedgeplanid:
  4407. description: 关联计划ID 【1:采购计划 2:销售计划】
  4408. type: integer
  4409. relatedqty:
  4410. description: '[期间变化量]关联数量'
  4411. type: number
  4412. relatedspotcontractid:
  4413. description: 关联合同ID 【3:采购合同 4:销售合同】
  4414. type: integer
  4415. relatedtype:
  4416. description: 关联类型 - 1:套期关联 2:执行关联
  4417. type: integer
  4418. spotgoodsbrandid:
  4419. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4420. type: integer
  4421. spotpricedamount:
  4422. description: 定价总额
  4423. type: number
  4424. spotpricedavgprice:
  4425. description: 现货均价 = 定价总额 / 关联数量
  4426. type: number
  4427. spottype:
  4428. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4429. type: integer
  4430. tradeuserid:
  4431. description: 交易用户ID
  4432. type: integer
  4433. unexeqty:
  4434. description: 未执行现货量 = 套期现货量 - 执行现货量
  4435. type: number
  4436. wrstandardid:
  4437. description: 现货商品ID
  4438. type: integer
  4439. wrstandardname:
  4440. description: 现货商品
  4441. type: string
  4442. type: object
  4443. models.Ermcp2hedgeditemspot:
  4444. properties:
  4445. areauserid:
  4446. description: 企业ID
  4447. type: integer
  4448. createtime:
  4449. description: 创建时间
  4450. type: string
  4451. customeruserid:
  4452. description: 对手方 【3:采购合同 4:销售合同】
  4453. type: integer
  4454. deliverygoodsid:
  4455. description: 现货品种ID
  4456. type: integer
  4457. enumdicname:
  4458. description: 单位
  4459. type: string
  4460. hedgeditemid:
  4461. description: 被套期项目ID
  4462. type: string
  4463. hedgeditemspotid:
  4464. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4465. type: string
  4466. hedgedtype:
  4467. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4468. type: integer
  4469. hedgeplanno:
  4470. description: 计划编号
  4471. type: string
  4472. oriavgprice:
  4473. description: 期初市场价[当初市场价]
  4474. type: number
  4475. relatedamount:
  4476. description: 市价总额 = 关联数量 * 期初市场价
  4477. type: number
  4478. relatedhedgeplanid:
  4479. description: 关联计划ID 【1:采购计划 2:销售计划】
  4480. type: integer
  4481. relatedqty:
  4482. description: 关联数量[数量]
  4483. type: number
  4484. relatedspotcontractid:
  4485. description: 关联合同ID 【3:采购合同 4:销售合同】
  4486. type: integer
  4487. relatedtype:
  4488. description: 关联类型 - 1:套期关联 2:执行关联
  4489. type: integer
  4490. spotgoodsbrandid:
  4491. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4492. type: integer
  4493. spotpricedamount:
  4494. description: 定价总额
  4495. type: number
  4496. spotpricedavgprice:
  4497. description: 现货均价 = 定价总额 / 关联数量
  4498. type: number
  4499. spottype:
  4500. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4501. type: integer
  4502. tradeuserid:
  4503. description: 交易用户ID
  4504. type: integer
  4505. wrstandardid:
  4506. description: 现货商品ID
  4507. type: integer
  4508. wrstandardname:
  4509. description: 现货商品
  4510. type: string
  4511. required:
  4512. - hedgeditemid
  4513. type: object
  4514. models.Ermcp2hedgeditemspotDetail:
  4515. properties:
  4516. accountname:
  4517. description: 对手方
  4518. type: string
  4519. areauserid:
  4520. description: 企业ID
  4521. type: integer
  4522. brandname:
  4523. description: 品牌
  4524. type: string
  4525. contractno:
  4526. description: 合同编号
  4527. type: string
  4528. createtime:
  4529. description: 创建时间
  4530. type: string
  4531. customeruserid:
  4532. description: 对手方 【3:采购合同 4:销售合同】
  4533. type: integer
  4534. deliverygoodsid:
  4535. description: 现货品种ID
  4536. type: integer
  4537. enumdicname:
  4538. description: 单位
  4539. type: string
  4540. hedgeditemid:
  4541. description: 被套期项目ID
  4542. type: string
  4543. hedgeditemspotid:
  4544. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4545. type: string
  4546. hedgedtype:
  4547. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4548. type: integer
  4549. oriavgprice:
  4550. description: 期初市场价[当初市场价]
  4551. type: number
  4552. relatedamount:
  4553. description: 市价总额 = 关联数量 * 期初市场价
  4554. type: number
  4555. relatedhedgeplanid:
  4556. description: 关联计划ID 【1:采购计划 2:销售计划】
  4557. type: integer
  4558. relatedqty:
  4559. description: 关联数量[数量]
  4560. type: number
  4561. relatedspotcontractid:
  4562. description: 关联合同ID 【3:采购合同 4:销售合同】
  4563. type: integer
  4564. relatedtype:
  4565. description: 关联类型 - 1:套期关联 2:执行关联
  4566. type: integer
  4567. spotgoodsbrandid:
  4568. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4569. type: integer
  4570. spotpricedamount:
  4571. description: 定价总额[金额]
  4572. type: number
  4573. spotpricedavgprice:
  4574. description: 现货均价 = 定价总额 / 关联数量
  4575. type: number
  4576. spottype:
  4577. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4578. type: integer
  4579. tradeuserid:
  4580. description: 交易用户ID
  4581. type: integer
  4582. wrstandardid:
  4583. description: 现货商品ID
  4584. type: integer
  4585. wrstandardname:
  4586. description: 现货商品
  4587. type: string
  4588. required:
  4589. - hedgeditemid
  4590. type: object
  4591. models.Ermcp2himiddlegoods:
  4592. properties:
  4593. futurehedgeqty:
  4594. description: 期货持仓套期量
  4595. type: number
  4596. hedgeditemid:
  4597. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4598. type: integer
  4599. hiexpsoure:
  4600. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4601. type: number
  4602. middlegoodscode:
  4603. description: 套保商品代码
  4604. type: string
  4605. middlegoodsid:
  4606. description: 套保品种ID
  4607. type: integer
  4608. middlegoodsname:
  4609. description: 套保商品名称
  4610. type: string
  4611. unexehedgeqty:
  4612. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4613. type: number
  4614. required:
  4615. - hedgeditemid
  4616. - middlegoodsid
  4617. type: object
  4618. models.Ermcp2stockspotchangelog:
  4619. properties:
  4620. accountname:
  4621. description: 套期主体
  4622. type: string
  4623. aftervalue:
  4624. description: 现货量
  4625. type: number
  4626. beforevalue:
  4627. description: 变更前现货量
  4628. type: number
  4629. contractno:
  4630. description: '[编号]现货合同编号'
  4631. type: string
  4632. contracttype:
  4633. description: 现货合同类型 - 1:采购 -1:销售
  4634. type: integer
  4635. createtime:
  4636. description: 创建时间
  4637. type: string
  4638. customerusername:
  4639. description: 对手方
  4640. type: string
  4641. deliverygoodsid:
  4642. description: 现货品种ID
  4643. type: integer
  4644. exetype:
  4645. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4646. type: integer
  4647. logid:
  4648. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4649. type: string
  4650. logvalue:
  4651. description: '[期间变化量]现货量变更值'
  4652. type: number
  4653. middlegoodschange:
  4654. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4655. type: number
  4656. operatelogtype:
  4657. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4658. 27:生产出库
  4659. type: integer
  4660. relatedid:
  4661. description: 现货合同ID
  4662. type: integer
  4663. spotgoodsbrandid:
  4664. description: 现货品牌ID
  4665. type: integer
  4666. tradedate:
  4667. description: 交易日(yyyyMMdd)
  4668. type: string
  4669. userid:
  4670. description: 机构ID
  4671. type: integer
  4672. warehouseinfoid:
  4673. description: 仓库ID
  4674. type: integer
  4675. wrfactortypeid:
  4676. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4677. type: integer
  4678. wrstandardid:
  4679. description: 现货商品ID
  4680. type: integer
  4681. wrstandardname:
  4682. description: 商品名称
  4683. type: string
  4684. type: object
  4685. models.Ermcp3AreaSpot:
  4686. properties:
  4687. areauserid:
  4688. description: 所属机构
  4689. type: integer
  4690. convertratio:
  4691. description: 套保系数
  4692. type: number
  4693. decreaseqty:
  4694. description: 减少数量=-(销售已定价数量+采购计划数量)
  4695. type: number
  4696. enumdicname:
  4697. description: 单位名称
  4698. type: string
  4699. increaseqty:
  4700. description: 增加数量=销售计划数量+采购已定价数量
  4701. type: number
  4702. oritoalspotqty:
  4703. description: 昨日数量
  4704. type: number
  4705. totalspotqty:
  4706. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4707. type: number
  4708. unitid:
  4709. description: 现货商品单位id
  4710. type: integer
  4711. updatetime:
  4712. description: 更新时间
  4713. type: string
  4714. wrstandardcode:
  4715. description: 现货商品代码
  4716. type: string
  4717. wrstandardid:
  4718. description: 现货商品ID(SEQ_WRSTANDARD)
  4719. type: integer
  4720. wrstandardname:
  4721. description: 现货商品名称
  4722. type: string
  4723. type: object
  4724. models.Ermcp3AreaSpotDetail:
  4725. properties:
  4726. contracttype:
  4727. description: 合同类型 1-采购 -1-销售
  4728. type: integer
  4729. createtime:
  4730. description: 创建时间
  4731. type: string
  4732. enumdicname:
  4733. description: 现货商品单位名称
  4734. type: string
  4735. logtype:
  4736. description: 记录类型 1-套保 2-现货合同
  4737. type: integer
  4738. qty:
  4739. description: 数量
  4740. type: number
  4741. recordname:
  4742. description: 类型名称
  4743. type: string
  4744. relatedid:
  4745. description: 套保计划ID/现货合同ID
  4746. type: string
  4747. relatedno:
  4748. description: 编号
  4749. type: string
  4750. strtime:
  4751. description: 时间
  4752. type: string
  4753. wrstandardcode:
  4754. description: 现货商品代码
  4755. type: string
  4756. wrstandardid:
  4757. description: 现货商品ID(SEQ_WRSTANDARD)
  4758. type: integer
  4759. wrstandardname:
  4760. description: 现货商品名称
  4761. type: string
  4762. type: object
  4763. models.Ermcp3AreaSpotPLReport:
  4764. properties:
  4765. accountid:
  4766. description: 期货账户ID (作废, 默认为0)
  4767. type: integer
  4768. accountname:
  4769. description: 机构名称
  4770. type: string
  4771. actualpl:
  4772. description: 现货损益
  4773. type: number
  4774. areauserid:
  4775. description: 所属机构\交易用户ID
  4776. type: integer
  4777. begindate:
  4778. description: 开始交易日
  4779. type: string
  4780. biztype:
  4781. description: 业务类型 - 1:套保 2:套利
  4782. type: integer
  4783. brandname:
  4784. description: 品牌名称
  4785. type: string
  4786. curamount:
  4787. description: 期末额
  4788. type: number
  4789. curaverageprice:
  4790. description: 期初均价
  4791. type: number
  4792. curbuyamount:
  4793. description: 期末采购总额
  4794. type: number
  4795. curbuyqty:
  4796. description: 期末采购总量
  4797. type: number
  4798. curmarketvalue:
  4799. description: 期初均价
  4800. type: number
  4801. curqty:
  4802. description: 期末量
  4803. type: number
  4804. currencyid:
  4805. description: 结算币种ID【原值】
  4806. type: integer
  4807. currencyname:
  4808. description: 币种名称
  4809. type: string
  4810. cursellamount:
  4811. description: 期末销售总额
  4812. type: number
  4813. cursellqty:
  4814. description: 期末销售总量
  4815. type: number
  4816. curspotprice:
  4817. description: 期初均价
  4818. type: number
  4819. cycletime:
  4820. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4821. type: string
  4822. cycletype:
  4823. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4824. type: integer
  4825. deliverygoodscode:
  4826. description: 现货品种代码
  4827. type: string
  4828. deliverygoodsid:
  4829. description: 现货品种ID
  4830. type: integer
  4831. deliverygoodsname:
  4832. description: 现货品种名称
  4833. type: string
  4834. enddate:
  4835. description: 结束交易日
  4836. type: string
  4837. enumdicname:
  4838. description: 现货品种单位名称(作废)
  4839. type: string
  4840. floatpl:
  4841. description: 期初均价
  4842. type: number
  4843. goodsunitid:
  4844. description: 现货品种单位id(作废)
  4845. type: integer
  4846. oriamount:
  4847. description: 期初额
  4848. type: number
  4849. oriaverageprice:
  4850. description: 期初均价
  4851. type: number
  4852. oribuyamount:
  4853. description: 期初采购总额
  4854. type: number
  4855. oribuyqty:
  4856. description: 期初采购总量
  4857. type: number
  4858. oriqty:
  4859. description: 期初量
  4860. type: number
  4861. orisellamount:
  4862. description: 期初销售总额
  4863. type: number
  4864. orisellqty:
  4865. description: 期初销售总量
  4866. type: number
  4867. reckondate:
  4868. description: 日照时期(yyyyMMdd)
  4869. type: string
  4870. spotgoodsbrandid:
  4871. description: 现货品牌ID
  4872. type: integer
  4873. todaybuyamount:
  4874. description: 今日采购额(今采购额)
  4875. type: number
  4876. todaybuyaverageprice:
  4877. description: 期初均价
  4878. type: number
  4879. todaybuyqty:
  4880. description: 今日采购量(今采购量)
  4881. type: number
  4882. todayinqty:
  4883. description: 今日入库量(今入库量)
  4884. type: number
  4885. todayoutqty:
  4886. description: 今日出库量(今出库量)
  4887. type: number
  4888. todaysellamount:
  4889. description: 今日销售额(今销售额)
  4890. type: number
  4891. todaysellaverageprice:
  4892. description: 期初均价
  4893. type: number
  4894. todaysellqty:
  4895. description: 今日销售量(今销售量)
  4896. type: number
  4897. unitid:
  4898. description: 品类单位id
  4899. type: integer
  4900. unitidname:
  4901. description: 品类单位名称
  4902. type: string
  4903. updatetime:
  4904. description: 更新时间
  4905. type: string
  4906. wrfactortypeid:
  4907. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4908. type: integer
  4909. wrstandardcode:
  4910. description: 现货商品(品类)代码
  4911. type: string
  4912. wrstandardid:
  4913. description: 现货品类ID
  4914. type: integer
  4915. wrstandardname:
  4916. description: 现货商品(品类)名称
  4917. type: string
  4918. type: object
  4919. models.Ermcp3AreaStock:
  4920. properties:
  4921. brandname:
  4922. description: 品牌名称
  4923. type: string
  4924. curstock:
  4925. description: 期末库存量(今日量)
  4926. type: number
  4927. deliverygoodscode:
  4928. description: 现货品种代码
  4929. type: string
  4930. deliverygoodsid:
  4931. description: 现货品种id
  4932. type: integer
  4933. deliverygoodsname:
  4934. description: 现货品种名称
  4935. type: string
  4936. enumdicname:
  4937. description: 单位名称
  4938. type: string
  4939. goodsunitid:
  4940. description: 现货商品单位id
  4941. type: integer
  4942. oristock:
  4943. description: 期初库存量(昨日量)
  4944. type: number
  4945. spotgoodsbrandid:
  4946. description: 现货品牌ID
  4947. type: integer
  4948. todaybuyinqty:
  4949. description: 今日采购入库量
  4950. type: number
  4951. todayproduceinqty:
  4952. description: 今日生产入库量
  4953. type: number
  4954. todayproduceoutqty:
  4955. description: 今日生产出库量
  4956. type: number
  4957. todayselloutqty:
  4958. description: 今日销售出库量
  4959. type: number
  4960. unitid:
  4961. description: 单位id
  4962. type: integer
  4963. updatetime:
  4964. description: 更新时间
  4965. type: string
  4966. userid:
  4967. description: 机构ID
  4968. type: integer
  4969. username:
  4970. description: 机构名称
  4971. type: string
  4972. warehousecode:
  4973. description: 仓库代码
  4974. type: string
  4975. warehouseinfoid:
  4976. description: 仓库ID
  4977. type: string
  4978. warehousename:
  4979. description: 仓库名称
  4980. type: string
  4981. warehousetype:
  4982. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4983. type: integer
  4984. wrstandardcode:
  4985. description: 品类代码
  4986. type: string
  4987. wrstandardid:
  4988. description: 品类ID
  4989. type: string
  4990. wrstandardname:
  4991. description: 品类名称
  4992. type: string
  4993. required:
  4994. - userid
  4995. type: object
  4996. models.Ermcp3AreaStockApply:
  4997. properties:
  4998. applyid:
  4999. description: 申请人
  5000. type: integer
  5001. applyname:
  5002. description: 申请人名称
  5003. type: string
  5004. applyremark:
  5005. description: 申请备注
  5006. type: string
  5007. applysrc:
  5008. description: 申请来源 - 1:管理端 2:终端
  5009. type: integer
  5010. applystatus:
  5011. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5012. type: integer
  5013. applytime:
  5014. description: 申请时间
  5015. type: string
  5016. auditid:
  5017. description: 审核人
  5018. type: integer
  5019. auditname:
  5020. description: 审核人名称
  5021. type: string
  5022. auditremark:
  5023. description: 审核备注
  5024. type: string
  5025. auditsrc:
  5026. description: 审核来源 - 1:管理端 2:终端
  5027. type: integer
  5028. audittime:
  5029. description: 审核时间
  5030. type: string
  5031. audittradedate:
  5032. description: 审核交易日(yyyyMMdd)
  5033. type: string
  5034. brandname:
  5035. description: 品牌名称
  5036. type: string
  5037. buynickname:
  5038. description: 采购方昵称
  5039. type: string
  5040. buyuserid:
  5041. description: 采购方userid
  5042. type: integer
  5043. buyusername:
  5044. description: 采购方名称
  5045. type: string
  5046. contractno:
  5047. description: 合同编号
  5048. type: string
  5049. contractqty:
  5050. description: 合同量
  5051. type: number
  5052. contracttype:
  5053. description: 现货合同类型 - 1:采购 -1:销售
  5054. type: integer
  5055. deliverygoodscode:
  5056. description: 现货品种代码
  5057. type: string
  5058. deliverygoodsid:
  5059. description: 现货品种id
  5060. type: integer
  5061. deliverygoodsname:
  5062. description: 现货品种名称
  5063. type: string
  5064. detailjson:
  5065. description: 明细数据
  5066. type: string
  5067. enumdicname:
  5068. description: 现货商品单位名称
  5069. type: string
  5070. inoutapplyid:
  5071. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5072. type: string
  5073. inouttype:
  5074. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5075. type: integer
  5076. pricetype:
  5077. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5078. type: integer
  5079. qty:
  5080. description: 数量
  5081. type: number
  5082. sellnickname:
  5083. description: 销售方昵称
  5084. type: string
  5085. selluserid:
  5086. description: 销售方userid
  5087. type: integer
  5088. sellusername:
  5089. description: 销售方名称
  5090. type: string
  5091. spotcontractid:
  5092. description: 关联现货合同ID
  5093. type: string
  5094. spotgoodsbrandid:
  5095. description: 现货品牌ID
  5096. type: integer
  5097. unitid:
  5098. description: 单位id
  5099. type: integer
  5100. userid:
  5101. description: 机构ID
  5102. type: integer
  5103. warehousecode:
  5104. description: 仓库代码
  5105. type: string
  5106. warehouseinfoid:
  5107. description: 现货仓库ID
  5108. type: string
  5109. warehousename:
  5110. description: 仓库名称
  5111. type: string
  5112. warehousetype:
  5113. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5114. type: integer
  5115. wrstandardcode:
  5116. description: 品类代码
  5117. type: string
  5118. wrstandardid:
  5119. description: 品类ID
  5120. type: integer
  5121. wrstandardname:
  5122. description: 品类名称
  5123. type: string
  5124. type: object
  5125. models.Ermcp3AreaStockApplySum:
  5126. properties:
  5127. brandname:
  5128. description: 品牌名称
  5129. type: string
  5130. inouttype:
  5131. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5132. type: integer
  5133. spotcontractid:
  5134. description: 关联现货合同ID
  5135. type: string
  5136. spotgoodsbrandid:
  5137. description: 品牌id
  5138. type: integer
  5139. totalqty:
  5140. description: 总数量
  5141. type: number
  5142. wrstandardid:
  5143. description: 品类id
  5144. type: integer
  5145. wrstandardname:
  5146. description: 品类名称
  5147. type: string
  5148. type: object
  5149. models.Ermcp3AreaStockReportEx:
  5150. properties:
  5151. begindate:
  5152. description: 开始交易日
  5153. type: string
  5154. brandname:
  5155. description: 品牌名称
  5156. type: string
  5157. curstock:
  5158. description: 期末库存量
  5159. type: number
  5160. cycletime:
  5161. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5162. type: string
  5163. cycletype:
  5164. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5165. type: integer
  5166. deliverygoodscode:
  5167. description: 现货品种代码
  5168. type: string
  5169. deliverygoodsid:
  5170. description: 现货品种id
  5171. type: integer
  5172. deliverygoodsname:
  5173. description: 现货品种名称
  5174. type: string
  5175. diffqty:
  5176. description: 库存变化量 = 期末 - 期初
  5177. type: number
  5178. enddate:
  5179. description: 结束交易日
  5180. type: string
  5181. enumdicname:
  5182. description: 单位名称
  5183. type: string
  5184. goodsunitid:
  5185. description: 现货单位id
  5186. type: integer
  5187. oristock:
  5188. description: 期初库存量
  5189. type: number
  5190. reckondate:
  5191. description: 日照时期(yyyyMMdd)
  5192. type: string
  5193. spotgoodsbrandid:
  5194. description: 现货品牌ID
  5195. type: integer
  5196. todaybuyinqty:
  5197. description: 今采购入库量
  5198. type: number
  5199. todayproduceinqty:
  5200. description: 今内部入库量
  5201. type: number
  5202. todayproduceoutqty:
  5203. description: 今内部出库量
  5204. type: number
  5205. todayselloutqty:
  5206. description: 今销售出库量
  5207. type: number
  5208. unbuyinqty:
  5209. description: 采购未入库量(数据库未找到相关字段?)
  5210. type: number
  5211. unitid:
  5212. description: 品类单位id
  5213. type: integer
  5214. unselloutqty:
  5215. description: 销售未出库量(数据库未找到相关字段?)
  5216. type: number
  5217. updatetime:
  5218. description: 更新时间
  5219. type: string
  5220. userid:
  5221. description: 机构ID
  5222. type: integer
  5223. username:
  5224. description: 机构名称
  5225. type: string
  5226. warehousecode:
  5227. description: 仓库代码
  5228. type: string
  5229. warehouseinfoid:
  5230. description: 仓库ID
  5231. type: string
  5232. warehousename:
  5233. description: 仓库名称
  5234. type: string
  5235. warehousetype:
  5236. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5237. type: integer
  5238. wrstandardcode:
  5239. description: 品类代码
  5240. type: string
  5241. wrstandardid:
  5242. description: 品类ID
  5243. type: integer
  5244. wrstandardname:
  5245. description: 品类名称
  5246. type: string
  5247. type: object
  5248. models.Ermcp3ArealSumPL:
  5249. properties:
  5250. accountname:
  5251. description: 机构名称
  5252. type: string
  5253. areauserid:
  5254. description: 所属机构\交易用户ID
  5255. type: integer
  5256. begindate:
  5257. description: 开始交易日
  5258. type: string
  5259. currencyid:
  5260. description: 结算币种ID
  5261. type: integer
  5262. currencyname:
  5263. description: 币种名称
  5264. type: string
  5265. cycletime:
  5266. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5267. type: string
  5268. cycletype:
  5269. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5270. type: integer
  5271. enddate:
  5272. description: 结束交易日
  5273. type: string
  5274. enumdicname:
  5275. description: 单位名称(套保品种)
  5276. type: string
  5277. futureactualpl:
  5278. description: 期货损益
  5279. type: number
  5280. futurefloatpl:
  5281. description: 期货浮动损益
  5282. type: number
  5283. futurespotratio:
  5284. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5285. type: number
  5286. goodsunitid:
  5287. description: 套保品种单位id
  5288. type: integer
  5289. hedgeexposurepl:
  5290. description: 套保敞口损益
  5291. type: number
  5292. middlegoodscode:
  5293. description: 套保品种代码
  5294. type: string
  5295. middlegoodsid:
  5296. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5297. type: integer
  5298. middlegoodsname:
  5299. description: 套保品种名称
  5300. type: string
  5301. reckondate:
  5302. description: 日照时期(yyyyMMdd)
  5303. type: string
  5304. spotactualpl:
  5305. description: 现货损益
  5306. type: number
  5307. spotfloatpl:
  5308. description: 现货浮动损益
  5309. type: number
  5310. sumactualpl:
  5311. description: 实际损益 = (ActualPL + FutureActualPL)
  5312. type: number
  5313. sumpl:
  5314. description: 总敞口损益 | 汇总损益
  5315. type: number
  5316. totalfutureqty:
  5317. description: 期货头寸总量
  5318. type: number
  5319. totalneedhedgeqty:
  5320. description: 应套保总量
  5321. type: number
  5322. totalspotqty:
  5323. description: 现货头寸总量
  5324. type: number
  5325. updatetime:
  5326. description: 更新时间
  5327. type: string
  5328. type: object
  5329. models.Ermcp3Brand:
  5330. properties:
  5331. areauserid:
  5332. description: 用户id
  5333. type: integer
  5334. brandid:
  5335. description: 品牌id
  5336. type: integer
  5337. brandname:
  5338. description: 品牌名称
  5339. type: string
  5340. deliverygoodsid:
  5341. description: 品种ID
  5342. type: integer
  5343. isvalid:
  5344. description: 是否有效
  5345. type: integer
  5346. type: object
  5347. models.Ermcp3Contract:
  5348. properties:
  5349. accountid:
  5350. description: 期货账户id
  5351. type: string
  5352. amount:
  5353. description: 金额 [1:一口价、3:暂定价]
  5354. type: number
  5355. attachment:
  5356. description: 附件
  5357. type: string
  5358. auditremark:
  5359. description: 审核意见
  5360. type: string
  5361. audittime:
  5362. description: 审核时间
  5363. type: string
  5364. biztype:
  5365. description: 业务类型 1-套保 2-套利
  5366. type: integer
  5367. brandname:
  5368. description: 品牌名称
  5369. type: string
  5370. buynickname:
  5371. description: 销售方昵称
  5372. type: string
  5373. buyuserid:
  5374. description: 采购方ID
  5375. type: integer
  5376. buyusername:
  5377. description: 采购方名称
  5378. type: string
  5379. contracctstatus:
  5380. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5381. type: integer
  5382. contractmargin:
  5383. description: 合同保证金
  5384. type: number
  5385. contractno:
  5386. description: 现货合同编号
  5387. type: string
  5388. contracttype:
  5389. description: 现货合同类型 - 1:采购 -1:销售
  5390. type: integer
  5391. convertfactor:
  5392. description: 标仓系数(品类)
  5393. type: number
  5394. createtime:
  5395. description: 创建时间
  5396. type: string
  5397. currencyid:
  5398. description: 币种id
  5399. type: integer
  5400. currencyname:
  5401. description: 币种名称
  5402. type: string
  5403. deliveryenddate:
  5404. description: 交收期(结束)
  5405. type: string
  5406. deliverygoodscode:
  5407. description: 现货品种代码
  5408. type: string
  5409. deliverygoodsid:
  5410. description: 现货品种ID
  5411. type: integer
  5412. deliverygoodsname:
  5413. description: 现货品种名称
  5414. type: string
  5415. deliverystartdate:
  5416. description: 交收期(开始)
  5417. type: string
  5418. enddate:
  5419. description: 点价结束日期 [2:点价 3:暂定价]
  5420. type: string
  5421. enumdicname:
  5422. description: 单位名称
  5423. type: string
  5424. goodscode:
  5425. description: 点价合约代码
  5426. type: string
  5427. goodsid:
  5428. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5429. type: integer
  5430. goodsname:
  5431. description: 点价商品名称
  5432. type: string
  5433. margin:
  5434. description: 当前保证金
  5435. type: number
  5436. meruserid:
  5437. description: 跟单员id
  5438. type: integer
  5439. meruserlogincode:
  5440. description: 跟单员登录代码
  5441. type: string
  5442. merusername:
  5443. description: 跟单员名称
  5444. type: string
  5445. pointdesc:
  5446. description: 点价备注
  5447. type: string
  5448. price:
  5449. description: 价格\暂定价 [1:一口价、3:暂定价]
  5450. type: number
  5451. pricemove:
  5452. description: 升贴水 [2:点价 3:暂定价]
  5453. type: number
  5454. pricetype:
  5455. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5456. type: integer
  5457. producttype:
  5458. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5459. type: integer
  5460. qty:
  5461. description: 数量
  5462. type: number
  5463. remark:
  5464. description: 备注
  5465. type: string
  5466. saleuserid:
  5467. description: 业务员id
  5468. type: integer
  5469. saleuserlogincode:
  5470. description: 业务员登录代码
  5471. type: string
  5472. saleusername:
  5473. description: 业务员名称
  5474. type: string
  5475. sellnickname:
  5476. description: 采购方昵称
  5477. type: string
  5478. selluserid:
  5479. description: 销售方ID
  5480. type: integer
  5481. sellusername:
  5482. description: 销售方名称
  5483. type: string
  5484. spotcontractid:
  5485. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5486. type: string
  5487. spotgoodsbrandid:
  5488. description: 现货品牌ID(DGFactoryItem表的ID)
  5489. type: integer
  5490. spotgoodsdesc:
  5491. description: 商品型号
  5492. type: string
  5493. startdate:
  5494. description: 点价开始日期 [2:点价 3:暂定价]
  5495. type: string
  5496. subjectid:
  5497. description: 交易主体ID
  5498. type: integer
  5499. subjectname:
  5500. description: 交易主体名称
  5501. type: string
  5502. tradeuserid:
  5503. description: 交易员id
  5504. type: integer
  5505. tradeuserlogincode:
  5506. description: 交易员登录代码
  5507. type: string
  5508. tradeusername:
  5509. description: 交易员名称
  5510. type: string
  5511. unitid:
  5512. description: 单位id(取品类上的单位id)
  5513. type: integer
  5514. updatetime:
  5515. description: 更新时间
  5516. type: string
  5517. userid:
  5518. description: 所属机构ID
  5519. type: integer
  5520. vatrate:
  5521. description: 增值税率
  5522. type: number
  5523. wrstandardcode:
  5524. description: 品类代码
  5525. type: string
  5526. wrstandardid:
  5527. description: 品类ID
  5528. type: integer
  5529. wrstandardname:
  5530. description: 品类名称
  5531. type: string
  5532. type: object
  5533. models.Ermcp3ContractMiddleGoodsCfg:
  5534. properties:
  5535. agreeunit:
  5536. description: 合约乘数
  5537. type: number
  5538. convertratio:
  5539. description: 期货品种系数
  5540. type: number
  5541. covertqty:
  5542. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5543. type: integer
  5544. middlegoodsid:
  5545. description: 套保品种ID
  5546. type: integer
  5547. middlegoodspricedqty3:
  5548. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5549. example: "0"
  5550. type: string
  5551. pendingpricedqty:
  5552. description: 待点价量
  5553. example: "0"
  5554. type: string
  5555. relatedmiddlegoodsqty:
  5556. description: 已关联量(套保品种-期货)
  5557. example: "0"
  5558. type: string
  5559. spotcontractid:
  5560. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5561. type: string
  5562. type: object
  5563. models.Ermcp3ExposureContractDetail:
  5564. properties:
  5565. biztype:
  5566. description: 业务类型 1-套保 2-套利
  5567. type: integer
  5568. brandname:
  5569. description: 品牌名称
  5570. type: string
  5571. buyuserid:
  5572. description: 采购方id
  5573. type: integer
  5574. buyusername:
  5575. description: 采购方名称
  5576. type: string
  5577. contractno:
  5578. description: 合同编号
  5579. type: string
  5580. contracttype:
  5581. description: 现货合同类型 - 1:采购 -1:销售
  5582. type: integer
  5583. convertfactor:
  5584. description: 标仓系数
  5585. type: number
  5586. convertratio:
  5587. description: 折算系数(套保品种)
  5588. type: number
  5589. curqty:
  5590. description: 今定价量
  5591. type: number
  5592. deliverygoodscode:
  5593. description: 现货品种代码
  5594. type: string
  5595. deliverygoodsid:
  5596. description: 现货品种id
  5597. type: integer
  5598. deliverygoodsname:
  5599. description: 现货品种名称
  5600. type: string
  5601. diffhedgeqty:
  5602. description: 套保变动量
  5603. type: number
  5604. diffneedhedgeqty:
  5605. description: 应套保变动量
  5606. type: number
  5607. diffqty:
  5608. description: 套保品种今变动量
  5609. type: number
  5610. enumdicname:
  5611. description: 单位名称
  5612. type: string
  5613. mgunitname:
  5614. description: 套保品种单位名称
  5615. type: string
  5616. middlegoodscode:
  5617. description: 套保品种代码
  5618. type: string
  5619. middlegoodsid:
  5620. description: 套保品种id
  5621. type: integer
  5622. middlegoodsname:
  5623. description: 套保品种名称
  5624. type: string
  5625. needarbitrageratio:
  5626. description: 应套利比例
  5627. type: number
  5628. needhedgeratio:
  5629. description: 应套保比例
  5630. type: number
  5631. pricedqty:
  5632. description: 已定价量
  5633. type: number
  5634. qty:
  5635. description: 合同量
  5636. type: number
  5637. reckondate:
  5638. description: 交易日(reckondate)
  5639. type: string
  5640. selluserid:
  5641. description: 销售方id
  5642. type: integer
  5643. sellusername:
  5644. description: 销售方名称
  5645. type: string
  5646. spotcontractid:
  5647. description: 合同id
  5648. type: string
  5649. todaypricedqty:
  5650. description: 今定价量
  5651. type: number
  5652. tradedate:
  5653. description: 交易日
  5654. type: string
  5655. unitid:
  5656. description: 品类单位id
  5657. type: integer
  5658. userid:
  5659. description: 机构id
  5660. type: integer
  5661. username:
  5662. description: 交易用户
  5663. type: string
  5664. wrstandardcode:
  5665. description: 现货商品代码
  5666. type: string
  5667. wrstandardid:
  5668. description: 现货商品id
  5669. type: integer
  5670. wrstandardname:
  5671. description: 现货商品名称
  5672. type: string
  5673. type: object
  5674. models.Ermcp3ExposureDetail:
  5675. properties:
  5676. areauserid:
  5677. description: 机构ID
  5678. type: integer
  5679. changeQty:
  5680. description: 套保变动量
  5681. type: number
  5682. contracttype:
  5683. description: 现货合同类型 - 1:采购 -1:销售
  5684. type: integer
  5685. convertfactor:
  5686. description: 标仓系数
  5687. type: number
  5688. convertratio:
  5689. description: 折算系数
  5690. type: number
  5691. createtime:
  5692. description: 时间
  5693. type: string
  5694. enumdicname:
  5695. description: 现货商品单位名称
  5696. type: string
  5697. logtype:
  5698. description: 类型 - 1:套保计划 2:现货合同
  5699. type: integer
  5700. mgunitid:
  5701. description: 套保品种单位id
  5702. type: integer
  5703. mgunitidname:
  5704. description: 套保品种单位名称
  5705. type: string
  5706. middlegoodsId:
  5707. description: 套保商品id
  5708. type: integer
  5709. middlegoodscode:
  5710. description: 套保商品代码
  5711. type: string
  5712. middlegoodsname:
  5713. description: 套保商品名称
  5714. type: string
  5715. qty:
  5716. description: 数量
  5717. type: number
  5718. relateNo:
  5719. description: 现货合同/套保计划编号
  5720. type: string
  5721. unitid:
  5722. description: 现货商品单位id
  5723. type: integer
  5724. wrstandardcode:
  5725. description: 现货商品代码
  5726. type: string
  5727. wrstandardid:
  5728. description: 现货商品ID(SEQ_WRSTANDARD)
  5729. type: integer
  5730. wrstandardname:
  5731. description: 现货商品名称
  5732. type: string
  5733. type: object
  5734. models.Ermcp3ExposureFutuDetail:
  5735. properties:
  5736. accountid:
  5737. description: 交易账户id
  5738. type: integer
  5739. accountname:
  5740. description: 交易账户
  5741. type: string
  5742. begindate:
  5743. description: 开始交易日
  5744. type: string
  5745. buyorsell:
  5746. description: 方向 0-买 1-卖
  5747. type: integer
  5748. diffmgqty:
  5749. description: 套保品种今变化量
  5750. type: number
  5751. diffneedqty:
  5752. description: 应套保总量变化量
  5753. type: number
  5754. difftradeqty:
  5755. description: 交易品种今变化量
  5756. type: number
  5757. enddate:
  5758. description: 结束交易日
  5759. type: string
  5760. enumdicname:
  5761. description: 单位名称
  5762. type: string
  5763. goodscode:
  5764. description: 商品代码
  5765. type: string
  5766. goodsid:
  5767. description: 商品id
  5768. type: integer
  5769. goodsname:
  5770. description: 商品名称
  5771. type: string
  5772. holdqty:
  5773. description: 期末持仓量
  5774. type: number
  5775. middlegoodscode:
  5776. description: 套保商品代码
  5777. type: string
  5778. middlegoodsid:
  5779. description: 套保商品id
  5780. type: integer
  5781. middlegoodsname:
  5782. description: 套保商品名称
  5783. type: string
  5784. oriholdqty:
  5785. description: 期初持仓量
  5786. type: number
  5787. reckondate:
  5788. description: 交易日(RECKONDATE)
  5789. type: string
  5790. todaycloseqty:
  5791. description: 今平仓量
  5792. type: number
  5793. todayopenqty:
  5794. description: 今开仓量
  5795. type: number
  5796. tradedate:
  5797. description: 交易日(RECKONDATE)
  5798. type: string
  5799. username:
  5800. description: 用户名称(交易用户)
  5801. type: string
  5802. type: object
  5803. models.Ermcp3ExposureHedgeplanDetail:
  5804. properties:
  5805. biztype:
  5806. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5807. type: integer
  5808. changqty:
  5809. description: 应套保总量变化量
  5810. type: number
  5811. contracttype:
  5812. description: 计划类型 - 1:采购 -1:销售
  5813. type: integer
  5814. convertratio:
  5815. description: 折算系数(套保品种)
  5816. type: number
  5817. deliverygoodscode:
  5818. description: 现货商品代码
  5819. type: string
  5820. deliverygoodsid:
  5821. description: 现货商品id
  5822. type: integer
  5823. deliverygoodsname:
  5824. description: 现货商吕名称
  5825. type: string
  5826. dgunitid:
  5827. description: 现货商品单位id
  5828. type: integer
  5829. dgunitidname:
  5830. description: 单位名称(现货商品)
  5831. type: string
  5832. diffqty:
  5833. description: 套保品种今变动量
  5834. type: number
  5835. enumdicname:
  5836. description: 单位名称(品类)
  5837. type: string
  5838. hedgeplanid:
  5839. description: 套保计划id
  5840. type: string
  5841. hedgeplanno:
  5842. description: 套保计划名称
  5843. type: string
  5844. hedgeplanstatus:
  5845. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5846. type: integer
  5847. mgunitidname:
  5848. description: 单位名称(套保商品)
  5849. type: string
  5850. middlegoodscode:
  5851. description: 套保品种代码
  5852. type: string
  5853. middlegoodsid:
  5854. description: 套保品种id
  5855. type: integer
  5856. middlegoodsname:
  5857. description: 套保品种名称
  5858. type: string
  5859. needarbitrageratio:
  5860. description: 应套利比例
  5861. type: number
  5862. needhedgeratio:
  5863. description: 应套保比例
  5864. type: number
  5865. pricedqty:
  5866. description: 已定价量
  5867. type: number
  5868. qty:
  5869. description: 合同量
  5870. type: number
  5871. reckondate:
  5872. description: 交易日(reckondate)
  5873. type: string
  5874. tradedate:
  5875. description: 交易日(登记日)
  5876. type: string
  5877. unitid:
  5878. description: 品类单位id
  5879. type: integer
  5880. userid:
  5881. description: 机构id
  5882. type: integer
  5883. wrstandardcode:
  5884. description: 品类代码
  5885. type: string
  5886. wrstandardid:
  5887. description: 品类id
  5888. type: integer
  5889. wrstandardname:
  5890. description: 品类名称
  5891. type: string
  5892. type: object
  5893. models.Ermcp3ExposureParamChLog:
  5894. properties:
  5895. accountid:
  5896. description: 期货账户ID (作废, 默认为0)
  5897. type: integer
  5898. aftervalue:
  5899. description: 应套保\套利量变更后(调整后应套保总量)
  5900. type: number
  5901. areauserid:
  5902. description: 所属机构\交易用户ID
  5903. type: integer
  5904. beforevalue:
  5905. description: 应套保\套利量变更前(调整前应套保总量)
  5906. type: number
  5907. begindate:
  5908. description: 开始交易日
  5909. type: string
  5910. changelogtype:
  5911. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5912. type: integer
  5913. curvalue:
  5914. description: 当前套保\套利量(套保总量|套利总量)
  5915. type: number
  5916. diffvalue:
  5917. description: 应套保总量变化量
  5918. type: number
  5919. enddate:
  5920. description: 结束交易日
  5921. type: string
  5922. logdatetime:
  5923. description: 流水日期
  5924. type: string
  5925. logid:
  5926. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5927. type: string
  5928. middlegoodscode:
  5929. description: 套保品种代码
  5930. type: string
  5931. middlegoodsid:
  5932. description: 套保品种
  5933. type: integer
  5934. middlegoodsname:
  5935. description: 套保品种名称
  5936. type: string
  5937. paramaftervalue:
  5938. description: 参数变更后(调整后参数值)
  5939. type: number
  5940. parambeforevalue:
  5941. description: 参数变更前(调整前参数值)
  5942. type: number
  5943. reckondate:
  5944. description: 交易日(reckondate)
  5945. type: string
  5946. tradedate:
  5947. description: 交易日(yyyyMMdd)
  5948. type: string
  5949. type: object
  5950. models.Ermcp3ExpourseReport:
  5951. properties:
  5952. accountid:
  5953. description: 期货账户ID (作废, 默认为0)
  5954. type: integer
  5955. accountname:
  5956. description: 机构名称
  5957. type: string
  5958. arbitrageqty:
  5959. description: 套利量
  5960. type: number
  5961. areauserid:
  5962. description: 所属机构\交易用户ID
  5963. type: integer
  5964. begindate:
  5965. description: 开始交易日
  5966. type: string
  5967. buyfutureqty:
  5968. description: 买入期货数量
  5969. type: number
  5970. buyplanqty:
  5971. description: 采购计划数量
  5972. type: number
  5973. buypricedqty:
  5974. description: 采购合同已定价数量
  5975. type: number
  5976. cycletime:
  5977. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5978. type: string
  5979. cycletype:
  5980. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5981. type: integer
  5982. diffexposure:
  5983. description: 变动量(套保敞口)
  5984. type: number
  5985. difffutuqty:
  5986. description: 变动量(期货)
  5987. type: number
  5988. diffhedgeqty:
  5989. description: 变动量(现货应套保总量)
  5990. type: number
  5991. diffmgqtya:
  5992. description: 套保变动量
  5993. type: number
  5994. diffmgqtyb:
  5995. description: 套利变动量
  5996. type: number
  5997. diffneedqty:
  5998. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5999. type: number
  6000. diffqty:
  6001. description: 变动量(总敞口)
  6002. type: number
  6003. diffspotqty:
  6004. description: 变动量(现货) | 除税变动量
  6005. type: number
  6006. enddate:
  6007. description: 结束交易日
  6008. type: string
  6009. enumdicname:
  6010. description: 单位名称
  6011. type: string
  6012. hedgeqty:
  6013. description: 套保量
  6014. type: number
  6015. mgneedhedgeratio:
  6016. description: 套保比例(套保品的)
  6017. type: number
  6018. middlegoodsid:
  6019. description: 套保品种ID
  6020. type: integer
  6021. middlegoodsname:
  6022. description: 套保商品名称
  6023. type: string
  6024. middlgoodscode:
  6025. description: 套保商品代码
  6026. type: string
  6027. needarbitrageqty:
  6028. description: 应套利量
  6029. type: number
  6030. needarbitrageratio:
  6031. description: 套利比例(套保品的)
  6032. type: number
  6033. needhedgeexposoure:
  6034. description: 应套保敞口(套保敞口)
  6035. type: number
  6036. needhedgeqty:
  6037. description: 应套保量
  6038. type: number
  6039. needhedgeratio:
  6040. description: 应套保敞口比例
  6041. type: number
  6042. needqty:
  6043. description: 应套总量 = 应套保量 + 应套利量
  6044. type: number
  6045. oriarbitrageqty:
  6046. description: 期初套利量
  6047. type: number
  6048. oribuyfutureqty:
  6049. description: 期初买入期货数量
  6050. type: number
  6051. oribuyplanqty:
  6052. description: 期初采购计划数量
  6053. type: number
  6054. oribuypricedqty:
  6055. description: 期初采购合同已定价数量
  6056. type: number
  6057. orihedgeqty:
  6058. description: 期初套保量
  6059. type: number
  6060. orineedarbitrageqty:
  6061. description: 期初应套利量
  6062. type: number
  6063. orineedhedgeexposoure:
  6064. description: 期初应套保敞口
  6065. type: number
  6066. orineedhedgeqty:
  6067. description: 期初应套保量
  6068. type: number
  6069. orisellfutureqty:
  6070. description: 期初卖出期货数量
  6071. type: number
  6072. orisellplanqty:
  6073. description: 期初销售计划数量
  6074. type: number
  6075. orisellpricedqty:
  6076. description: 期初销售合同已定价数量
  6077. type: number
  6078. oritotalexposure:
  6079. description: 期初实时总敞口
  6080. type: number
  6081. oritotalfutureqty:
  6082. description: 期初期货头寸总量
  6083. type: number
  6084. oritotalneedhedgeqty:
  6085. description: 期初应套保总量
  6086. type: number
  6087. oritotalspotqty:
  6088. description: 期初现货头寸总量
  6089. type: number
  6090. reckondate:
  6091. description: 日照时期(yyyyMMdd)
  6092. type: string
  6093. sellfutureqty:
  6094. description: 卖出期货数量
  6095. type: number
  6096. sellplanqty:
  6097. description: 销售计划数量
  6098. type: number
  6099. sellpricedqty:
  6100. description: 销售合同已定价数量
  6101. type: number
  6102. totalexposure:
  6103. description: 实时总敞口(总敞口)
  6104. type: number
  6105. totalfutureqty:
  6106. description: 期货头寸总量(期货总量)
  6107. type: number
  6108. totalhedgeratio:
  6109. description: 敞口比例
  6110. type: number
  6111. totalneedhedgeqty:
  6112. description: 应套保总量(现货应套保总量)
  6113. type: number
  6114. totalspotqty:
  6115. description: 现货头寸总量 | 除税总量
  6116. type: number
  6117. unitid:
  6118. description: 单位id
  6119. type: integer
  6120. updatetime:
  6121. description: 更新时间
  6122. type: string
  6123. type: object
  6124. models.Ermcp3FinanceReport:
  6125. properties:
  6126. accountname:
  6127. description: 机构名称
  6128. type: string
  6129. areauserid:
  6130. description: 所属机构\交易用户ID
  6131. type: integer
  6132. begindate:
  6133. description: 开始交易日
  6134. type: string
  6135. biztype:
  6136. description: 业务类型 - 1:套保 2:套利
  6137. type: integer
  6138. brandname:
  6139. description: 品牌名称
  6140. type: string
  6141. buypreinvoicedamount:
  6142. description: 采购预收票额(预收票额)
  6143. type: number
  6144. buyprepaidamount:
  6145. description: 采购预付款额(预付货款额)
  6146. type: number
  6147. buytodayinvoiceamount:
  6148. description: 采购今收票额(今收票额)
  6149. type: number
  6150. buytodayrefundamount:
  6151. description: 采购今收退款额(今收退款额)
  6152. type: number
  6153. buytodaysettleamount:
  6154. description: 采购今付款额(今付货款额)
  6155. type: number
  6156. buyuninvoicedamount:
  6157. description: 采购应收票额(应收票额)
  6158. type: number
  6159. buyunpaidamount:
  6160. description: 采购应付款额(应付货款额)
  6161. type: number
  6162. currencyid:
  6163. description: 结算币种ID
  6164. type: integer
  6165. currencyname:
  6166. description: 币种名称
  6167. type: string
  6168. cycletime:
  6169. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6170. type: string
  6171. cycletype:
  6172. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6173. type: integer
  6174. deliverygoodscode:
  6175. description: 现货品种代码
  6176. type: string
  6177. deliverygoodsid:
  6178. description: 现货品种ID
  6179. type: integer
  6180. deliverygoodsname:
  6181. description: 现货品种名称
  6182. type: string
  6183. enddate:
  6184. description: 结束交易日
  6185. type: string
  6186. reckondate:
  6187. description: 日照时期(yyyyMMdd)
  6188. type: string
  6189. sellpreinvoicedamount:
  6190. description: 销售预开票额(预开票额)
  6191. type: number
  6192. sellprepaidamount:
  6193. description: 销售预收款额(预收货款额)
  6194. type: number
  6195. selltodayinvoiceamount:
  6196. description: 销售今开票额(今开票额)
  6197. type: number
  6198. selltodayrefundamount:
  6199. description: 销售今付退款额(今付退款额)
  6200. type: number
  6201. selltodaysettleamount:
  6202. description: 销售今收款额(今收货款额)
  6203. type: number
  6204. selluninvoicedamount:
  6205. description: 销售应开票额(应开票额)
  6206. type: number
  6207. sellunpaidamount:
  6208. description: 销售应收款额(应收货款额)
  6209. type: number
  6210. spotgoodsbrandid:
  6211. description: 现货品牌ID
  6212. type: integer
  6213. todaypaysum:
  6214. description: 今付款合计
  6215. type: number
  6216. todayreceivesum:
  6217. description: 今收款合计
  6218. type: number
  6219. updatetime:
  6220. description: 更新时间
  6221. type: string
  6222. wrfactortypeid:
  6223. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6224. type: integer
  6225. wrstandardcode:
  6226. description: 品类代码
  6227. type: string
  6228. wrstandardid:
  6229. description: 现货商品ID
  6230. type: integer
  6231. wrstandardname:
  6232. description: 品类名称
  6233. type: string
  6234. type: object
  6235. models.Ermcp3GoodsGroup:
  6236. properties:
  6237. agreeunit:
  6238. description: 合约单位
  6239. type: number
  6240. areauserid:
  6241. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6242. type: integer
  6243. canshort:
  6244. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6245. type: integer
  6246. closepricemode:
  6247. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6248. type: integer
  6249. createtime:
  6250. description: 创建时间
  6251. type: string
  6252. creatorid:
  6253. description: 创建人
  6254. type: integer
  6255. currencyid:
  6256. description: 报价货币ID
  6257. type: integer
  6258. decimalplace:
  6259. description: 报价小数位
  6260. type: integer
  6261. enumdicname:
  6262. description: 单位名称
  6263. type: string
  6264. exchangefullname:
  6265. description: 交易所全称
  6266. type: string
  6267. excludecfg:
  6268. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6269. type: integer
  6270. exexchangecode:
  6271. description: 交易所代码
  6272. type: string
  6273. exexchangeid:
  6274. description: 外部交易所ID[通道交易]
  6275. type: integer
  6276. exexchangename:
  6277. description: 交易所名称
  6278. type: string
  6279. goodsgroupid:
  6280. description: 商品组ID(自增ID)
  6281. type: integer
  6282. goodsgroupname:
  6283. description: 商品组名称
  6284. type: string
  6285. goodsgroupstatus:
  6286. description: 商品组状态 - 1:正常 2:注销
  6287. type: integer
  6288. goodunitid:
  6289. description: 报价单位ID
  6290. type: integer
  6291. groupcategroyid:
  6292. description: 品种分类ID
  6293. type: integer
  6294. innerdealmode:
  6295. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6296. type: integer
  6297. marketid:
  6298. description: 所属市场ID
  6299. type: integer
  6300. modifierid:
  6301. description: 修改人
  6302. type: integer
  6303. modifytime:
  6304. description: 修改时间
  6305. type: string
  6306. outerdealmode:
  6307. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6308. type: integer
  6309. outergroupcode:
  6310. description: 外部商品组代码[通道交易]
  6311. type: string
  6312. quoteminunit:
  6313. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6314. type: integer
  6315. quotesourcegroupid:
  6316. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6317. type: integer
  6318. syncgoodsqty:
  6319. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6320. type: integer
  6321. required:
  6322. - areauserid
  6323. type: object
  6324. models.Ermcp3HPMiddleGoods:
  6325. properties:
  6326. biztype:
  6327. description: 业务类型 1:套保 2:套利
  6328. type: integer
  6329. contracttype:
  6330. description: 合同类型 1:采购 -1:销售
  6331. type: integer
  6332. convertratio:
  6333. description: 折算系数
  6334. type: number
  6335. customername:
  6336. description: 对手手名称
  6337. type: string
  6338. customeruserid:
  6339. description: 对手id
  6340. type: integer
  6341. enumdicname:
  6342. description: 现货单位名称
  6343. type: string
  6344. hedgeplanid:
  6345. description: 计划id
  6346. type: string
  6347. hedgeplanno:
  6348. description: 计划编号
  6349. type: string
  6350. middlegoodsid:
  6351. description: 套保品种ID
  6352. type: integer
  6353. middlegoodsplanqty3:
  6354. description: 应套保计划量
  6355. type: number
  6356. needhedgeratio:
  6357. description: 套保比例
  6358. type: number
  6359. pricedqty:
  6360. description: 已定价量
  6361. type: number
  6362. relatedmiddlegoodsqty:
  6363. description: 已关联量(套保品种)(期货)
  6364. type: number
  6365. unitid:
  6366. description: 现货单位id
  6367. type: integer
  6368. userid:
  6369. description: 用户id
  6370. type: integer
  6371. vatrate:
  6372. description: 增值税率
  6373. type: number
  6374. wrstandardcode:
  6375. description: 现货商品代码
  6376. type: string
  6377. wrstandardid:
  6378. description: 现货商品id
  6379. type: integer
  6380. wrstandardname:
  6381. description: 现货商品名称
  6382. type: string
  6383. type: object
  6384. models.Ermcp3HedgePlan:
  6385. properties:
  6386. accountid:
  6387. description: 资金账号
  6388. type: integer
  6389. areauserid:
  6390. description: 用户ID
  6391. type: integer
  6392. auditid:
  6393. description: 审核id
  6394. type: integer
  6395. auditname:
  6396. description: 审核人名称
  6397. type: string
  6398. auditremark:
  6399. description: 审核备注
  6400. type: string
  6401. auditsrc:
  6402. description: 审核来源 1-管理端 2-终端
  6403. type: integer
  6404. audittime:
  6405. description: 审核时间
  6406. type: string
  6407. contracttype:
  6408. description: 计划类型 - 1:采购 -1:销售
  6409. type: integer
  6410. convertfactor:
  6411. description: 标仓系数
  6412. type: number
  6413. createtime:
  6414. description: 创建时间
  6415. type: string
  6416. currencyid:
  6417. description: 币种id
  6418. type: integer
  6419. currencyname:
  6420. description: 币种名称
  6421. type: string
  6422. deliverygoodscode:
  6423. description: 现货品种代码
  6424. type: string
  6425. deliverygoodsid:
  6426. description: 现货品种ID
  6427. type: integer
  6428. deliverygoodsname:
  6429. description: 现货品种名称
  6430. type: string
  6431. enumdicname:
  6432. description: 单位名称(现货商品)
  6433. type: string
  6434. hedgeplanid:
  6435. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6436. type: string
  6437. hedgeplanno:
  6438. description: 套保计划编号(名称)
  6439. type: string
  6440. hedgeplanstatus:
  6441. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6442. type: integer
  6443. planqty:
  6444. description: 计划数量
  6445. type: number
  6446. plantime:
  6447. description: 计划时间
  6448. type: string
  6449. producttype:
  6450. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6451. type: integer
  6452. remark:
  6453. description: 备注
  6454. type: string
  6455. spotgoodsdesc:
  6456. description: 商品型号
  6457. type: string
  6458. taaccountname:
  6459. description: 资金账号名称
  6460. type: string
  6461. tradeuserid:
  6462. description: 交易用户id
  6463. type: integer
  6464. tradeusername:
  6465. description: 交易用户名称
  6466. type: string
  6467. unitid:
  6468. description: 单位id(现货商品)
  6469. type: integer
  6470. updatetime:
  6471. description: 更新时间
  6472. type: string
  6473. vatrate:
  6474. description: 增值税率
  6475. type: number
  6476. wrstandardcode:
  6477. description: 品类代码
  6478. type: string
  6479. wrstandardid:
  6480. description: 品类id
  6481. type: integer
  6482. wrstandardname:
  6483. description: 品类名称
  6484. type: string
  6485. wrunitid:
  6486. description: 品类单位id
  6487. type: integer
  6488. wrunitidame:
  6489. description: 品类单位名称
  6490. type: string
  6491. type: object
  6492. models.Ermcp3InnerTradeLink:
  6493. properties:
  6494. accountid:
  6495. description: 期货账号代码 | 资金账号ID
  6496. type: integer
  6497. buyorsell:
  6498. description: 方向 - 0:买 1:卖
  6499. type: integer
  6500. channelbuildtype:
  6501. description: 委托单据类型 0:无 1:建仓 2:平仓
  6502. type: integer
  6503. currencyid:
  6504. description: 币种id
  6505. type: integer
  6506. currencyname:
  6507. description: 结算币种 名称
  6508. type: string
  6509. goodscode:
  6510. description: 商品代码
  6511. type: string
  6512. goodsid:
  6513. description: 商品ID
  6514. type: integer
  6515. goodsname:
  6516. description: 商品名称
  6517. type: string
  6518. outtradeid:
  6519. description: 外部成交单号
  6520. type: string
  6521. taname:
  6522. description: 期货账户名称
  6523. type: string
  6524. tradeid:
  6525. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6526. type: string
  6527. tradeprice:
  6528. description: 成交价格
  6529. type: number
  6530. tradeqty:
  6531. description: 期货成交数量
  6532. type: integer
  6533. tradetime:
  6534. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6535. type: string
  6536. username:
  6537. description: 用户名称
  6538. type: string
  6539. type: object
  6540. models.Ermcp3OutTradeLink:
  6541. properties:
  6542. buyorsell:
  6543. description: 买卖方向 - 0:买 1:卖
  6544. type: integer
  6545. channelbuildtype:
  6546. description: 开平标志- 0:无 1:建仓 2:平仓
  6547. type: integer
  6548. currencyname:
  6549. description: 币种名称
  6550. type: string
  6551. exexchangecode:
  6552. description: 交易所代码
  6553. type: string
  6554. exexchangename:
  6555. description: 交易所名称
  6556. type: string
  6557. goodscode:
  6558. description: 合约代码
  6559. type: string
  6560. goodsid:
  6561. description: 合约id
  6562. type: integer
  6563. goodsname:
  6564. description: 合约名称
  6565. type: string
  6566. hasinnerorder:
  6567. description: 是否有内部单关联 - 0:无 1:有
  6568. type: integer
  6569. hedgeaccountcode:
  6570. description: 外部账号 | 对冲账号
  6571. type: string
  6572. outtradeid:
  6573. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6574. type: string
  6575. tradeprice:
  6576. description: 成交价格
  6577. type: number
  6578. tradeqty:
  6579. description: 成交数量
  6580. type: integer
  6581. tradetime:
  6582. description: 成交时间
  6583. type: string
  6584. type: object
  6585. models.Ermcp3PaAreaAuditCfg:
  6586. properties:
  6587. areauserid:
  6588. description: 用户ID
  6589. type: integer
  6590. buyinauditflag:
  6591. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6592. type: integer
  6593. costratioauditflag:
  6594. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6595. type: integer
  6596. customerauditflag:
  6597. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6598. type: integer
  6599. deliveryauditflag:
  6600. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6601. type: integer
  6602. invoiceauditflag:
  6603. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6604. type: integer
  6605. mgneedhedgeratioauditflag:
  6606. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6607. type: integer
  6608. moneyauditflag:
  6609. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6610. type: integer
  6611. operatorid:
  6612. description: 操作人
  6613. type: integer
  6614. operatorsrc:
  6615. description: 操作来源 - 1:管理端 2:终端
  6616. type: integer
  6617. pointpriceauditflag:
  6618. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6619. type: integer
  6620. produceinauditflag:
  6621. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6622. type: integer
  6623. produceoutauditflag:
  6624. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6625. type: integer
  6626. selloutauditflag:
  6627. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6628. type: integer
  6629. sgconvertratioauditflag:
  6630. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6631. type: integer
  6632. sgvtaratioauditflag:
  6633. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6634. type: integer
  6635. spotcontractauditflag:
  6636. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6637. type: integer
  6638. updatetime:
  6639. description: 更新时间
  6640. type: string
  6641. type: object
  6642. models.Ermcp3PaAreaSubject:
  6643. properties:
  6644. areauserid:
  6645. description: 所属机构
  6646. type: integer
  6647. canmodify:
  6648. description: 是否可修改 - 0:否 1:是
  6649. type: integer
  6650. createtime:
  6651. description: 创建时间
  6652. type: string
  6653. creatorid:
  6654. description: 创建人ID
  6655. type: string
  6656. creatorsrc:
  6657. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6658. type: integer
  6659. modifierid:
  6660. description: 修改人
  6661. type: string
  6662. modifiersrc:
  6663. description: 修改人来源 - 1:管理端 2:终端
  6664. type: integer
  6665. modifytime:
  6666. description: 修改时间
  6667. type: string
  6668. parentsubjectid:
  6669. description: 上级主体ID
  6670. type: string
  6671. remark:
  6672. description: 备注
  6673. type: string
  6674. subjectid:
  6675. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6676. type: integer
  6677. subjectname:
  6678. description: 主体名称
  6679. type: string
  6680. subjectstatus:
  6681. description: '主体状态 - 1:正常 2: 停用'
  6682. type: integer
  6683. subjecttype:
  6684. description: 主体类型 - 1:交易主体 2:业务部门
  6685. type: integer
  6686. type: object
  6687. models.Ermcp3PaTradeLink:
  6688. properties:
  6689. accountid:
  6690. description: 期货账户代码 | 账号ID
  6691. type: integer
  6692. agreeunit:
  6693. description: 合约乘数
  6694. type: number
  6695. buyorsell:
  6696. description: 方向 - 0:买 1:卖
  6697. type: integer
  6698. channelbuildtype:
  6699. description: 委托单据类型 0:无 1:建仓 2:平仓
  6700. type: integer
  6701. charge:
  6702. description: 手续费
  6703. type: number
  6704. closepl:
  6705. description: 平仓盈亏
  6706. type: number
  6707. closetype:
  6708. description: 平仓方式 - 0:无 1:平今 2:平昨
  6709. type: integer
  6710. convertratio:
  6711. description: 折算系数
  6712. type: number
  6713. enumdicname:
  6714. description: 单位名称
  6715. type: string
  6716. executeprice:
  6717. description: 执行价 [期权]
  6718. type: integer
  6719. goodscode:
  6720. description: 合约代码
  6721. type: string
  6722. goodsgroupid:
  6723. description: 对冲品种ID[期货合约商品组ID]
  6724. type: integer
  6725. goodsid:
  6726. description: 商品ID
  6727. type: integer
  6728. goodsname:
  6729. description: 合约名称
  6730. type: string
  6731. goodunitid:
  6732. description: 单位id
  6733. type: integer
  6734. hedgeflag:
  6735. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6736. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6737. type: integer
  6738. marketid:
  6739. description: 市场ID
  6740. type: integer
  6741. middlegoodsid:
  6742. description: 套保品种ID
  6743. type: integer
  6744. middlegoodsqty:
  6745. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6746. type: number
  6747. optioncode:
  6748. description: 期权代码 [期权]
  6749. type: string
  6750. ordertype:
  6751. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6752. type: integer
  6753. ordertypename:
  6754. description: 订单类型
  6755. type: string
  6756. parentaccountid:
  6757. description: 所属母账户
  6758. type: integer
  6759. premium:
  6760. description: 权利金 [期权]
  6761. type: number
  6762. relatedlot:
  6763. description: 已关联数量(已关联数量手) | db:关联手数
  6764. type: number
  6765. relatedouttradeid:
  6766. description: 关联外部成交单ID
  6767. type: string
  6768. relatedqty:
  6769. description: 关联数量
  6770. type: number
  6771. spotcontractid:
  6772. description: 现货合同ID [4:套期保值\10\11]
  6773. type: string
  6774. taname:
  6775. description: 期货账户名称
  6776. type: string
  6777. tradeamount:
  6778. description: 成交金额(账户)
  6779. type: number
  6780. tradedate:
  6781. description: 交易日(yyyyMMdd)
  6782. type: string
  6783. tradeid:
  6784. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6785. type: string
  6786. tradelot:
  6787. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6788. type: integer
  6789. tradeprice:
  6790. description: 成交价格
  6791. type: number
  6792. tradetime:
  6793. description: 时间 | db:成交时间
  6794. type: string
  6795. tradetype:
  6796. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6797. type: integer
  6798. userid:
  6799. description: 所属机构 - 所属母账户的UserID
  6800. type: string
  6801. username:
  6802. description: 用户名称
  6803. type: string
  6804. type: object
  6805. models.Ermcp3ParamChangeApp:
  6806. properties:
  6807. aftervalue:
  6808. description: 变更后
  6809. type: number
  6810. applicationid:
  6811. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6812. type: string
  6813. applyid:
  6814. description: 申请人
  6815. type: string
  6816. applyname:
  6817. description: 申请人名称(代码)
  6818. type: string
  6819. applyremark:
  6820. description: 申请备注
  6821. type: string
  6822. applysrc:
  6823. description: 申请来源 - 1:管理端 2:终端
  6824. type: integer
  6825. applystatus:
  6826. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6827. type: integer
  6828. applytime:
  6829. description: 申请时间
  6830. type: string
  6831. areauserid:
  6832. description: 所属机构用户ID
  6833. type: integer
  6834. auditid:
  6835. description: 审核人
  6836. type: string
  6837. auditname:
  6838. description: 审核人名称(代码)
  6839. type: string
  6840. auditremark:
  6841. description: 审核备注
  6842. type: string
  6843. auditsrc:
  6844. description: 审核来源 - 1:管理端 2:终端
  6845. type: integer
  6846. audittime:
  6847. description: 审核时间
  6848. type: string
  6849. audittradedate:
  6850. description: 审核交易日(yyyyMMdd)
  6851. type: string
  6852. beforevalue:
  6853. description: 变更前
  6854. type: number
  6855. deliverygoodscode:
  6856. description: 品种代码
  6857. type: string
  6858. deliverygoodsid:
  6859. description: 品种id
  6860. type: integer
  6861. deliverygoodsname:
  6862. description: 品种名称
  6863. type: string
  6864. middlegoodscode:
  6865. description: 套保品种代码
  6866. type: string
  6867. middlegoodsid:
  6868. description: 套保品种ID [ParamChangeType = 2,3,4]
  6869. type: integer
  6870. middlegoodsname:
  6871. description: 套保品种名称
  6872. type: string
  6873. operatetype:
  6874. description: 操作类型 - 1:新增 2:修改
  6875. type: integer
  6876. paramchangetype:
  6877. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6878. type: integer
  6879. wrstandardcode:
  6880. description: 现货商品代码
  6881. type: string
  6882. wrstandardid:
  6883. description: 现货商品ID [ParamChangeType = 1,2,3]
  6884. type: integer
  6885. wrstandardname:
  6886. description: 现货商品名称
  6887. type: string
  6888. type: object
  6889. models.Ermcp3RootUserAccount:
  6890. properties:
  6891. accountname:
  6892. description: 账户名称(机构名称)
  6893. type: string
  6894. accountstatus:
  6895. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6896. type: integer
  6897. applysrc:
  6898. description: 申请来源 - 1:管理端 2:终端
  6899. type: integer
  6900. auditremark:
  6901. description: 审核备注
  6902. type: string
  6903. auditsrc:
  6904. description: 审核来源 - 1:管理端 2:终端
  6905. type: integer
  6906. audittime:
  6907. description: 审核时间
  6908. type: string
  6909. audituserid:
  6910. description: 审核人
  6911. type: integer
  6912. broker:
  6913. description: 所属经纪人ID
  6914. type: integer
  6915. canceltime:
  6916. description: 销户时间
  6917. type: string
  6918. canceluserid:
  6919. description: 销户人
  6920. type: integer
  6921. canrecommend:
  6922. description: 是否可推荐 - 0:不可 1;可
  6923. type: integer
  6924. createtime:
  6925. description: 创建时间
  6926. type: string
  6927. creatorid:
  6928. description: 创建人
  6929. type: integer
  6930. hasauth:
  6931. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6932. type: integer
  6933. isanonymous:
  6934. description: 是否匿名下单 - 0:否 1:是
  6935. type: integer
  6936. maxinvestornum:
  6937. description: 最大用户数(经纪会员下投资者个数)
  6938. type: integer
  6939. memberuserid:
  6940. description: 所属会员ID
  6941. type: integer
  6942. modifierid:
  6943. description: 修改人
  6944. type: integer
  6945. modifyremark:
  6946. description: 变更备注
  6947. type: string
  6948. modifystatus:
  6949. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6950. type: integer
  6951. modifytime:
  6952. description: 修改时间
  6953. type: string
  6954. nickname:
  6955. description: 昵称
  6956. type: string
  6957. parenttopuser:
  6958. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6959. type: string
  6960. parentuserid:
  6961. description: 所属机构ID
  6962. type: integer
  6963. reckonaccountid:
  6964. description: 默认结算资金账号ID(机构分润使用) 作废
  6965. type: integer
  6966. refercount:
  6967. description: 推荐总人数
  6968. type: integer
  6969. refereeuserid:
  6970. description: 推荐人ID
  6971. type: integer
  6972. refernum:
  6973. description: 推荐码
  6974. type: string
  6975. rootuserid:
  6976. description: 根用户ID
  6977. type: integer
  6978. subaccountlevel:
  6979. description: 子账户层数
  6980. type: integer
  6981. subarealevelpath:
  6982. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6983. type: string
  6984. userid:
  6985. description: 用户ID
  6986. type: integer
  6987. usertype:
  6988. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6989. type: integer
  6990. type: object
  6991. models.Ermcp3SCMiddleGoods:
  6992. properties:
  6993. biztype:
  6994. description: 业务类型 1:套保 2:套利
  6995. type: integer
  6996. contractno:
  6997. description: 合同编号
  6998. type: string
  6999. contracttype:
  7000. description: 合同类型 1:采购 -1:销售
  7001. type: integer
  7002. convertratio:
  7003. description: 折算系数
  7004. type: number
  7005. customername:
  7006. description: 对手手名称
  7007. type: string
  7008. customeruserid:
  7009. description: 对手id
  7010. type: integer
  7011. deliverygoodscode:
  7012. description: 现货品种代码
  7013. type: string
  7014. deliverygoodsid:
  7015. description: 现货品种ID
  7016. type: integer
  7017. deliverygoodsname:
  7018. description: 现货品种名称
  7019. type: string
  7020. enumdicname:
  7021. description: 现货单位名称
  7022. type: string
  7023. middlegoodsid:
  7024. description: 套保品种ID
  7025. type: integer
  7026. middlegoodspricedqty3:
  7027. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7028. type: number
  7029. needhedgeratio:
  7030. description: 套保比例
  7031. type: number
  7032. pricedqty:
  7033. description: 已定价量
  7034. type: number
  7035. relatedmiddlegoodsqty:
  7036. description: 已关联量(套保品种)(期货)
  7037. type: number
  7038. spotcontractid:
  7039. description: 合同编号
  7040. type: string
  7041. unitid:
  7042. description: 现货单位id
  7043. type: integer
  7044. userid:
  7045. description: 用户id
  7046. type: integer
  7047. vatrate:
  7048. description: 增值税率
  7049. type: number
  7050. wrstandardcode:
  7051. description: 现货商品代码
  7052. type: string
  7053. wrstandardid:
  7054. description: 现货商品id
  7055. type: integer
  7056. wrstandardname:
  7057. description: 现货商品名称
  7058. type: string
  7059. type: object
  7060. models.Ermcp3SCMiddleGoodsReport:
  7061. properties:
  7062. begindate:
  7063. description: 开始交易日
  7064. type: string
  7065. contractno:
  7066. description: 合同编号
  7067. type: string
  7068. contracttype:
  7069. description: 合同类型 1:采购 -1:销售
  7070. type: integer
  7071. convertratio:
  7072. description: 期初均价
  7073. type: number
  7074. cycletime:
  7075. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7076. type: string
  7077. cycletype:
  7078. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7079. type: integer
  7080. deliverygoodscode:
  7081. description: 品种代码
  7082. type: string
  7083. deliverygoodsid:
  7084. description: 现货品种ID
  7085. type: integer
  7086. deliverygoodsname:
  7087. description: 品种名称
  7088. type: string
  7089. diffprice:
  7090. description: 期初均价
  7091. type: number
  7092. diffqty:
  7093. description: 期初均价
  7094. type: number
  7095. enddate:
  7096. description: 结束交易日
  7097. type: string
  7098. hedgeplanqty:
  7099. description: 期初均价
  7100. type: number
  7101. matchname:
  7102. description: 交易对手方(个人:用户名称 企业:简称)
  7103. type: string
  7104. matchnickname:
  7105. description: 交易对手方昵称
  7106. type: string
  7107. middlegoodscode:
  7108. description: 套保品种代码
  7109. type: string
  7110. middlegoodsid:
  7111. description: 套保品种ID
  7112. type: integer
  7113. middlegoodsname:
  7114. description: 套保品种名称
  7115. type: string
  7116. middlegoodspricedqty:
  7117. description: 期初均价
  7118. type: number
  7119. middlegoodspricedqty2:
  7120. description: 期初均价
  7121. type: number
  7122. middlegoodspricedqty3:
  7123. description: 期初均价
  7124. type: number
  7125. needhedgeratio:
  7126. description: 期初均价
  7127. type: number
  7128. pricedamount:
  7129. description: 期初均价
  7130. type: number
  7131. pricedamount2:
  7132. description: 期初均价
  7133. type: number
  7134. pricedqty:
  7135. description: 期初均价
  7136. type: number
  7137. reckondate:
  7138. description: 日照时期(yyyyMMdd)
  7139. type: string
  7140. relatedmiddlegoodsamount:
  7141. description: 期初均价
  7142. type: number
  7143. relatedmiddlegoodsqty:
  7144. description: 期初均价
  7145. type: number
  7146. spotcontractid:
  7147. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7148. type: string
  7149. todayavgfutuprice:
  7150. description: 期初均价
  7151. type: number
  7152. todayavgprice:
  7153. description: 期初均价
  7154. type: number
  7155. todayavgprice2:
  7156. description: 期初均价
  7157. type: number
  7158. todaypricedamount:
  7159. description: 期初均价
  7160. type: number
  7161. todaypricedamount2:
  7162. description: 期初均价
  7163. type: number
  7164. todaypricedqty:
  7165. description: 期初均价
  7166. type: number
  7167. todayrelatedfutureqty:
  7168. description: 期初均价
  7169. type: number
  7170. todayrelatedmiddlegoodsamount:
  7171. description: 期初均价
  7172. type: number
  7173. todayrelatedmiddlegoodsqty:
  7174. description: 期初均价
  7175. type: number
  7176. updatetime:
  7177. description: 更新时间
  7178. type: string
  7179. userid:
  7180. description: 合同所属用户id
  7181. type: integer
  7182. vatrate:
  7183. description: 期初均价
  7184. type: number
  7185. wrstandardcode:
  7186. description: 商品(品类) 代码
  7187. type: string
  7188. wrstandardid:
  7189. description: 现货商品ID
  7190. type: integer
  7191. wrstandardname:
  7192. description: 商品(品类) 名称
  7193. type: string
  7194. type: object
  7195. models.Ermcp3SellBuyContract:
  7196. properties:
  7197. accountid:
  7198. description: 期货账户id
  7199. type: string
  7200. accountname:
  7201. description: 账户名称
  7202. type: string
  7203. attachment:
  7204. description: 附件
  7205. type: string
  7206. audittime:
  7207. description: 审核时间
  7208. type: string
  7209. bizsubjectid:
  7210. description: 归属业务部门ID - SubjectID
  7211. type: integer
  7212. biztype:
  7213. description: 业务类型 1-套保 2-套利
  7214. type: integer
  7215. brandname:
  7216. description: 品牌名称
  7217. type: string
  7218. contracctstatus:
  7219. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7220. type: integer
  7221. contractmargin:
  7222. description: 合同保证金
  7223. type: number
  7224. contractno:
  7225. description: 合同编号
  7226. type: string
  7227. contracttype:
  7228. description: 合同类型 1-采购, -1-销售
  7229. type: integer
  7230. convertfactor:
  7231. description: 标仓系数(品类)
  7232. type: number
  7233. createtime:
  7234. description: 创建时间
  7235. type: string
  7236. currencyid:
  7237. description: 币种id
  7238. type: integer
  7239. currencyname:
  7240. description: 币种名称
  7241. type: string
  7242. daikaiamount:
  7243. description: 应收(开)票额 | 未收票额
  7244. type: number
  7245. deliveryenddate:
  7246. description: 交割结束日
  7247. type: string
  7248. deliverygoodscode:
  7249. description: 现货品种代码
  7250. type: string
  7251. deliverygoodsid:
  7252. description: 现货商品ID
  7253. type: integer
  7254. deliverygoodsname:
  7255. description: 现货品种名称
  7256. type: string
  7257. deliverystartdate:
  7258. description: 交割开始日
  7259. type: string
  7260. enddate:
  7261. description: 点价结束日
  7262. type: string
  7263. enumdicname:
  7264. description: 单位名称
  7265. type: string
  7266. goodscode:
  7267. description: 点价商品代码
  7268. type: string
  7269. goodsgroupid:
  7270. description: 点价商品组id
  7271. type: integer
  7272. goodsid:
  7273. description: 点价商品ID
  7274. type: integer
  7275. goodsname:
  7276. description: 点价商品名称
  7277. type: string
  7278. invoiceamount:
  7279. description: 已开票额
  7280. type: number
  7281. loanamount:
  7282. description: 贷款总额=已定价额+调整金额
  7283. type: number
  7284. margin:
  7285. description: 保证金
  7286. type: number
  7287. meruserid:
  7288. description: 跟单员id
  7289. type: integer
  7290. meruserlogincode:
  7291. description: 跟单员登录代码
  7292. type: string
  7293. merusername:
  7294. description: 跟单员名称
  7295. type: string
  7296. nickname:
  7297. description: 账户昵称
  7298. type: string
  7299. orireckonrealqty:
  7300. description: 应交收量
  7301. type: number
  7302. payamount:
  7303. description: 已收付额(收款或付款)
  7304. type: number
  7305. preinvoiceamount:
  7306. description: 预收(开)票额
  7307. type: number
  7308. prepayamount:
  7309. description: 预收付额
  7310. type: number
  7311. price:
  7312. description: 价格
  7313. type: number
  7314. pricedamount:
  7315. description: 已定价额
  7316. type: number
  7317. pricedavg:
  7318. description: 已点均价
  7319. type: number
  7320. pricedqty:
  7321. description: 已定价量
  7322. type: number
  7323. pricemove:
  7324. description: 升贴水
  7325. type: number
  7326. pricetype:
  7327. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7328. type: integer
  7329. producttype:
  7330. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7331. type: integer
  7332. qty:
  7333. description: 合同量
  7334. type: number
  7335. reckonadjustamount:
  7336. description: 调整金额
  7337. type: number
  7338. reckonedamount:
  7339. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7340. type: number
  7341. reckonotheramount:
  7342. description: 其它费用
  7343. type: number
  7344. reckonrealqty:
  7345. description: 已交收量
  7346. type: number
  7347. remark:
  7348. description: 备注
  7349. type: string
  7350. saleuserid:
  7351. description: 业务员id
  7352. type: integer
  7353. saleuserlogincode:
  7354. description: 业务员登录代码
  7355. type: string
  7356. saleusername:
  7357. description: 业务员名称
  7358. type: string
  7359. spotcontractid:
  7360. description: 合同ID
  7361. type: string
  7362. spotgoodsbrandid:
  7363. description: 现货品牌ID(DGFactoryItem表的ID)
  7364. type: integer
  7365. spotgoodsdesc:
  7366. description: 商品型号(商品规格)
  7367. type: string
  7368. startdate:
  7369. description: 点价开始日
  7370. type: string
  7371. subjectid:
  7372. description: 交易主体ID
  7373. type: integer
  7374. subjectname:
  7375. description: 交易主体名称
  7376. type: string
  7377. totalamount:
  7378. description: 合计总额
  7379. type: number
  7380. tradeuserid:
  7381. description: 交易员id
  7382. type: integer
  7383. tradeuserlogincode:
  7384. description: 交易员登录代码
  7385. type: string
  7386. tradeusername:
  7387. description: 交易员名称
  7388. type: string
  7389. unpayamount:
  7390. description: 应收付款额(应支付或应收款) | 未付款额
  7391. type: number
  7392. unpricedqty:
  7393. description: 未定价量
  7394. type: number
  7395. unsureqty:
  7396. description: 未确定量 | 未交收量
  7397. type: number
  7398. userid:
  7399. description: 机构ID
  7400. type: integer
  7401. vatrate:
  7402. description: 增值税率
  7403. type: number
  7404. wrstandardcode:
  7405. description: 品类代码
  7406. type: string
  7407. wrstandardid:
  7408. description: 品类ID
  7409. type: integer
  7410. wrstandardname:
  7411. description: 品类名称
  7412. type: string
  7413. type: object
  7414. models.Ermcp3SpotGoodsPrice:
  7415. properties:
  7416. areauserid:
  7417. description: 所属机构id
  7418. type: integer
  7419. brandname:
  7420. description: 品牌名称
  7421. type: string
  7422. currencyid:
  7423. description: 报价货币ID
  7424. type: integer
  7425. currencyname:
  7426. description: 币种名称
  7427. type: string
  7428. deliverygoodscode:
  7429. description: 现货商品代码
  7430. type: string
  7431. deliverygoodsid:
  7432. description: 现货商品id
  7433. type: integer
  7434. deliverygoodsname:
  7435. description: 现货商品名称
  7436. type: string
  7437. enumdicname:
  7438. description: 现货商品单位名称
  7439. type: string
  7440. gbenumdicname:
  7441. description: 品类单位名称
  7442. type: string
  7443. gmunitid:
  7444. description: 品类单位id
  7445. type: integer
  7446. isvalid:
  7447. description: 是否有效 - 0:无效 1:有效
  7448. type: integer
  7449. operateid:
  7450. description: 最后操作人
  7451. type: integer
  7452. operatesrc:
  7453. description: 最后操作来源 - 1:管理端 2:终端
  7454. type: integer
  7455. operatetime:
  7456. description: 最后操作时间
  7457. type: string
  7458. operatorname:
  7459. description: 操作人名称
  7460. type: string
  7461. spotgoodsbrandid:
  7462. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7463. type: integer
  7464. spotgoodsprice:
  7465. description: 现货价格
  7466. type: number
  7467. tradedate:
  7468. description: 交易日(yyyyMMdd)
  7469. type: string
  7470. unitid:
  7471. description: 现货商品单位id
  7472. type: integer
  7473. wrstandardcode:
  7474. description: 品类代码
  7475. type: string
  7476. wrstandardid:
  7477. description: 现货品类ID(通用则为0)
  7478. type: integer
  7479. wrstandardname:
  7480. description: 品类名称
  7481. type: string
  7482. type: object
  7483. models.Ermcp3SpotGoodsPriceLog:
  7484. properties:
  7485. areauserid:
  7486. description: 所属机构id
  7487. type: integer
  7488. brandname:
  7489. description: 品牌名称
  7490. type: string
  7491. currencyid:
  7492. description: 报价货币ID
  7493. type: integer
  7494. deliverygoodscode:
  7495. description: 现货商品代码
  7496. type: string
  7497. deliverygoodsid:
  7498. description: 现货商品id
  7499. type: integer
  7500. deliverygoodsname:
  7501. description: 现货商品名称
  7502. type: string
  7503. enumdicname:
  7504. description: 现货商品单位名称
  7505. type: string
  7506. gbenumdicname:
  7507. description: 品类单位名称
  7508. type: string
  7509. gmunitid:
  7510. description: 品类单位id
  7511. type: integer
  7512. logid:
  7513. description: 日志id
  7514. type: integer
  7515. operateid:
  7516. description: 最后操作人
  7517. type: integer
  7518. operatesrc:
  7519. description: 最后操作来源 - 1:管理端 2:终端
  7520. type: integer
  7521. operatetime:
  7522. description: 最后操作时间
  7523. type: string
  7524. operatorname:
  7525. description: 操作人名称
  7526. type: string
  7527. spotgoodsbrandid:
  7528. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7529. type: integer
  7530. spotgoodsprice:
  7531. description: 现货价格
  7532. type: number
  7533. tradedate:
  7534. description: 交易日(yyyyMMdd)
  7535. type: string
  7536. unitid:
  7537. description: 现货商品单位id
  7538. type: integer
  7539. wrstandardcode:
  7540. description: 品类代码
  7541. type: string
  7542. wrstandardid:
  7543. description: 现货品类ID(通用则为0)
  7544. type: integer
  7545. wrstandardname:
  7546. description: 品类名称
  7547. type: string
  7548. type: object
  7549. models.Ermcp3SubTaaccount:
  7550. properties:
  7551. accountid:
  7552. description: 资金账户ID
  7553. type: integer
  7554. parentaccountcode:
  7555. description: 所属根账号代码(母账号代码)
  7556. type: string
  7557. parentaccountid:
  7558. description: 所属根账号(母账号)
  7559. type: integer
  7560. taname:
  7561. description: 资金账号名称
  7562. type: string
  7563. tradestatus:
  7564. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7565. type: integer
  7566. username:
  7567. description: 交易用户
  7568. type: string
  7569. type: object
  7570. models.Ermcp3TaFutuReDataReport:
  7571. properties:
  7572. accountid:
  7573. description: 交易账户
  7574. type: integer
  7575. accountname:
  7576. description: 交易账号名称
  7577. type: string
  7578. agreeunit:
  7579. description: 商品合约单位
  7580. type: number
  7581. begindate:
  7582. description: 开始交易日
  7583. type: string
  7584. buyorsell:
  7585. description: 持仓方向
  7586. type: integer
  7587. charge:
  7588. description: 手续费
  7589. type: number
  7590. closeavgprice:
  7591. description: 期初均价
  7592. type: number
  7593. closepl:
  7594. description: 平仓损益
  7595. type: number
  7596. currencyid:
  7597. description: 结算币种ID
  7598. type: integer
  7599. currencyname:
  7600. description: 币种名称
  7601. type: string
  7602. cycletime:
  7603. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7604. type: string
  7605. cycletype:
  7606. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7607. type: integer
  7608. enddate:
  7609. description: 结束交易日
  7610. type: string
  7611. enumdicname:
  7612. description: 单位名称
  7613. type: string
  7614. floatpl:
  7615. description: 浮动损益
  7616. type: number
  7617. goodscode:
  7618. description: 交易合约代码
  7619. type: string
  7620. goodsgroupid:
  7621. description: 交易品种
  7622. type: integer
  7623. goodsgroupname:
  7624. description: 交易品种名称
  7625. type: string
  7626. goodsgroupspotqty:
  7627. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7628. type: number
  7629. goodsid:
  7630. description: 交易合约
  7631. type: integer
  7632. goodsname:
  7633. description: 交易合约名称
  7634. type: string
  7635. goodunitid:
  7636. description: 交易合约单位id
  7637. type: integer
  7638. holdamount:
  7639. description: 期末持仓额
  7640. type: number
  7641. holdqty:
  7642. description: 期初均价
  7643. type: number
  7644. lastholdamount:
  7645. description: 当前持仓额
  7646. type: number
  7647. lastprice:
  7648. description: 最新价
  7649. type: number
  7650. middlegoodsid:
  7651. description: 套保品种id
  7652. type: integer
  7653. middlegoodsname:
  7654. description: 套保商品名称
  7655. type: string
  7656. middlegoodsqty:
  7657. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7658. type: number
  7659. middlgoodscode:
  7660. description: 套保商品代码
  7661. type: string
  7662. openamount:
  7663. description: 期末开仓额
  7664. type: number
  7665. openavgprice:
  7666. description: 期初均价
  7667. type: number
  7668. oriholdamount:
  7669. description: 期初持仓额
  7670. type: number
  7671. oriholdqty:
  7672. description: 期初均价
  7673. type: number
  7674. oriopenamount:
  7675. description: 期初开仓额
  7676. type: number
  7677. outergroupcode:
  7678. description: 交易品种代码
  7679. type: string
  7680. qtydecimalplace:
  7681. description: 成交量小数位
  7682. type: integer
  7683. reckondate:
  7684. description: 日照时期(yyyyMMdd)
  7685. type: string
  7686. reckonholdamount:
  7687. description: 结算持仓额
  7688. type: number
  7689. reckonpl:
  7690. description: 结算损益
  7691. type: number
  7692. reckonpl2:
  7693. description: 结算逐笔盈亏
  7694. type: number
  7695. reckonprice:
  7696. description: 结算价
  7697. type: number
  7698. relateduserid:
  7699. description: 账户关联用户ID
  7700. type: integer
  7701. todaycloseamount:
  7702. description: 今平仓额
  7703. type: number
  7704. todaycloseqty:
  7705. description: 期初均价
  7706. type: number
  7707. todaygoodsgroupspotqty:
  7708. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7709. type: number
  7710. todaymiddlegoodsqty:
  7711. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7712. type: number
  7713. todayopenamount:
  7714. description: 今开仓额
  7715. type: number
  7716. todayopenqty:
  7717. description: 期初均价
  7718. type: number
  7719. userid:
  7720. description: 账户所属用户ID
  7721. type: integer
  7722. type: object
  7723. models.Ermcp3TradeLinkDetail:
  7724. properties:
  7725. accountid:
  7726. description: 资金账号
  7727. type: integer
  7728. agreeunit:
  7729. description: 合约乘数
  7730. type: number
  7731. areauserid:
  7732. description: 所属机构
  7733. type: string
  7734. bizsubjectid:
  7735. description: 归属业务部门ID - SubjectID
  7736. type: string
  7737. buyorsell:
  7738. description: 方向 - 0:买 1:卖
  7739. type: integer
  7740. channelbuildtype:
  7741. description: 委托单据类型 0:无 1:建仓 2:平仓
  7742. type: integer
  7743. contractno:
  7744. description: 现货编号 (合同编号)
  7745. type: string
  7746. convertratio:
  7747. description: 折算系数
  7748. type: number
  7749. createtime:
  7750. description: 关联时间 | 创建时间
  7751. type: string
  7752. creatorid:
  7753. description: 创建人ID
  7754. type: string
  7755. creatorsrc:
  7756. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7757. type: integer
  7758. enumdicname:
  7759. description: 单位名称
  7760. type: string
  7761. goodscode:
  7762. description: 合约代码
  7763. type: string
  7764. goodsgroupid:
  7765. description: 对冲品种ID[期货合约商品组ID]
  7766. type: integer
  7767. goodsid:
  7768. description: 商品ID
  7769. type: integer
  7770. goodsname:
  7771. description: 合约名称
  7772. type: string
  7773. hedgeflag:
  7774. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7775. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7776. type: integer
  7777. linkdetailid:
  7778. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7779. type: string
  7780. linkstatus:
  7781. description: 关联状态 - 1:成功 2:失败 3:解绑
  7782. type: integer
  7783. middlegoodscode:
  7784. description: 套保品种代码
  7785. type: string
  7786. middlegoodsid:
  7787. description: 套保品种ID
  7788. type: integer
  7789. middlegoodsname:
  7790. description: 套保品种名称
  7791. type: string
  7792. relatedlot:
  7793. description: 关联手数
  7794. type: number
  7795. relatedmode:
  7796. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7797. type: integer
  7798. relatedqty:
  7799. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7800. type: number
  7801. retcode:
  7802. description: 返回码
  7803. type: integer
  7804. saleuserid:
  7805. description: 业务员ID
  7806. type: string
  7807. spotcontractid:
  7808. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7809. type: string
  7810. taname:
  7811. description: 期货账户
  7812. type: string
  7813. tradedate:
  7814. description: 关联交易日(yyyyMMdd)
  7815. type: string
  7816. tradeid:
  7817. description: 期货订单号 | 内部成交单ID
  7818. type: string
  7819. tradelot:
  7820. description: 成交数量 | 成交手数
  7821. type: integer
  7822. tradeprice:
  7823. description: 成交价格
  7824. type: number
  7825. tradetime:
  7826. description: 期货成交时间
  7827. type: string
  7828. tradetradedate:
  7829. description: 成交交易日(yyyyMMdd)
  7830. type: string
  7831. username:
  7832. description: 用户名称
  7833. type: string
  7834. type: object
  7835. models.Ermcp3Wrstandard:
  7836. properties:
  7837. areauserid:
  7838. description: 所属机构
  7839. type: integer
  7840. cantrade:
  7841. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7842. type: integer
  7843. convertfactor:
  7844. description: 标仓系数
  7845. type: number
  7846. createtime:
  7847. description: 创建时间
  7848. type: string
  7849. creatorid:
  7850. description: 创建人
  7851. type: integer
  7852. deliverygoodsid:
  7853. description: 现货品种ID
  7854. type: integer
  7855. enumdicname:
  7856. description: 品类单位名称
  7857. type: string
  7858. isvalid:
  7859. description: 是否有效 0-无效(停用) 1-有效(正常)
  7860. type: integer
  7861. minivalue:
  7862. description: 最小变动值
  7863. type: integer
  7864. minivaluedp:
  7865. description: 最小变动值小数位
  7866. type: integer
  7867. realminivalue:
  7868. description: 实际最小变动值
  7869. type: integer
  7870. realminivaluedp:
  7871. description: 实际最小变动值小数位
  7872. type: integer
  7873. remark:
  7874. description: 备注
  7875. type: string
  7876. unitid:
  7877. description: 品类单位ID
  7878. type: integer
  7879. updatetime:
  7880. description: 更新时间
  7881. type: string
  7882. wrstandardcode:
  7883. description: 品类代码
  7884. type: string
  7885. wrstandardid:
  7886. description: 品类ID(SEQ_WRSTANDARD)
  7887. type: integer
  7888. wrstandardname:
  7889. description: 品类名称
  7890. type: string
  7891. type: object
  7892. models.Ermcp8EnableHedgeditem:
  7893. properties:
  7894. accountname:
  7895. description: 套期主体
  7896. type: string
  7897. hedgeditemid:
  7898. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7899. type: string
  7900. hedgeditemname:
  7901. description: 项目名称
  7902. type: string
  7903. hedgeditemnum:
  7904. description: 项目编号
  7905. type: string
  7906. hedgedtype:
  7907. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7908. type: integer
  7909. planenddate:
  7910. description: 计划结束日期
  7911. type: string
  7912. planstartdate:
  7913. description: 计划开始日期
  7914. type: string
  7915. wrstandardid:
  7916. description: 现货商品ID
  7917. type: integer
  7918. wrstandardname:
  7919. description: 现货商品
  7920. type: string
  7921. type: object
  7922. models.Ermcp8HedgeditemReport:
  7923. properties:
  7924. accountname:
  7925. description: 套期主体
  7926. type: string
  7927. areauserid:
  7928. description: 企业ID
  7929. type: integer
  7930. curprice:
  7931. description: '[当日现货市场价]当前市场价'
  7932. type: number
  7933. enumdicname:
  7934. description: 单位
  7935. type: string
  7936. exeamount:
  7937. description: '[执行现货金额]执行市价总额'
  7938. type: number
  7939. exeavgprice:
  7940. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7941. type: number
  7942. exeqty:
  7943. description: '[执行数量]执行现货量'
  7944. type: number
  7945. futurehedgepl:
  7946. description: 期货实际损益
  7947. type: number
  7948. futurehedgeplchange:
  7949. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7950. type: number
  7951. futurepl:
  7952. description: 期货套期损益
  7953. type: number
  7954. futureplchange:
  7955. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7956. type: number
  7957. hedgeamount:
  7958. description: '[套期现货金额]套期市价总额'
  7959. type: number
  7960. hedgeditemnum:
  7961. description: 项目编号,模糊查询
  7962. type: string
  7963. hedgeditemstatus:
  7964. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7965. type: integer
  7966. hedgedtype:
  7967. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7968. type: integer
  7969. hedgeqty:
  7970. description: '[套期数量]套期现货量'
  7971. type: number
  7972. oriavgprice:
  7973. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7974. type: number
  7975. orifuturehedgepl:
  7976. description: 期初期货实际损益
  7977. type: number
  7978. orifuturepl:
  7979. description: 期初期货套期损益
  7980. type: number
  7981. orispothedgepl:
  7982. description: 期初现货实际损益
  7983. type: number
  7984. orispotpl:
  7985. description: 期初现货套期损益
  7986. type: number
  7987. planenddate:
  7988. description: 计划结束日期
  7989. type: string
  7990. planstartdate:
  7991. description: 计划开始日期
  7992. type: string
  7993. spothedgepl:
  7994. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7995. type: number
  7996. spothedgeplchange:
  7997. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7998. type: number
  7999. spotpl:
  8000. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8001. type: number
  8002. spotplchange:
  8003. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8004. type: number
  8005. tradeuserid:
  8006. description: 交易用户ID
  8007. type: integer
  8008. unexeqty:
  8009. description: 未执行现货量 = 套期现货量 - 执行现货量
  8010. type: number
  8011. wrstandardcode:
  8012. description: 现货品类代码
  8013. type: string
  8014. wrstandardid:
  8015. description: 现货商品ID
  8016. type: integer
  8017. wrstandardname:
  8018. description: '[现货商品]现货品类名称'
  8019. type: string
  8020. type: object
  8021. models.Ermcp8RunningHedgeditem:
  8022. properties:
  8023. accountname:
  8024. description: 套期主体
  8025. type: string
  8026. applyid:
  8027. description: 申请人
  8028. type: integer
  8029. applysrc:
  8030. description: 申请来源 - 1:管理端 2:终端
  8031. type: integer
  8032. areauserid:
  8033. description: 企业ID
  8034. type: integer
  8035. auditid:
  8036. description: 审核人
  8037. type: integer
  8038. auditremark:
  8039. description: 审核备注
  8040. type: string
  8041. auditsrc:
  8042. description: 审核来源 - 1:管理端 2:终端
  8043. type: integer
  8044. audittime:
  8045. description: 审核时间
  8046. type: string
  8047. audittradedate:
  8048. description: 审核交易日(yyyyMMdd)
  8049. type: string
  8050. createtime:
  8051. description: 申请时间
  8052. type: string
  8053. curprice:
  8054. description: 当前市场价
  8055. type: number
  8056. curstock:
  8057. description: 期末库存量 = 采购总量 - 销售总量
  8058. type: number
  8059. deliverygoodsid:
  8060. description: 现货品种ID
  8061. type: integer
  8062. enddate:
  8063. description: 完成日期
  8064. type: string
  8065. endtradedate:
  8066. description: 完成交易日
  8067. type: string
  8068. enumdicname:
  8069. description: 单位
  8070. type: string
  8071. exeamount:
  8072. description: 执行市价总额
  8073. type: number
  8074. exeavgprice:
  8075. description: 执行市场均价= 执行市价总额 / 执行现货量
  8076. type: number
  8077. execontractamount:
  8078. description: 执行定价总额
  8079. type: number
  8080. exeqty:
  8081. description: 执行现货量
  8082. type: number
  8083. exerestamount:
  8084. description: 执行剩余市价总额【现货贸易】
  8085. type: number
  8086. futurefloatpl:
  8087. description: 期货浮动损益
  8088. type: number
  8089. futurehedgepl:
  8090. description: 期货实际损益
  8091. type: number
  8092. futurehedgeplchange:
  8093. description: 期货实际损益变动
  8094. type: number
  8095. futurepl:
  8096. description: 期货套期损益
  8097. type: number
  8098. futureplchange:
  8099. description: 期货套期损益变动
  8100. type: number
  8101. hedgeamount:
  8102. description: 套期市价总额
  8103. type: number
  8104. hedgecontractamount:
  8105. description: 套期定价总额 【定价采购合同】【现货贸易】
  8106. type: number
  8107. hedgeditemid:
  8108. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8109. type: string
  8110. hedgeditemname:
  8111. description: 项目名称
  8112. type: string
  8113. hedgeditemnum:
  8114. description: 项目编号
  8115. type: string
  8116. hedgeditemstatus:
  8117. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8118. type: integer
  8119. hedgedtype:
  8120. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8121. type: integer
  8122. hedgeqty:
  8123. description: 套期现货量
  8124. type: number
  8125. hedgerate:
  8126. description: 套保比率
  8127. type: number
  8128. hedgerestamount:
  8129. description: 套期剩余市价总额【现货贸易】
  8130. type: number
  8131. hedgesumpl:
  8132. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8133. type: number
  8134. middlegoodslist:
  8135. description: 套期商品列表
  8136. items:
  8137. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8138. type: array
  8139. oriavgprice:
  8140. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8141. type: number
  8142. orifuturehedgepl:
  8143. description: 期初期货实际损益
  8144. type: number
  8145. orifuturepl:
  8146. description: 期初期货套期损益
  8147. type: number
  8148. orispothedgepl:
  8149. description: 期初现货实际损益
  8150. type: number
  8151. orispotpl:
  8152. description: 期初现货套期损益
  8153. type: number
  8154. planenddate:
  8155. description: 计划结束日期
  8156. type: string
  8157. planstartdate:
  8158. description: 计划开始日期
  8159. type: string
  8160. remark:
  8161. description: 备注
  8162. type: string
  8163. spotbookamount:
  8164. description: 现货账面总额
  8165. type: number
  8166. spotfloatpl:
  8167. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8168. type: number
  8169. spothedgepl:
  8170. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8171. type: number
  8172. spothedgeplchange:
  8173. description: 现货实际损益变动
  8174. type: number
  8175. spotpl:
  8176. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8177. type: number
  8178. spotplchange:
  8179. description: 现货套期损益变动
  8180. type: number
  8181. spottradepl:
  8182. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8183. type: number
  8184. sumobspl:
  8185. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8186. type: number
  8187. tradeuserid:
  8188. description: 交易用户ID
  8189. type: integer
  8190. unexeqty:
  8191. description: 未执行现货量 = 套期现货量 - 执行现货量
  8192. type: number
  8193. updatetime:
  8194. description: 更新时间
  8195. type: string
  8196. vatpl:
  8197. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8198. type: number
  8199. vatrate:
  8200. description: 增值税
  8201. type: number
  8202. wrstandardid:
  8203. description: 现货商品ID
  8204. type: integer
  8205. wrstandardname:
  8206. description: 商品名称
  8207. type: string
  8208. type: object
  8209. models.ErmcpBizGroupEx:
  8210. properties:
  8211. acclist:
  8212. description: 账号列表
  8213. items:
  8214. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8215. type: array
  8216. bizgroupid:
  8217. description: 业务分组id
  8218. type: integer
  8219. biztype:
  8220. description: 业务类型 1-套保 2-套利
  8221. type: integer
  8222. wrlist:
  8223. description: 现货商品表
  8224. items:
  8225. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8226. type: array
  8227. type: object
  8228. models.ErmcpBizGroupSpotGoods:
  8229. properties:
  8230. areauserid:
  8231. description: 所属机构id
  8232. type: integer
  8233. bizgroupid:
  8234. description: 分组id
  8235. type: integer
  8236. biztype:
  8237. description: 业务类型 1-套保 2-套利
  8238. type: integer
  8239. deliverygoodscode:
  8240. description: 现货商品代码
  8241. type: string
  8242. deliverygoodsid:
  8243. description: 现货商品id
  8244. type: integer
  8245. deliverygoodsname:
  8246. description: 现货商品名称
  8247. type: string
  8248. unitid:
  8249. description: 现货商品单位id
  8250. type: integer
  8251. type: object
  8252. models.ErmcpBizGroupTaAccount:
  8253. properties:
  8254. accountid:
  8255. description: 账号id
  8256. type: integer
  8257. accountname:
  8258. description: 账号名称
  8259. type: string
  8260. areauserid:
  8261. description: 所属机构id
  8262. type: integer
  8263. bizgroupid:
  8264. description: 业务分组id
  8265. type: integer
  8266. ismain:
  8267. description: 是否主账号 1-是 0-否
  8268. type: integer
  8269. type: object
  8270. models.ErmcpDGFactoryItem:
  8271. properties:
  8272. areauserid:
  8273. description: 用户id
  8274. type: integer
  8275. deliverygoodsid:
  8276. description: 现货品种ID
  8277. type: integer
  8278. dgfactoryitemid:
  8279. description: 选择项ID(SEQ_DGFACTORYITEM)
  8280. type: integer
  8281. dgfactoryitemtypeid:
  8282. description: 要素项类型
  8283. type: integer
  8284. dgfactoryitemvalue:
  8285. description: 要素项值(类型为仓库时填写仓库名称)
  8286. type: string
  8287. isvalid:
  8288. description: 是否有效 - 0:无效 1:有效
  8289. type: integer
  8290. orderindex:
  8291. description: 顺序
  8292. type: integer
  8293. warehouseid:
  8294. description: 仓库ID(类型为仓库时填写)
  8295. type: integer
  8296. type: object
  8297. models.ErmcpDeliveryGoods:
  8298. properties:
  8299. agreeunit:
  8300. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8301. type: integer
  8302. areauserid:
  8303. description: 所属机构
  8304. type: integer
  8305. auditflag:
  8306. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8307. type: integer
  8308. categoryid:
  8309. description: 类别ID(SEQ_WRCATEGORY)
  8310. type: integer
  8311. deliverygoodscode:
  8312. description: 现货品种代码
  8313. type: string
  8314. deliverygoodsid:
  8315. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8316. type: integer
  8317. deliverygoodsname:
  8318. description: 现货品种名称
  8319. type: string
  8320. deliverygoodstype:
  8321. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8322. type: integer
  8323. dgstatus:
  8324. description: 品种状态 - 作废 - 0:未激活 1:正常
  8325. type: integer
  8326. enumdicname:
  8327. description: 现货品种单位名称
  8328. type: string
  8329. goodsunitid:
  8330. description: 现货品种单位ID
  8331. type: integer
  8332. isvalid:
  8333. description: 是否有效 - 0:无效 1:有效
  8334. type: integer
  8335. qtydecimalplace:
  8336. description: 成交量小数位
  8337. type: integer
  8338. remark:
  8339. description: 备注
  8340. type: string
  8341. standardqty:
  8342. description: 标准数量(库位数量) [标准品特有]
  8343. type: integer
  8344. standardqtyrange:
  8345. description: 标准数量偏差范围 [标准品特有]
  8346. type: integer
  8347. type: object
  8348. models.ErmcpFuturesCompany:
  8349. properties:
  8350. brokerid:
  8351. description: 经纪公司代码
  8352. type: string
  8353. channeladdress:
  8354. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8355. type: string
  8356. channelid:
  8357. description: 对冲渠道ID
  8358. type: string
  8359. createtime:
  8360. description: 创建时间
  8361. type: string
  8362. creatorid:
  8363. description: 创建人
  8364. type: string
  8365. fcid:
  8366. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8367. type: integer
  8368. fcname:
  8369. description: 期货公司名称
  8370. type: string
  8371. isvalid:
  8372. description: 是否有效 - 0:无效 1:有效
  8373. type: integer
  8374. mhpaddress:
  8375. description: MHP服务地址(IP:Port)
  8376. type: string
  8377. riskrulegroupid:
  8378. description: 风控规则组ID
  8379. type: string
  8380. tradefeetmpid:
  8381. description: 手续费模板ID[TradeConfigTmpType为2]
  8382. type: string
  8383. trademargintmpid:
  8384. description: 保证金模板ID [TradeConfigTmpType为1]
  8385. type: string
  8386. traderatetmpid:
  8387. description: 汇率模板ID[TradeConfigTmpType为3]
  8388. type: string
  8389. updatetime:
  8390. description: 更新时间
  8391. type: string
  8392. updatorid:
  8393. description: 更新人
  8394. type: string
  8395. type: object
  8396. models.ErmcpGGConvertCfg:
  8397. properties:
  8398. convertratio:
  8399. description: 折算系数
  8400. type: number
  8401. destgoodsgroupid:
  8402. description: 目标品种ID
  8403. type: integer
  8404. dstcode:
  8405. description: 目录品种代码
  8406. type: string
  8407. dstexchangecode:
  8408. description: 目标期货交易所
  8409. type: string
  8410. dstname:
  8411. description: 目标品种名称
  8412. type: string
  8413. dstunitid:
  8414. description: 目标品种单位ID
  8415. type: integer
  8416. dstunitidname:
  8417. description: 目标品种单位名称
  8418. type: string
  8419. modifytime:
  8420. description: 修改时间
  8421. type: string
  8422. srccode:
  8423. description: 源品种代码
  8424. type: string
  8425. srcexchangecode:
  8426. description: 源期货交易所
  8427. type: string
  8428. srcgoodsgroupid:
  8429. description: 源品种ID
  8430. type: integer
  8431. srcname:
  8432. description: 源品种名称
  8433. type: string
  8434. srcunitid:
  8435. description: 源品种单位ID
  8436. type: integer
  8437. srcunitidname:
  8438. description: 源品种单位名称
  8439. type: string
  8440. type: object
  8441. models.ErmcpGoods:
  8442. properties:
  8443. agreeunit:
  8444. description: 合约单位
  8445. type: number
  8446. areauserid:
  8447. description: 所属机构
  8448. type: integer
  8449. auditaccountid:
  8450. description: 审核操作员账号
  8451. type: integer
  8452. audittime:
  8453. description: 审核时间
  8454. type: string
  8455. cancelaccountid:
  8456. description: 注销操作员账号
  8457. type: integer
  8458. canceltime:
  8459. description: 注销时间
  8460. type: string
  8461. closepricemode:
  8462. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8463. type: integer
  8464. closepriceparam:
  8465. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8466. type: number
  8467. createtime:
  8468. description: 创建时间
  8469. type: string
  8470. creatorid:
  8471. description: 创建人
  8472. type: integer
  8473. currencyid:
  8474. description: 报价货币ID
  8475. type: integer
  8476. cutmode:
  8477. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8478. type: integer
  8479. decimalplace:
  8480. description: 报价小数位
  8481. type: integer
  8482. delistingdate:
  8483. description: 商品退市时间(状态:退市) -- 已作废
  8484. type: string
  8485. delistingmode:
  8486. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8487. type: integer
  8488. deliveryflag:
  8489. description: 交割标志 - 0:不可交割 1:可交割
  8490. type: integer
  8491. enumdicname:
  8492. description: 单位名称
  8493. type: string
  8494. forceclosemode:
  8495. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8496. type: integer
  8497. forceclosevalue:
  8498. description: 定期强平参数 [收益权]
  8499. type: integer
  8500. goodscode:
  8501. description: 商品代码(内部)
  8502. type: string
  8503. goodscurrencyid:
  8504. description: 合约货币ID
  8505. type: integer
  8506. goodsgroupid:
  8507. description: 所属商品组ID
  8508. type: integer
  8509. goodsid:
  8510. description: 商品ID(自增ID SEQ_GOODS)
  8511. type: integer
  8512. goodsname:
  8513. description: 商品名称
  8514. type: string
  8515. goodsquotetype:
  8516. description: '合约报价类型: 1-直接报价 2-间接报价'
  8517. type: integer
  8518. goodsstatus:
  8519. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8520. type: integer
  8521. goodstradetype:
  8522. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8523. type: integer
  8524. goodunitid:
  8525. description: 报价单位ID
  8526. type: integer
  8527. hasquoter:
  8528. description: 是否有报价商 - 0:无报价商 1:有报价商
  8529. type: integer
  8530. hqprotecttime:
  8531. description: 行情保护时间(秒)
  8532. type: integer
  8533. innerdealmode:
  8534. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8535. type: integer
  8536. isbuylimited:
  8537. description: 是否限制建仓量 - 0:不限制 1:限制
  8538. type: integer
  8539. isvisible:
  8540. description: 游客是否可见 - 0:不可见 1:可见
  8541. type: integer
  8542. lasttradedate:
  8543. description: 最后交易日期(状态:待退市)
  8544. type: string
  8545. listingdate:
  8546. description: 交易开始日期
  8547. type: string
  8548. marketid:
  8549. description: 所属市场ID
  8550. type: integer
  8551. modifierid:
  8552. description: 修改人
  8553. type: integer
  8554. modifystatus:
  8555. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8556. type: integer
  8557. modifytime:
  8558. description: 修改时间
  8559. type: string
  8560. outerdealmode:
  8561. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8562. type: integer
  8563. outgoodscode:
  8564. description: 商品代码(外部)
  8565. type: string
  8566. pictureurl:
  8567. description: 商品图片
  8568. type: string
  8569. qtydecimalplace:
  8570. description: 成交量小数位
  8571. type: integer
  8572. quotegear:
  8573. description: 行情档位(1-10)
  8574. type: integer
  8575. quoteminunit:
  8576. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8577. type: integer
  8578. quoteshowtype:
  8579. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8580. type: integer
  8581. quoteshowtypeinterval:
  8582. description: 行情报价间隔时间(秒)(成交价时为0)
  8583. type: integer
  8584. relatedgoodsid:
  8585. description: 关联参考商品ID
  8586. type: integer
  8587. remark:
  8588. description: 备注
  8589. type: string
  8590. trademode:
  8591. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8592. 21:竞拍-大宗式 22:受托竞价
  8593. type: integer
  8594. required:
  8595. - goodscode
  8596. - goodsid
  8597. - goodsname
  8598. - marketid
  8599. type: object
  8600. models.ErmcpGoodsBrand:
  8601. properties:
  8602. areauserid:
  8603. description: 所属机构
  8604. type: integer
  8605. brandid:
  8606. description: BrandID(SEQ_SPOTGOODSBRAND)
  8607. type: integer
  8608. brandname:
  8609. description: 品牌名称
  8610. type: string
  8611. createtime:
  8612. description: 创建时间
  8613. type: string
  8614. creatorid:
  8615. description: 创建人
  8616. type: integer
  8617. creatorsrc:
  8618. description: 创建人来源 - 1:管理端 2:终端
  8619. type: integer
  8620. deliverygoodsid:
  8621. description: 现货品种ID
  8622. type: integer
  8623. isvalid:
  8624. description: 是否有效 - 0:无效 1:有效
  8625. type: integer
  8626. updatetime:
  8627. description: 更新时间
  8628. type: string
  8629. updatorid:
  8630. description: 更新人
  8631. type: integer
  8632. updatorsrc:
  8633. description: 更新人来源 - 1:管理端 2:终端
  8634. type: integer
  8635. wrstandardid:
  8636. description: 现货商品ID
  8637. type: integer
  8638. type: object
  8639. models.ErmcpGoodsModel:
  8640. properties:
  8641. areauserid:
  8642. description: 所属机构
  8643. type: integer
  8644. convertfactor:
  8645. description: 标仓系数
  8646. type: number
  8647. createtime:
  8648. description: 创建时间
  8649. type: string
  8650. creatorid:
  8651. description: 创建人
  8652. type: integer
  8653. creatorsrc:
  8654. description: 创建人来源 - 1:管理端 2:终端
  8655. type: integer
  8656. deliverygoodsid:
  8657. description: 现货品种ID
  8658. type: integer
  8659. isvalid:
  8660. description: 是否有效 - 0:无效 1:有效
  8661. type: integer
  8662. modelid:
  8663. description: ModelID(SEQ_SPOTGOODSMODEL)
  8664. type: integer
  8665. modelname:
  8666. description: 型号名称
  8667. type: string
  8668. updatetime:
  8669. description: 更新时间
  8670. type: string
  8671. updatorid:
  8672. description: 更新人
  8673. type: integer
  8674. updatorsrc:
  8675. description: 更新人来源 - 1:管理端 2:终端
  8676. type: integer
  8677. wrstandardid:
  8678. description: 现货商品ID
  8679. type: integer
  8680. type: object
  8681. models.ErmcpHisExposure:
  8682. properties:
  8683. needhedgeexposoure:
  8684. description: 应套保敞口
  8685. type: number
  8686. reckondate:
  8687. description: 日照时期(yyyyMMdd)
  8688. type: string
  8689. totalexposure:
  8690. description: 总敞口
  8691. type: number
  8692. type: object
  8693. models.ErmcpLoginTaAccount:
  8694. properties:
  8695. accountid:
  8696. description: 账号id
  8697. type: integer
  8698. accountname:
  8699. description: 账号名称
  8700. type: string
  8701. type: object
  8702. models.ErmcpLoginUser:
  8703. properties:
  8704. acclist:
  8705. description: 关联资金账号
  8706. items:
  8707. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8708. type: array
  8709. accountname:
  8710. description: 用户名称
  8711. type: string
  8712. clientroleid:
  8713. description: 角色id(usertype=2)
  8714. type: integer
  8715. createtime:
  8716. description: 创建时间
  8717. type: string
  8718. logincode:
  8719. description: 登录代码
  8720. type: string
  8721. loginid:
  8722. description: 登录id(LOGINID)
  8723. type: integer
  8724. loginname:
  8725. description: 登录名称(loginaccount表中的accountname字段)
  8726. type: string
  8727. loginstatus:
  8728. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8729. type: integer
  8730. memberuserid:
  8731. description: 所属会员id
  8732. type: integer
  8733. mobile:
  8734. description: 手机号
  8735. type: string
  8736. modifytime:
  8737. description: 修改时间
  8738. type: string
  8739. password:
  8740. description: 密码(不可解密)
  8741. type: string
  8742. rolename:
  8743. description: 角色名称
  8744. type: string
  8745. rolestatus:
  8746. description: 角色状态 1-启用 2-停用
  8747. type: integer
  8748. roletype:
  8749. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8750. type: string
  8751. userid:
  8752. description: 用户id
  8753. type: integer
  8754. usertype:
  8755. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8756. type: integer
  8757. type: object
  8758. models.ErmcpLoginUserEx:
  8759. properties:
  8760. accountstatus:
  8761. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8762. type: integer
  8763. mobile:
  8764. description: 手机号
  8765. type: string
  8766. querytype:
  8767. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8768. type: integer
  8769. roleid:
  8770. description: 角色id(交易账户->用户id)
  8771. type: integer
  8772. rolename:
  8773. description: 角色名称(交易账户->用户名称)
  8774. type: string
  8775. userlist:
  8776. description: 用户列表
  8777. items:
  8778. $ref: '#/definitions/models.ErmcpLoginUser'
  8779. type: array
  8780. usertype:
  8781. description: 用户类型 2-机构 7-企业成员(云平台)
  8782. type: integer
  8783. type: object
  8784. models.ErmcpMiddleGoodsModel:
  8785. properties:
  8786. areauserid:
  8787. description: 机构用户ID
  8788. type: integer
  8789. createtime:
  8790. description: 修改时间
  8791. type: string
  8792. enumdicname:
  8793. description: 单位名称
  8794. type: string
  8795. evaluateratio:
  8796. description: 估价系数
  8797. type: number
  8798. goodsgroupid:
  8799. description: 关联期货品种ID
  8800. type: integer
  8801. goodsunitid:
  8802. description: 单位ID
  8803. type: integer
  8804. isvalid:
  8805. description: 状态 0-无效(停用) 1-有效(正常)
  8806. type: integer
  8807. middlegoodscode:
  8808. description: 套保品种代码
  8809. type: string
  8810. middlegoodsid:
  8811. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8812. type: integer
  8813. middlegoodsname:
  8814. description: 套保品种名称
  8815. type: string
  8816. modifytime:
  8817. description: 修改时间
  8818. type: string
  8819. needarbitrageratio:
  8820. description: 套利比例
  8821. type: number
  8822. needhedgeratio:
  8823. description: 套保比率
  8824. type: number
  8825. qtydecimalplace:
  8826. description: 数量小数位
  8827. type: integer
  8828. relatedgoodsid:
  8829. description: 关联交易商品ID
  8830. type: integer
  8831. relatedgoodstype:
  8832. description: 关联商品类型 - 1:期货合约 2:现货品种
  8833. type: integer
  8834. remark:
  8835. description: 备注
  8836. type: string
  8837. type: object
  8838. models.ErmcpMiddlegoodsRelateGoods:
  8839. properties:
  8840. agreeunit:
  8841. description: 合约乘数
  8842. type: number
  8843. convertratio:
  8844. description: 折算系数
  8845. type: number
  8846. enumdicname:
  8847. description: 单位名称(交易商品)
  8848. type: string
  8849. goodscode:
  8850. description: 交易商品代码
  8851. type: string
  8852. goodsgroupid:
  8853. description: 交易品种id
  8854. type: integer
  8855. goodsid:
  8856. description: 商品Id
  8857. type: integer
  8858. goodsname:
  8859. description: 交易商品名称
  8860. type: string
  8861. goodunitid:
  8862. description: 交易商品单位id
  8863. type: integer
  8864. middlegoodsid:
  8865. description: 套保商品id
  8866. type: integer
  8867. middlegoodsname:
  8868. description: 套保商品名称
  8869. type: string
  8870. middlegoodsswcode:
  8871. description: 套保商品代码
  8872. type: string
  8873. needarbitrageratio:
  8874. description: 应套利比例
  8875. type: number
  8876. needhedgeratio:
  8877. description: 应套保比例
  8878. type: number
  8879. type: object
  8880. models.ErmcpRole:
  8881. properties:
  8882. areauserid:
  8883. description: 所属机构
  8884. type: integer
  8885. autoid:
  8886. description: 角色ID(自增ID)
  8887. type: integer
  8888. modifierid:
  8889. description: 修改人(创建人)
  8890. type: integer
  8891. modifiername:
  8892. description: 修改人名称
  8893. type: string
  8894. modifytime:
  8895. description: 修改时间(创建时间)
  8896. type: string
  8897. rolename:
  8898. description: 角色名称
  8899. type: string
  8900. rolestatus:
  8901. description: 角色状态 - 1:启用 2:停用
  8902. type: integer
  8903. roletype:
  8904. description: 角色类型 - 1- 管理端 2- 交易端
  8905. type: integer
  8906. type: object
  8907. models.ErmcpRoleMenu:
  8908. properties:
  8909. iconame:
  8910. description: 菜单图标
  8911. type: string
  8912. ishadrole:
  8913. description: 是否有权限
  8914. type: boolean
  8915. menutype:
  8916. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8917. type: integer
  8918. parentcode:
  8919. description: 上级资源代码
  8920. type: string
  8921. remark:
  8922. description: 菜单备注
  8923. type: string
  8924. resourcecode:
  8925. description: 菜单代码
  8926. type: string
  8927. resourcelevel:
  8928. description: 级别
  8929. type: integer
  8930. resourcename:
  8931. description: 菜单名称
  8932. type: string
  8933. roleid:
  8934. description: 角色id
  8935. type: integer
  8936. sort:
  8937. description: 排序
  8938. type: integer
  8939. url:
  8940. description: URL
  8941. type: string
  8942. userid:
  8943. description: 用户id
  8944. type: integer
  8945. type: object
  8946. models.ErmcpRoleMenuEx:
  8947. properties:
  8948. menu:
  8949. $ref: '#/definitions/models.ErmcpRoleMenu'
  8950. description: 父级菜单
  8951. subMenu:
  8952. description: 子级菜单
  8953. items:
  8954. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8955. type: array
  8956. type: object
  8957. models.ErmcpSpotContractModelEx:
  8958. properties:
  8959. accountname:
  8960. description: 套期主体
  8961. type: string
  8962. amount:
  8963. description: 金额 [1:一口价、3:暂定价]
  8964. type: number
  8965. attachment:
  8966. description: 附件
  8967. type: string
  8968. auditremark:
  8969. description: 审核意见
  8970. type: string
  8971. audittime:
  8972. description: 审核时间
  8973. type: string
  8974. avgprice:
  8975. description: 定价均价 = 已定价金额 / 已定价量
  8976. type: number
  8977. brandname:
  8978. description: 品牌名称
  8979. type: string
  8980. buyuserid:
  8981. description: 采购方ID
  8982. type: integer
  8983. buyusername:
  8984. description: 采购方名称
  8985. type: string
  8986. contracctstatus:
  8987. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8988. type: integer
  8989. contractmargin:
  8990. description: 合同保证金
  8991. type: number
  8992. contractno:
  8993. description: '[合同编号]现货合同编号'
  8994. type: string
  8995. contracttype:
  8996. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8997. type: integer
  8998. convertfactor:
  8999. description: 标仓系数
  9000. type: number
  9001. createtime:
  9002. description: 创建时间
  9003. type: string
  9004. customername:
  9005. description: 对手方
  9006. type: string
  9007. customeruserid:
  9008. description: 客户ID
  9009. type: integer
  9010. deliveryenddate:
  9011. description: 交收期(结束)
  9012. type: string
  9013. deliverygoodscode:
  9014. description: 现货品种代码
  9015. type: string
  9016. deliverygoodsid:
  9017. description: 现货品种ID
  9018. type: integer
  9019. deliverygoodsname:
  9020. description: 现货品种名称
  9021. type: string
  9022. deliverystartdate:
  9023. description: 交收期(开始)
  9024. type: string
  9025. enddate:
  9026. description: 点价结束日期 [2:点价 3:暂定价]
  9027. type: string
  9028. enumdicname:
  9029. description: 单位名称
  9030. type: string
  9031. goodscode:
  9032. description: 点价合约代码
  9033. type: string
  9034. goodsid:
  9035. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9036. type: integer
  9037. goodsname:
  9038. description: 点价商品名称
  9039. type: string
  9040. isrelated:
  9041. description: 是否已关联计划项目 - 0:否 1:是
  9042. type: integer
  9043. isrelated2:
  9044. description: 是否已关联现货项目 - 0:否 1:是
  9045. type: integer
  9046. margin:
  9047. description: 当前保证金
  9048. type: number
  9049. modelname:
  9050. description: 型号名称
  9051. type: string
  9052. price:
  9053. description: 价格\暂定价 [1:一口价、3:暂定价]
  9054. type: number
  9055. pricedamount:
  9056. description: 已定价金额 = (点价价格+升贴水) * 数量
  9057. type: number
  9058. pricedqty:
  9059. description: 已定价量
  9060. type: number
  9061. pricemove:
  9062. description: 升贴水 [2:点价 3:暂定价]
  9063. type: number
  9064. pricetype:
  9065. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9066. type: integer
  9067. producttype:
  9068. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9069. type: integer
  9070. qty:
  9071. description: '[合同数量]数量'
  9072. type: number
  9073. remark:
  9074. description: 备注
  9075. type: string
  9076. selluserid:
  9077. description: 销售方ID
  9078. type: integer
  9079. sellusername:
  9080. description: 销售方名称
  9081. type: string
  9082. spotamount:
  9083. description: 合同现货金额 [不含升贴水]
  9084. type: number
  9085. spotavgprice:
  9086. description: 现货均价 = 合同现货金额 / 已定价量
  9087. type: number
  9088. spotcontractid:
  9089. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9090. type: string
  9091. spotgoodsbrandid:
  9092. description: 现货品牌ID
  9093. type: integer
  9094. spotgoodsdesc:
  9095. description: 商品型号
  9096. type: string
  9097. spotgoodsmodelid:
  9098. description: 现货型号ID
  9099. type: integer
  9100. startdate:
  9101. description: 点价开始日期 [2:点价 3:暂定价]
  9102. type: string
  9103. tradeuserid:
  9104. description: 交易用户ID
  9105. type: integer
  9106. unpricedqty:
  9107. description: 未定价量 = 合同数量 - 已定价量
  9108. type: number
  9109. updatetime:
  9110. description: 更新时间
  9111. type: string
  9112. userid:
  9113. description: 机构ID
  9114. type: integer
  9115. wrstandardcode:
  9116. description: 现货商品代码
  9117. type: string
  9118. wrstandardid:
  9119. description: 现货商品ID
  9120. type: integer
  9121. wrstandardname:
  9122. description: '[现货商品]现货商品名称'
  9123. type: string
  9124. type: object
  9125. models.ErmcpTaAccount:
  9126. properties:
  9127. accountid:
  9128. description: 账户id
  9129. type: integer
  9130. accountname:
  9131. description: 账户名称
  9132. type: string
  9133. currencyid:
  9134. description: 币种id
  9135. type: integer
  9136. hedgeaccountcode:
  9137. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9138. type: string
  9139. ismain:
  9140. description: 是否主账户 0-否 1-是
  9141. type: integer
  9142. parentaccountid:
  9143. description: 父账户id
  9144. type: integer
  9145. relateduserid:
  9146. description: 关联userid
  9147. type: integer
  9148. tradefeetmpid:
  9149. description: 手续费模板id
  9150. type: integer
  9151. tradefeetmpname:
  9152. description: 手续费模板名称
  9153. type: string
  9154. trademargintmpid:
  9155. description: 保证金模板id
  9156. type: integer
  9157. trademargintmpname:
  9158. description: 保证金模板名称
  9159. type: string
  9160. traderatetmpid:
  9161. description: 汇率模板id
  9162. type: integer
  9163. traderatetmpname:
  9164. description: 汇率模板名称
  9165. type: string
  9166. tradestatus:
  9167. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9168. type: integer
  9169. userid:
  9170. description: 用户id
  9171. type: integer
  9172. type: object
  9173. models.ErmcpTaAccountEx:
  9174. properties:
  9175. mainAcc:
  9176. $ref: '#/definitions/models.ErmcpTaAccountM'
  9177. description: 主账号
  9178. subacclist:
  9179. description: 子账号列表
  9180. items:
  9181. $ref: '#/definitions/models.ErmcpTaAccount'
  9182. type: array
  9183. type: object
  9184. models.ErmcpTaAccountInfo:
  9185. properties:
  9186. accountid:
  9187. description: 资金账户ID
  9188. type: integer
  9189. accountname:
  9190. description: 账户名称
  9191. type: string
  9192. balance:
  9193. description: 期初余额
  9194. type: number
  9195. capitalbalance:
  9196. description: 本金余额[外部子账户实际出入金余额]
  9197. type: number
  9198. closepl:
  9199. description: 今日平仓盈亏
  9200. type: number
  9201. creditdecrease:
  9202. description: 今日授信减少
  9203. type: number
  9204. creditincrease:
  9205. description: 今日授信增加
  9206. type: number
  9207. curdebt:
  9208. description: 期末欠款
  9209. type: number
  9210. currencyid:
  9211. description: 货币ID
  9212. type: integer
  9213. currentbalance:
  9214. description: 期末余额
  9215. type: number
  9216. freezecharge:
  9217. description: 手续费冻结
  9218. type: number
  9219. freezemargin:
  9220. description: 冻结保证金
  9221. type: number
  9222. fromaccountid:
  9223. description: 所属上级账户
  9224. type: integer
  9225. inamount:
  9226. description: 今日入金金额(包括三方入金)
  9227. type: number
  9228. ismain:
  9229. description: 是否母账号 0:不是母账户 1:是母账户
  9230. type: integer
  9231. mortgagecredit:
  9232. description: 授信金额
  9233. type: number
  9234. oridebt:
  9235. description: 期初欠款
  9236. type: number
  9237. orifreezecharge:
  9238. description: 期初手续费冻结
  9239. type: number
  9240. orifreezemargin:
  9241. description: 期初冻结保证金
  9242. type: number
  9243. orimortgagecredit:
  9244. description: 期初授信金额
  9245. type: number
  9246. oriothercredit:
  9247. description: 期初其它授信金额
  9248. type: number
  9249. oriotherfreezemargin:
  9250. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9251. type: number
  9252. orioutamountfreeze:
  9253. description: 期初出金冻结
  9254. type: number
  9255. oriusedmargin:
  9256. description: 期初占用保证金
  9257. type: number
  9258. othercredit:
  9259. description: 其它授信金额
  9260. type: number
  9261. othercreditdecrease:
  9262. description: 今日其它授信减少
  9263. type: number
  9264. othercreditincrease:
  9265. description: 今日其它授信增加
  9266. type: number
  9267. otherfreezemargin:
  9268. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9269. type: number
  9270. outamount:
  9271. description: 今日出金金额(包括三方出金)
  9272. type: number
  9273. outamountfreeze:
  9274. description: 出金冻结
  9275. type: number
  9276. outthreshold:
  9277. description: 出金阈值
  9278. type: number
  9279. parentaccountid:
  9280. description: 所属根账号
  9281. type: integer
  9282. paycharge:
  9283. description: 今日手续费支出
  9284. type: number
  9285. relateduserid:
  9286. description: 关联用户
  9287. type: integer
  9288. signstatus:
  9289. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9290. type: integer
  9291. sublevelpath:
  9292. description: 账号层级路径(逗号分隔,首尾加逗号)
  9293. type: string
  9294. taaccounttype:
  9295. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9296. type: integer
  9297. thirdinamount:
  9298. description: 今日三方入金
  9299. type: number
  9300. thirdoutamount:
  9301. description: 今日三方出金
  9302. type: number
  9303. tradestatus:
  9304. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9305. type: integer
  9306. transferamount:
  9307. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9308. type: number
  9309. usedmargin:
  9310. description: 占用保证金
  9311. type: number
  9312. userid:
  9313. description: 用户ID
  9314. type: integer
  9315. type: object
  9316. models.ErmcpTaAccountM:
  9317. properties:
  9318. accountid:
  9319. description: 账户id
  9320. type: integer
  9321. accountname:
  9322. description: 账户名称
  9323. type: string
  9324. currencyid:
  9325. description: 币种id
  9326. type: integer
  9327. fcid:
  9328. description: 期货公司id
  9329. type: integer
  9330. fcname:
  9331. description: 期货公司代码
  9332. type: string
  9333. hedgeaccountcode:
  9334. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9335. type: string
  9336. ismain:
  9337. description: 是否主账户 0-否 1-是
  9338. type: integer
  9339. parentaccountid:
  9340. description: 父账户id
  9341. type: integer
  9342. relateduserid:
  9343. description: 关联userid
  9344. type: integer
  9345. tradefeetmpid:
  9346. description: 手续费模板id
  9347. type: integer
  9348. tradefeetmpname:
  9349. description: 手续费模板名称
  9350. type: string
  9351. trademargintmpid:
  9352. description: 保证金模板id
  9353. type: integer
  9354. trademargintmpname:
  9355. description: 保证金模板名称
  9356. type: string
  9357. traderatetmpid:
  9358. description: 汇率模板id
  9359. type: integer
  9360. traderatetmpname:
  9361. description: 汇率模板名称
  9362. type: string
  9363. tradestatus:
  9364. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9365. type: integer
  9366. userid:
  9367. description: 用户id
  9368. type: integer
  9369. type: object
  9370. models.ErmcpTradeConfigTMP:
  9371. properties:
  9372. areauserid:
  9373. description: 所属机构
  9374. type: integer
  9375. basiccurrencyid:
  9376. description: 基本币种ID[汇率] - 目标币种
  9377. type: integer
  9378. mainaccountid:
  9379. description: 主账户ID
  9380. type: integer
  9381. modifierid:
  9382. description: 修改人
  9383. type: integer
  9384. remark:
  9385. description: 备注
  9386. type: string
  9387. tradeconfigtmpid:
  9388. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9389. type: integer
  9390. tradeconfigtmpname:
  9391. description: 交易配置模板名称
  9392. type: string
  9393. tradeconfigtmptype:
  9394. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9395. type: integer
  9396. updatetime:
  9397. description: 更新时间
  9398. type: string
  9399. type: object
  9400. models.Ermcpjrlinkpos:
  9401. properties:
  9402. areauserid:
  9403. description: 所属企业
  9404. type: integer
  9405. averageprice:
  9406. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9407. type: number
  9408. closepl:
  9409. description: 总平仓盈亏 [期货损益]
  9410. type: number
  9411. executeprice:
  9412. description: 执行价 - 1:期货单 为 0
  9413. type: integer
  9414. futurehedgeqty:
  9415. description: 期货套期量
  9416. type: number
  9417. goodsid:
  9418. description: 期货合约
  9419. type: integer
  9420. middlegoodscode:
  9421. description: 套保商品代码
  9422. type: string
  9423. middlegoodsname:
  9424. description: 套保商品名称
  9425. type: string
  9426. netqty:
  9427. description: 净头寸
  9428. type: number
  9429. optioncode:
  9430. description: 期权代码
  9431. type: string
  9432. ordertype:
  9433. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9434. type: integer
  9435. reckonpl:
  9436. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9437. type: number
  9438. spotcontractid:
  9439. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9440. type: string
  9441. todayfutureclosepl:
  9442. description: 今日平仓盈亏
  9443. type: number
  9444. totalbuyamount:
  9445. description: 买金额 [期货]
  9446. type: number
  9447. totalbuyholdamount:
  9448. description: 买持仓总金额[期货]
  9449. type: number
  9450. totalbuyqty:
  9451. description: 买数量
  9452. type: number
  9453. totalcharge:
  9454. description: 手续费
  9455. type: number
  9456. totalpremium:
  9457. description: 权利金 [期权]
  9458. type: number
  9459. totalsellamount:
  9460. description: 卖金额 [期货]
  9461. type: number
  9462. totalsellholdamount:
  9463. description: 卖持仓总金额[期货]
  9464. type: number
  9465. totalsellqty:
  9466. description: 卖数量
  9467. type: number
  9468. updatetime:
  9469. description: 更新时间
  9470. type: string
  9471. required:
  9472. - spotcontractid
  9473. type: object
  9474. models.Ermcppatradelinkdetail:
  9475. properties:
  9476. agreeunit:
  9477. description: 合约乘数
  9478. type: number
  9479. amount:
  9480. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9481. type: number
  9482. areauserid:
  9483. description: 所属机构
  9484. type: integer
  9485. bizsubjectid:
  9486. description: 归属业务部门ID - SubjectID
  9487. type: integer
  9488. buyorsell:
  9489. description: 方向 - 0:买 1:卖
  9490. type: integer
  9491. convertratio:
  9492. description: 品种系数
  9493. type: number
  9494. createtime:
  9495. description: 创建时间
  9496. type: string
  9497. creatorid:
  9498. description: 创建人ID
  9499. type: integer
  9500. creatorsrc:
  9501. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9502. type: integer
  9503. goodsgroupid:
  9504. description: 对冲品种ID[期货合约商品组ID]
  9505. type: integer
  9506. goodsid:
  9507. description: 商品ID
  9508. type: integer
  9509. hedgeditemid:
  9510. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9511. type: integer
  9512. hedgeflag:
  9513. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9514. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9515. type: integer
  9516. linkdetailid:
  9517. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9518. type: string
  9519. linkstatus:
  9520. description: 关联状态 - 1:成功 2:失败 3:解绑
  9521. type: integer
  9522. middlegoodsid:
  9523. description: 套保品种ID
  9524. type: integer
  9525. name:
  9526. description: 账户名/子账户
  9527. type: string
  9528. optioncode:
  9529. description: '[期货合约]期权代码 [期权]'
  9530. type: string
  9531. ordertype:
  9532. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9533. type: integer
  9534. relatedlot:
  9535. description: '[数量]关联手数'
  9536. type: number
  9537. relatedmode:
  9538. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9539. type: integer
  9540. relatedqty:
  9541. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9542. type: number
  9543. retcode:
  9544. description: 返回码
  9545. type: integer
  9546. saleuserid:
  9547. description: 业务员ID
  9548. type: integer
  9549. tradedate:
  9550. description: 关联交易日(yyyyMMdd)
  9551. type: string
  9552. tradeid:
  9553. description: '[成交单号]内部成交单ID'
  9554. type: string
  9555. tradelot:
  9556. description: 成交手数
  9557. type: integer
  9558. tradeprice:
  9559. description: '[价格]成交价格'
  9560. type: number
  9561. tradetime:
  9562. description: 日期时间
  9563. type: string
  9564. tradetradedate:
  9565. description: 成交交易日(yyyyMMdd)
  9566. type: string
  9567. required:
  9568. - hedgeditemid
  9569. type: object
  9570. models.Exchangerateconfig:
  9571. properties:
  9572. descurrencyid:
  9573. description: 目标币种ID
  9574. type: integer
  9575. exchangerate:
  9576. description: 汇率
  9577. type: number
  9578. oricurrencyid:
  9579. description: 源币种ID
  9580. type: integer
  9581. remark:
  9582. description: 备注
  9583. type: string
  9584. type: object
  9585. models.Externalexchange:
  9586. properties:
  9587. autoid:
  9588. description: AutoID - SEQ_EXTERNALEXCHANGE
  9589. type: integer
  9590. exchangefullname:
  9591. description: 外部交易所全称
  9592. type: string
  9593. exexchangecode:
  9594. description: 外部交易所代码
  9595. type: string
  9596. exexchangename:
  9597. description: 外部交易所名称(简称)
  9598. type: string
  9599. ismarketprice:
  9600. description: 是否支持市价 - 0:不支持 1:支持
  9601. type: integer
  9602. quotegear:
  9603. description: 行情档位(1-10)
  9604. type: integer
  9605. showbrokerflag:
  9606. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9607. type: integer
  9608. updatetime:
  9609. description: 更新时间
  9610. type: string
  9611. required:
  9612. - autoid
  9613. type: object
  9614. models.Funcmenulist:
  9615. properties:
  9616. iconame:
  9617. description: 菜单图标
  9618. type: string
  9619. menutype:
  9620. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9621. type: integer
  9622. parentcode:
  9623. description: 上级资源代码
  9624. type: string
  9625. remark:
  9626. description: 备注
  9627. type: string
  9628. resourcecode:
  9629. description: 资源代码
  9630. type: string
  9631. resourcelevel:
  9632. description: 级别 1-一级 2-二级 3-三级 4-四级
  9633. type: integer
  9634. resourcename:
  9635. description: 资源名
  9636. type: string
  9637. sort:
  9638. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9639. type: integer
  9640. url:
  9641. description: URL
  9642. type: string
  9643. required:
  9644. - resourcecode
  9645. type: object
  9646. models.GErmcpspotgoodsprice:
  9647. properties:
  9648. currencyid:
  9649. description: 报价货币ID
  9650. type: integer
  9651. deliverygoodsid:
  9652. description: 现货品种ID
  9653. type: integer
  9654. spotgoodsbrandid:
  9655. description: 现货品牌ID(通用则为0, 不为0则须先有商品ID)
  9656. type: integer
  9657. spotgoodsprice:
  9658. description: 【最新价】当前价格
  9659. type: number
  9660. srcmarketname:
  9661. description: 来源市场名称
  9662. type: string
  9663. todaypricedtotalamount:
  9664. description: 今日定价金额
  9665. type: number
  9666. todaypricedtotalqty:
  9667. description: 今日定价总量
  9668. type: number
  9669. todayspotgoodsprice:
  9670. description: 今日指定价
  9671. type: number
  9672. tradedate:
  9673. description: 【日期】交易日
  9674. type: string
  9675. wrstandardcode:
  9676. description: 现货商品代码
  9677. type: string
  9678. wrstandardid:
  9679. description: 现货商品ID(通用则为0)
  9680. type: integer
  9681. wrstandardname:
  9682. description: 【名称】现货商品名称
  9683. type: string
  9684. ystspotgoodsprice:
  9685. description: 昨价
  9686. type: number
  9687. type: object
  9688. models.GZGoods:
  9689. properties:
  9690. address:
  9691. description: 详细地址
  9692. type: string
  9693. cerno:
  9694. description: 证书编号 - 类型:2,4,5
  9695. type: string
  9696. cityname:
  9697. description: 城市名称
  9698. type: string
  9699. countryname:
  9700. description: 国家名称
  9701. type: string
  9702. cpcertno:
  9703. description: 金伯利证书编号 - 类型:3
  9704. type: string
  9705. districtname:
  9706. description: 地区名称
  9707. type: string
  9708. goodsno:
  9709. description: 商品编号
  9710. type: string
  9711. imagepath:
  9712. description: 商品照片(相对地址)
  9713. type: string
  9714. isvalid:
  9715. description: 是否有效 - 0:无效 1:有效
  9716. type: integer
  9717. kppath:
  9718. description: 金伯利证书图片(相对地址) - 类型:3
  9719. type: string
  9720. kpweight:
  9721. description: 金伯利证书重量 - 类型:3
  9722. type: string
  9723. marketprice:
  9724. description: 市场价
  9725. type: string
  9726. mobile:
  9727. description: 手机号码
  9728. type: string
  9729. origin:
  9730. description: 原产地 - 类型:3
  9731. type: string
  9732. performancetemplateid:
  9733. description: 履约计划模板ID
  9734. type: integer
  9735. price:
  9736. description: 总价(价格) - 类型:1,2,3,4,5
  9737. type: number
  9738. priceper:
  9739. description: 克拉单价 - 类型:1,2,3,5
  9740. type: string
  9741. provincename:
  9742. description: 省名称
  9743. type: string
  9744. remainqty:
  9745. description: 剩余重量
  9746. type: number
  9747. remark:
  9748. description: 备注
  9749. type: string
  9750. sellusername:
  9751. description: 账户名称(机构名称)
  9752. type: string
  9753. settingmaterial:
  9754. description: 镶嵌材料 - 类型:4
  9755. type: string
  9756. size1:
  9757. description: 尺寸1 - 类型:2,4,5
  9758. type: string
  9759. size2:
  9760. description: 尺寸2 - 类型:2,4,5
  9761. type: string
  9762. size3:
  9763. description: 尺寸3 - 类型:2,4,5
  9764. type: string
  9765. sizedisplay:
  9766. description: 尺寸
  9767. type: string
  9768. stonedesc:
  9769. description: 配石描述 - 类型:4
  9770. type: string
  9771. userid:
  9772. description: 用户ID
  9773. type: integer
  9774. warehouseid:
  9775. description: 仓库ID
  9776. type: integer
  9777. warehousenamedisplay:
  9778. type: string
  9779. weight:
  9780. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9781. type: number
  9782. weightavg:
  9783. description: 平均单颗重量 - 类型:1,3
  9784. type: number
  9785. wrpath:
  9786. description: 仓单扫描件(相对地址)
  9787. type: string
  9788. wrstandardid:
  9789. description: 现货商品ID
  9790. type: integer
  9791. wrtradeorderid:
  9792. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  9793. type: string
  9794. zscategory:
  9795. description: 钻石分类 - 枚举”ZSCategory“
  9796. type: integer
  9797. zscategorydisplay:
  9798. type: string
  9799. zscerttype:
  9800. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9801. type: integer
  9802. zscerttypedisplay:
  9803. type: string
  9804. zsclaritytype1:
  9805. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9806. type: integer
  9807. zsclaritytype1display:
  9808. type: string
  9809. zsclaritytype2:
  9810. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9811. type: integer
  9812. zsclaritytype2display:
  9813. type: string
  9814. zscolortype1:
  9815. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9816. type: integer
  9817. zscolortype1display:
  9818. type: string
  9819. zscolortype2:
  9820. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9821. type: integer
  9822. zscolortype2display:
  9823. type: string
  9824. zscrystaltype:
  9825. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  9826. type: string
  9827. zscrystaltypedisplay:
  9828. type: string
  9829. zscurrencytype:
  9830. description: 货币类型 - 枚举“ZSCurrencyType”
  9831. type: integer
  9832. zscurrencytypedisplay:
  9833. type: string
  9834. zscurrencytypedisplayunit:
  9835. type: string
  9836. zscuttype1:
  9837. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  9838. type: integer
  9839. zscuttype1display:
  9840. type: string
  9841. zscuttype2:
  9842. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  9843. type: integer
  9844. zscuttype2display:
  9845. type: string
  9846. zsczcolor1type:
  9847. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  9848. type: integer
  9849. zsczcolor1typedisplay:
  9850. type: string
  9851. zsczcolor2type:
  9852. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  9853. type: integer
  9854. zsczcolor2typedisplay:
  9855. type: string
  9856. zsczcolor3type:
  9857. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  9858. type: integer
  9859. zsczcolor3typedisplay:
  9860. type: string
  9861. zsfluorescencetype1:
  9862. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  9863. type: integer
  9864. zsfluorescencetype1display:
  9865. type: string
  9866. zsfluorescencetype2:
  9867. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  9868. type: integer
  9869. zsfluorescencetype2display:
  9870. type: string
  9871. zspolishtype1:
  9872. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  9873. type: integer
  9874. zspolishtype1display:
  9875. type: string
  9876. zspolishtype2:
  9877. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  9878. type: integer
  9879. zspolishtype2display:
  9880. type: string
  9881. zsshapetype:
  9882. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  9883. type: string
  9884. zsshapetypedisplay:
  9885. type: string
  9886. zsstyletype:
  9887. description: 款式 - 类型:4
  9888. type: integer
  9889. zsstyletypedisplay:
  9890. type: string
  9891. zssymmetrytype1:
  9892. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  9893. type: integer
  9894. zssymmetrytype1display:
  9895. type: string
  9896. zssymmetrytype2:
  9897. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  9898. type: integer
  9899. zssymmetrytype2display:
  9900. type: string
  9901. required:
  9902. - goodsno
  9903. type: object
  9904. models.GZHomeData:
  9905. properties:
  9906. purchasedtransactions:
  9907. description: 已购买的交易
  9908. type: integer
  9909. transactioninpurchase:
  9910. description: 求购中的交易
  9911. type: integer
  9912. transactionsonsale:
  9913. description: 出售中的交易
  9914. type: integer
  9915. transactionssold:
  9916. description: 已卖出的交易
  9917. type: integer
  9918. unhandledmessage:
  9919. description: 未处理消息
  9920. type: integer
  9921. type: object
  9922. models.GZWarehouseinfo:
  9923. properties:
  9924. address:
  9925. description: 详细地址
  9926. type: string
  9927. areauserid:
  9928. description: 所属机构
  9929. type: integer
  9930. autoid:
  9931. description: 自增ID
  9932. type: integer
  9933. cityid:
  9934. description: 市
  9935. type: integer
  9936. cityname:
  9937. description: 城市名称
  9938. type: string
  9939. contactname:
  9940. description: 联系人
  9941. type: string
  9942. contactnum:
  9943. description: 联系电话
  9944. type: string
  9945. countryid:
  9946. description: 国家
  9947. type: integer
  9948. countryname:
  9949. description: 国家名称
  9950. type: string
  9951. createtime:
  9952. description: 创建时间
  9953. type: string
  9954. districtid:
  9955. description: 区
  9956. type: integer
  9957. districtname:
  9958. description: 地区名称
  9959. type: string
  9960. hasvideo:
  9961. description: 是否有视频 - 0:无 1:有
  9962. type: integer
  9963. provinceid:
  9964. description: 省
  9965. type: integer
  9966. provincename:
  9967. description: 省名称
  9968. type: string
  9969. remark:
  9970. description: 审核备注
  9971. type: string
  9972. videourl:
  9973. description: 视频地址
  9974. type: string
  9975. warehousecode:
  9976. description: 仓库代码
  9977. type: string
  9978. warehousename:
  9979. description: 仓库名称
  9980. type: string
  9981. warehousestatus:
  9982. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9983. type: integer
  9984. warehousetype:
  9985. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9986. type: integer
  9987. type: object
  9988. models.Goods:
  9989. properties:
  9990. agreeunit:
  9991. description: 合约单位
  9992. type: number
  9993. areauserid:
  9994. description: 所属机构
  9995. type: integer
  9996. auditaccountid:
  9997. description: 审核操作员账号
  9998. type: integer
  9999. audittime:
  10000. description: 审核时间
  10001. type: string
  10002. cancelaccountid:
  10003. description: 注销操作员账号
  10004. type: integer
  10005. canceltime:
  10006. description: 注销时间
  10007. type: string
  10008. closepricemode:
  10009. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10010. type: integer
  10011. closepriceparam:
  10012. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  10013. type: number
  10014. createtime:
  10015. description: 创建时间
  10016. type: string
  10017. creatorid:
  10018. description: 创建人
  10019. type: integer
  10020. currencyid:
  10021. description: 报价货币ID
  10022. type: integer
  10023. cutmode:
  10024. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  10025. type: integer
  10026. decimalplace:
  10027. description: 报价小数位
  10028. type: integer
  10029. delistingdate:
  10030. description: 商品退市时间(状态:退市) -- 已作废
  10031. type: string
  10032. delistingmode:
  10033. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  10034. type: integer
  10035. deliveryflag:
  10036. description: 交割标志 - 0:不可交割 1:可交割
  10037. type: integer
  10038. forceclosemode:
  10039. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  10040. type: integer
  10041. forceclosevalue:
  10042. description: 定期强平参数 [收益权]
  10043. type: integer
  10044. goodscode:
  10045. description: 商品代码(内部)
  10046. type: string
  10047. goodscurrencyid:
  10048. description: 合约货币ID
  10049. type: integer
  10050. goodsgroupid:
  10051. description: 所属商品组ID
  10052. type: integer
  10053. goodsid:
  10054. description: 商品ID(自增ID SEQ_GOODS)
  10055. type: integer
  10056. goodsname:
  10057. description: 商品名称
  10058. type: string
  10059. goodsquotetype:
  10060. description: '合约报价类型: 1-直接报价 2-间接报价'
  10061. type: integer
  10062. goodsstatus:
  10063. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10064. type: integer
  10065. goodstradetype:
  10066. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  10067. type: integer
  10068. goodunitid:
  10069. description: 报价单位ID
  10070. type: integer
  10071. hasquoter:
  10072. description: 是否有报价商 - 0:无报价商 1:有报价商
  10073. type: integer
  10074. hqprotecttime:
  10075. description: 行情保护时间(秒)
  10076. type: integer
  10077. innerdealmode:
  10078. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10079. type: integer
  10080. isbuylimited:
  10081. description: 是否限制建仓量 - 0:不限制 1:限制
  10082. type: integer
  10083. isvisible:
  10084. description: 游客是否可见 - 0:不可见 1:可见
  10085. type: integer
  10086. lasttradedate:
  10087. description: 最后交易日期(状态:待退市)
  10088. type: string
  10089. listingdate:
  10090. description: 交易开始日期
  10091. type: string
  10092. marketid:
  10093. description: 所属市场ID
  10094. type: integer
  10095. modifierid:
  10096. description: 修改人
  10097. type: integer
  10098. modifystatus:
  10099. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  10100. type: integer
  10101. modifytime:
  10102. description: 修改时间
  10103. type: string
  10104. outerdealmode:
  10105. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10106. type: integer
  10107. outgoodscode:
  10108. description: 商品代码(外部)
  10109. type: string
  10110. pictureurl:
  10111. description: 商品图片
  10112. type: string
  10113. qtydecimalplace:
  10114. description: 成交量小数位
  10115. type: integer
  10116. quotegear:
  10117. description: 行情档位(1-10)
  10118. type: integer
  10119. quoteminunit:
  10120. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10121. type: integer
  10122. quoteshowtype:
  10123. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10124. type: integer
  10125. quoteshowtypeinterval:
  10126. description: 行情报价间隔时间(秒)(成交价时为0)
  10127. type: integer
  10128. remark:
  10129. description: 备注
  10130. type: string
  10131. required:
  10132. - goodscode
  10133. - goodsid
  10134. - goodsname
  10135. - marketid
  10136. type: object
  10137. models.GoodsIDAndName:
  10138. properties:
  10139. goodscode:
  10140. description: 商品代码(内部)
  10141. type: string
  10142. goodsid:
  10143. description: 商品ID(自增ID SEQ_GOODS)
  10144. type: integer
  10145. goodsname:
  10146. description: 商品名称
  10147. type: string
  10148. marketid:
  10149. description: 所属市场ID
  10150. type: integer
  10151. required:
  10152. - goodscode
  10153. - goodsid
  10154. - goodsname
  10155. - marketid
  10156. type: object
  10157. models.Goodsgroup:
  10158. properties:
  10159. agreeunit:
  10160. description: 合约单位
  10161. type: number
  10162. canshort:
  10163. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10164. type: integer
  10165. closepricemode:
  10166. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10167. type: integer
  10168. closepriceparam:
  10169. description: 强平最新价浮动比例 - 方式为2时使用
  10170. type: number
  10171. createtime:
  10172. description: 创建时间
  10173. type: string
  10174. creatorid:
  10175. description: 创建人
  10176. type: integer
  10177. currencyid:
  10178. description: 报价货币ID
  10179. type: integer
  10180. decimalplace:
  10181. description: 报价小数位
  10182. type: integer
  10183. exercisetype:
  10184. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10185. type: integer
  10186. exexchangeid:
  10187. description: 外部交易所ID[通道交易]
  10188. type: integer
  10189. goodsgroupid:
  10190. description: 商品组ID(自增ID)
  10191. type: integer
  10192. goodsgroupname:
  10193. description: 商品组名称
  10194. type: string
  10195. goodsgroupstatus:
  10196. description: 商品组状态 - 1:正常 2:注销
  10197. type: integer
  10198. goodunitid:
  10199. description: 报价单位ID
  10200. type: integer
  10201. innerdealmode:
  10202. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10203. type: integer
  10204. isbuylimited:
  10205. description: 是否限制建仓量 - 0:不限制 1:限制
  10206. type: integer
  10207. marketid:
  10208. description: 所属市场ID
  10209. type: integer
  10210. modifierid:
  10211. description: 修改人
  10212. type: integer
  10213. modifytime:
  10214. description: 修改时间
  10215. type: string
  10216. outerdealmode:
  10217. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10218. type: integer
  10219. outergroupcode:
  10220. description: 外部商品组代码[通道交易]
  10221. type: string
  10222. premiumdecimalplace:
  10223. description: 权利金小数位[场外期权]
  10224. type: integer
  10225. premiumspreadalgorithm:
  10226. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10227. type: integer
  10228. premiumspreadvalue:
  10229. description: 权利金点差值[场外期权]
  10230. type: number
  10231. qtydecimalplace:
  10232. description: 成交量小数位
  10233. type: integer
  10234. quotegear:
  10235. description: 行情档位(1-10)
  10236. type: integer
  10237. quoteminunit:
  10238. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10239. type: integer
  10240. quoterid:
  10241. description: 报价商ID[场外期权]
  10242. type: integer
  10243. quotesourcegroupid:
  10244. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10245. type: integer
  10246. syncgoodsqty:
  10247. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10248. type: integer
  10249. required:
  10250. - goodsgroupid
  10251. - goodsgroupname
  10252. - goodsgroupstatus
  10253. - marketid
  10254. type: object
  10255. models.Goodssortbypreposition:
  10256. properties:
  10257. goodscode:
  10258. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10259. type: string
  10260. goodsgroupcode:
  10261. description: 品种代码
  10262. type: string
  10263. prepositionqty:
  10264. description: 昨持仓量
  10265. type: integer
  10266. sortindex:
  10267. description: 排序
  10268. type: integer
  10269. tradedate:
  10270. description: 交易日
  10271. type: string
  10272. updatetime:
  10273. description: 更新时间
  10274. type: string
  10275. required:
  10276. - goodscode
  10277. - tradedate
  10278. type: object
  10279. models.GzbsfworderM:
  10280. properties:
  10281. accountid:
  10282. description: 资金账户ID
  10283. type: integer
  10284. addresscn:
  10285. description: 地址(中文)
  10286. type: string
  10287. addressen:
  10288. description: 地址(英文)
  10289. type: string
  10290. advanceamount:
  10291. description: 总预付款
  10292. type: number
  10293. colorrange:
  10294. description: 颜色范围
  10295. type: string
  10296. companynamecn:
  10297. description: 收货人(中文)
  10298. type: string
  10299. companynameen:
  10300. description: 收货人(英文)
  10301. type: string
  10302. contactfax:
  10303. description: 收货人传真
  10304. type: string
  10305. contactname:
  10306. description: 收货人姓名
  10307. type: string
  10308. contactphoneno:
  10309. description: 收货人电话
  10310. type: string
  10311. contentrange:
  10312. description: 【内容】内容范围
  10313. type: string
  10314. createtime:
  10315. description: 创建时间
  10316. type: string
  10317. executestatus:
  10318. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10319. type: integer
  10320. gzbsdeliverytype:
  10321. description: 收货方式 - 枚举"GZBSDeliveryType"
  10322. type: integer
  10323. gzbsstatus:
  10324. description: 单据状态(保税服务) - 枚举"GZBSStatus"
  10325. type: integer
  10326. gzbsstatusdisplay:
  10327. description: 单据状态
  10328. type: string
  10329. handlestatus:
  10330. description: 处理状态
  10331. type: integer
  10332. orderdate:
  10333. description: 单据日期
  10334. type: string
  10335. orderid:
  10336. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10337. type: integer
  10338. orderno:
  10339. description: 单据编号 - GZDEBSFW+单据流水号
  10340. type: string
  10341. ordersn:
  10342. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10343. type: string
  10344. origincountry:
  10345. description: 原产国
  10346. type: string
  10347. otherlogistics:
  10348. description: 指定其它物流
  10349. type: string
  10350. priceper:
  10351. description: 单价(美元/克拉) = 总值(美元) / 总净重(克拉)
  10352. type: number
  10353. settleamount:
  10354. description: 总结算费用 - 实际扣除资金,不含税费保证金
  10355. type: number
  10356. shaperange:
  10357. description: 形状范围
  10358. type: string
  10359. taxmargin:
  10360. description: 税费保证金 - 确认结算费用时退回
  10361. type: number
  10362. totalamount:
  10363. description: 总值(美元)
  10364. type: number
  10365. totalgrossweightgm:
  10366. description: 总毛重(克)
  10367. type: number
  10368. totalnetweightgm:
  10369. description: 总净重(克)
  10370. type: number
  10371. totalnetweigthct:
  10372. description: 总净重(克拉)
  10373. type: number
  10374. totalnumber:
  10375. description: 总粒数
  10376. type: integer
  10377. userid:
  10378. description: 用户ID
  10379. type: integer
  10380. weightrange:
  10381. description: 重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)
  10382. type: string
  10383. required:
  10384. - userid
  10385. type: object
  10386. models.GzbsfworderdetailM:
  10387. properties:
  10388. colorinfo:
  10389. description: 彩钻信息
  10390. type: string
  10391. createtime:
  10392. description: 创建时间
  10393. type: string
  10394. grossweightgm:
  10395. description: 毛重(克)
  10396. type: number
  10397. gzcjshape:
  10398. description: 形状(字符)
  10399. type: string
  10400. netweigthct:
  10401. description: 净重(克拉)
  10402. type: number
  10403. netweigthgm:
  10404. description: 净重(克)
  10405. type: number
  10406. ordercontent:
  10407. description: 内容
  10408. type: string
  10409. orderdetailid:
  10410. description: 单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)
  10411. type: integer
  10412. orderid:
  10413. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10414. type: integer
  10415. orderindex:
  10416. description: 顺序
  10417. type: integer
  10418. perprice:
  10419. description: 单价(美元/克拉) = 总值(美元) / 净重(克拉)
  10420. type: number
  10421. remark:
  10422. description: 备注(其它)
  10423. type: string
  10424. totalamount:
  10425. description: 总值(美元)
  10426. type: number
  10427. type: object
  10428. models.Gzbsfworderoperate:
  10429. properties:
  10430. advanceproofaddr:
  10431. description: 预付款收款凭证(确认结算费用时)
  10432. type: string
  10433. bankfee:
  10434. description: 汇款银行手续费
  10435. type: number
  10436. bankproofaddr:
  10437. description: 广钻汇款银行手续费凭证(确认结算费用时)
  10438. type: string
  10439. customsproofaddr:
  10440. description: 海关税费保证金收据(确认结算费用时)
  10441. type: string
  10442. gzbsstatus:
  10443. description: 操作后单据状态 - 枚举"GZBSStatus"
  10444. type: integer
  10445. logisticsfee:
  10446. description: 代缴物流保险费
  10447. type: number
  10448. logisticsproofaddr:
  10449. description: 代缴物流保险费凭证(确认结算费用时)
  10450. type: string
  10451. operatetime:
  10452. description: 操作时间
  10453. type: string
  10454. operatoraccount:
  10455. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10456. type: string
  10457. operatorid:
  10458. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10459. type: integer
  10460. operatorname:
  10461. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  10462. type: string
  10463. operatorsrc:
  10464. description: 操作人来源 - 1:管理端 2:终端
  10465. type: integer
  10466. orderid:
  10467. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10468. type: integer
  10469. otherfee:
  10470. description: 其它费用
  10471. type: number
  10472. remark:
  10473. description: 操作备注
  10474. type: string
  10475. servicefee:
  10476. description: 综合服务费
  10477. type: number
  10478. taxmargin:
  10479. description: 税费保证金
  10480. type: number
  10481. totalfee:
  10482. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  10483. type: number
  10484. required:
  10485. - orderid
  10486. type: object
  10487. models.Gzcertaddressconfig:
  10488. properties:
  10489. certregion:
  10490. description: 证书地域 - 1:国内 2:国际
  10491. type: integer
  10492. certtype:
  10493. description: 证书类型
  10494. type: string
  10495. orderindex:
  10496. description: 显示顺序
  10497. type: integer
  10498. orgcnname:
  10499. description: 机构名称(中文)
  10500. type: string
  10501. orgenname:
  10502. description: 机构名称(英文)
  10503. type: string
  10504. queryaddress:
  10505. description: 查询地址
  10506. type: string
  10507. remark:
  10508. description: 备注
  10509. type: string
  10510. updatetime:
  10511. description: 更新时间
  10512. type: string
  10513. type: object
  10514. models.Gzcertaddressparam:
  10515. properties:
  10516. certtype:
  10517. description: 证书类型
  10518. type: string
  10519. orderindex:
  10520. description: 参数顺序
  10521. type: integer
  10522. paramkey:
  10523. description: 参数Key
  10524. type: string
  10525. paramname:
  10526. description: 参数名称
  10527. type: string
  10528. updatetime:
  10529. description: 更新时间
  10530. type: string
  10531. type: object
  10532. models.GzcjbsorderfileM:
  10533. properties:
  10534. canmembervisit:
  10535. description: 会员是否可访问 - 1:可 2:不可
  10536. type: integer
  10537. fileaddress:
  10538. description: 文件地址
  10539. type: string
  10540. filegentype:
  10541. description: 文件生成类型 - 1:系统生成 2:手动上传
  10542. type: integer
  10543. filename:
  10544. description: 文件名称
  10545. type: string
  10546. operatetime:
  10547. description: 操作时间
  10548. type: string
  10549. operatoraccount:
  10550. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10551. type: string
  10552. operatorid:
  10553. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10554. type: integer
  10555. operatorsrc:
  10556. description: 操作人来源 - 1:管理端 2:终端
  10557. type: integer
  10558. orderfileid:
  10559. description: 单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)
  10560. type: integer
  10561. orderid:
  10562. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10563. type: integer
  10564. required:
  10565. - orderid
  10566. type: object
  10567. models.GzcjjcorderM:
  10568. properties:
  10569. accountid:
  10570. description: 资金账户ID
  10571. type: integer
  10572. addresscn:
  10573. description: 地址(中文)
  10574. type: string
  10575. addressen:
  10576. description: 地址(英文)
  10577. type: string
  10578. advanceamount:
  10579. description: 总预付款
  10580. type: number
  10581. colorrange:
  10582. description: 颜色范围
  10583. type: string
  10584. companynamecn:
  10585. description: 公司名称(中文)
  10586. type: string
  10587. companynameen:
  10588. description: 公司名称(英文)
  10589. type: string
  10590. contactname:
  10591. description: 联系人姓名
  10592. type: string
  10593. contactphoneno:
  10594. description: 联系人电话
  10595. type: string
  10596. contactposition:
  10597. description: 联系人职位
  10598. type: string
  10599. createtime:
  10600. description: 创建时间
  10601. type: string
  10602. email:
  10603. description: 邮箱
  10604. type: string
  10605. executestatus:
  10606. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10607. type: integer
  10608. gzcjaccount:
  10609. description: 送检账户
  10610. type: string
  10611. gzcjaccounttype:
  10612. description: 检测账户类型 - 枚举"GZCJAccountType"
  10613. type: integer
  10614. gzcjcategorytype:
  10615. description: 货物品类 - 枚举"GZCJCategoryType"
  10616. type: integer
  10617. gzcjcategorytypedisplay:
  10618. description: 货物品类
  10619. type: string
  10620. gzcjdeliverytype:
  10621. description: 收货方式 - 枚举"GZCJDeliveryType"
  10622. type: integer
  10623. gzcjdeliverytypedisplay:
  10624. description: 收货方式
  10625. type: string
  10626. gzcjstatus:
  10627. description: 单据状态(出境检测) - 枚举"GZCJStatus"
  10628. type: integer
  10629. gzcjstatusdisplay:
  10630. description: 单据状态(出境检测)
  10631. type: string
  10632. handlestatus:
  10633. description: 处理状态
  10634. type: integer
  10635. invoiceremark:
  10636. description: 复核备注 - 发票装箱单使用
  10637. type: string
  10638. orderid:
  10639. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10640. type: integer
  10641. orderno:
  10642. description: 单据编号 - 合同编号:GZDECJJC+单据流水号
  10643. type: string
  10644. ordersn:
  10645. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10646. type: string
  10647. origincountry:
  10648. description: 原产国
  10649. type: string
  10650. processingcountry:
  10651. description: 成品钻石加工国
  10652. type: string
  10653. realservicefee:
  10654. description: 应收综合服务费
  10655. type: number
  10656. servicefeesum:
  10657. description: 汇总综合服务费 - 明细上值汇总
  10658. type: number
  10659. settleamount:
  10660. description: 总结算费用
  10661. type: number
  10662. shaperange:
  10663. description: 形状范围
  10664. type: string
  10665. totalamount:
  10666. description: 总金额(美元)
  10667. type: number
  10668. totalgrossweight:
  10669. description: 总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整)
  10670. * 200
  10671. type: number
  10672. totalnumber:
  10673. description: 总粒数
  10674. type: integer
  10675. totalweight:
  10676. description: 总克拉数(保留3位小数)
  10677. type: number
  10678. totalweightgm:
  10679. description: 总净重(克) = TotalWeight * 0.2 (2位小数)
  10680. type: number
  10681. userid:
  10682. description: 用户ID
  10683. type: integer
  10684. weightrange:
  10685. description: 重量规格范围 - Min(Weight) - Max(Weight)
  10686. type: string
  10687. zsorigin:
  10688. description: 天然钻石毛坯原产地
  10689. type: string
  10690. required:
  10691. - userid
  10692. type: object
  10693. models.GzcjjcorderdetailM:
  10694. properties:
  10695. amount:
  10696. description: 参考货值(USD)
  10697. type: number
  10698. colorinfo:
  10699. description: 彩钻信息
  10700. type: string
  10701. createtime:
  10702. description: 创建时间
  10703. type: string
  10704. gzcjmarktype:
  10705. description: 刻印服务 - 枚举"GZCJMarkType" 【送检账户为“广钻账户”】
  10706. type: integer
  10707. gzcjpublishtype:
  10708. description: 是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】
  10709. type: integer
  10710. gzcjpublishtypestring:
  10711. description: 是否披露处理 - 枚举 GZCJPublishType 对应的显示值
  10712. type: string
  10713. gzcjservicetype:
  10714. description: 服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】
  10715. type: integer
  10716. gzcjservicetypestring:
  10717. description: 服务类别 - 枚举 GZCJServiceType 对应的显示值
  10718. type: string
  10719. gzcjshapetype:
  10720. description: 形状 - 枚举"GZCJShapeType"
  10721. type: integer
  10722. gzcjshapetypestring:
  10723. description: 形状(字符) - 枚举"GZCJShapeType"对应的显示值
  10724. type: string
  10725. gzno:
  10726. description: 货物编号
  10727. type: string
  10728. orderdetailid:
  10729. description: 单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)
  10730. type: integer
  10731. orderid:
  10732. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10733. type: integer
  10734. orderindex:
  10735. description: 顺序
  10736. type: integer
  10737. origincertno:
  10738. description: 原证书号【送检账户为“广钻账户”】
  10739. type: string
  10740. remark:
  10741. description: 备注(其它)
  10742. type: string
  10743. servicefee:
  10744. description: 综合服务费 - 根据市场配置计算
  10745. type: number
  10746. weight:
  10747. description: 重量(CT)
  10748. type: number
  10749. type: object
  10750. models.Gzrapaportprice:
  10751. properties:
  10752. dollar:
  10753. description: 美元
  10754. type: string
  10755. rmb:
  10756. description: 人民币
  10757. type: string
  10758. type: object
  10759. models.Hedgeinnerholderdetail:
  10760. properties:
  10761. accountid:
  10762. description: 账号ID
  10763. type: integer
  10764. buyorsell:
  10765. description: 方向 - 0:买 1:卖
  10766. type: integer
  10767. freezeqty:
  10768. description: 冻结数量 - 按单平使用
  10769. type: integer
  10770. goodsid:
  10771. description: 商品ID
  10772. type: integer
  10773. holderamount:
  10774. description: 持仓金额 [商品币种]
  10775. type: number
  10776. holderdays:
  10777. description: 剩余冻结天数
  10778. type: integer
  10779. holderprice:
  10780. description: 持仓价格
  10781. type: number
  10782. holderqty:
  10783. description: 持仓数量
  10784. type: integer
  10785. marketid:
  10786. description: 市场ID
  10787. type: integer
  10788. openprice:
  10789. description: 建仓价格
  10790. type: number
  10791. openqty:
  10792. description: 建仓数量
  10793. type: integer
  10794. parentaccountid:
  10795. description: 所属母账户
  10796. type: integer
  10797. releaseamount:
  10798. description: 释放持仓金额[商品币种]
  10799. type: number
  10800. tradeamount:
  10801. description: 成交金额[账户]
  10802. type: number
  10803. tradedate:
  10804. description: 交易日(yyyyMMdd)
  10805. type: string
  10806. tradeid:
  10807. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10808. type: string
  10809. tradetime:
  10810. description: 交易时间
  10811. type: string
  10812. required:
  10813. - buyorsell
  10814. - tradeid
  10815. type: object
  10816. models.Hedgemarketopenlog:
  10817. properties:
  10818. accountid:
  10819. description: 资金账号[外部母账户]
  10820. type: integer
  10821. fcname:
  10822. description: 期货公司名称
  10823. type: string
  10824. handlestatus:
  10825. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10826. type: integer
  10827. marketid:
  10828. description: 市场ID
  10829. type: integer
  10830. status:
  10831. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10832. type: integer
  10833. tradedate:
  10834. description: 交易日(yyyyMMdd)
  10835. type: string
  10836. updatetime:
  10837. description: 更新时间
  10838. type: string
  10839. required:
  10840. - accountid
  10841. type: object
  10842. models.InternalEnableTradeDetail:
  10843. properties:
  10844. agreeunit:
  10845. description: 合约乘数
  10846. type: number
  10847. areauserid:
  10848. description: 企业ID
  10849. type: integer
  10850. convertratio:
  10851. description: 品种系数
  10852. type: number
  10853. deliverygoodscode:
  10854. description: 现货品种代码
  10855. type: string
  10856. deliverygoodsid:
  10857. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10858. type: integer
  10859. deliverygoodsname:
  10860. description: 现货品种名称
  10861. type: string
  10862. futurehedgeqty:
  10863. description: '[已关联数量]期货持仓套期量'
  10864. type: number
  10865. goodsid:
  10866. description: 期货合约ID
  10867. type: integer
  10868. hedgeditemid:
  10869. description: 被套期项目ID
  10870. type: string
  10871. hedgeditemnum:
  10872. description: 项目编号
  10873. type: string
  10874. tradeuserid:
  10875. description: 交易用户ID
  10876. type: integer
  10877. unexehedgeqty:
  10878. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10879. type: number
  10880. unexespotqty:
  10881. description: 未执行现货量
  10882. type: number
  10883. wrstandardcode:
  10884. description: 现货品类代码
  10885. type: string
  10886. wrstandardid:
  10887. description: 现货品类ID(SEQ_WRSTANDARD)
  10888. type: integer
  10889. wrstandardname:
  10890. description: 现货品类名称
  10891. type: string
  10892. required:
  10893. - areauserid
  10894. - goodsid
  10895. - tradeuserid
  10896. type: object
  10897. models.InternalUncorrelatedTradeDetail:
  10898. properties:
  10899. accountid:
  10900. description: 账号ID
  10901. type: integer
  10902. accountname:
  10903. description: 套期主体
  10904. type: string
  10905. agreeunit:
  10906. description: 合约乘数
  10907. type: number
  10908. areauserid:
  10909. description: 所属机构
  10910. type: integer
  10911. bizsubjectid:
  10912. description: 归属业务部门ID - SubjectID
  10913. type: integer
  10914. buyorsell:
  10915. description: 方向 - 0:买 1:卖
  10916. type: integer
  10917. channelbuildtype:
  10918. description: 委托单据类型 0:无 1:建仓 2:平仓
  10919. type: integer
  10920. convertratio:
  10921. description: 品种系数
  10922. type: number
  10923. createtime:
  10924. description: 创建时间
  10925. type: string
  10926. creatorid:
  10927. description: 创建人ID
  10928. type: integer
  10929. creatorsrc:
  10930. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10931. type: integer
  10932. enableqty:
  10933. description: 项目可关联数量 = 套保品种数量 - 关联数量
  10934. type: number
  10935. enumdicname:
  10936. description: 单位
  10937. type: string
  10938. goodscode:
  10939. description: 合约代码
  10940. type: string
  10941. goodsgroupid:
  10942. description: 对冲品种ID[期货合约商品组ID]
  10943. type: integer
  10944. goodsid:
  10945. description: 商品ID
  10946. type: integer
  10947. goodsname:
  10948. description: 合约名称
  10949. type: string
  10950. hedgeditemid:
  10951. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10952. type: integer
  10953. hedgeflag:
  10954. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10955. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10956. type: integer
  10957. linkdetailid:
  10958. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10959. type: string
  10960. linkstatus:
  10961. description: 关联状态 - 1:成功 2:失败 3:解绑
  10962. type: integer
  10963. middlegoodsid:
  10964. description: 套保品种ID
  10965. type: integer
  10966. middlegoodsqty:
  10967. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  10968. type: number
  10969. relatedlot:
  10970. description: '[数量]关联手数'
  10971. type: number
  10972. relatedmode:
  10973. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10974. type: integer
  10975. relatedqty:
  10976. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  10977. type: number
  10978. retcode:
  10979. description: 返回码
  10980. type: integer
  10981. saleuserid:
  10982. description: 业务员ID
  10983. type: integer
  10984. tradedate:
  10985. description: 关联交易日(yyyyMMdd)
  10986. type: string
  10987. tradeid:
  10988. description: 成交单号
  10989. type: string
  10990. tradelot:
  10991. description: 成交手数
  10992. type: integer
  10993. tradeprice:
  10994. description: 成交价
  10995. type: number
  10996. tradetime:
  10997. description: 成交时间
  10998. type: string
  10999. tradetradedate:
  11000. description: 成交交易日(yyyyMMdd)
  11001. type: string
  11002. tradeuserid:
  11003. description: 交易用户ID
  11004. type: integer
  11005. type: object
  11006. models.Loginaccount:
  11007. properties:
  11008. accountname:
  11009. description: 账户名称
  11010. type: string
  11011. canoutin:
  11012. description: 是否可出入金 - 0:不可 1:可
  11013. type: integer
  11014. clientroleid:
  11015. description: 终端角色ID
  11016. type: integer
  11017. haslogined:
  11018. description: 是否已登录 - 0:未登录 1:已登录
  11019. type: integer
  11020. hasupdatedpwd:
  11021. description: 是否已更改密码 - 0:未修改 1:已修改
  11022. type: integer
  11023. lastloginip:
  11024. description: 最新登录地址
  11025. type: string
  11026. lastloginmode:
  11027. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  11028. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11029. type: integer
  11030. lastloginremark:
  11031. description: 最新登录描述
  11032. type: string
  11033. lastlogintime:
  11034. description: 最新登录时间
  11035. type: string
  11036. logincode:
  11037. description: 登录代码
  11038. type: string
  11039. loginfailnum:
  11040. description: 连续登录失败次数(登录成功时清零)
  11041. type: integer
  11042. loginid:
  11043. description: 登陆账号
  11044. type: integer
  11045. loginport:
  11046. description: 最新登录端口
  11047. type: integer
  11048. loginstatus:
  11049. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  11050. type: integer
  11051. loginusertype:
  11052. description: 登录账号类型 - 1:投资者 2:机构交易员
  11053. type: integer
  11054. mobile:
  11055. description: 手机号码(加密存储)
  11056. type: string
  11057. modifierid:
  11058. description: 修改人
  11059. type: integer
  11060. modifysrc:
  11061. description: 审核来源 - 1:管理端 2:终端
  11062. type: integer
  11063. modifytime:
  11064. description: 修改时间
  11065. type: string
  11066. pwdwrongcount:
  11067. description: 密码错误次数
  11068. type: integer
  11069. relateduserid:
  11070. description: 关联用户ID(机构)
  11071. type: integer
  11072. taaccountrighttype:
  11073. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11074. type: integer
  11075. unfreezetime:
  11076. description: 账户解冻时间
  11077. type: string
  11078. userid:
  11079. description: 用户ID
  11080. type: integer
  11081. required:
  11082. - loginid
  11083. type: object
  11084. models.MainAccountInfo:
  11085. properties:
  11086. accountid:
  11087. description: 账号id
  11088. type: integer
  11089. accountname:
  11090. description: 账号名称(taaccount表中的名称)
  11091. type: string
  11092. appid:
  11093. description: AppID
  11094. type: string
  11095. authcode:
  11096. description: 授权码
  11097. type: string
  11098. brokerid:
  11099. description: 经纪商id
  11100. type: string
  11101. fcid:
  11102. description: 期货公司id
  11103. type: integer
  11104. fcname:
  11105. description: 期货公司代码
  11106. type: string
  11107. hedgeaccountcode:
  11108. description: 外部账号代码(主账号登录代码)
  11109. type: string
  11110. hedgeaccountpwd:
  11111. description: 密码
  11112. type: string
  11113. ismain:
  11114. description: 是否主账号
  11115. type: integer
  11116. relateduserid:
  11117. description: 关联用户id
  11118. type: integer
  11119. userid:
  11120. description: 关联用户id
  11121. type: integer
  11122. type: object
  11123. models.Market:
  11124. properties:
  11125. auctionwrtype:
  11126. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11127. type: integer
  11128. canacceptquote:
  11129. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11130. type: integer
  11131. cangoodsexercise:
  11132. description: '[期权]是否可现货行权- 0:否 1:是'
  11133. type: integer
  11134. cangoodsexercisetype:
  11135. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11136. type: integer
  11137. canmanualquotestrike:
  11138. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11139. type: integer
  11140. canmutistage:
  11141. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11142. type: integer
  11143. canpreexercise:
  11144. description: '[期权]是否可预申报- 0:否 1:是'
  11145. type: integer
  11146. clearinterval:
  11147. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11148. type: integer
  11149. contracttmp:
  11150. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11151. type: string
  11152. exchareaid:
  11153. description: 所属交易所,可以没有
  11154. type: integer
  11155. goodstype:
  11156. description: 商品类型 - 1:交易商品 2:仓单商品
  11157. type: integer
  11158. hasrebate:
  11159. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11160. type: integer
  11161. hastradecredit:
  11162. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11163. type: integer
  11164. haswr:
  11165. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11166. type: integer
  11167. isdeductmargin:
  11168. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11169. type: integer
  11170. isrecordsource:
  11171. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11172. type: integer
  11173. isreleasemargin:
  11174. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11175. type: integer
  11176. marginformula:
  11177. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11178. type: integer
  11179. marginformula2:
  11180. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11181. type: integer
  11182. marketid:
  11183. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11184. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11185. type: integer
  11186. marketname:
  11187. description: 市场名称
  11188. type: string
  11189. marketserviceid:
  11190. description: 市场服务ID
  11191. type: integer
  11192. marketstatus:
  11193. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11194. type: integer
  11195. markettype:
  11196. description: 市场类型- 1:非交易服务 2:交易服务
  11197. type: integer
  11198. matchermode:
  11199. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11200. type: integer
  11201. openmethod:
  11202. description: 开盘模式 - 0 自动 1手动
  11203. type: integer
  11204. otcuserid:
  11205. description: 场外期权做市商[场外期权]
  11206. type: integer
  11207. outersynctime:
  11208. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11209. type: string
  11210. pendingflag:
  11211. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11212. type: integer
  11213. pendingtime:
  11214. description: 待开市时间[通道交易-对冲](HH:mm)
  11215. type: string
  11216. performancetempid:
  11217. description: 履约计划模板ID - 作废
  11218. type: integer
  11219. premiumquotemode:
  11220. description: 权利金报价方式 - 1:自动 2:手动
  11221. type: integer
  11222. rebateratio:
  11223. description: 返利比率[竞价式]
  11224. type: number
  11225. reckonorder:
  11226. description: 结算顺序
  11227. type: integer
  11228. reckonpricealgorithm:
  11229. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11230. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11231. type: integer
  11232. reckonpriceparam:
  11233. description: 结算价参数
  11234. type: integer
  11235. reckontime:
  11236. description: 结算时间[通道交易-对冲](HH:mm)
  11237. type: string
  11238. roleprioritytype:
  11239. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11240. type: integer
  11241. selllistingauditflag:
  11242. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11243. type: integer
  11244. trademarkettype:
  11245. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11246. type: integer
  11247. trademode:
  11248. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11249. 21:竞拍-大宗式 22:受托竞价
  11250. type: integer
  11251. tradeproperty:
  11252. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11253. 8:场外期权
  11254. type: integer
  11255. tradetype:
  11256. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11257. type: integer
  11258. required:
  11259. - marketid
  11260. - marketstatus
  11261. - openmethod
  11262. - reckonpricealgorithm
  11263. - trademode
  11264. - tradeproperty
  11265. type: object
  11266. models.Marketcalendar:
  11267. properties:
  11268. holidaydate:
  11269. description: 节假日期(yyyy-MM-dd)
  11270. type: string
  11271. marketid:
  11272. description: 市场ID
  11273. type: integer
  11274. type: object
  11275. models.Marketrun:
  11276. properties:
  11277. afternexttradedate:
  11278. description: 下下交易日
  11279. type: string
  11280. clearquoteflag:
  11281. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11282. type: integer
  11283. lastreckondate:
  11284. description: 最新交易日(结算成功)
  11285. type: string
  11286. machinedate:
  11287. description: 机器时间
  11288. type: string
  11289. manualflag:
  11290. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11291. type: integer
  11292. marketid:
  11293. description: 市场ID
  11294. type: integer
  11295. nexttradedate:
  11296. description: 下一交易日
  11297. type: string
  11298. pretradedate:
  11299. description: 上一交易日
  11300. type: string
  11301. reckonflag:
  11302. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11303. type: integer
  11304. runstatus:
  11305. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11306. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11307. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11308. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11309. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11310. 62.今日免清算
  11311. type: integer
  11312. sectionid:
  11313. description: 时间段号[多时段时用]
  11314. type: integer
  11315. tradedate:
  11316. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11317. type: string
  11318. tradedate2:
  11319. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11320. type: string
  11321. updatetime:
  11322. description: 更新时间
  11323. type: string
  11324. required:
  11325. - marketid
  11326. - nexttradedate
  11327. - reckonflag
  11328. - runstatus
  11329. - tradedate
  11330. - tradedate2
  11331. type: object
  11332. models.Messageboard:
  11333. properties:
  11334. contactnum:
  11335. description: 联系电话
  11336. type: string
  11337. createtime:
  11338. description: 创建时间
  11339. type: string
  11340. message:
  11341. description: 留言信息
  11342. type: string
  11343. messageboardid:
  11344. description: 留言簿ID(SEQ_MessageBoard)
  11345. type: integer
  11346. userid:
  11347. description: 用户ID
  11348. type: integer
  11349. required:
  11350. - messageboardid
  11351. type: object
  11352. models.MyBargainApply:
  11353. properties:
  11354. accountid:
  11355. description: 摘牌资金账号
  11356. type: integer
  11357. applyprice:
  11358. description: 申请价格
  11359. type: string
  11360. applyremark:
  11361. description: 申请备注
  11362. type: string
  11363. applystatus:
  11364. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11365. type: integer
  11366. applytime:
  11367. description: 申请时间
  11368. type: string
  11369. buyorsell:
  11370. description: 买卖 - 0:买 1:卖
  11371. type: integer
  11372. buyusername:
  11373. description: 买方
  11374. type: string
  11375. confirmprice:
  11376. description: 可接受价格(拒绝时填写)-作废
  11377. type: number
  11378. confirmqty:
  11379. description: 可接受数量(拒绝时填写)-作废
  11380. type: integer
  11381. confirmremark:
  11382. description: 确认备注
  11383. type: string
  11384. confirmtime:
  11385. description: 确认时间
  11386. type: string
  11387. confirmuserid:
  11388. description: 确认人
  11389. type: integer
  11390. goodsno:
  11391. description: 商品编号
  11392. type: string
  11393. handlestatus:
  11394. description: 处理状态
  11395. type: integer
  11396. ladingbillid:
  11397. description: 摘牌方提单ID [卖]
  11398. type: integer
  11399. marketid:
  11400. description: 市场ID
  11401. type: integer
  11402. matchaccountid:
  11403. description: 挂牌方资金账号
  11404. type: integer
  11405. matchuserid:
  11406. description: 挂牌方用户ID
  11407. type: integer
  11408. performancetemplateid:
  11409. description: 履约计划模板ID
  11410. type: integer
  11411. price:
  11412. description: 价格
  11413. type: number
  11414. priceper:
  11415. description: 克拉单价 - 类型:1,2,3,5
  11416. type: string
  11417. qty:
  11418. description: 申请数量
  11419. type: number
  11420. refprice:
  11421. description: 参考价格
  11422. type: string
  11423. retcode:
  11424. description: 委托返回代码
  11425. type: integer
  11426. sellusername:
  11427. description: 卖方
  11428. type: string
  11429. sizedisplay:
  11430. description: 尺寸
  11431. type: string
  11432. subnum:
  11433. description: 摘牌方提单子单号 [卖]
  11434. type: integer
  11435. tradedate:
  11436. description: 交易日(yyyyMMdd)
  11437. type: string
  11438. userid:
  11439. description: 摘牌人用户ID
  11440. type: integer
  11441. warehousenamedisplay:
  11442. type: string
  11443. wrbargainid:
  11444. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  11445. type: string
  11446. wrtradeorderid:
  11447. description: 关联委托单ID
  11448. type: string
  11449. zscerttypedisplay:
  11450. type: string
  11451. zsclaritytype1display:
  11452. type: string
  11453. zsclaritytype2display:
  11454. type: string
  11455. zscolortype1display:
  11456. type: string
  11457. zscolortype2display:
  11458. type: string
  11459. zscrystaltypedisplay:
  11460. type: string
  11461. zscurrencytypedisplay:
  11462. type: string
  11463. zscurrencytypedisplayunit:
  11464. type: string
  11465. zscuttype1display:
  11466. type: string
  11467. zscuttype2display:
  11468. type: string
  11469. zsczcolor1typedisplay:
  11470. type: string
  11471. zsczcolor2typedisplay:
  11472. type: string
  11473. zsczcolor3typedisplay:
  11474. type: string
  11475. zsfluorescencetype1display:
  11476. type: string
  11477. zsfluorescencetype2display:
  11478. type: string
  11479. zspolishtype1display:
  11480. type: string
  11481. zspolishtype2display:
  11482. type: string
  11483. zsshapetypedisplay:
  11484. type: string
  11485. zsstyletypedisplay:
  11486. type: string
  11487. zssymmetrytype1display:
  11488. type: string
  11489. zssymmetrytype2display:
  11490. type: string
  11491. required:
  11492. - userid
  11493. type: object
  11494. models.MyBuyOrder:
  11495. properties:
  11496. accountid:
  11497. description: 资金账户ID
  11498. type: integer
  11499. marketid:
  11500. description: 市场ID
  11501. type: integer
  11502. ordertime:
  11503. description: 委托时间
  11504. type: string
  11505. origin:
  11506. description: 原产地
  11507. type: string
  11508. performancetemplateid:
  11509. description: 履约计划模板ID
  11510. type: integer
  11511. remark:
  11512. description: 备注
  11513. type: string
  11514. userid:
  11515. description: 用户ID
  11516. type: integer
  11517. validtime:
  11518. description: 有效期限
  11519. type: string
  11520. warehouseids:
  11521. description: 仓库ID - 多个, 逗号分隔
  11522. type: string
  11523. warehouseinfosdisplay:
  11524. type: string
  11525. wrtradeorderid:
  11526. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  11527. type: string
  11528. wrtradeorderstatus:
  11529. 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、
  11530. type: integer
  11531. zscategory:
  11532. description: 钻石分类 - 枚举”ZSCategory“
  11533. type: integer
  11534. zscategorydisplay:
  11535. type: string
  11536. zsclaritytype:
  11537. description: 净度 - 两个, 逗号分隔
  11538. type: string
  11539. zsclaritytypedisplay:
  11540. type: string
  11541. zscolortype:
  11542. description: 颜色 - 两个, 逗号分隔
  11543. type: string
  11544. zscolortypedisplay:
  11545. type: string
  11546. zscrystaltype:
  11547. description: 晶型 - 多个,逗号分隔
  11548. type: string
  11549. zscrystaltypedisplay:
  11550. type: string
  11551. zscurrencytype:
  11552. description: 货币类型 - 多个, 逗号分隔
  11553. type: string
  11554. zscurrencytypedisplay:
  11555. type: string
  11556. zscuttype:
  11557. description: 切工 - 两个, 逗号分隔
  11558. type: string
  11559. zscuttypedisplay:
  11560. type: string
  11561. zsczcolor1type:
  11562. description: 彩钻颜色1, 逗号分隔
  11563. type: string
  11564. zsczcolor1typedisplay:
  11565. type: string
  11566. zsczcolor2type:
  11567. description: 彩钻颜色2, 逗号分隔
  11568. type: string
  11569. zsczcolor2typedisplay:
  11570. type: string
  11571. zsczcolor3type:
  11572. description: 彩钻颜色3, 逗号分隔
  11573. type: string
  11574. zsczcolor3typedisplay:
  11575. type: string
  11576. zsfluorescencetype:
  11577. description: 荧光 - 多个, 逗号分隔
  11578. type: string
  11579. zsfluorescencetypedisplay:
  11580. type: string
  11581. zspolishtype:
  11582. description: 抛光度 - 两个, 逗号分隔
  11583. type: string
  11584. zspolishtypedisplay:
  11585. type: string
  11586. zsshapetype:
  11587. description: 形状 - 多个, 逗号分隔
  11588. type: string
  11589. zsshapetypedisplay:
  11590. type: string
  11591. zssize:
  11592. description: 尺寸 - 两个小数, 逗号分隔
  11593. type: string
  11594. zsstyletype:
  11595. description: 款式 - 多个, 逗号分隔
  11596. type: string
  11597. zsstyletypedisplay:
  11598. type: string
  11599. zssymmetrytype:
  11600. description: 对称度 - 两个, 逗号分隔
  11601. type: string
  11602. zssymmetrytypedisplay:
  11603. type: string
  11604. zstabledisplay:
  11605. description: 求购信息
  11606. type: string
  11607. required:
  11608. - userid
  11609. type: object
  11610. models.MyDeListing:
  11611. properties:
  11612. buyaccountid:
  11613. description: 买方账号ID
  11614. type: integer
  11615. buychargevalue:
  11616. description: 买方手续费
  11617. type: number
  11618. buyuserid:
  11619. description: 买方用户ID
  11620. type: integer
  11621. deliverygoodsid:
  11622. description: 现货品种ID
  11623. type: integer
  11624. exchangerate:
  11625. description: 汇率
  11626. type: number
  11627. goodsno:
  11628. description: 商品编号
  11629. type: string
  11630. marketid:
  11631. description: 市场ID
  11632. type: integer
  11633. matchusername:
  11634. description: 对手方
  11635. type: string
  11636. oritradeamount:
  11637. description: 成交金额[商品币种]
  11638. type: number
  11639. performanceplanid:
  11640. description: 履约计划ID/合同ID
  11641. type: string
  11642. price:
  11643. description: 价格
  11644. type: number
  11645. qty:
  11646. description: 成交重量
  11647. type: number
  11648. sellaccountid:
  11649. description: 卖方账号ID
  11650. type: integer
  11651. sellchargevalue:
  11652. description: 卖方手续费
  11653. type: number
  11654. selluserid:
  11655. description: 卖方用户ID
  11656. type: integer
  11657. sizedisplay:
  11658. description: 尺寸
  11659. type: string
  11660. tradeamount:
  11661. description: 成交金额
  11662. type: number
  11663. tradedate:
  11664. description: 交易日(yyyyMMdd)
  11665. type: string
  11666. tradeprice:
  11667. description: 成交价格
  11668. type: number
  11669. tradetime:
  11670. description: 成交时间
  11671. type: string
  11672. userid:
  11673. description: 用户ID
  11674. type: integer
  11675. warehousenamedisplay:
  11676. type: string
  11677. wrfactortypeid:
  11678. description: 仓单要素类型ID
  11679. type: integer
  11680. wrstandardid:
  11681. description: 现货商品ID
  11682. type: integer
  11683. wrtradedetailid:
  11684. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  11685. type: string
  11686. zscategory:
  11687. description: 钻石分类 - 枚举”ZSCategory“
  11688. type: integer
  11689. zscategorydisplay:
  11690. type: string
  11691. zscerttypedisplay:
  11692. type: string
  11693. zsclaritytype1display:
  11694. type: string
  11695. zsclaritytype2display:
  11696. type: string
  11697. zscolortype1display:
  11698. type: string
  11699. zscolortype2display:
  11700. type: string
  11701. zscrystaltypedisplay:
  11702. type: string
  11703. zscurrencytype:
  11704. description: 货币类型 - 枚举“ZSCurrencyType”
  11705. type: integer
  11706. zscurrencytypedisplay:
  11707. type: string
  11708. zscurrencytypedisplayunit:
  11709. type: string
  11710. zscuttype1display:
  11711. type: string
  11712. zscuttype2display:
  11713. type: string
  11714. zsczcolor1typedisplay:
  11715. type: string
  11716. zsczcolor2typedisplay:
  11717. type: string
  11718. zsczcolor3typedisplay:
  11719. type: string
  11720. zsfluorescencetype1display:
  11721. type: string
  11722. zsfluorescencetype2display:
  11723. type: string
  11724. zspolishtype1display:
  11725. type: string
  11726. zspolishtype2display:
  11727. type: string
  11728. zsshapetypedisplay:
  11729. type: string
  11730. zsstyletypedisplay:
  11731. type: string
  11732. zssymmetrytype1display:
  11733. type: string
  11734. zssymmetrytype2display:
  11735. type: string
  11736. required:
  11737. - userid
  11738. type: object
  11739. models.MyDelistingApply:
  11740. properties:
  11741. applyprice:
  11742. description: 申请价格
  11743. type: number
  11744. applyqty:
  11745. description: 申请数量
  11746. type: number
  11747. applyremark:
  11748. description: 申请备注
  11749. type: string
  11750. applystatus:
  11751. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11752. type: integer
  11753. applytime:
  11754. description: 申请时间
  11755. type: string
  11756. auditremark:
  11757. description: 确认备注
  11758. type: string
  11759. audittime:
  11760. description: 确认时间
  11761. type: string
  11762. buyuserid:
  11763. description: 买方用户ID
  11764. type: integer
  11765. buyusername:
  11766. description: 买方
  11767. type: string
  11768. buywrtradeorderid:
  11769. description: 买委托单ID
  11770. type: string
  11771. goodsno:
  11772. description: 商品编号
  11773. type: string
  11774. ladingbillid:
  11775. description: 卖方提单ID
  11776. type: string
  11777. marketid:
  11778. description: 市场ID
  11779. type: integer
  11780. performancetemplateid:
  11781. description: 履约计划模板ID
  11782. type: integer
  11783. price:
  11784. description: 价格
  11785. type: number
  11786. sellaccountid:
  11787. description: 卖方账户ID
  11788. type: integer
  11789. selldelistingapplyid:
  11790. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  11791. type: string
  11792. selltradeorderid:
  11793. description: 卖方委托ID(买方确认成交后更新)
  11794. type: string
  11795. selluserid:
  11796. description: 卖方用户ID
  11797. type: integer
  11798. sellusername:
  11799. description: 卖方
  11800. type: string
  11801. sizedisplay:
  11802. description: 尺寸
  11803. type: string
  11804. subnum:
  11805. description: 卖方提单子单号
  11806. type: integer
  11807. warehouseinfosdisplay:
  11808. type: string
  11809. weight:
  11810. description: 克拉重量
  11811. type: number
  11812. wrfactortypeid:
  11813. description: 仓单要素类型ID
  11814. type: string
  11815. wrstandardid:
  11816. description: 现货商品ID
  11817. type: integer
  11818. zsallproperties:
  11819. type: string
  11820. zscategorydisplay:
  11821. type: string
  11822. zsclaritytypedisplay:
  11823. type: string
  11824. zscolortypedisplay:
  11825. type: string
  11826. zscrystaltypedisplay:
  11827. type: string
  11828. zscurrencytypedisplay:
  11829. type: string
  11830. zscurrencytypedisplayunit:
  11831. description: 价格单位
  11832. type: string
  11833. zscuttypedisplay:
  11834. type: string
  11835. zsczcolor1typedisplay:
  11836. type: string
  11837. zsczcolor2typedisplay:
  11838. type: string
  11839. zsczcolor3typedisplay:
  11840. type: string
  11841. zsfluorescencetypedisplay:
  11842. type: string
  11843. zspolishtypedisplay:
  11844. type: string
  11845. zsshapetypedisplay:
  11846. type: string
  11847. zssizedisplay:
  11848. type: string
  11849. zsstyletypedisplay:
  11850. type: string
  11851. zssymmetrytypedisplay:
  11852. type: string
  11853. zstabledisplay:
  11854. type: string
  11855. required:
  11856. - selluserid
  11857. type: object
  11858. models.MyFavorite:
  11859. properties:
  11860. accountname:
  11861. description: 账户名称(机构名称)
  11862. type: string
  11863. buyorsell:
  11864. description: 买卖 - 0:买 1:卖
  11865. type: integer
  11866. favoritestatus:
  11867. description: 收藏状态 - 1:正常 2:失效
  11868. type: integer
  11869. goodsno:
  11870. description: 商品编号
  11871. type: string
  11872. marketid:
  11873. description: 市场ID
  11874. type: integer
  11875. marketprice:
  11876. description: 市场价
  11877. type: string
  11878. price:
  11879. description: 价格
  11880. type: number
  11881. priceper:
  11882. description: 克拉单价
  11883. type: string
  11884. sellusername:
  11885. description: 卖家
  11886. type: string
  11887. sizedisplay:
  11888. description: 尺寸
  11889. type: string
  11890. userid:
  11891. description: 用户ID
  11892. type: integer
  11893. warehousenamedisplay:
  11894. description: 仓库名称
  11895. type: string
  11896. weight:
  11897. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11898. type: number
  11899. weightavg:
  11900. description: 平均单颗重量 - 类型:1,3
  11901. type: number
  11902. wrfactortypeid:
  11903. description: 仓单要素类型ID/商品ID(77)
  11904. type: string
  11905. wrstandardid:
  11906. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  11907. type: integer
  11908. wrtradeorderid:
  11909. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11910. type: string
  11911. zscategory:
  11912. description: 钻石分类 - 枚举”ZSCategory“
  11913. type: integer
  11914. zscategorydisplay:
  11915. type: string
  11916. zscerttypedisplay:
  11917. type: string
  11918. zsclaritytype1display:
  11919. type: string
  11920. zsclaritytype2display:
  11921. type: string
  11922. zscolortype1display:
  11923. type: string
  11924. zscolortype2display:
  11925. type: string
  11926. zscrystaltypedisplay:
  11927. type: string
  11928. zscurrencytypedisplay:
  11929. type: string
  11930. zscurrencytypedisplayunit:
  11931. type: string
  11932. zscuttype1display:
  11933. type: string
  11934. zscuttype2display:
  11935. type: string
  11936. zsczcolor1typedisplay:
  11937. type: string
  11938. zsczcolor2typedisplay:
  11939. type: string
  11940. zsczcolor3typedisplay:
  11941. type: string
  11942. zsfluorescencetype1display:
  11943. type: string
  11944. zsfluorescencetype2display:
  11945. type: string
  11946. zspolishtype1display:
  11947. type: string
  11948. zspolishtype2display:
  11949. type: string
  11950. zsshapetypedisplay:
  11951. type: string
  11952. zsstyletypedisplay:
  11953. type: string
  11954. zssymmetrytype1display:
  11955. type: string
  11956. zssymmetrytype2display:
  11957. type: string
  11958. required:
  11959. - userid
  11960. type: object
  11961. models.MyPerformanc:
  11962. properties:
  11963. accountname:
  11964. description: '[对手方]账户名称(机构名称)'
  11965. type: string
  11966. amount:
  11967. description: 履约金额
  11968. type: number
  11969. buyaccountid:
  11970. description: 买方账号
  11971. type: integer
  11972. buyerfreezeamount:
  11973. description: 买方履约前冻结资金
  11974. type: number
  11975. buyerfreezeamountremain:
  11976. description: 买方履约前冻结资金剩余
  11977. type: number
  11978. buyerinfo:
  11979. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11980. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  11981. type: string
  11982. buyorsell:
  11983. description: 方向 - 0:买 1:卖
  11984. type: integer
  11985. buypaidamount:
  11986. description: 买方已冻/已扣金额
  11987. type: number
  11988. buytodayamount:
  11989. description: 买方今日扣/冻金额 (待开市时清零)
  11990. type: number
  11991. curstepid:
  11992. description: 当前步骤ID
  11993. type: string
  11994. goodsno:
  11995. description: 商品编号
  11996. type: string
  11997. overshortamount:
  11998. description: 溢短金额
  11999. type: number
  12000. paymenttype:
  12001. description: 买方支付方式 - 1:冻结 2:扣款
  12002. type: integer
  12003. performanceplanid:
  12004. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  12005. type: string
  12006. performancestatus:
  12007. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  12008. 9:超时待处理 10:超时关闭
  12009. type: integer
  12010. price:
  12011. description: 价格
  12012. type: number
  12013. priceper:
  12014. description: 克拉单价
  12015. type: string
  12016. relatedorderid:
  12017. description: 关联单号(履约类型的关联单号)
  12018. type: string
  12019. remaindays:
  12020. description: 剩余天数
  12021. type: integer
  12022. sellerfreezeamount:
  12023. description: 卖方履约前冻结资金
  12024. type: number
  12025. sellerfreezeamountremain:
  12026. description: 卖方履约前冻结资金剩余
  12027. type: number
  12028. sellerinfo:
  12029. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  12030. "xxxxxxxx"}'
  12031. type: string
  12032. sellreceivedamount:
  12033. description: 卖方已收金额
  12034. type: number
  12035. selltodayamount:
  12036. description: 卖方今日收取金额(待开市时清零)
  12037. type: number
  12038. sizedisplay:
  12039. description: 尺寸
  12040. type: string
  12041. steptypeid:
  12042. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  12043. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  12044. type: integer
  12045. warehousenamedisplay:
  12046. type: string
  12047. zscategorydisplay:
  12048. type: string
  12049. zscerttypedisplay:
  12050. type: string
  12051. zsclaritytype1display:
  12052. type: string
  12053. zsclaritytype2display:
  12054. type: string
  12055. zscolortype1display:
  12056. type: string
  12057. zscolortype2display:
  12058. type: string
  12059. zscrystaltypedisplay:
  12060. type: string
  12061. zscurrencytypedisplay:
  12062. type: string
  12063. zscurrencytypedisplayunit:
  12064. type: string
  12065. zscuttype1display:
  12066. type: string
  12067. zscuttype2display:
  12068. type: string
  12069. zsczcolor1typedisplay:
  12070. type: string
  12071. zsczcolor2typedisplay:
  12072. type: string
  12073. zsczcolor3typedisplay:
  12074. type: string
  12075. zsfluorescencetype1display:
  12076. type: string
  12077. zsfluorescencetype2display:
  12078. type: string
  12079. zspolishtype1display:
  12080. type: string
  12081. zspolishtype2display:
  12082. type: string
  12083. zsshapetypedisplay:
  12084. type: string
  12085. zsstyletypedisplay:
  12086. type: string
  12087. zssymmetrytype1display:
  12088. type: string
  12089. zssymmetrytype2display:
  12090. type: string
  12091. type: object
  12092. models.MyRefer:
  12093. properties:
  12094. accountname:
  12095. description: 用户名(脱敏)
  12096. type: string
  12097. createtime:
  12098. description: 时间(yyyy-mm-dd)
  12099. type: string
  12100. score:
  12101. description: 积分
  12102. type: number
  12103. type: object
  12104. models.MySellOrder:
  12105. properties:
  12106. accountid:
  12107. description: 资金账号
  12108. type: integer
  12109. applyid:
  12110. description: 申请单ID
  12111. type: integer
  12112. attachment1:
  12113. description: 附件1
  12114. type: string
  12115. attachment2:
  12116. description: 附件2
  12117. type: string
  12118. buyorsell:
  12119. description: 买卖 - 0:买 1:卖
  12120. type: integer
  12121. canbargain:
  12122. description: 是否可议价 - 0:不可 1:可
  12123. type: integer
  12124. cancelqty:
  12125. description: 撤销数量
  12126. type: integer
  12127. canceltime:
  12128. description: 撤销时间
  12129. type: string
  12130. cerno:
  12131. type: string
  12132. chargealgorithm:
  12133. description: 手续费收取方式 1:比率 2:固定
  12134. type: integer
  12135. chargealgorithmvalue:
  12136. description: 手续费设置值(交易所部分)
  12137. type: number
  12138. chargealgorithmvalue2:
  12139. description: 手续费设置值(会员部分)
  12140. type: number
  12141. clientordertime:
  12142. description: 客户端委托时间
  12143. type: string
  12144. cpcertno:
  12145. type: string
  12146. exchangerate:
  12147. description: 汇率[67]
  12148. type: number
  12149. firstratio:
  12150. description: 首付比率 - [挂牌时指定,摘牌时使用]
  12151. type: number
  12152. fixedprice:
  12153. description: '[克拉单价]固定价格 - [挂牌]'
  12154. type: number
  12155. freezecharge:
  12156. description: 冻结手续费
  12157. type: number
  12158. freezefirstamount:
  12159. description: 冻结首付金额 - [摘牌]
  12160. type: number
  12161. freezemargin:
  12162. description: 冻结保证金
  12163. type: number
  12164. goodsno:
  12165. description: 商品编号
  12166. type: string
  12167. imagepath:
  12168. type: string
  12169. isspecified:
  12170. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  12171. type: integer
  12172. kppath:
  12173. type: string
  12174. kpweight:
  12175. type: string
  12176. marginalgorithm:
  12177. description: 保证金方式 - 1:比率 2:固定
  12178. type: integer
  12179. marginvalue:
  12180. description: 保证金设置值
  12181. type: number
  12182. marketid:
  12183. description: 市场ID
  12184. type: integer
  12185. marketprice:
  12186. type: string
  12187. orderamount:
  12188. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  12189. type: number
  12190. ordertime:
  12191. description: 委托时间
  12192. type: string
  12193. performancetemplateid:
  12194. description: 履约计划模板ID
  12195. type: integer
  12196. price:
  12197. description: 价格
  12198. type: number
  12199. pricefactor:
  12200. description: 价格系数(浮动价时填写) - [挂牌]
  12201. type: number
  12202. pricemove:
  12203. description: 升贴水(浮动价时填写) - [挂牌]
  12204. type: number
  12205. priceper:
  12206. type: string
  12207. relatedwrtradeorderid:
  12208. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  12209. type: integer
  12210. remark:
  12211. type: string
  12212. retcode:
  12213. description: 错误代码
  12214. type: integer
  12215. selledqty:
  12216. description: 成交重量
  12217. type: number
  12218. settingmaterial:
  12219. type: string
  12220. size1:
  12221. type: string
  12222. size2:
  12223. type: string
  12224. size3:
  12225. type: string
  12226. sizedisplay:
  12227. description: 尺寸
  12228. type: string
  12229. stonedesc:
  12230. type: string
  12231. totalqty:
  12232. description: 总重量
  12233. type: number
  12234. tradedate:
  12235. description: 交易日(yyyyMMdd)
  12236. type: string
  12237. tradeprice:
  12238. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  12239. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  12240. type: number
  12241. unfreezecharge:
  12242. description: 解冻手续费
  12243. type: number
  12244. unfreezefirstamount:
  12245. description: 解冻首付金额 - [摘牌]
  12246. type: number
  12247. unfreezemargin:
  12248. description: 解冻保证金
  12249. type: number
  12250. userid:
  12251. description: 用户ID
  12252. type: integer
  12253. uuid:
  12254. description: 发起端唯一id
  12255. type: string
  12256. validtime:
  12257. description: 有效期限
  12258. type: string
  12259. validtype:
  12260. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  12261. type: integer
  12262. warehousenamedisplay:
  12263. type: string
  12264. wrbargainid:
  12265. description: 议价申请单ID
  12266. type: integer
  12267. wrfactortypeid:
  12268. description: 仓单要素类型ID/商品ID(77)
  12269. type: integer
  12270. wrpath:
  12271. type: string
  12272. wrpricetype:
  12273. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  12274. type: integer
  12275. wrstandardid:
  12276. description: 现货商品ID
  12277. type: integer
  12278. wrtradeorderid:
  12279. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12280. type: string
  12281. wrtradeorderstatus:
  12282. 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:撤单解冻贷款失败
  12283. type: integer
  12284. wrtradetype:
  12285. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  12286. type: integer
  12287. wrtransferuserid:
  12288. description: 仓单受让用户 - [摘牌]
  12289. type: integer
  12290. zscategory:
  12291. description: 钻石分类 - 枚举”ZSCategory“
  12292. type: integer
  12293. zscategorydisplay:
  12294. description: 钻石分类 - 描述
  12295. type: string
  12296. zscerttypedisplay:
  12297. type: string
  12298. zsclaritytype1display:
  12299. type: string
  12300. zsclaritytype2display:
  12301. type: string
  12302. zscolortype1display:
  12303. type: string
  12304. zscolortype2display:
  12305. type: string
  12306. zscrystaltype:
  12307. type: string
  12308. zscrystaltypedisplay:
  12309. type: string
  12310. zscurrencytype:
  12311. description: 货币类型 - 枚举“ZSCurrencyType”
  12312. type: integer
  12313. zscurrencytypedisplay:
  12314. type: string
  12315. zscurrencytypedisplayunit:
  12316. type: string
  12317. zscuttype1display:
  12318. type: string
  12319. zscuttype2display:
  12320. type: string
  12321. zsczcolor1typedisplay:
  12322. type: string
  12323. zsczcolor2typedisplay:
  12324. type: string
  12325. zsczcolor3typedisplay:
  12326. type: string
  12327. zsfluorescencetype1display:
  12328. type: string
  12329. zsfluorescencetype2display:
  12330. type: string
  12331. zspolishtype1display:
  12332. type: string
  12333. zspolishtype2display:
  12334. type: string
  12335. zsshapetypedisplay:
  12336. type: string
  12337. zsstyletypedisplay:
  12338. type: string
  12339. zssymmetrytype1display:
  12340. type: string
  12341. zssymmetrytype2display:
  12342. type: string
  12343. required:
  12344. - userid
  12345. type: object
  12346. models.MyWRPosition:
  12347. properties:
  12348. cerno:
  12349. description: 证书编号 - 类型:2,4,5
  12350. type: string
  12351. cpcertno:
  12352. description: 金伯利证书编号 - 类型:3
  12353. type: string
  12354. ffreezeqty:
  12355. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  12356. type: number
  12357. ftotalqty:
  12358. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  12359. type: number
  12360. goodsno:
  12361. description: 商品编号
  12362. type: string
  12363. imagepath:
  12364. description: 商品照片(相对地址)
  12365. type: string
  12366. isvalid:
  12367. description: 是否有效 - 0:无效 1:有效
  12368. type: integer
  12369. kppath:
  12370. description: 金伯利证书图片(相对地址) - 类型:3
  12371. type: string
  12372. kpweight:
  12373. description: 金伯利证书重量 - 类型:3
  12374. type: string
  12375. ladingbillid:
  12376. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  12377. type: string
  12378. marketflag:
  12379. description: 是否上架,0-全部 1-是 2-否
  12380. type: integer
  12381. marketprice:
  12382. description: 市场价
  12383. type: string
  12384. origin:
  12385. description: 原产地 - 类型:3
  12386. type: string
  12387. price:
  12388. description: 总价(价格) - 类型:1,2,3,4,5
  12389. type: number
  12390. priceper:
  12391. description: 克拉单价 - 类型:1,2,3,5
  12392. type: string
  12393. remark:
  12394. description: 备注
  12395. type: string
  12396. sellmobile:
  12397. description: 手机号码(加密存储)
  12398. type: string
  12399. sellusername:
  12400. description: 账户名称(机构名称)
  12401. type: string
  12402. settingmaterial:
  12403. description: 镶嵌材料 - 类型:4
  12404. type: string
  12405. size1:
  12406. description: 尺寸1 - 类型:2,4,5
  12407. type: string
  12408. size2:
  12409. description: 尺寸2 - 类型:2,4,5
  12410. type: string
  12411. size3:
  12412. description: 尺寸3 - 类型:2,4,5
  12413. type: string
  12414. sizedisplay:
  12415. description: 尺寸
  12416. type: string
  12417. stonedesc:
  12418. description: 配石描述 - 类型:4
  12419. type: string
  12420. subnum:
  12421. description: 提单子单号
  12422. type: integer
  12423. userid:
  12424. description: 用户ID
  12425. type: integer
  12426. warehouseid:
  12427. description: 仓库ID
  12428. type: integer
  12429. warehousenamedisplay:
  12430. type: string
  12431. weight:
  12432. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  12433. type: number
  12434. weightavg:
  12435. description: 平均单颗重量 - 类型:1,3
  12436. type: number
  12437. wrpath:
  12438. description: 仓单扫描件(相对地址)
  12439. type: string
  12440. wrstandardid:
  12441. description: 现货商品ID
  12442. type: integer
  12443. wrtradeorderid:
  12444. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12445. type: string
  12446. wruserid:
  12447. description: 登录用户ID
  12448. type: integer
  12449. zscategory:
  12450. description: 钻石分类 - 枚举”ZSCategory“
  12451. type: integer
  12452. zscategorydisplay:
  12453. type: string
  12454. zscerttype:
  12455. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  12456. type: integer
  12457. zscerttypedisplay:
  12458. type: string
  12459. zsclaritytype1:
  12460. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  12461. type: integer
  12462. zsclaritytype1display:
  12463. type: string
  12464. zsclaritytype2:
  12465. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  12466. type: integer
  12467. zsclaritytype2display:
  12468. type: string
  12469. zscolortype1:
  12470. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  12471. type: integer
  12472. zscolortype1display:
  12473. type: string
  12474. zscolortype2:
  12475. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  12476. type: integer
  12477. zscolortype2display:
  12478. type: string
  12479. zscrystaltype:
  12480. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  12481. type: string
  12482. zscrystaltypedisplay:
  12483. type: string
  12484. zscurrencytype:
  12485. description: 货币类型 - 枚举“ZSCurrencyType”
  12486. type: integer
  12487. zscurrencytypedisplay:
  12488. type: string
  12489. zscurrencytypedisplayunit:
  12490. type: string
  12491. zscuttype1:
  12492. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  12493. type: integer
  12494. zscuttype1display:
  12495. type: string
  12496. zscuttype2:
  12497. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  12498. type: integer
  12499. zscuttype2display:
  12500. type: string
  12501. zsczcolor1type:
  12502. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  12503. type: integer
  12504. zsczcolor1typedisplay:
  12505. type: string
  12506. zsczcolor2type:
  12507. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  12508. type: integer
  12509. zsczcolor2typedisplay:
  12510. type: string
  12511. zsczcolor3type:
  12512. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  12513. type: integer
  12514. zsczcolor3typedisplay:
  12515. type: string
  12516. zsfluorescencetype1:
  12517. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  12518. type: integer
  12519. zsfluorescencetype1display:
  12520. type: string
  12521. zsfluorescencetype2:
  12522. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  12523. type: integer
  12524. zsfluorescencetype2display:
  12525. type: string
  12526. zspolishtype1:
  12527. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  12528. type: integer
  12529. zspolishtype1display:
  12530. type: string
  12531. zspolishtype2:
  12532. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  12533. type: integer
  12534. zspolishtype2display:
  12535. type: string
  12536. zsshapetype:
  12537. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  12538. type: string
  12539. zsshapetypedisplay:
  12540. type: string
  12541. zsstyletype:
  12542. description: 款式 - 类型:4
  12543. type: integer
  12544. zsstyletypedisplay:
  12545. type: string
  12546. zssymmetrytype1:
  12547. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  12548. type: integer
  12549. zssymmetrytype1display:
  12550. type: string
  12551. zssymmetrytype2:
  12552. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  12553. type: integer
  12554. zssymmetrytype2display:
  12555. type: string
  12556. required:
  12557. - wruserid
  12558. type: object
  12559. models.NewFuncmenulist:
  12560. properties:
  12561. authtype:
  12562. description: 权限类型 - 1:菜单 2:组件 3:按钮
  12563. type: integer
  12564. buttonname:
  12565. description: 按钮名称
  12566. type: string
  12567. buttontype:
  12568. description: 按钮类型 - 存按钮样式
  12569. type: string
  12570. component:
  12571. description: 组件名或组件地址
  12572. type: string
  12573. hidden:
  12574. description: 是否隐藏 - 0:显示 1:隐藏
  12575. type: integer
  12576. iconame:
  12577. description: 菜单图标
  12578. type: string
  12579. menutype:
  12580. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  12581. type: integer
  12582. parentcode:
  12583. description: 上级资源代码
  12584. type: string
  12585. remark:
  12586. description: Remark
  12587. type: string
  12588. resourcecode:
  12589. description: 资源代码
  12590. type: string
  12591. resourcelevel:
  12592. description: 级别1-一级 2-二级 3-三级4-四级
  12593. type: integer
  12594. resourcename:
  12595. description: 资源名(Title)
  12596. type: string
  12597. sort:
  12598. description: 排序
  12599. type: integer
  12600. url:
  12601. description: Url
  12602. type: string
  12603. urltype:
  12604. description: 地址类型 - 1:路由 2:外链 3:内联框架
  12605. type: integer
  12606. required:
  12607. - resourcecode
  12608. type: object
  12609. models.OperationPrimaryMenu:
  12610. properties:
  12611. Children:
  12612. description: 二级功能菜单
  12613. items:
  12614. $ref: '#/definitions/models.OperationSecondaryMenu'
  12615. type: array
  12616. Key:
  12617. description: 菜单KEY
  12618. type: string
  12619. Label:
  12620. description: 菜单标题
  12621. type: string
  12622. type: object
  12623. models.OperationSecondaryMenu:
  12624. properties:
  12625. Key:
  12626. description: 菜单KEY
  12627. type: string
  12628. Label:
  12629. description: 菜单标题
  12630. type: string
  12631. TabList:
  12632. description: 三级功能菜单
  12633. items:
  12634. $ref: '#/definitions/models.OperationTabMenu'
  12635. type: array
  12636. type: object
  12637. models.OperationTabMenu:
  12638. properties:
  12639. Key:
  12640. description: 菜单KEY
  12641. type: string
  12642. Label:
  12643. description: 菜单标题
  12644. type: string
  12645. type: object
  12646. models.Patradelinkdetail:
  12647. properties:
  12648. accountname:
  12649. description: 套期主体
  12650. type: string
  12651. agreeunit:
  12652. description: 合约乘数
  12653. type: number
  12654. amount:
  12655. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  12656. type: number
  12657. areauserid:
  12658. description: 所属机构
  12659. type: integer
  12660. bizsubjectid:
  12661. description: 归属业务部门ID - SubjectID
  12662. type: integer
  12663. buyorsell:
  12664. description: 方向 - 0:买 1:卖
  12665. type: integer
  12666. convertratio:
  12667. description: 品种系数
  12668. type: number
  12669. convertratiochange:
  12670. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  12671. type: number
  12672. createtime:
  12673. description: '[日期时间]创建时间'
  12674. type: string
  12675. creatorid:
  12676. description: 创建人ID
  12677. type: integer
  12678. creatorsrc:
  12679. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12680. type: integer
  12681. goodscode:
  12682. description: 商品代码(内部)
  12683. type: string
  12684. goodsgroupid:
  12685. description: 对冲品种ID[期货合约商品组ID]
  12686. type: integer
  12687. goodsid:
  12688. description: 商品ID
  12689. type: integer
  12690. hedgeditemid:
  12691. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12692. type: integer
  12693. hedgeflag:
  12694. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12695. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12696. type: integer
  12697. linkdetailid:
  12698. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12699. type: string
  12700. linkstatus:
  12701. description: 关联状态 - 1:成功 2:失败 3:解绑
  12702. type: integer
  12703. middlegoodsid:
  12704. description: 套保品种ID
  12705. type: integer
  12706. name:
  12707. description: 账户名/子账户
  12708. type: string
  12709. optioncode:
  12710. description: '[期货合约]期权代码 [期权]'
  12711. type: string
  12712. ordertype:
  12713. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  12714. type: integer
  12715. relatedlot:
  12716. description: '[数量]关联手数'
  12717. type: number
  12718. relatedmode:
  12719. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12720. type: integer
  12721. relatedqty:
  12722. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12723. type: number
  12724. retcode:
  12725. description: 返回码
  12726. type: integer
  12727. saleuserid:
  12728. description: 业务员ID
  12729. type: integer
  12730. tradedate:
  12731. description: 关联交易日(yyyyMMdd)
  12732. type: string
  12733. tradeid:
  12734. description: '[成交单号]内部成交单ID'
  12735. type: string
  12736. tradelot:
  12737. description: 成交手数
  12738. type: integer
  12739. tradeprice:
  12740. description: '[价格]成交价格'
  12741. type: number
  12742. tradetradedate:
  12743. description: 成交交易日(yyyyMMdd)
  12744. type: string
  12745. type: object
  12746. models.QhjAccountOutInApply:
  12747. properties:
  12748. accountcode:
  12749. description: 资金账号
  12750. type: string
  12751. accountname:
  12752. description: 用户名称(名称)
  12753. type: string
  12754. accountpwd:
  12755. description: 资金密码
  12756. type: string
  12757. accountticket:
  12758. description: 最新账户服务流水号
  12759. type: string
  12760. amount:
  12761. description: 金额
  12762. type: number
  12763. applyremark:
  12764. description: 申请备注
  12765. type: string
  12766. applystatus:
  12767. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12768. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12769. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12770. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12771. type: integer
  12772. auditid:
  12773. description: 审核人
  12774. type: integer
  12775. audittime:
  12776. description: 审核时间
  12777. type: string
  12778. bank_apply_ticket:
  12779. description: 银行申请流水
  12780. type: string
  12781. bankaccountname:
  12782. description: 银行账户名
  12783. type: string
  12784. bankaccountno:
  12785. description: 银行卡号
  12786. type: string
  12787. bankid:
  12788. description: 银行编号
  12789. type: string
  12790. bankticket:
  12791. description: 银行流水
  12792. type: string
  12793. branchbankid:
  12794. description: 银行支行号
  12795. type: string
  12796. branchbankname:
  12797. description: 银行支行名称
  12798. type: string
  12799. capamountout:
  12800. description: 出金(劣后本金) - 外部子账户
  12801. type: number
  12802. certificatephotourl:
  12803. description: 凭证地址
  12804. type: string
  12805. charge:
  12806. description: 手续费
  12807. type: number
  12808. checkerrorflag:
  12809. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12810. type: integer
  12811. currency:
  12812. description: 币种
  12813. type: string
  12814. cusbankid:
  12815. description: 托管银行编号
  12816. type: string
  12817. cusbankname:
  12818. description: 托管银行名称
  12819. type: string
  12820. cusbankshortname:
  12821. description: 托管银行简称
  12822. type: string
  12823. exchticket:
  12824. description: 银行服务流水号
  12825. type: string
  12826. executetype:
  12827. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12828. 7:外部子账户:入金 8:外部子账户:出金'
  12829. type: integer
  12830. extendinfo:
  12831. description: 扩展信息
  12832. type: string
  12833. extoperateid:
  12834. description: 交易服务流水号
  12835. type: integer
  12836. infamount:
  12837. description: 劣后金额(自有)
  12838. type: number
  12839. logincode:
  12840. description: 登录账号(账号)
  12841. type: string
  12842. netaddr:
  12843. description: 调转网址
  12844. type: string
  12845. priamount:
  12846. description: 优先金额(授信)
  12847. type: number
  12848. reauditid:
  12849. description: 复审人
  12850. type: integer
  12851. reauditremark:
  12852. description: 复审备注
  12853. type: string
  12854. reaudittime:
  12855. description: 复审时间
  12856. type: string
  12857. relatedorderid:
  12858. description: 三方关联ID
  12859. type: string
  12860. remark:
  12861. description: 备注
  12862. type: string
  12863. remark2:
  12864. description: 备注(失败原因)
  12865. type: string
  12866. soucreamount:
  12867. description: 原始出入金金额
  12868. type: number
  12869. soucrecurrencyid:
  12870. description: 原始出入金币种
  12871. type: integer
  12872. tradedate:
  12873. description: 交易日(yyyyMMdd)
  12874. type: string
  12875. updatetime:
  12876. description: 更新时间(申请时间)
  12877. type: string
  12878. userid:
  12879. description: 用户id
  12880. type: integer
  12881. userinfotype:
  12882. description: 账户类型 1-个人 2-企业
  12883. type: integer
  12884. type: object
  12885. models.QhjAgreementChangeLog:
  12886. properties:
  12887. agreementcontent:
  12888. description: 协议内容
  12889. type: string
  12890. agreementfrequency:
  12891. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12892. type: integer
  12893. agreementid:
  12894. description: 协议ID
  12895. type: integer
  12896. agreementname:
  12897. description: 协议名称
  12898. type: string
  12899. agreementno:
  12900. description: 协议编号
  12901. type: string
  12902. agreementtype:
  12903. description: 协议类型 - 1:注册 2:登录 3:交易
  12904. type: integer
  12905. agreementversion:
  12906. description: 协议版本号
  12907. type: integer
  12908. logid:
  12909. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12910. type: integer
  12911. reviserid:
  12912. description: 修改人
  12913. type: integer
  12914. revisersrc:
  12915. description: 修改来源 - 1:管理端 2:终端
  12916. type: integer
  12917. updatetime:
  12918. description: 更新时间
  12919. type: string
  12920. type: object
  12921. models.QhjAgreementConfig:
  12922. properties:
  12923. agreementcontent:
  12924. description: 协议内容
  12925. type: string
  12926. agreementfrequency:
  12927. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12928. type: integer
  12929. agreementid:
  12930. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12931. type: integer
  12932. agreementname:
  12933. description: 协议名称
  12934. type: string
  12935. agreementno:
  12936. description: 协议编号
  12937. type: string
  12938. agreementtype:
  12939. description: 协议类型 - 1:注册 2:登录 3:交易
  12940. type: integer
  12941. agreementversion:
  12942. description: 协议版本号(从1开始每次修改加1)
  12943. type: integer
  12944. createtime:
  12945. description: 创建时间
  12946. type: string
  12947. creatorid:
  12948. description: 创建人
  12949. type: integer
  12950. creatorsrc:
  12951. description: 创建来源 - 1:管理端 2:终端
  12952. type: integer
  12953. isvalid:
  12954. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12955. type: integer
  12956. reviserid:
  12957. description: 修改人
  12958. type: integer
  12959. revisersrc:
  12960. description: 修改来源 - 1:管理端 2:终端
  12961. type: integer
  12962. updatetime:
  12963. description: 更新时间
  12964. type: string
  12965. type: object
  12966. models.QhjAreaFinanceConfig:
  12967. properties:
  12968. additionalratio:
  12969. description: 追加款比例
  12970. type: number
  12971. advanceratio:
  12972. description: 预付款比例
  12973. type: number
  12974. alarmratio:
  12975. description: 告警比例
  12976. type: number
  12977. consumptiondirectreward:
  12978. description: 消费直推奖励值
  12979. type: number
  12980. consumptionenabled:
  12981. description: 是否启用消费奖励 - 0:不启用 1:启用
  12982. type: integer
  12983. consumptionindirectreward:
  12984. description: 消费间推奖励值
  12985. type: number
  12986. consumptionmodel:
  12987. description: 消费奖励方式 - 1:比率 2:固定
  12988. type: integer
  12989. customerservicenum:
  12990. description: 客服电话
  12991. type: string
  12992. dayinterestrate:
  12993. description: 日利率
  12994. type: number
  12995. disableconsumptiontips:
  12996. description: 关闭消费奖励提示
  12997. type: string
  12998. modifierid:
  12999. description: 修改人ID
  13000. type: integer
  13001. modifysrc:
  13002. description: 审核来源 - 1:管理端 2:终端
  13003. type: integer
  13004. modifytime:
  13005. description: 修改时间
  13006. type: string
  13007. promotionvalue:
  13008. description: 推广奖励值(固定)
  13009. type: number
  13010. scoreconfigvalue1:
  13011. description: 提货积分配置1
  13012. type: integer
  13013. scoreconfigvalue2:
  13014. description: 提货积分配置2
  13015. type: integer
  13016. userid:
  13017. description: 机构用户ID其他做市关系,都设置为 1
  13018. type: integer
  13019. username:
  13020. description: 用户名称
  13021. type: string
  13022. type: object
  13023. models.QhjBankAccountSign:
  13024. properties:
  13025. accountcode:
  13026. description: 资金账号
  13027. type: string
  13028. accountname:
  13029. description: 资金账号对应的账号名(UserName)
  13030. type: string
  13031. accountname2:
  13032. description: 资金账号对应的账号名(UserName) - 密文
  13033. type: string
  13034. accounttype:
  13035. description: 账户类型(UserType)
  13036. type: integer
  13037. applicationtime:
  13038. description: 最后一次更新的时间
  13039. type: string
  13040. applyexchticket:
  13041. description: 申请流水
  13042. type: string
  13043. auditid:
  13044. description: 审核人
  13045. type: integer
  13046. audittime:
  13047. description: 审核时间
  13048. type: string
  13049. bankaccountname:
  13050. description: 签约银行卡账号名
  13051. type: string
  13052. bankaccountname2:
  13053. description: 签约银行卡账号名 - 密文
  13054. type: string
  13055. bankaccountno:
  13056. description: 银行卡号
  13057. type: string
  13058. bankaccountno2:
  13059. description: 银行卡号 - 密文
  13060. type: string
  13061. bankaccounttype:
  13062. description: 银行账户类型 - 1-对私; 2-对公
  13063. type: integer
  13064. bankcardtype:
  13065. description: 银行卡类型
  13066. type: integer
  13067. bankchildaccount:
  13068. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  13069. type: string
  13070. bankcity:
  13071. description: 开户行城市
  13072. type: string
  13073. bankid:
  13074. description: 签约银行ID
  13075. type: string
  13076. bankname:
  13077. description: 签约银行名称
  13078. type: string
  13079. bankprovince:
  13080. description: 开户行省份
  13081. type: string
  13082. branchbankid:
  13083. description: 签约银行支行号
  13084. type: string
  13085. branchbankname:
  13086. description: 签约银行支行名称
  13087. type: string
  13088. cardno:
  13089. description: 证件号码
  13090. type: string
  13091. cardno2:
  13092. description: 证件号码 - 密文
  13093. type: string
  13094. cardtype:
  13095. description: 证件类型
  13096. type: string
  13097. currency:
  13098. description: 币种
  13099. type: string
  13100. cusbankid:
  13101. description: 托管银行编号
  13102. type: string
  13103. direct:
  13104. description: 方向(可以判断那方先发起的签约)
  13105. type: integer
  13106. exchticket:
  13107. description: 最后一次签约成功的流水号
  13108. type: string
  13109. extendinfo:
  13110. description: 扩展信息(JSON字符串)
  13111. type: string
  13112. mobilephone:
  13113. description: 手机号
  13114. type: string
  13115. mobilephone2:
  13116. description: 手机号 - 密文
  13117. type: string
  13118. netaddr:
  13119. description: 调转网址
  13120. type: string
  13121. relateduserid:
  13122. description: 关联使用者userid
  13123. type: integer
  13124. signstatus:
  13125. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13126. 10:审核拒绝 11:换签待审核
  13127. type: integer
  13128. updatetime:
  13129. description: 更新时间(签解约更新时间)
  13130. type: string
  13131. type: object
  13132. models.QhjBankInfo:
  13133. properties:
  13134. bankid:
  13135. description: 银行ID
  13136. type: string
  13137. bankname:
  13138. description: 银行名称
  13139. type: string
  13140. clearbankno:
  13141. description: 清算系统银行编号
  13142. type: string
  13143. orderindex:
  13144. description: 排序顺序
  13145. type: integer
  13146. status:
  13147. description: 状态 - 0:正常 1:注销
  13148. type: integer
  13149. type: object
  13150. models.QhjBrokerApply:
  13151. properties:
  13152. applicantid:
  13153. description: 申请人
  13154. type: integer
  13155. applysrc:
  13156. description: 申请来源 - 1:管理端 2:终端
  13157. type: integer
  13158. applystatus:
  13159. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13160. type: integer
  13161. applytime:
  13162. description: 申请时间
  13163. type: string
  13164. auditorid:
  13165. description: 审核人
  13166. type: integer
  13167. auditremark:
  13168. description: 审核备注
  13169. type: string
  13170. auditsrc:
  13171. description: 审核来源 - 1:管理端 2:终端
  13172. type: integer
  13173. audittime:
  13174. description: 审核时间
  13175. type: string
  13176. audittradedate:
  13177. description: 审核交易日(yyyyMMdd)
  13178. type: string
  13179. brokerapplyid:
  13180. description: 申请ID(SEQ_BROKERAPPLY)
  13181. type: integer
  13182. cardbackphotourl:
  13183. description: 证件背面图片地址
  13184. type: string
  13185. cardfrontphotourl:
  13186. description: 证件正面图片地址
  13187. type: string
  13188. cardnum:
  13189. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13190. type: string
  13191. customername:
  13192. description: 姓名
  13193. type: string
  13194. logincode:
  13195. description: 登录代码
  13196. type: string
  13197. mobile:
  13198. description: 手机号码
  13199. type: string
  13200. parentuserid:
  13201. description: 所属机构id
  13202. type: integer
  13203. parentusername:
  13204. description: 所属机构名称
  13205. type: string
  13206. refereeuserid:
  13207. description: 推荐人id(经纪人)
  13208. type: integer
  13209. refernum:
  13210. description: 推荐码
  13211. type: string
  13212. remark:
  13213. description: 备注
  13214. type: string
  13215. subarealevelpath:
  13216. description: 层级路径
  13217. type: string
  13218. tradedate:
  13219. description: 交易日(yyyyMMdd)
  13220. type: string
  13221. userid:
  13222. description: 申请人用户ID
  13223. type: integer
  13224. userinfotype:
  13225. description: 用户类型 1-个人 2-企业
  13226. type: integer
  13227. username:
  13228. description: 用户名称
  13229. type: string
  13230. type: object
  13231. models.QhjBrokerApplyEx:
  13232. properties:
  13233. applylist:
  13234. description: 经纪人申请记录(只返回最新一条)
  13235. items:
  13236. $ref: '#/definitions/models.QhjBrokerApply'
  13237. type: array
  13238. canrecommend:
  13239. description: 是否经纪人 0-不是 1-是
  13240. type: integer
  13241. refernum:
  13242. description: 推荐码
  13243. type: string
  13244. userid:
  13245. description: 用户id
  13246. type: integer
  13247. userinfotype:
  13248. description: 用户类型 1-个人 2-企业
  13249. type: integer
  13250. type: object
  13251. models.QhjBrokerRewardLog:
  13252. properties:
  13253. accountid:
  13254. description: 资金账号ID
  13255. type: integer
  13256. createtime:
  13257. description: 创建时间(时间)
  13258. type: string
  13259. handlestatus:
  13260. description: 处理状态
  13261. type: integer
  13262. logid:
  13263. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13264. type: string
  13265. marketid:
  13266. description: 市场ID
  13267. type: integer
  13268. mmaccountid:
  13269. description: 做市商资金账号ID
  13270. type: string
  13271. mmuserid:
  13272. description: 做市商用户ID
  13273. type: string
  13274. rewardamount:
  13275. description: 奖励金额
  13276. type: number
  13277. rewardmodel:
  13278. description: 消费奖励方式 - 1:比率 2:固定
  13279. type: integer
  13280. rewardtype:
  13281. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  13282. type: integer
  13283. rewardvalue:
  13284. description: 配置奖励值
  13285. type: number
  13286. srcamount:
  13287. description: 成交金额 [消费奖励] (金额)
  13288. type: number
  13289. srcgoodsid:
  13290. description: 来源商品ID [消费奖励]
  13291. type: string
  13292. srctime:
  13293. description: 来源时间 (成交时间) [消费奖励]
  13294. type: string
  13295. srctradeid:
  13296. description: 来源成交单ID [消费奖励] - 排除提货成交
  13297. type: string
  13298. srcuserid:
  13299. description: 来源用户ID(推广账户)
  13300. type: string
  13301. srcusername:
  13302. description: 推广账户名称
  13303. type: string
  13304. tradedate:
  13305. description: 交易日(yyyyMMdd)
  13306. type: string
  13307. userid:
  13308. description: 经纪人用户ID
  13309. type: integer
  13310. type: object
  13311. models.QhjContract:
  13312. properties:
  13313. contractconfirmtime:
  13314. description: 合同确认时间(时间)
  13315. type: string
  13316. currisklevel:
  13317. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13318. type: integer
  13319. decimalplace:
  13320. description: 商品报价小数位
  13321. type: integer
  13322. enumdicname:
  13323. description: 单位名称
  13324. type: string
  13325. goodscode:
  13326. description: 商品代码
  13327. type: string
  13328. goodsid:
  13329. description: 商品ID [5:融资单]
  13330. type: integer
  13331. goodsname:
  13332. description: 商品名称
  13333. type: string
  13334. goodunitid:
  13335. description: 商品单位id
  13336. type: integer
  13337. initmargin:
  13338. description: 初始保证金(首付款)
  13339. type: number
  13340. lenderamount:
  13341. description: 贷款金额(总额|订单总额)
  13342. type: number
  13343. marginratio:
  13344. description: 保证金比率(首付比例)
  13345. type: number
  13346. payamount:
  13347. description: 已付(已付货款)
  13348. type: number
  13349. reckonrecovermargin:
  13350. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13351. type: number
  13352. recoveredmargin:
  13353. description: 已追缴保证金
  13354. type: number
  13355. remainamount:
  13356. description: 合同剩余金额(融资额)
  13357. type: number
  13358. scfcontractid:
  13359. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13360. type: string
  13361. scfcontractstatus:
  13362. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13363. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13364. type: integer
  13365. scfcontracttype:
  13366. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13367. type: integer
  13368. totalinterest:
  13369. description: 已计总利息(利息)
  13370. type: number
  13371. tradeprice:
  13372. description: 成交价格(成本价格)
  13373. type: number
  13374. userid:
  13375. description: 用户ID
  13376. type: integer
  13377. username:
  13378. description: 用户名称
  13379. type: string
  13380. wrqty:
  13381. description: 仓单数量(数量)
  13382. type: number
  13383. type: object
  13384. models.QhjContractLog:
  13385. properties:
  13386. amount:
  13387. description: 支付金额
  13388. type: number
  13389. amounttype:
  13390. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  13391. type: integer
  13392. logid:
  13393. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13394. type: string
  13395. remainamount:
  13396. description: 剩余货款
  13397. type: number
  13398. scfcontractid:
  13399. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13400. type: integer
  13401. updatetime:
  13402. description: 更新时间
  13403. type: string
  13404. type: object
  13405. models.QhjCusBankSignBankEx:
  13406. properties:
  13407. banklst:
  13408. description: 银行列表
  13409. items:
  13410. $ref: '#/definitions/models.QhjBankInfo'
  13411. type: array
  13412. canallot:
  13413. description: 是否支持跨行调拨 - 0:不支持 1:支持
  13414. type: integer
  13415. canallotquery:
  13416. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  13417. type: integer
  13418. canbindcard:
  13419. description: 是否可绑卡与解卡 - 0:不可 1:可以
  13420. type: integer
  13421. caninamount:
  13422. description: 是否可入金 - 0:不可 1:可以
  13423. type: integer
  13424. caninamount2:
  13425. description: 是否可入金(网银端) - 0:不可 1:可以
  13426. type: integer
  13427. canmodifybankcard:
  13428. description: 是否可修改银行卡号 - 0:不可 1:可以
  13429. type: integer
  13430. canmodifyphone:
  13431. description: 是否可修改手机号 - 0:不可 1:可以
  13432. type: integer
  13433. canmodifysigninfo:
  13434. description: 是否可修改签约信息 - 0:不可 1:可以
  13435. type: integer
  13436. canoutamount:
  13437. description: 是否可出金 - 0:不可 1:可以
  13438. type: integer
  13439. canoutamount2:
  13440. description: 是否可出金(网银端) - 0:不可 1:可以
  13441. type: integer
  13442. canrelease:
  13443. description: 是否可解约 - 0:不可 1:可以
  13444. type: integer
  13445. canrelease2:
  13446. description: 是否可解约(网银端) - 0:不可 1:可以
  13447. type: integer
  13448. cansign:
  13449. description: 是否可签约 - 0:不可 1:可以
  13450. type: integer
  13451. cansign2:
  13452. description: 是否可签约(网银端) - 0:不可 1:可以
  13453. type: integer
  13454. currency:
  13455. description: 币种
  13456. type: string
  13457. cusbankid:
  13458. description: 托管银行编号(对应清算中心TRAN_NO)
  13459. type: string
  13460. cusbankname:
  13461. description: 银行业务名称
  13462. type: string
  13463. cusbankshortname:
  13464. description: 银行业务简称
  13465. type: string
  13466. exchbankid:
  13467. description: 交易所开户银行ID
  13468. type: string
  13469. exchpaybankaccname:
  13470. description: 交易所支出结算账户户名
  13471. type: string
  13472. exchpaybankaccno:
  13473. description: 交易所支出结算账户
  13474. type: string
  13475. isneedcheck:
  13476. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  13477. type: integer
  13478. isneedclear:
  13479. description: 是否需要清算 - 0:不需要 1:需要
  13480. type: integer
  13481. lastcheckstatus:
  13482. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  13483. type: integer
  13484. lastchecktime:
  13485. description: 最后对账时间
  13486. type: string
  13487. lastclearstatus:
  13488. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  13489. type: integer
  13490. lastcleartime:
  13491. description: 最后清算时间
  13492. type: string
  13493. lastsignintime:
  13494. description: 最后签到时间
  13495. type: string
  13496. lastsignouttime:
  13497. description: 最后签退时间
  13498. type: string
  13499. riskinfo:
  13500. description: 签约风险提示书
  13501. type: string
  13502. signstatus:
  13503. description: 当前签到/签退状态 - 1:签到 2:签退
  13504. type: integer
  13505. tradedate:
  13506. description: 交易日(yyyyMMdd)
  13507. type: string
  13508. updatetime:
  13509. description: 当前签到/签退更新时间
  13510. type: string
  13511. type: object
  13512. models.QhjCustomer:
  13513. properties:
  13514. address:
  13515. description: 通讯地址
  13516. type: string
  13517. attachment1:
  13518. description: 附件1
  13519. type: string
  13520. attachment2:
  13521. description: 附件2
  13522. type: string
  13523. audittime:
  13524. description: 审核时间
  13525. type: string
  13526. cardbackphotourl:
  13527. description: 证件反面图片地址
  13528. type: string
  13529. cardfrontphotourl:
  13530. description: 证件正面图片地址
  13531. type: string
  13532. cardnum:
  13533. description: 证件号码
  13534. type: string
  13535. cardtype:
  13536. description: 证件类型
  13537. type: integer
  13538. cardtypename:
  13539. description: 证件类型名称
  13540. type: string
  13541. cityid:
  13542. description: 市
  13543. type: integer
  13544. cityname:
  13545. description: 城市名称
  13546. type: string
  13547. contactname:
  13548. description: 联系人
  13549. type: string
  13550. countryid:
  13551. description: 国家
  13552. type: integer
  13553. countryname:
  13554. description: 国家名称
  13555. type: string
  13556. createtime:
  13557. description: 创建时间
  13558. type: string
  13559. customername:
  13560. description: 客户名称
  13561. type: string
  13562. districtid:
  13563. description: 区域
  13564. type: integer
  13565. districtname:
  13566. description: 地区名称
  13567. type: string
  13568. email:
  13569. description: 邮件
  13570. type: string
  13571. legalpersonname:
  13572. description: 法人姓名(企业)
  13573. type: string
  13574. logincode:
  13575. description: 登录账号(代码)
  13576. type: string
  13577. memberuserid:
  13578. description: 所属机构ID(所属会员)
  13579. type: integer
  13580. memberusername:
  13581. description: 所属会员名称
  13582. type: string
  13583. mobile:
  13584. description: 手机号码
  13585. type: string
  13586. modifytime:
  13587. description: 修改时间
  13588. type: string
  13589. nickname:
  13590. description: 昵称
  13591. type: string
  13592. parentuserid:
  13593. description: 上级机构(所属机构)
  13594. type: integer
  13595. parentusername:
  13596. description: 所属机构名称
  13597. type: string
  13598. provinceid:
  13599. description: 省
  13600. type: integer
  13601. provincename:
  13602. description: 省名称
  13603. type: string
  13604. proxystatementurl:
  13605. description: 授权委托书
  13606. type: string
  13607. remark:
  13608. description: 备注
  13609. type: string
  13610. status:
  13611. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  13612. type: integer
  13613. statusdesc:
  13614. description: 账户状态中文描述
  13615. type: string
  13616. taxpayernum:
  13617. description: 纳税人识别号
  13618. type: string
  13619. telphone:
  13620. description: 联系电话
  13621. type: string
  13622. userid:
  13623. description: 用户ID
  13624. type: integer
  13625. userinfotype:
  13626. description: 客户类型 1-个人 2-企业
  13627. type: integer
  13628. username:
  13629. description: 用户名称
  13630. type: string
  13631. type: object
  13632. models.QhjCustomerSignLog:
  13633. properties:
  13634. agreementcontent:
  13635. description: 协议内容
  13636. type: string
  13637. agreementid:
  13638. description: 协议ID
  13639. type: integer
  13640. agreementname:
  13641. description: 协议名称
  13642. type: string
  13643. agreementno:
  13644. description: 协议编号
  13645. type: string
  13646. agreementtype:
  13647. description: 协议类型 - 1:注册 2:登录 3:交易
  13648. type: integer
  13649. agreementversion:
  13650. description: 协议版本号
  13651. type: integer
  13652. createtime:
  13653. description: 创建时间
  13654. type: string
  13655. goodscode:
  13656. description: 商品代码
  13657. type: string
  13658. goodsid:
  13659. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13660. type: integer
  13661. goodsname:
  13662. description: 商品名称
  13663. type: string
  13664. logid:
  13665. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  13666. type: integer
  13667. nodetype:
  13668. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13669. type: integer
  13670. signadressurl:
  13671. description: 签约文件地址
  13672. type: string
  13673. signtimestamp:
  13674. description: 签约状态时间戳
  13675. type: string
  13676. userid:
  13677. description: 客户ID
  13678. type: integer
  13679. username:
  13680. description: 客户名称
  13681. type: string
  13682. type: object
  13683. models.QhjCustomerSignStatus:
  13684. properties:
  13685. createtime:
  13686. description: 创建时间
  13687. type: string
  13688. goodscode:
  13689. description: 商品代码
  13690. type: string
  13691. goodsid:
  13692. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13693. type: integer
  13694. goodsname:
  13695. description: 商品名称
  13696. type: string
  13697. nodetype:
  13698. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  13699. type: integer
  13700. signtimestamp:
  13701. description: 签约状态时间戳
  13702. type: string
  13703. tradedate:
  13704. description: 创建交易日(yyyyMMdd)
  13705. type: string
  13706. updatetime:
  13707. description: 更新时间
  13708. type: string
  13709. userid:
  13710. description: 客户ID
  13711. type: integer
  13712. username:
  13713. description: 客户名称
  13714. type: string
  13715. type: object
  13716. models.QhjMgrAccountOutInApply:
  13717. properties:
  13718. accountcode:
  13719. description: 资金账号
  13720. type: string
  13721. accountname:
  13722. description: 用户名称(名称)
  13723. type: string
  13724. accountpwd:
  13725. description: 资金密码
  13726. type: string
  13727. accountticket:
  13728. description: 最新账户服务流水号
  13729. type: string
  13730. amount:
  13731. description: 金额
  13732. type: number
  13733. applyremark:
  13734. description: 申请备注
  13735. type: string
  13736. applystatus:
  13737. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  13738. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  13739. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  13740. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  13741. type: integer
  13742. auditid:
  13743. description: 审核人
  13744. type: integer
  13745. audittime:
  13746. description: 审核时间
  13747. type: string
  13748. bank_apply_ticket:
  13749. description: 银行申请流水
  13750. type: string
  13751. bankaccountname:
  13752. description: 银行账户名
  13753. type: string
  13754. bankaccountno:
  13755. description: 银行卡号
  13756. type: string
  13757. bankid:
  13758. description: 银行编号
  13759. type: string
  13760. bankname:
  13761. description: 银行名称
  13762. type: string
  13763. bankticket:
  13764. description: 银行流水
  13765. type: string
  13766. branchbankid:
  13767. description: 银行支行号
  13768. type: string
  13769. branchbankname:
  13770. description: 银行支行名称
  13771. type: string
  13772. capamountout:
  13773. description: 出金(劣后本金) - 外部子账户
  13774. type: number
  13775. certificatephotourl:
  13776. description: 凭证地址
  13777. type: string
  13778. charge:
  13779. description: 手续费
  13780. type: number
  13781. checkerrorflag:
  13782. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  13783. type: integer
  13784. currency:
  13785. description: 币种
  13786. type: string
  13787. cusbankid:
  13788. description: 托管银行编号
  13789. type: string
  13790. exchticket:
  13791. description: 银行服务流水号
  13792. type: string
  13793. executetype:
  13794. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  13795. 7:外部子账户:入金 8:外部子账户:出金'
  13796. type: integer
  13797. extendinfo:
  13798. description: 扩展信息
  13799. type: string
  13800. extoperateid:
  13801. description: 交易服务流水号
  13802. type: integer
  13803. infamount:
  13804. description: 劣后金额(自有)
  13805. type: number
  13806. logincode:
  13807. description: 登录账号(账号)
  13808. type: string
  13809. netaddr:
  13810. description: 调转网址
  13811. type: string
  13812. priamount:
  13813. description: 优先金额(授信)
  13814. type: number
  13815. reauditid:
  13816. description: 复审人
  13817. type: integer
  13818. reauditremark:
  13819. description: 复审备注
  13820. type: string
  13821. reaudittime:
  13822. description: 复审时间
  13823. type: string
  13824. relatedorderid:
  13825. description: 三方关联ID
  13826. type: string
  13827. remark:
  13828. description: 备注
  13829. type: string
  13830. remark2:
  13831. description: 备注(失败原因)
  13832. type: string
  13833. soucreamount:
  13834. description: 原始出入金金额
  13835. type: number
  13836. soucrecurrencyid:
  13837. description: 原始出入金币种
  13838. type: integer
  13839. tradedate:
  13840. description: 交易日(yyyyMMdd)
  13841. type: string
  13842. updatetime:
  13843. description: 更新时间(申请时间)
  13844. type: string
  13845. userid:
  13846. description: 用户id
  13847. type: integer
  13848. userinfotype:
  13849. description: 账户类型 1-个人 2-企业
  13850. type: integer
  13851. type: object
  13852. models.QhjMgrBrokerApply:
  13853. properties:
  13854. applicantid:
  13855. description: 申请人
  13856. type: integer
  13857. applysrc:
  13858. description: 申请来源 - 1:管理端 2:终端
  13859. type: integer
  13860. applystatus:
  13861. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13862. type: integer
  13863. applytime:
  13864. description: 申请时间
  13865. type: string
  13866. auditorid:
  13867. description: 审核人
  13868. type: integer
  13869. auditremark:
  13870. description: 审核备注
  13871. type: string
  13872. auditsrc:
  13873. description: 审核来源 - 1:管理端 2:终端
  13874. type: integer
  13875. audittime:
  13876. description: 审核时间
  13877. type: string
  13878. audittradedate:
  13879. description: 审核交易日(yyyyMMdd)
  13880. type: string
  13881. brokerapplyid:
  13882. description: 申请ID(SEQ_BROKERAPPLY)
  13883. type: integer
  13884. cardbackphotourl:
  13885. description: 证件背面图片地址
  13886. type: string
  13887. cardfrontphotourl:
  13888. description: 证件正面图片地址
  13889. type: string
  13890. cardnum:
  13891. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13892. type: string
  13893. customername:
  13894. description: 姓名
  13895. type: string
  13896. filterstatus:
  13897. description: 筛选条件
  13898. type: string
  13899. logincode:
  13900. description: 登录代码
  13901. type: string
  13902. mobile:
  13903. description: 手机号码
  13904. type: string
  13905. parentuserid:
  13906. description: 所属机构id
  13907. type: integer
  13908. parentusername:
  13909. description: 所属机构名称
  13910. type: string
  13911. refereeuserid:
  13912. description: 推荐人id(经纪人)
  13913. type: integer
  13914. refernum:
  13915. description: 推荐码
  13916. type: string
  13917. remark:
  13918. description: 备注
  13919. type: string
  13920. subarealevelpath:
  13921. description: 层级路径
  13922. type: string
  13923. tradedate:
  13924. description: 交易日(yyyyMMdd)
  13925. type: string
  13926. userid:
  13927. description: 申请人用户ID
  13928. type: integer
  13929. userinfotype:
  13930. description: 用户类型 1-个人 2-企业
  13931. type: integer
  13932. username:
  13933. description: 用户名称
  13934. type: string
  13935. type: object
  13936. models.QhjMgrBrokerRewardReport:
  13937. properties:
  13938. createtime:
  13939. description: 创建时间(注册时间)
  13940. type: string
  13941. cycletime:
  13942. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13943. type: string
  13944. cycletype:
  13945. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13946. type: integer
  13947. directtotalnum:
  13948. description: 直推总人数【期末】
  13949. type: integer
  13950. indirecttotalnum:
  13951. description: 间推总人数【期末】
  13952. type: integer
  13953. mobile:
  13954. description: 电话号码
  13955. type: string
  13956. refereeuserid:
  13957. description: 推荐人id(经纪人id)
  13958. type: integer
  13959. refereeusername:
  13960. description: 推荐人名称(经纪人) 上级经纪人名称
  13961. type: string
  13962. refernum:
  13963. description: 推荐码
  13964. type: string
  13965. subarealevelpath:
  13966. description: 用户层级路径
  13967. type: string
  13968. todayrewardamount:
  13969. description: 奖励总金额【汇总】
  13970. type: number
  13971. updatetime:
  13972. description: 更新时间
  13973. type: string
  13974. userid:
  13975. description: 经纪人用户ID
  13976. type: integer
  13977. userinfotype:
  13978. description: 用户类型 1-个人 2-企业
  13979. type: integer
  13980. username:
  13981. description: 用户名称
  13982. type: string
  13983. type: object
  13984. models.QhjMgrContract:
  13985. properties:
  13986. contractconfirmtime:
  13987. description: 合同确认时间(时间)
  13988. type: string
  13989. currisklevel:
  13990. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13991. type: integer
  13992. decimalplace:
  13993. description: 商品报价小数位
  13994. type: integer
  13995. enumdicname:
  13996. description: 单位名称
  13997. type: string
  13998. goodscode:
  13999. description: 商品代码
  14000. type: string
  14001. goodsid:
  14002. description: 商品ID [5:融资单]
  14003. type: integer
  14004. goodsname:
  14005. description: 商品名称
  14006. type: string
  14007. goodunitid:
  14008. description: 商品单位id
  14009. type: integer
  14010. initmargin:
  14011. description: 初始保证金(首付款)
  14012. type: number
  14013. lenderamount:
  14014. description: 贷款金额(总额|订单总额)
  14015. type: number
  14016. logincode:
  14017. description: 账号(登录代码)
  14018. type: string
  14019. marginratio:
  14020. description: 保证金比率(首付比例)
  14021. type: number
  14022. mobile:
  14023. description: 电话号码(用户资料里的电话)
  14024. type: string
  14025. payamount:
  14026. description: 已付(已付货款)
  14027. type: number
  14028. reckonrecovermargin:
  14029. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  14030. type: number
  14031. recoveredmargin:
  14032. description: 已追缴保证金
  14033. type: number
  14034. remainamount:
  14035. description: 合同剩余金额(融资额)
  14036. type: number
  14037. scfcontractid:
  14038. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  14039. type: string
  14040. scfcontractstatus:
  14041. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  14042. 9:违约结束 10:已注销 11:已关闭 99:未提交
  14043. type: integer
  14044. scfcontracttype:
  14045. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  14046. type: integer
  14047. totalinterest:
  14048. description: 已计总利息(利息)
  14049. type: number
  14050. tradedate:
  14051. description: 交易日
  14052. type: string
  14053. tradeprice:
  14054. description: 成交价格(成本价格)
  14055. type: number
  14056. userid:
  14057. description: 用户ID
  14058. type: integer
  14059. userinfotype:
  14060. description: 用户类型 1-个人 2-企业
  14061. type: integer
  14062. username:
  14063. description: 用户名称
  14064. type: string
  14065. wrqty:
  14066. description: 仓单数量(数量)
  14067. type: number
  14068. type: object
  14069. models.QhjMgrCustomer:
  14070. properties:
  14071. address:
  14072. description: 通讯地址
  14073. type: string
  14074. attachment1:
  14075. description: 附件1
  14076. type: string
  14077. audittime:
  14078. description: 审核时间
  14079. type: string
  14080. birthday:
  14081. description: 生日
  14082. type: string
  14083. brokerid:
  14084. description: 所属客户经理id
  14085. type: integer
  14086. brokername:
  14087. description: 所属客户经理名称
  14088. type: string
  14089. cardbackphotourl:
  14090. description: 证件反面图片地址
  14091. type: string
  14092. cardfrontphotourl:
  14093. description: 证件正面图片地址
  14094. type: string
  14095. cardnum:
  14096. description: 证件号码
  14097. type: string
  14098. cardtype:
  14099. description: 证件类型
  14100. type: integer
  14101. cardtypename:
  14102. description: 证件类型名称
  14103. type: string
  14104. cityid:
  14105. description: 市
  14106. type: integer
  14107. cityname:
  14108. description: 城市名称
  14109. type: string
  14110. contactname:
  14111. description: 联系人
  14112. type: string
  14113. countryid:
  14114. description: 国家
  14115. type: integer
  14116. countryname:
  14117. description: 国家名称
  14118. type: string
  14119. createtime:
  14120. description: 创建时间
  14121. type: string
  14122. customername:
  14123. description: 客户名称
  14124. type: string
  14125. districtid:
  14126. description: 区域
  14127. type: integer
  14128. districtname:
  14129. description: 地区名称
  14130. type: string
  14131. email:
  14132. description: 邮件
  14133. type: string
  14134. legalpersonname:
  14135. description: 法人姓名(企业)
  14136. type: string
  14137. logincode:
  14138. description: 登录账号(代码)
  14139. type: string
  14140. memberuserid:
  14141. description: 所属机构ID(所属会员)
  14142. type: integer
  14143. memberusername:
  14144. description: 所属会员名称
  14145. type: string
  14146. mobile:
  14147. description: 手机号码
  14148. type: string
  14149. modifytime:
  14150. description: 修改时间
  14151. type: string
  14152. nickname:
  14153. description: 昵称
  14154. type: string
  14155. parentuserid:
  14156. description: 上级机构(所属机构)
  14157. type: integer
  14158. parentusername:
  14159. description: 所属机构名称
  14160. type: string
  14161. provinceid:
  14162. description: 省
  14163. type: integer
  14164. provincename:
  14165. description: 省名称
  14166. type: string
  14167. proxystatementurl:
  14168. description: 授权委托书
  14169. type: string
  14170. querytype:
  14171. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  14172. type: integer
  14173. remark:
  14174. description: 备注
  14175. type: string
  14176. sex:
  14177. description: 性别 0-女 1-男
  14178. type: integer
  14179. status:
  14180. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  14181. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  14182. type: integer
  14183. statusdesc:
  14184. description: 账户状态中文描述
  14185. type: string
  14186. taxpayernum:
  14187. description: 纳税人识别号
  14188. type: string
  14189. telphone:
  14190. description: 联系电话
  14191. type: string
  14192. userid:
  14193. description: 用户ID
  14194. type: integer
  14195. userinfotype:
  14196. description: 客户类型 1-个人 2-企业
  14197. type: integer
  14198. username:
  14199. description: 用户名称
  14200. type: string
  14201. type: object
  14202. models.QhjMgrPickGoods:
  14203. properties:
  14204. enumdicname:
  14205. description: 单位名称(提货商品)
  14206. type: string
  14207. goodsid:
  14208. description: 商品id
  14209. type: integer
  14210. imageaddress:
  14211. description: 图片
  14212. type: string
  14213. modifierid:
  14214. description: 修改人
  14215. type: integer
  14216. modifiername:
  14217. description: 修改人名称
  14218. type: string
  14219. modifysrc:
  14220. description: 修改来源 - 1:管理端 2:终端
  14221. type: integer
  14222. pickupgoodsagreeunit:
  14223. description: 合约乘数
  14224. type: number
  14225. pickupgoodsdesc:
  14226. description: 描述
  14227. type: string
  14228. pickupgoodsid:
  14229. description: 提货商品ID
  14230. type: string
  14231. pickupgoodsname:
  14232. description: 提货商品名称
  14233. type: string
  14234. pickupgoodsstatus:
  14235. description: 状态 - 1:正常 2:停用 3:注销
  14236. type: integer
  14237. pickupgoodsunitid:
  14238. description: 单位ID
  14239. type: integer
  14240. pickupratio:
  14241. description: 提货系数
  14242. type: number
  14243. preparedays:
  14244. description: 备货期(天)
  14245. type: integer
  14246. remark:
  14247. description: 备注
  14248. type: string
  14249. updatetime:
  14250. description: 更新时间
  14251. type: string
  14252. type: object
  14253. models.QhjMgrPositionRsp:
  14254. properties:
  14255. accountid:
  14256. description: 账号Id
  14257. type: integer
  14258. accountname:
  14259. description: 用户名称
  14260. type: string
  14261. agreeunit:
  14262. description: 合约乘数
  14263. type: number
  14264. averageprice:
  14265. description: 均价
  14266. type: number
  14267. avialqty:
  14268. description: 可用数量
  14269. type: number
  14270. decimalplace:
  14271. description: 报价小数位
  14272. type: integer
  14273. enumdicname:
  14274. description: 单位名称(商品)
  14275. type: string
  14276. frozenqty:
  14277. description: 冻结数量
  14278. type: number
  14279. goodscode:
  14280. description: 商品代码(内部)
  14281. type: string
  14282. goodsid:
  14283. description: 商品Id
  14284. type: integer
  14285. goodsname:
  14286. description: 商品名称
  14287. type: string
  14288. goodunitid:
  14289. description: 报价单位ID
  14290. type: integer
  14291. holderamount:
  14292. description: 金额
  14293. type: number
  14294. holderqty:
  14295. description: 持有数量
  14296. type: number
  14297. holdertype:
  14298. description: 持仓类别 - 1:单边持仓 2:双边持仓
  14299. type: integer
  14300. logincode:
  14301. description: 登录代码(账户)
  14302. type: string
  14303. marketid:
  14304. description: 市场id
  14305. type: integer
  14306. qtydecimalplace:
  14307. description: 成交量小数位
  14308. type: integer
  14309. trademode:
  14310. description: 交易模式
  14311. type: integer
  14312. userid:
  14313. description: 用户id
  14314. type: integer
  14315. userinfotype:
  14316. description: 账户类型 1-个人 2-企业
  14317. type: integer
  14318. type: object
  14319. models.QhjMgrSubArea:
  14320. properties:
  14321. accountname:
  14322. description: 账户名称(机构名称)
  14323. type: string
  14324. memberuserid:
  14325. description: 所属会员ID
  14326. type: integer
  14327. parenttopuser:
  14328. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14329. type: string
  14330. parentuserid:
  14331. description: 所属机构ID
  14332. type: integer
  14333. rootuserid:
  14334. description: 根用户ID
  14335. type: string
  14336. subaccountlevel:
  14337. description: 子账户层数
  14338. type: integer
  14339. subarealevelpath:
  14340. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14341. type: string
  14342. userid:
  14343. description: 用户ID
  14344. type: integer
  14345. usertype:
  14346. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14347. type: integer
  14348. type: object
  14349. models.QhjMgrTradeDetailRsp:
  14350. properties:
  14351. accountid:
  14352. description: 资金账号
  14353. type: integer
  14354. accountname:
  14355. description: 用户名称
  14356. type: string
  14357. agreeunit:
  14358. description: 合约乘数
  14359. type: number
  14360. buyorsell:
  14361. description: 成交类型(方向) 0:买 1:卖
  14362. type: integer
  14363. decimalplace:
  14364. description: 报价小数位
  14365. type: integer
  14366. enumdicname:
  14367. description: 单位名称(商品)
  14368. type: string
  14369. goodscode:
  14370. description: 商品代码(内部)
  14371. type: string
  14372. goodsid:
  14373. description: 商品id
  14374. type: integer
  14375. goodsname:
  14376. description: 商品名称
  14377. type: string
  14378. goodunitid:
  14379. description: 报价单位ID
  14380. type: integer
  14381. logincode:
  14382. description: 登录代码(账户)
  14383. type: string
  14384. marketid:
  14385. description: 市场id
  14386. type: integer
  14387. orderid:
  14388. description: 关联委托单号
  14389. type: string
  14390. qtydecimalplace:
  14391. description: 成交量小数位
  14392. type: integer
  14393. tradeamount:
  14394. description: 金额
  14395. type: number
  14396. tradedate:
  14397. description: 交易日
  14398. type: string
  14399. tradeid:
  14400. description: 成交单号
  14401. type: string
  14402. trademode:
  14403. description: 交易模式
  14404. type: integer
  14405. tradeprice:
  14406. description: 价格
  14407. type: number
  14408. tradeqty:
  14409. description: 数量
  14410. type: number
  14411. tradetime:
  14412. description: 成交时间
  14413. type: string
  14414. userid:
  14415. description: 用户id
  14416. type: integer
  14417. userinfotype:
  14418. description: 账户类型 1-个人 2-企业
  14419. type: integer
  14420. type: object
  14421. models.QhjMgrTradeOrderDetailRsp:
  14422. properties:
  14423. accountid:
  14424. description: 资金账号
  14425. type: integer
  14426. accountname:
  14427. description: 用户名称
  14428. type: string
  14429. agreeunit:
  14430. description: 合约乘数
  14431. type: number
  14432. amount:
  14433. description: 金额
  14434. type: number
  14435. decimalplace:
  14436. description: 报价小数位
  14437. type: integer
  14438. enumdicname:
  14439. description: 单位名称(商品)
  14440. type: string
  14441. goodscode:
  14442. description: 商品代码(内部)
  14443. type: string
  14444. goodsid:
  14445. description: 商品id
  14446. type: integer
  14447. goodsname:
  14448. description: 商品名称
  14449. type: string
  14450. goodunitid:
  14451. description: 报价单位ID
  14452. type: integer
  14453. logincode:
  14454. description: 登录代码(账户)
  14455. type: string
  14456. marketid:
  14457. description: 市场id
  14458. type: integer
  14459. orderid:
  14460. description: 关联委托单号
  14461. type: string
  14462. orderprice:
  14463. description: 价格
  14464. type: number
  14465. orderqty:
  14466. description: 数量
  14467. type: number
  14468. orderstatus:
  14469. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14470. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14471. 16:成交失败违约(荷兰式竞拍专用)
  14472. type: integer
  14473. ordertime:
  14474. description: 委托时间
  14475. type: string
  14476. qtydecimalplace:
  14477. description: 成交量小数位
  14478. type: integer
  14479. tradedate:
  14480. description: 交易日
  14481. type: string
  14482. trademode:
  14483. description: 交易模式
  14484. type: integer
  14485. userid:
  14486. description: 用户id
  14487. type: integer
  14488. userinfotype:
  14489. description: 账户类型 1-个人 2-企业
  14490. type: integer
  14491. type: object
  14492. models.QhjMgrTradePayOrder:
  14493. properties:
  14494. accountname:
  14495. description: 用户名称
  14496. type: string
  14497. advanceratio:
  14498. description: 首付比率
  14499. type: number
  14500. agreeunit:
  14501. description: 合约乘数
  14502. type: number
  14503. buyaccountid:
  14504. description: 买方账号ID[报价币种]
  14505. type: integer
  14506. buyorderid:
  14507. description: 买方委托单号(关联单号)
  14508. type: string
  14509. createtime:
  14510. description: 创建时间
  14511. type: string
  14512. decimalplace:
  14513. description: 报价小数位
  14514. type: integer
  14515. enumdicname:
  14516. description: 单位名称(商品)
  14517. type: string
  14518. goodscode:
  14519. description: 商品代码(内部)
  14520. type: string
  14521. goodsid:
  14522. description: 商品ID
  14523. type: integer
  14524. goodsname:
  14525. description: 商品名称
  14526. type: string
  14527. goodunitid:
  14528. description: 报价单位ID
  14529. type: integer
  14530. logincode:
  14531. description: 登录代码(账户)
  14532. type: string
  14533. marketid:
  14534. description: 市场id
  14535. type: integer
  14536. offamount:
  14537. description: 优惠金额
  14538. type: number
  14539. operatetype:
  14540. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14541. type: integer
  14542. payamount:
  14543. description: 支付金额(金额)
  14544. type: number
  14545. payflag:
  14546. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14547. type: integer
  14548. paylimitedtime:
  14549. description: 支付期限
  14550. type: string
  14551. paytime:
  14552. description: 付款时间
  14553. type: string
  14554. qtydecimalplace:
  14555. description: 成交量小数位
  14556. type: integer
  14557. sellaccountid:
  14558. description: 卖方账号ID[报价币种]
  14559. type: integer
  14560. sellorderid:
  14561. description: 卖方委托单号
  14562. type: string
  14563. tradeamount:
  14564. description: 成交金额(优惠后金额)
  14565. type: number
  14566. tradecharge:
  14567. description: 成交手续费(买方)
  14568. type: number
  14569. tradedate:
  14570. description: 交易日(yyyyMMdd)
  14571. type: string
  14572. tradeid:
  14573. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14574. type: string
  14575. trademode:
  14576. description: 交易模式
  14577. type: integer
  14578. tradeprice:
  14579. description: 成交价格(价格)
  14580. type: number
  14581. tradeqty:
  14582. description: 成交数量(数量)
  14583. type: number
  14584. tradetime:
  14585. description: 成交时间
  14586. type: string
  14587. userid:
  14588. description: 用户id
  14589. type: integer
  14590. userinfotype:
  14591. description: 账户类型 1-个人 2-企业
  14592. type: integer
  14593. type: object
  14594. models.QhjMyTeamEx:
  14595. properties:
  14596. accountname:
  14597. description: 用户名称
  14598. type: string
  14599. accountstatus:
  14600. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14601. type: integer
  14602. createtime:
  14603. description: 创建时间
  14604. type: string
  14605. mobile:
  14606. description: 手机号码
  14607. type: string
  14608. refereeuserid:
  14609. description: 推荐人id
  14610. type: integer
  14611. refernum:
  14612. description: 推荐码
  14613. type: string
  14614. subList:
  14615. items:
  14616. $ref: '#/definitions/models.QhjMyTeamEx'
  14617. type: array
  14618. userid:
  14619. description: 用户id
  14620. type: integer
  14621. userinfotype:
  14622. description: 用户类型 1-个人 2-企业
  14623. type: integer
  14624. type: object
  14625. models.QhjNodeAgreementConfig:
  14626. properties:
  14627. agreementcontent:
  14628. description: 协议内容
  14629. type: string
  14630. agreementid:
  14631. description: 协议ID
  14632. type: integer
  14633. agreementname:
  14634. description: 协议名称
  14635. type: string
  14636. agreementno:
  14637. description: 协议编号
  14638. type: string
  14639. agreementtype:
  14640. description: 协议类型 - 1:注册 2:登录 3:交易
  14641. type: integer
  14642. agreementversion:
  14643. description: 协议版本号
  14644. type: integer
  14645. configid:
  14646. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14647. type: integer
  14648. createtime:
  14649. description: 创建时间
  14650. type: string
  14651. goodsid:
  14652. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14653. type: integer
  14654. nodetype:
  14655. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14656. type: integer
  14657. type: object
  14658. models.QhjParentAreaList:
  14659. properties:
  14660. accountname:
  14661. description: 账户名称(机构名称)
  14662. type: string
  14663. userid:
  14664. description: 用户ID
  14665. type: integer
  14666. usertype:
  14667. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14668. type: integer
  14669. type: object
  14670. models.QhjPayOrder:
  14671. properties:
  14672. advanceratio:
  14673. description: 首付比率
  14674. type: number
  14675. buyaccountid:
  14676. description: 买方账号ID[报价币种]
  14677. type: integer
  14678. buyorderid:
  14679. description: 买方委托单号
  14680. type: string
  14681. createtime:
  14682. description: 创建时间
  14683. type: string
  14684. decimalplace:
  14685. description: 商品报价小数位
  14686. type: integer
  14687. enumdicname:
  14688. description: 单位名称
  14689. type: string
  14690. goodscode:
  14691. description: 商品代码
  14692. type: string
  14693. goodsid:
  14694. description: 商品ID
  14695. type: integer
  14696. goodsname:
  14697. description: 商品名称
  14698. type: string
  14699. goodunitid:
  14700. description: 商品单位id
  14701. type: integer
  14702. marketid:
  14703. description: 市场ID
  14704. type: integer
  14705. offamount:
  14706. description: 优惠金额
  14707. type: number
  14708. operatetype:
  14709. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14710. type: integer
  14711. payamount:
  14712. description: 支付金额
  14713. type: number
  14714. payflag:
  14715. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14716. type: integer
  14717. paylimitedtime:
  14718. description: 支付期限
  14719. type: string
  14720. paytime:
  14721. description: 付款时间
  14722. type: string
  14723. qtydecimalplace:
  14724. description: 成交量小数位
  14725. type: integer
  14726. sellaccountid:
  14727. description: 卖方账号ID[报价币种]
  14728. type: integer
  14729. sellorderid:
  14730. description: 卖方委托单号
  14731. type: string
  14732. tradeamount:
  14733. description: 成交金额(优惠后金额)
  14734. type: number
  14735. tradecharge:
  14736. description: 成交手续费(买方)
  14737. type: number
  14738. tradedate:
  14739. description: 交易日(yyyyMMdd)
  14740. type: string
  14741. tradeid:
  14742. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14743. type: string
  14744. tradeprice:
  14745. description: 成交价格
  14746. type: number
  14747. tradeqty:
  14748. description: 成交数量
  14749. type: number
  14750. type: object
  14751. models.QhjPickArea:
  14752. properties:
  14753. address:
  14754. description: 详细地址
  14755. type: string
  14756. cityid:
  14757. description: 市
  14758. type: integer
  14759. cityname:
  14760. description: 城市名称
  14761. type: string
  14762. countryid:
  14763. description: 国家
  14764. type: integer
  14765. countryname:
  14766. description: 国家名称
  14767. type: string
  14768. districtid:
  14769. description: 地区
  14770. type: integer
  14771. districtname:
  14772. description: 地区名称
  14773. type: string
  14774. fromuserid:
  14775. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  14776. type: integer
  14777. fromusername:
  14778. description: 所属机构名称
  14779. type: string
  14780. provinceid:
  14781. description: 省
  14782. type: integer
  14783. provincename:
  14784. description: 省名称
  14785. type: string
  14786. suborgtype:
  14787. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  14788. type: integer
  14789. userid:
  14790. description: 机构用户ID 其他做市关系,都设置为 1
  14791. type: integer
  14792. username:
  14793. description: 机构用户名称(门店门称)
  14794. type: string
  14795. type: object
  14796. models.QhjPickGoods:
  14797. properties:
  14798. enumdicname:
  14799. description: 单位名称(提货商品)
  14800. type: string
  14801. goodsid:
  14802. description: 商品id
  14803. type: integer
  14804. imageaddress:
  14805. description: 图片
  14806. type: string
  14807. modifierid:
  14808. description: 修改人
  14809. type: integer
  14810. modifiername:
  14811. description: 修改人名称
  14812. type: string
  14813. modifysrc:
  14814. description: 修改来源 - 1:管理端 2:终端
  14815. type: integer
  14816. pickupgoodsagreeunit:
  14817. description: 合约乘数
  14818. type: number
  14819. pickupgoodsdesc:
  14820. description: 描述
  14821. type: string
  14822. pickupgoodsid:
  14823. description: 提货商品ID
  14824. type: string
  14825. pickupgoodsname:
  14826. description: 提货商品名称
  14827. type: string
  14828. pickupgoodsstatus:
  14829. description: 状态 - 1:正常 2:停用 3:注销
  14830. type: integer
  14831. pickupgoodsunitid:
  14832. description: 单位ID
  14833. type: integer
  14834. pickupratio:
  14835. description: 提货系数
  14836. type: number
  14837. preparedays:
  14838. description: 备货期(天)
  14839. type: integer
  14840. remark:
  14841. description: 备注
  14842. type: string
  14843. updatetime:
  14844. description: 更新时间
  14845. type: string
  14846. type: object
  14847. models.QhjRSTriggerLog:
  14848. properties:
  14849. accountid:
  14850. description: 用户资金账户
  14851. type: integer
  14852. accountname:
  14853. description: 账号名称(ACCOUNTID对应的名称)
  14854. type: string
  14855. currencyid:
  14856. description: 币种id
  14857. type: integer
  14858. currencyname:
  14859. description: 币种名称
  14860. type: string
  14861. decimalplace:
  14862. description: 商品报价小数位
  14863. type: integer
  14864. enumdicname:
  14865. description: 单位名称
  14866. type: string
  14867. goodscode:
  14868. description: 定投商品代码
  14869. type: string
  14870. goodsid:
  14871. description: 定投商品ID
  14872. type: integer
  14873. goodsname:
  14874. description: 定投商品名称
  14875. type: string
  14876. goodunitid:
  14877. description: 定投商品单位id
  14878. type: integer
  14879. logid:
  14880. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14881. type: string
  14882. logincode:
  14883. description: 账号(登录代码)
  14884. type: string
  14885. qtydecimalplace:
  14886. description: 成交量小数位
  14887. type: integer
  14888. regularlycycle:
  14889. description: 定投频率 - 1:每周 2:每月
  14890. type: integer
  14891. regularlycyclevalue:
  14892. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14893. type: string
  14894. regularlymode:
  14895. description: 定投方式 - 1:按数量 2:按金额
  14896. type: integer
  14897. regularlymodevalue:
  14898. description: 定投方式值 - 数量或金额
  14899. type: number
  14900. regularlystrategyid:
  14901. description: 定投策略ID
  14902. type: integer
  14903. retcode:
  14904. description: 错误码
  14905. type: string
  14906. tradeid:
  14907. description: 成交单ID
  14908. type: string
  14909. triggeramount:
  14910. description: 触发金额
  14911. type: number
  14912. triggerqty:
  14913. description: 触发数量
  14914. type: number
  14915. triggerstatus:
  14916. description: 触发状态 - 1:成功 2:失败
  14917. type: integer
  14918. triggertime:
  14919. description: 触发时间
  14920. type: string
  14921. triggertradedate:
  14922. description: 触发交易日
  14923. type: string
  14924. userid:
  14925. description: 所属用户ID
  14926. type: integer
  14927. userinfotype:
  14928. description: 用户类型 1-个人 2-企业
  14929. type: integer
  14930. username:
  14931. description: 用户名称(userid对应的名称)
  14932. type: string
  14933. type: object
  14934. models.QhjRStrategy:
  14935. properties:
  14936. accountid:
  14937. description: 用户资金账户
  14938. type: integer
  14939. accountname:
  14940. description: 账号名称(ACCOUNTID对应的名称)
  14941. type: string
  14942. currencyid:
  14943. description: 币种id
  14944. type: integer
  14945. currencyname:
  14946. description: 币种名称
  14947. type: string
  14948. decimalplace:
  14949. description: 商品报价小数位
  14950. type: integer
  14951. enumdicname:
  14952. description: 单位名称
  14953. type: string
  14954. goodscode:
  14955. description: 定投商品代码
  14956. type: string
  14957. goodsid:
  14958. description: 定投商品ID
  14959. type: integer
  14960. goodsname:
  14961. description: 定投商品名称
  14962. type: string
  14963. goodunitid:
  14964. description: 定投商品单位id
  14965. type: integer
  14966. lasteffecttradedate:
  14967. description: 最新生效交易日
  14968. type: string
  14969. laststoptradedate:
  14970. description: 最新暂停交易日
  14971. type: string
  14972. lasttriggertradedate:
  14973. description: 最新触发交易日
  14974. type: string
  14975. logincode:
  14976. description: 账号(登录代码)
  14977. type: string
  14978. nexttriggeramount:
  14979. description: 下次触发金额
  14980. type: number
  14981. nexttriggerdate:
  14982. description: 下次触发日期
  14983. type: string
  14984. nexttriggerqty:
  14985. description: 下次触发数量 [按小数位放大值]
  14986. type: number
  14987. qtydecimalplace:
  14988. description: 成交量小数位
  14989. type: integer
  14990. regularlycycle:
  14991. description: 定投频率 - 1:每周 2:每月
  14992. type: integer
  14993. regularlycyclevalue:
  14994. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14995. type: string
  14996. regularlymode:
  14997. description: 定投方式 - 1:按数量 2:按金额
  14998. type: integer
  14999. regularlymodevalue:
  15000. description: 定投方式值 - 数量或金额
  15001. type: number
  15002. regularlystrategyid:
  15003. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  15004. type: integer
  15005. regularlystrategystatus:
  15006. description: 策略状态 - 1:正常 2:暂停 3:终止
  15007. type: integer
  15008. remark:
  15009. description: 备注
  15010. type: string
  15011. triggersuccesstimes:
  15012. description: 累计定投成功次数
  15013. type: string
  15014. triggertotalamount:
  15015. description: 累计定投金额(成功)
  15016. type: number
  15017. triggertotalqty:
  15018. description: 累计定投数量(成功) [按小数位放大值]
  15019. type: number
  15020. triggertotaltimes:
  15021. description: 累计定投总次数
  15022. type: string
  15023. updatesrc:
  15024. description: 更新来源 - 1:管理端 2:终端
  15025. type: integer
  15026. updatetime:
  15027. description: 更新时间
  15028. type: string
  15029. updatorid:
  15030. description: 更新人
  15031. type: string
  15032. userid:
  15033. description: 所属用户ID
  15034. type: integer
  15035. userinfotype:
  15036. description: 用户类型 1-个人 2-企业
  15037. type: integer
  15038. username:
  15039. description: 用户名称(userid对应的名称)
  15040. type: string
  15041. type: object
  15042. models.QhjReckonPriceLog:
  15043. properties:
  15044. decimalplace:
  15045. description: 商品报价小数位
  15046. type: integer
  15047. goodscode:
  15048. description: 商品代码
  15049. type: string
  15050. goodsid:
  15051. description: 商品ID
  15052. type: integer
  15053. goodsname:
  15054. description: 商品名称
  15055. type: string
  15056. lastreckonprice:
  15057. description: 上日结算价
  15058. type: number
  15059. nextdnlimitprice:
  15060. description: 下个交易日跌停价
  15061. type: number
  15062. nexttrade:
  15063. description: 下个交易日
  15064. type: string
  15065. nextuplimitprice:
  15066. description: 下个交易日涨停价
  15067. type: number
  15068. reckonprice:
  15069. description: 今日结算价(定投价)
  15070. type: number
  15071. reckontime:
  15072. description: 结算时间
  15073. type: string
  15074. totalholderqty:
  15075. description: 总持仓数
  15076. type: integer
  15077. totalstock:
  15078. description: 总库存
  15079. type: integer
  15080. tradedate:
  15081. description: 交易日
  15082. type: string
  15083. updowncount:
  15084. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  15085. type: integer
  15086. updownflag:
  15087. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  15088. type: integer
  15089. updownrate:
  15090. description: 今日涨跌幅
  15091. type: number
  15092. updownrate_2d:
  15093. description: 连续两日涨跌幅
  15094. type: number
  15095. updownrate_3d:
  15096. description: 连续三日涨跌幅
  15097. type: number
  15098. type: object
  15099. models.QhjScoreLog:
  15100. properties:
  15101. accountid:
  15102. description: 账户ID
  15103. type: integer
  15104. createtime:
  15105. description: 创建时间(时间)
  15106. type: string
  15107. goodsid:
  15108. description: 商品ID
  15109. type: integer
  15110. hasuploaded:
  15111. description: 是否已同步(千海金) 0:未同步 1;已同步
  15112. type: integer
  15113. logid:
  15114. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15115. type: string
  15116. marketid:
  15117. description: 市场ID
  15118. type: integer
  15119. relatedamount:
  15120. description: 关联金额
  15121. type: number
  15122. relatedorderid:
  15123. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  15124. type: string
  15125. scoreconfigvalue1:
  15126. description: 积分配置1
  15127. type: integer
  15128. scoreconfigvalue2:
  15129. description: 积分配置1
  15130. type: integer
  15131. scoretype:
  15132. description: 积分类型 - 1:提货积分
  15133. type: integer
  15134. scorevalue:
  15135. description: 积分
  15136. type: number
  15137. tradedate:
  15138. description: 交易日(yyyyMMdd)
  15139. type: string
  15140. uploadedtime:
  15141. description: 同步时间
  15142. type: string
  15143. userid:
  15144. description: 用户ID
  15145. type: integer
  15146. type: object
  15147. models.QhjSiteColumnDetail:
  15148. properties:
  15149. author:
  15150. description: 作者
  15151. type: string
  15152. brief:
  15153. description: 简介
  15154. type: string
  15155. columnid:
  15156. description: 所属栏目
  15157. type: integer
  15158. context:
  15159. description: 内容
  15160. type: string
  15161. coverimage:
  15162. description: 封面图片
  15163. type: string
  15164. creaedate:
  15165. description: 创建时间
  15166. type: string
  15167. creatorid:
  15168. description: 创建人
  15169. type: integer
  15170. hits:
  15171. description: 点击数
  15172. type: integer
  15173. id:
  15174. description: ID(SEQ_SITE_COLUMNDETAIL)
  15175. type: integer
  15176. isshow:
  15177. description: 是否展示 - 0:不展示 1:展示
  15178. type: integer
  15179. istop:
  15180. description: 是否置顶 - 0:不置 1:置顶
  15181. type: integer
  15182. modifierid:
  15183. description: 操作人
  15184. type: integer
  15185. publishdate:
  15186. description: 发布日期
  15187. type: string
  15188. status:
  15189. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  15190. type: integer
  15191. title:
  15192. description: 标题
  15193. type: string
  15194. updatedate:
  15195. description: 修改时间
  15196. type: string
  15197. userid:
  15198. description: 用户ID(默认为0, 核心为为机构用户ID)
  15199. type: integer
  15200. username:
  15201. description: 用户名称
  15202. type: string
  15203. type: object
  15204. models.QhjTeamOrder:
  15205. properties:
  15206. accountid:
  15207. description: 账户ID[报价币种]
  15208. type: integer
  15209. accountname:
  15210. description: 账户名称
  15211. type: string
  15212. agreeunit:
  15213. description: 合约乘数
  15214. type: number
  15215. buyorsell:
  15216. description: 方向 - 0:买 1:卖
  15217. type: integer
  15218. decimalplace:
  15219. description: 报价小数位
  15220. type: integer
  15221. enumdicname:
  15222. description: 单位名称
  15223. type: string
  15224. goodscode:
  15225. description: 商品代码(内部)
  15226. type: string
  15227. goodsid:
  15228. description: 商品ID
  15229. type: integer
  15230. goodsname:
  15231. description: 商品名称
  15232. type: string
  15233. goodunitid:
  15234. description: 报价单位ID
  15235. type: integer
  15236. marketid:
  15237. description: 市场ID
  15238. type: integer
  15239. marketname:
  15240. description: 市场名称
  15241. type: string
  15242. qtydecimalplace:
  15243. description: 成交量小数位
  15244. type: integer
  15245. refereeuserid:
  15246. description: 推荐人ID
  15247. type: integer
  15248. tradeamount:
  15249. description: 成交金额[账户币种,用于所有权]
  15250. type: number
  15251. tradedate:
  15252. description: 交易日(yyyyMMdd)
  15253. type: string
  15254. trademode:
  15255. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15256. 21:竞拍-大宗式 22:受托竞价
  15257. type: integer
  15258. tradeprice:
  15259. description: 成交价格
  15260. type: number
  15261. tradeqty:
  15262. description: 成交数量
  15263. type: number
  15264. tradetime:
  15265. description: 成交时间
  15266. type: string
  15267. userid:
  15268. description: 用户ID
  15269. type: integer
  15270. type: object
  15271. models.QhjTradeGoodsPickup:
  15272. properties:
  15273. accountid:
  15274. description: 账户ID
  15275. type: integer
  15276. address:
  15277. description: 提货人详细地址
  15278. type: string
  15279. amount:
  15280. description: 提货金额
  15281. type: number
  15282. artradedate:
  15283. description: 自动收货交易日(yyyyMMdd)
  15284. type: string
  15285. auditer:
  15286. description: 审核人
  15287. type: integer
  15288. auditsrc:
  15289. description: 更新来源 - 1:管理端 2:终端
  15290. type: integer
  15291. audittime:
  15292. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  15293. type: string
  15294. audittradedate:
  15295. description: 审核交易日(yyyyMMdd)
  15296. type: string
  15297. cardnum:
  15298. description: 提货人证件号码
  15299. type: string
  15300. cardtypeid:
  15301. description: 提货人证件类型
  15302. type: integer
  15303. checkremark:
  15304. description: 审核备注
  15305. type: string
  15306. cityid:
  15307. description: 市
  15308. type: integer
  15309. cityname:
  15310. description: 城市名称
  15311. type: string
  15312. confirmtime:
  15313. description: 取货时间 或 收货时间
  15314. type: string
  15315. countryid:
  15316. description: 国家
  15317. type: integer
  15318. countryname:
  15319. description: 国家名称
  15320. type: string
  15321. decimalplace:
  15322. description: 商品报价小数位
  15323. type: integer
  15324. districtid:
  15325. description: 地区
  15326. type: integer
  15327. districtname:
  15328. description: 地区名称
  15329. type: string
  15330. enumdicname:
  15331. description: 单位名称(提货商品)
  15332. type: string
  15333. expresscompany:
  15334. description: 物流公司
  15335. type: string
  15336. expressnum:
  15337. description: 物流单号
  15338. type: string
  15339. goodsagreeunit:
  15340. description: 交易商品乘数
  15341. type: number
  15342. goodscode:
  15343. description: 商品代码
  15344. type: string
  15345. goodsid:
  15346. description: 商品ID
  15347. type: integer
  15348. goodsname:
  15349. description: 商品名称
  15350. type: string
  15351. goodsqty:
  15352. description: 交易商品手数(69模式按成交量小数位放大取整)
  15353. type: number
  15354. handlestatus:
  15355. description: 处理状态
  15356. type: integer
  15357. logincode:
  15358. description: 账号(登录代码, 有可能为空)
  15359. type: string
  15360. marketid:
  15361. description: 市场ID
  15362. type: integer
  15363. phonenum:
  15364. description: 提货人联系方式
  15365. type: string
  15366. pickupgoodsagreeunit:
  15367. description: 提货商品合约乘数
  15368. type: number
  15369. pickupgoodsid:
  15370. description: 提货商品ID
  15371. type: string
  15372. pickupgoodsname:
  15373. description: 提货商品名称
  15374. type: string
  15375. pickupgoodsqty:
  15376. description: 提货商品手数(数量)
  15377. type: number
  15378. pickupgoodsunitid:
  15379. description: 单位ID(提货商品)
  15380. type: integer
  15381. pickupratio:
  15382. description: 提货系数
  15383. type: number
  15384. preparedays:
  15385. description: 备货期(天)-提货单明细表
  15386. type: integer
  15387. provinceid:
  15388. description: 省
  15389. type: integer
  15390. provincename:
  15391. description: 省名称
  15392. type: string
  15393. qty:
  15394. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  15395. type: number
  15396. qtydecimalplace:
  15397. description: 商品数量小数位
  15398. type: integer
  15399. recivername:
  15400. description: 提货人姓名
  15401. type: string
  15402. reqtime:
  15403. description: 提货申请时间
  15404. type: string
  15405. storeuserid:
  15406. description: 门店用户ID (千海金)
  15407. type: integer
  15408. storeusername:
  15409. description: 门店用户名称
  15410. type: string
  15411. takemode:
  15412. description: 提货方式 - 2:自提 3:配送(邮寄)
  15413. type: integer
  15414. takeorderid:
  15415. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  15416. type: string
  15417. takeorderstatus:
  15418. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  15419. 7:已拒绝 8:已撤销
  15420. type: integer
  15421. takeremark:
  15422. description: 提货备注
  15423. type: string
  15424. tradedate:
  15425. description: 交易日(yyyyMMdd)
  15426. type: string
  15427. updatetime:
  15428. description: 更新时间
  15429. type: string
  15430. userid:
  15431. description: 用户ID
  15432. type: integer
  15433. userinfotype:
  15434. description: 客户类型 1-个人 2-企业
  15435. type: integer
  15436. username:
  15437. description: 用户名称
  15438. type: string
  15439. type: object
  15440. models.QhjUserNodeCfgAndStatus:
  15441. properties:
  15442. agreementcontent:
  15443. description: 协议内容
  15444. type: string
  15445. agreementid:
  15446. description: 协议ID
  15447. type: integer
  15448. agreementname:
  15449. description: 协议名称
  15450. type: string
  15451. agreementno:
  15452. description: 协议编号
  15453. type: string
  15454. agreementtype:
  15455. description: 协议类型 - 1:注册 2:登录 3:交易
  15456. type: integer
  15457. agreementversion:
  15458. description: 协议版本号
  15459. type: integer
  15460. configid:
  15461. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  15462. type: integer
  15463. createtime:
  15464. description: 创建时间
  15465. type: string
  15466. goodsid:
  15467. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15468. type: integer
  15469. nodetype:
  15470. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  15471. type: integer
  15472. signtimestamp:
  15473. description: 签约状态时间戳(最近一次)
  15474. type: string
  15475. tradedate:
  15476. description: 签约交易日(yyyyMMdd)
  15477. type: string
  15478. userid:
  15479. description: 客户ID
  15480. type: integer
  15481. type: object
  15482. models.Qhjgoodsex:
  15483. properties:
  15484. canfinance:
  15485. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  15486. type: integer
  15487. canregularlybuy:
  15488. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  15489. type: integer
  15490. defaulttradeuserid:
  15491. description: 默认交易用户ID
  15492. type: integer
  15493. deliverygoodsid:
  15494. description: 现货品种ID
  15495. type: integer
  15496. goodsid:
  15497. description: 商品ID(自增ID SEQ_GOODS)
  15498. type: integer
  15499. minamount:
  15500. description: 最小购买金额
  15501. type: number
  15502. regularlybuyminamount:
  15503. description: 定投最小金额
  15504. type: number
  15505. regularlybuyminqty:
  15506. description: 定投最小数量
  15507. type: number
  15508. spotgoodsbrandid:
  15509. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  15510. type: integer
  15511. visibilityforenterprise:
  15512. description: 企业客户是否可见 - 0:不可见 1:可见
  15513. type: integer
  15514. visibilityforpersonal:
  15515. description: 个人客户是否可见 - 0:不可见 1:可见
  15516. type: integer
  15517. wrstandardid:
  15518. description: 现货商品ID
  15519. type: integer
  15520. type: object
  15521. models.QueryErrorInfosRsp:
  15522. properties:
  15523. description:
  15524. description: 异常描述
  15525. type: string
  15526. errorcode:
  15527. description: 异常代码
  15528. type: string
  15529. errorid:
  15530. description: 异常ID
  15531. type: integer
  15532. modulecode:
  15533. description: 所属模块
  15534. type: string
  15535. operatecode:
  15536. description: 所属操作
  15537. type: string
  15538. rownumber:
  15539. description: 行号
  15540. type: string
  15541. required:
  15542. - errorid
  15543. type: object
  15544. models.QueryHedgeOrderDetailRsp:
  15545. properties:
  15546. accountid:
  15547. description: 账户ID
  15548. type: integer
  15549. buyorsell:
  15550. description: 买卖 - 0:买 1:卖
  15551. type: integer
  15552. cancellogincode:
  15553. description: 撤单人
  15554. type: string
  15555. channelbuildtype:
  15556. description: 开平标志 - 0:无 1:建仓 2:平仓
  15557. type: integer
  15558. channelinnerorderstatus:
  15559. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  15560. 9:全部成交
  15561. type: integer
  15562. channeloperatetype:
  15563. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  15564. type: integer
  15565. closetype:
  15566. description: 平仓方式 - 0:无 1:平今 2:平昨
  15567. type: integer
  15568. curexchangerate:
  15569. description: 当前汇率
  15570. type: number
  15571. decimalplace:
  15572. description: 商品报价小数位
  15573. type: integer
  15574. exchangefullname:
  15575. description: 外部交易所全称
  15576. type: string
  15577. goodscode:
  15578. description: 商品代码(内部)
  15579. type: string
  15580. goodsid:
  15581. description: 商品ID
  15582. type: integer
  15583. goodsname:
  15584. description: 商品名称
  15585. type: string
  15586. marketid:
  15587. description: 市场ID
  15588. type: integer
  15589. openfreezemargin:
  15590. description: 冻结保证金(冻结交易金额)
  15591. type: number
  15592. orderid:
  15593. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15594. type: string
  15595. orderlogincode:
  15596. description: 委托人
  15597. type: string
  15598. orderprice:
  15599. description: 委托价格(账户)
  15600. type: number
  15601. orderqty:
  15602. description: 委托数量
  15603. type: integer
  15604. ordertime:
  15605. description: 委托时间
  15606. type: string
  15607. pricemode:
  15608. description: '取价方式 - 1:市价 2: 限价'
  15609. type: integer
  15610. tradedate:
  15611. description: 交易日(yyyyMMdd)
  15612. type: string
  15613. tradeqty:
  15614. description: 成交数量
  15615. type: integer
  15616. type: object
  15617. models.QueryHedgeTradeDetailRsp:
  15618. properties:
  15619. accountid:
  15620. description: 账号ID
  15621. type: integer
  15622. buyorsell:
  15623. description: 方向 - 0:买 1:卖
  15624. type: integer
  15625. channelbuildtype:
  15626. description: 委托单据类型 0:无 1:建仓 2:平仓
  15627. type: integer
  15628. closecharge:
  15629. description: 平仓手续费(账户)
  15630. type: number
  15631. closecharge2:
  15632. description: 平仓手续费(商品)
  15633. type: number
  15634. closepl:
  15635. description: 平仓盈亏(账户)
  15636. type: number
  15637. closepl2:
  15638. description: 平仓盈亏(商品)
  15639. type: number
  15640. closepl3:
  15641. description: 平仓盈亏(账户)(逐笔)
  15642. type: number
  15643. closepl4:
  15644. description: 平仓盈亏(商品)(逐笔)
  15645. type: number
  15646. closetype:
  15647. description: 平仓方式 - 0:无 1:平今 2:平昨
  15648. type: integer
  15649. curexchangerate:
  15650. description: 当前汇率
  15651. type: number
  15652. decimalplace:
  15653. description: 商品报价小数位
  15654. type: integer
  15655. exchangefullname:
  15656. description: 外部交易所全称
  15657. type: string
  15658. goodscode:
  15659. description: 商品代码(内部)
  15660. type: string
  15661. goodsid:
  15662. description: 商品ID
  15663. type: integer
  15664. goodsname:
  15665. description: 商品名称
  15666. type: string
  15667. marketid:
  15668. description: 市场ID
  15669. type: integer
  15670. opencharge:
  15671. description: 建仓手续费(账户)
  15672. type: number
  15673. opencharge2:
  15674. description: 建仓手续费(商品)
  15675. type: number
  15676. orderid:
  15677. description: 委托单号
  15678. type: string
  15679. orderlogincode:
  15680. description: 委托人
  15681. type: string
  15682. tradeamount:
  15683. description: 成交金额(账户)
  15684. type: number
  15685. tradedate:
  15686. description: 交易日(yyyyMMdd)
  15687. type: string
  15688. tradeid:
  15689. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15690. type: string
  15691. tradeprice:
  15692. description: 成交价格
  15693. type: number
  15694. tradeqty:
  15695. description: 成交数量
  15696. type: integer
  15697. tradetime:
  15698. description: 成交时间
  15699. type: string
  15700. tradetype:
  15701. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  15702. type: integer
  15703. type: object
  15704. models.QuotePrimaryMenu:
  15705. properties:
  15706. Index:
  15707. description: 序号
  15708. type: integer
  15709. Key:
  15710. description: 键名
  15711. type: string
  15712. Name:
  15713. description: 菜单名称
  15714. type: string
  15715. SubMenus:
  15716. description: 子菜单
  15717. items:
  15718. $ref: '#/definitions/models.QuoteSecondaryMenu'
  15719. type: array
  15720. SubTitleType:
  15721. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  15722. type: integer
  15723. TradeModes:
  15724. description: 包含市场交易类型
  15725. type: string
  15726. type: object
  15727. models.QuoteSecondaryMenu:
  15728. properties:
  15729. ExExchangeCode:
  15730. description: 外部交易所代码
  15731. type: string
  15732. ExExchangeID:
  15733. description: 外部交易所ID
  15734. type: integer
  15735. GoodsGroupIDs:
  15736. description: 商品组ID列表
  15737. items:
  15738. type: integer
  15739. type: array
  15740. Index:
  15741. description: 序号
  15742. type: integer
  15743. MarketID:
  15744. description: 市场ID
  15745. type: integer
  15746. MenuTitle:
  15747. description: 菜单标题(市场名称或外部交易所名称)
  15748. type: string
  15749. TradeMode:
  15750. description: 交易模式
  15751. type: integer
  15752. type: object
  15753. models.Reckondaytaaccount:
  15754. properties:
  15755. accountid:
  15756. description: 资金账户ID
  15757. type: integer
  15758. accountname:
  15759. description: 账户名称
  15760. type: string
  15761. accountpl:
  15762. description: 今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新
  15763. type: number
  15764. avaiablemoney:
  15765. description: 可用资金
  15766. type: number
  15767. avaiableoutmoney:
  15768. description: 可出资金
  15769. type: number
  15770. balance:
  15771. description: 期初余额
  15772. type: number
  15773. capitalbalance:
  15774. description: 本金余额[外部子账户实际出入金余额]
  15775. type: number
  15776. changeflag:
  15777. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15778. type: integer
  15779. clearbalance:
  15780. description: 清算余额 = 期末余额 - 授信金额 - 其它授信金额
  15781. type: number
  15782. clearpl:
  15783. description: 真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费
  15784. - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 =
  15785. 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费
  15786. type: number
  15787. closepl:
  15788. description: 今日平仓盈亏
  15789. type: number
  15790. closepl2:
  15791. description: 平仓盈亏(逐笔)
  15792. type: number
  15793. creditdecrease:
  15794. description: 今日授信减少
  15795. type: number
  15796. creditincrease:
  15797. description: 今日授信增加
  15798. type: number
  15799. curdebt:
  15800. description: 期末欠款
  15801. type: number
  15802. currencyid:
  15803. description: 货币ID
  15804. type: integer
  15805. currentbalance:
  15806. description: 期末余额
  15807. type: number
  15808. cycletype:
  15809. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  15810. type: integer
  15811. defercharge:
  15812. description: 今日递延费2支出[111, 112]
  15813. type: number
  15814. deliveryamountin:
  15815. description: 今日交收货款收入
  15816. type: number
  15817. deliveryamountout:
  15818. description: 今日交收货款支出
  15819. type: number
  15820. deliverycharge:
  15821. description: 今日交收手续费支出 [105,106]
  15822. type: number
  15823. deliverycompensationfeein:
  15824. description: 今日交收补偿费收入
  15825. type: number
  15826. deliverycompensationfeeout:
  15827. description: 今日交收补偿费支出
  15828. type: number
  15829. dividedcharge:
  15830. description: 今日已收手续费分成
  15831. type: number
  15832. floatnetvalue:
  15833. description: 浮动净值 = 净值 + 浮动盈亏
  15834. type: number
  15835. floatpl:
  15836. description: 浮动盈亏 - 每日有负债类商品
  15837. type: number
  15838. freezecharge:
  15839. description: 手续费冻结
  15840. type: number
  15841. freezemargin:
  15842. description: 冻结保证金
  15843. type: number
  15844. fromaccountid:
  15845. description: 所属上级账户
  15846. type: integer
  15847. holdcharge:
  15848. description: 今日持仓过夜费支出[108,109,110]
  15849. type: number
  15850. inamount:
  15851. description: 今日入金金额
  15852. type: number
  15853. interestcharge:
  15854. description: 今日递延费支出[103, 104]
  15855. type: number
  15856. ismain:
  15857. description: 是否账号 0:不是母账户 1:是母账户
  15858. type: integer
  15859. ismarketaccount:
  15860. description: 是否机构接单账号 0:不是 1:是
  15861. type: integer
  15862. isreckonaccount:
  15863. description: 是否机构分润账号 0:不是 1:是
  15864. type: integer
  15865. mortgagecredit:
  15866. description: 授信金额
  15867. type: number
  15868. netvalue:
  15869. description: 净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新
  15870. type: number
  15871. oridebt:
  15872. description: 期初欠款
  15873. type: number
  15874. orifreezecharge:
  15875. description: 期初手续费冻结
  15876. type: number
  15877. orifreezemargin:
  15878. description: 期初冻结保证金
  15879. type: number
  15880. orimortgagecredit:
  15881. description: 期初授信金额
  15882. type: number
  15883. oriothercredit:
  15884. description: 期初其它授信金额
  15885. type: number
  15886. oriotherfreezemargin:
  15887. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15888. type: number
  15889. orioutamountfreeze:
  15890. description: 期初出金冻结
  15891. type: number
  15892. oriusedmargin:
  15893. description: 期初占用保证金
  15894. type: number
  15895. othercredit:
  15896. description: 其它授信金额
  15897. type: number
  15898. othercreditdecrease:
  15899. description: 今日其它授信减少
  15900. type: number
  15901. othercreditincrease:
  15902. description: 今日其它授信增加
  15903. type: number
  15904. otherfreezemargin:
  15905. description: 其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15906. type: number
  15907. otherincome:
  15908. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  15909. type: number
  15910. otherpay:
  15911. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  15912. type: number
  15913. outamount:
  15914. description: 今日出金金额
  15915. type: number
  15916. outamountfreeze:
  15917. description: 出金冻结
  15918. type: number
  15919. outthreshold:
  15920. description: 出金阈值
  15921. type: number
  15922. ownershipvalue:
  15923. description: 所有权市值
  15924. type: number
  15925. parentaccountid:
  15926. description: 所属根账户
  15927. type: integer
  15928. password:
  15929. description: 资金密码
  15930. type: string
  15931. paycharge:
  15932. description: 今日手续费支出
  15933. type: number
  15934. paycharge2:
  15935. description: 今日手续费支出(外部配置)
  15936. type: number
  15937. payexchcharge:
  15938. description: 今日应付交易所手续费
  15939. type: number
  15940. reckondate:
  15941. description: 日照日期(yyyyMMdd)
  15942. type: string
  15943. reckonpl:
  15944. description: 今日结算盈亏
  15945. type: number
  15946. reckonpl2:
  15947. description: 结算盈亏(逐笔) - 汇总取期末
  15948. type: number
  15949. relatedaccountstatus:
  15950. description: 关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15951. type: integer
  15952. relateuserid:
  15953. description: 关联用户
  15954. type: integer
  15955. riskrate:
  15956. description: 风险率 = 占用/ 浮动净值 或 浮动净值/占用
  15957. type: number
  15958. signstatus:
  15959. description: 签约状态 - 1:未签约 2:已签约 3:已解约
  15960. type: integer
  15961. spotvalue:
  15962. description: 现货市值-统计服务更新
  15963. type: number
  15964. sublevelpath:
  15965. description: 账号层级路径(逗号分隔,首尾加逗号)
  15966. type: string
  15967. taaccounttype:
  15968. description: 外部/内部账号 - 1:外部账号 2:内部账号
  15969. type: integer
  15970. thirdinamount:
  15971. description: 今日三方入金
  15972. type: number
  15973. thirdoutamount:
  15974. description: 今日三方出金
  15975. type: number
  15976. tradeamount:
  15977. description: 今日成交金额
  15978. type: number
  15979. tradecharge:
  15980. description: 今日交易手续费支出 [101,102]
  15981. type: number
  15982. tradeqty:
  15983. description: 今日成交量
  15984. type: integer
  15985. tradestatus:
  15986. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)
  15987. type: integer
  15988. transferamount:
  15989. description: 今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)
  15990. type: number
  15991. usedmargin:
  15992. description: 占用保证金
  15993. type: number
  15994. userid:
  15995. description: 用户ID
  15996. type: integer
  15997. required:
  15998. - userid
  15999. type: object
  16000. models.Reckongzmemtradesum:
  16001. properties:
  16002. buylistingamount:
  16003. description: 买挂牌金额 - 无数据,预留
  16004. type: number
  16005. buylistinglot:
  16006. description: 买挂牌宗数
  16007. type: integer
  16008. buylistingqty:
  16009. description: 买挂牌数量 - 无数据,预留
  16010. type: number
  16011. buytradeamount:
  16012. description: 购买金额
  16013. type: number
  16014. buytradelot:
  16015. description: 购买宗数
  16016. type: integer
  16017. buytradeqty:
  16018. description: 购买数量
  16019. type: number
  16020. marketid:
  16021. description: 市场ID
  16022. type: integer
  16023. reckondate:
  16024. description: 日照日期(yyyyMMdd)
  16025. type: string
  16026. selllistingamount:
  16027. description: 卖挂牌金额
  16028. type: number
  16029. selllistinglot:
  16030. description: 卖挂牌宗数
  16031. type: integer
  16032. selllistingqty:
  16033. description: 卖挂牌数量
  16034. type: number
  16035. selltradeamount:
  16036. description: 销售金额
  16037. type: number
  16038. selltradelot:
  16039. description: 销售宗数
  16040. type: integer
  16041. selltradeqty:
  16042. description: 销售数量
  16043. type: number
  16044. updatetime:
  16045. description: 更新时间
  16046. type: string
  16047. userid:
  16048. description: 用户ID
  16049. type: integer
  16050. zscategory:
  16051. description: 钻石分类 - 枚举”ZSCategory“
  16052. type: integer
  16053. zscategorydisplay:
  16054. type: string
  16055. zscurrencytype:
  16056. description: 货币类型 - 枚举“ZSCurrencyType”
  16057. type: integer
  16058. zscurrencytypedisplay:
  16059. type: string
  16060. zscurrencytypedisplayunit:
  16061. type: string
  16062. required:
  16063. - userid
  16064. type: object
  16065. models.RelatedTaAccount:
  16066. properties:
  16067. accountid:
  16068. description: 资金账户ID
  16069. type: integer
  16070. type: object
  16071. models.RoleMenu:
  16072. properties:
  16073. hasright:
  16074. description: 是否有权限 0-没有权限 1-有权限
  16075. type: integer
  16076. iconame:
  16077. description: 菜单图标
  16078. type: string
  16079. menutype:
  16080. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  16081. type: integer
  16082. parentcode:
  16083. description: 上级资源代码
  16084. type: string
  16085. remark:
  16086. description: 菜单备注
  16087. type: string
  16088. resourcecode:
  16089. description: 菜单代码
  16090. type: string
  16091. resourcelevel:
  16092. description: 级别
  16093. type: integer
  16094. resourcename:
  16095. description: 菜单名称
  16096. type: string
  16097. roleid:
  16098. description: 角色id
  16099. type: integer
  16100. sort:
  16101. description: 排序
  16102. type: integer
  16103. subMenu:
  16104. description: 子级菜单(结构同上层一样, swag解析不出来)
  16105. items:
  16106. $ref: '#/definitions/models.RoleMenu'
  16107. type: array
  16108. url:
  16109. description: URL
  16110. type: string
  16111. userid:
  16112. description: 用户id
  16113. type: integer
  16114. type: object
  16115. models.SearchGoods:
  16116. properties:
  16117. goodscode:
  16118. description: 商品代码(内部)
  16119. type: string
  16120. goodsid:
  16121. description: 商品ID(自增ID SEQ_GOODS)
  16122. type: integer
  16123. goodsname:
  16124. description: 商品名称
  16125. type: string
  16126. marketid:
  16127. description: 所属市场ID
  16128. type: integer
  16129. marketname:
  16130. description: 市场名称
  16131. type: string
  16132. trademode:
  16133. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16134. 21:竞拍-大宗式 22:受托竞价
  16135. type: integer
  16136. required:
  16137. - goodscode
  16138. - goodsid
  16139. - goodsname
  16140. - marketid
  16141. - trademode
  16142. type: object
  16143. models.SellOrder:
  16144. properties:
  16145. accountid:
  16146. description: 资金账号
  16147. type: integer
  16148. applyid:
  16149. description: 申请单ID
  16150. type: integer
  16151. attachment1:
  16152. description: 附件1
  16153. type: string
  16154. attachment2:
  16155. description: 附件2
  16156. type: string
  16157. buyorsell:
  16158. description: 买卖 - 0:买 1:卖
  16159. type: integer
  16160. canbargain:
  16161. description: 是否可议价 - 0:不可 1:可
  16162. type: integer
  16163. cancelqty:
  16164. description: 撤销数量
  16165. type: integer
  16166. canceltime:
  16167. description: 撤销时间
  16168. type: string
  16169. cerno:
  16170. type: string
  16171. chargealgorithm:
  16172. description: 手续费收取方式 1:比率 2:固定
  16173. type: integer
  16174. chargealgorithmvalue:
  16175. description: 手续费设置值(交易所部分)
  16176. type: number
  16177. chargealgorithmvalue2:
  16178. description: 手续费设置值(会员部分)
  16179. type: number
  16180. clientordertime:
  16181. description: 客户端委托时间
  16182. type: string
  16183. cpcertno:
  16184. type: string
  16185. exchangerate:
  16186. description: 汇率[67]
  16187. type: number
  16188. firstratio:
  16189. description: 首付比率 - [挂牌时指定,摘牌时使用]
  16190. type: number
  16191. fixedprice:
  16192. description: '[克拉单价]固定价格 - [挂牌]'
  16193. type: number
  16194. freezecharge:
  16195. description: 冻结手续费
  16196. type: number
  16197. freezefirstamount:
  16198. description: 冻结首付金额 - [摘牌]
  16199. type: number
  16200. freezemargin:
  16201. description: 冻结保证金
  16202. type: number
  16203. goodsno:
  16204. description: 商品编号
  16205. type: string
  16206. imagepath:
  16207. type: string
  16208. isQueryDiamond:
  16209. description: 是否钻石查询
  16210. type: boolean
  16211. isspecified:
  16212. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16213. type: integer
  16214. kppath:
  16215. type: string
  16216. kpweight:
  16217. type: string
  16218. marginalgorithm:
  16219. description: 保证金方式 - 1:比率 2:固定
  16220. type: integer
  16221. marginvalue:
  16222. description: 保证金设置值
  16223. type: number
  16224. marketid:
  16225. description: 市场ID
  16226. type: integer
  16227. marketprice:
  16228. type: string
  16229. orderamount:
  16230. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  16231. type: number
  16232. ordertime:
  16233. description: 委托时间
  16234. type: string
  16235. performancetemplateid:
  16236. description: 履约计划模板ID
  16237. type: integer
  16238. price:
  16239. description: 价格
  16240. type: number
  16241. pricefactor:
  16242. description: 价格系数(浮动价时填写) - [挂牌]
  16243. type: number
  16244. pricemove:
  16245. description: 升贴水(浮动价时填写) - [挂牌]
  16246. type: number
  16247. priceper:
  16248. type: string
  16249. relatedwrtradeorderid:
  16250. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  16251. type: integer
  16252. remainqty:
  16253. description: 剩余重量
  16254. type: number
  16255. remark:
  16256. type: string
  16257. retcode:
  16258. description: 错误代码
  16259. type: integer
  16260. sellusername:
  16261. description: 卖方(查询字段-模糊查询)
  16262. type: string
  16263. settingmaterial:
  16264. description: 镶嵌材料
  16265. type: string
  16266. size1:
  16267. type: string
  16268. size2:
  16269. type: string
  16270. size3:
  16271. type: string
  16272. sizedisplay:
  16273. description: 尺寸
  16274. type: string
  16275. stonedesc:
  16276. description: 配石描述
  16277. type: string
  16278. totalqty:
  16279. description: 总重量
  16280. type: number
  16281. tradedate:
  16282. description: 交易日(yyyyMMdd)
  16283. type: string
  16284. tradeprice:
  16285. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  16286. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  16287. type: number
  16288. unfreezecharge:
  16289. description: 解冻手续费
  16290. type: number
  16291. unfreezefirstamount:
  16292. description: 解冻首付金额 - [摘牌]
  16293. type: number
  16294. unfreezemargin:
  16295. description: 解冻保证金
  16296. type: number
  16297. userid:
  16298. description: 用户ID
  16299. type: integer
  16300. uuid:
  16301. description: 发起端唯一id
  16302. type: string
  16303. validtime:
  16304. description: 有效期限
  16305. type: string
  16306. validtype:
  16307. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16308. type: integer
  16309. warehousenamedisplay:
  16310. type: string
  16311. wrbargainid:
  16312. description: 议价申请单ID
  16313. type: integer
  16314. wrfactortypeid:
  16315. description: 仓单要素类型ID/商品ID(77)
  16316. type: integer
  16317. wrpath:
  16318. type: string
  16319. wrpricetype:
  16320. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16321. type: integer
  16322. wrstandardid:
  16323. description: 现货商品ID
  16324. type: integer
  16325. wrtradeorderid:
  16326. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16327. type: string
  16328. wrtradeorderstatus:
  16329. 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:撤单解冻贷款失败
  16330. type: integer
  16331. wrtradetype:
  16332. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16333. type: integer
  16334. wrtransferuserid:
  16335. description: 仓单受让用户 - [摘牌]
  16336. type: integer
  16337. zscategory:
  16338. description: 钻石分类 - 枚举”ZSCategory“
  16339. type: integer
  16340. zscategorydisplay:
  16341. description: 钻石分类 - 描述
  16342. type: string
  16343. zscerttypedisplay:
  16344. type: string
  16345. zsclaritytype1display:
  16346. type: string
  16347. zsclaritytype2display:
  16348. type: string
  16349. zscolortype1display:
  16350. type: string
  16351. zscolortype2display:
  16352. type: string
  16353. zscrystaltype:
  16354. type: string
  16355. zscrystaltypedisplay:
  16356. type: string
  16357. zscurrencytype:
  16358. description: 货币类型 - 枚举“ZSCurrencyType”
  16359. type: integer
  16360. zscurrencytypedisplay:
  16361. type: string
  16362. zscurrencytypedisplayunit:
  16363. type: string
  16364. zscuttype1display:
  16365. type: string
  16366. zscuttype2display:
  16367. type: string
  16368. zsczcolor1typedisplay:
  16369. type: string
  16370. zsczcolor2typedisplay:
  16371. type: string
  16372. zsczcolor3typedisplay:
  16373. type: string
  16374. zsfluorescencetype1display:
  16375. type: string
  16376. zsfluorescencetype2display:
  16377. type: string
  16378. zspolishtype1display:
  16379. type: string
  16380. zspolishtype2display:
  16381. type: string
  16382. zsshapetypedisplay:
  16383. type: string
  16384. zsstyletypedisplay:
  16385. type: string
  16386. zssymmetrytype1display:
  16387. type: string
  16388. zssymmetrytype2display:
  16389. type: string
  16390. type: object
  16391. models.SellOrderQueryReq:
  16392. properties:
  16393. origin:
  16394. description: 原产地
  16395. type: string
  16396. page:
  16397. description: 页码
  16398. type: integer
  16399. pagesize:
  16400. description: 每页大小
  16401. type: integer
  16402. total:
  16403. description: 总条数
  16404. type: integer
  16405. warehouseid:
  16406. description: 仓库ID
  16407. type: integer
  16408. weight1:
  16409. description: 总重量(克拉重量)-从
  16410. type: number
  16411. weight2:
  16412. description: 总重量(克拉重量)-至
  16413. type: number
  16414. weightavg1:
  16415. description: 平均单颗重量-从
  16416. type: number
  16417. weightavg2:
  16418. description: 平均单颗重量-至
  16419. type: number
  16420. zscategory:
  16421. description: 钻石分类 - 枚举”ZSCategory“
  16422. type: integer
  16423. zscerttype:
  16424. description: 证书类型
  16425. items:
  16426. type: string
  16427. type: array
  16428. zsclaritytype:
  16429. description: 净度
  16430. items:
  16431. type: integer
  16432. type: array
  16433. zscolortype:
  16434. description: 颜色
  16435. items:
  16436. type: integer
  16437. type: array
  16438. zscurrencytype:
  16439. description: 货币类型 - 枚举“ZSCurrencyType”
  16440. items:
  16441. type: string
  16442. type: array
  16443. zscuttype:
  16444. description: 切工
  16445. items:
  16446. type: integer
  16447. type: array
  16448. zsczcolor1type:
  16449. description: 彩钻颜色1
  16450. items:
  16451. type: string
  16452. type: array
  16453. zsfluorescencetype:
  16454. description: 荧光
  16455. items:
  16456. type: integer
  16457. type: array
  16458. zspolishtype:
  16459. description: 抛光度
  16460. items:
  16461. type: integer
  16462. type: array
  16463. zsshapetype:
  16464. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  16465. items:
  16466. type: string
  16467. type: array
  16468. zsstyletype:
  16469. description: 款式
  16470. items:
  16471. type: string
  16472. type: array
  16473. zssymmetrytype:
  16474. description: 对称度
  16475. items:
  16476. type: integer
  16477. type: array
  16478. required:
  16479. - zscategory
  16480. type: object
  16481. models.Systemparam:
  16482. properties:
  16483. loginid:
  16484. description: 更新用户账号,登录账号
  16485. type: string
  16486. modifyflag:
  16487. description: 修改标志0 不允许修改 1 允许修改
  16488. type: integer
  16489. paramcode:
  16490. description: 参数代码
  16491. type: string
  16492. paramname:
  16493. description: 参数名
  16494. type: string
  16495. paramtype:
  16496. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  16497. type: integer
  16498. paramvalue:
  16499. description: 参数值
  16500. type: string
  16501. paramvalue2:
  16502. description: 参数值(CLOB)
  16503. type: string
  16504. regexpress:
  16505. description: 正则表达式
  16506. type: string
  16507. remark:
  16508. description: 备注
  16509. type: string
  16510. serverip:
  16511. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  16512. type: string
  16513. showflag:
  16514. description: 是否显示0 不显示 1 显示
  16515. type: integer
  16516. updatetime:
  16517. description: 更新时间
  16518. type: string
  16519. userid:
  16520. description: 更新用户ID
  16521. type: integer
  16522. required:
  16523. - paramcode
  16524. type: object
  16525. models.Szdz3convertconfig:
  16526. properties:
  16527. canin:
  16528. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  16529. type: integer
  16530. canout:
  16531. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  16532. type: integer
  16533. converttype:
  16534. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  16535. 6:交易转花生米(不设置)
  16536. type: integer
  16537. createtime:
  16538. description: 创建时间
  16539. type: string
  16540. creatorid:
  16541. description: 创建人
  16542. type: integer
  16543. daymaxvalue:
  16544. description: 当日最大转入限制
  16545. type: number
  16546. freezedays:
  16547. description: 冻结天数 [5:花生米转交易]
  16548. type: integer
  16549. innergoodsid:
  16550. description: 内部商品ID[交易]
  16551. type: integer
  16552. inratio:
  16553. description: 目标值
  16554. type: integer
  16555. modifierid:
  16556. description: 修改人
  16557. type: integer
  16558. modifytime:
  16559. description: 修改时间
  16560. type: string
  16561. outergoodscode:
  16562. description: 外部商品代码[JD\PD]
  16563. type: string
  16564. outratio:
  16565. description: 源值
  16566. type: integer
  16567. pddecimalplace:
  16568. description: PD小数位
  16569. type: integer
  16570. timemaxvalue:
  16571. description: 单次最大转入限制
  16572. type: number
  16573. timeminvalue:
  16574. description: 单次最小转入限制
  16575. type: number
  16576. required:
  16577. - converttype
  16578. - innergoodsid
  16579. - outergoodscode
  16580. type: object
  16581. models.Szdz3searchwhitelist:
  16582. properties:
  16583. createtime:
  16584. description: 创建时间
  16585. type: string
  16586. creatorid:
  16587. description: 创建人
  16588. type: integer
  16589. modifierid:
  16590. description: 修改人
  16591. type: integer
  16592. modifytime:
  16593. description: 修改时间
  16594. type: string
  16595. userid:
  16596. description: 用户ID
  16597. type: integer
  16598. required:
  16599. - userid
  16600. type: object
  16601. models.TBGoods:
  16602. properties:
  16603. agreeunit:
  16604. description: 合约乘数
  16605. type: number
  16606. enumdicname:
  16607. description: 单位名称
  16608. type: string
  16609. goodscode:
  16610. description: 商品代码(内部)
  16611. type: string
  16612. goodsid:
  16613. description: 商品ID(自增ID SEQ_GOODS)
  16614. type: integer
  16615. goodsname:
  16616. description: 商品名称
  16617. type: string
  16618. type: object
  16619. models.TBGoodsGroup:
  16620. properties:
  16621. GDLST:
  16622. description: 商品列表
  16623. items:
  16624. $ref: '#/definitions/models.TBGoods'
  16625. type: array
  16626. convertratio:
  16627. description: 折算系数
  16628. type: number
  16629. enumdicname:
  16630. description: 单位名称
  16631. type: string
  16632. exexchangecode:
  16633. description: 交易所代码
  16634. type: string
  16635. exexchangename:
  16636. description: 交易所名称
  16637. type: string
  16638. goodsgroupid:
  16639. description: 商品组ID(自增ID)
  16640. type: integer
  16641. goodsgroupname:
  16642. description: 商品组名称
  16643. type: string
  16644. goodunitid:
  16645. description: 报价单位ID
  16646. type: integer
  16647. type: object
  16648. models.TBMiddleGoods:
  16649. properties:
  16650. GPLST:
  16651. description: 期货品种列表
  16652. items:
  16653. $ref: '#/definitions/models.TBGoodsGroup'
  16654. type: array
  16655. WDLST:
  16656. description: 商品信息列表(现货品类)
  16657. items:
  16658. $ref: '#/definitions/models.TBWrstandard'
  16659. type: array
  16660. areauserid:
  16661. description: 机构用户ID
  16662. type: integer
  16663. enumdicname:
  16664. description: 单位名称
  16665. type: string
  16666. goodsunitid:
  16667. description: 套保品种单位id
  16668. type: integer
  16669. middlegoodscode:
  16670. description: 套保品种代码
  16671. type: string
  16672. middlegoodsid:
  16673. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  16674. type: integer
  16675. middlegoodsname:
  16676. description: 套保品种名称
  16677. type: string
  16678. needarbitrageratio:
  16679. description: 套利比率
  16680. type: number
  16681. needhedgeratio:
  16682. description: 套保比率
  16683. type: number
  16684. type: object
  16685. models.TBWrstandard:
  16686. properties:
  16687. convertratio:
  16688. description: 折算系数
  16689. type: number
  16690. deliverygoodsname:
  16691. description: 品种名称
  16692. type: string
  16693. enumdicname:
  16694. description: 单位名称
  16695. type: string
  16696. vatrate:
  16697. description: 增值税率
  16698. type: number
  16699. wrstandardcode:
  16700. description: 现货商品代码
  16701. type: string
  16702. wrstandardid:
  16703. description: 现货商品ID(SEQ_WRSTANDARD)
  16704. type: integer
  16705. wrstandardname:
  16706. description: 现货商品名称
  16707. type: string
  16708. type: object
  16709. models.THJSigninReq:
  16710. properties:
  16711. userid:
  16712. description: 用户ID
  16713. type: integer
  16714. required:
  16715. - userid
  16716. type: object
  16717. models.Taaccount:
  16718. properties:
  16719. accountflag:
  16720. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  16721. type: integer
  16722. accountid:
  16723. description: 资金账户ID
  16724. type: integer
  16725. accountname:
  16726. description: 账户名称
  16727. type: string
  16728. balance:
  16729. description: 期初余额
  16730. type: number
  16731. capitalbalance:
  16732. description: 本金余额[外部子账户实际出入金余额]
  16733. type: number
  16734. changeflag:
  16735. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  16736. type: integer
  16737. changetime:
  16738. description: 账户状态变更时间
  16739. type: string
  16740. closepl:
  16741. description: 今日平仓盈亏
  16742. type: number
  16743. creditdecrease:
  16744. description: 今日授信减少
  16745. type: number
  16746. creditincrease:
  16747. description: 今日授信增加
  16748. type: number
  16749. curamount:
  16750. description: 总市值(从持仓中统计)
  16751. type: number
  16752. currencyid:
  16753. description: 货币ID
  16754. type: integer
  16755. currentbalance:
  16756. description: 期末余额
  16757. type: number
  16758. freezecharge:
  16759. description: 手续费冻结
  16760. type: number
  16761. freezemargin:
  16762. description: 冻结保证金
  16763. type: number
  16764. fromaccountid:
  16765. description: 所属上级账户
  16766. type: integer
  16767. inamount:
  16768. description: 今日入金金额(包括三方入金)
  16769. type: number
  16770. ismain:
  16771. description: 是否母账号 0:不是母账户 1:是母账户
  16772. type: integer
  16773. ismarketaccount:
  16774. description: 是否机构接单账号 0:不是 1:是
  16775. type: integer
  16776. isreckonaccount:
  16777. description: 是否机构分润账号 0:不是 1:是
  16778. type: integer
  16779. mortgagecredit:
  16780. description: 授信金额
  16781. type: number
  16782. orifreezecharge:
  16783. description: 期初手续费冻结
  16784. type: number
  16785. orifreezemargin:
  16786. description: 期初冻结保证金
  16787. type: number
  16788. orimortgagecredit:
  16789. description: 期初授信金额
  16790. type: number
  16791. oriothercredit:
  16792. description: 期初其它授信金额
  16793. type: number
  16794. oriotherfreezemargin:
  16795. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  16796. type: number
  16797. orioutamountfreeze:
  16798. description: 期初出金冻结
  16799. type: number
  16800. oriusedmargin:
  16801. description: 期初占用保证金
  16802. type: number
  16803. othercredit:
  16804. description: 其它授信金额
  16805. type: number
  16806. othercreditdecrease:
  16807. description: 今日其它授信减少
  16808. type: number
  16809. othercreditincrease:
  16810. description: 今日其它授信增加
  16811. type: number
  16812. otherfreezemargin:
  16813. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  16814. type: number
  16815. otherincome:
  16816. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  16817. type: number
  16818. otherpay:
  16819. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  16820. type: number
  16821. outamount:
  16822. description: 今日出金金额(包括三方出金)
  16823. type: number
  16824. outamountfreeze:
  16825. description: 出金冻结
  16826. type: number
  16827. outthreshold:
  16828. description: 出金阈值
  16829. type: number
  16830. parentaccountid:
  16831. description: 所属根账号
  16832. type: integer
  16833. paycharge:
  16834. description: 今日手续费支出
  16835. type: number
  16836. relatedaccountstatus:
  16837. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  16838. type: integer
  16839. relateduserid:
  16840. description: 关联用户
  16841. type: integer
  16842. remainamount:
  16843. description: 融资额(从融资合同中统计)
  16844. type: number
  16845. serivcegroup:
  16846. description: 服务分组
  16847. type: integer
  16848. signstatus:
  16849. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  16850. type: integer
  16851. sublevelpath:
  16852. description: 账号层级路径(逗号分隔,首尾加逗号)
  16853. type: string
  16854. taaccounttype:
  16855. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  16856. type: integer
  16857. thirdinamount:
  16858. description: 今日三方入金
  16859. type: number
  16860. thirdoutamount:
  16861. description: 今日三方出金
  16862. type: number
  16863. tradestatus:
  16864. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  16865. type: integer
  16866. tradestatuschangetime:
  16867. description: 激活时间
  16868. type: string
  16869. transferamount:
  16870. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  16871. type: number
  16872. usedmargin:
  16873. description: 占用保证金
  16874. type: number
  16875. userid:
  16876. description: 用户ID
  16877. type: integer
  16878. required:
  16879. - accountid
  16880. - userid
  16881. type: object
  16882. models.Tablecolumnconfig:
  16883. properties:
  16884. aligntype:
  16885. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  16886. type: integer
  16887. autoid:
  16888. description: AutoID
  16889. type: integer
  16890. columnfield:
  16891. description: 列字段
  16892. type: string
  16893. columntitle:
  16894. description: 列Title
  16895. type: string
  16896. columnwidth:
  16897. description: 列宽
  16898. type: string
  16899. fixed:
  16900. description: 固定类型 - 空 | left | right
  16901. type: string
  16902. formatterstring:
  16903. description: 格式化字符
  16904. type: string
  16905. formattertype:
  16906. description: 格式化类型
  16907. type: string
  16908. groupname:
  16909. description: 表头分组名称
  16910. type: string
  16911. ismerge:
  16912. description: 是否合并显示 - 0:不合并 1:合并
  16913. type: integer
  16914. isshow:
  16915. description: 是否显示 - 0:不显示 1:显示
  16916. type: integer
  16917. needsummary:
  16918. description: 是否需要汇总 - 0:不需要 1:需要
  16919. type: integer
  16920. orderindex:
  16921. description: 顺序
  16922. type: integer
  16923. remark:
  16924. description: 备注
  16925. type: string
  16926. summarytype:
  16927. description: 汇总类型 - 1:加总 2:最后一个
  16928. type: integer
  16929. tablekey:
  16930. description: 列表Key
  16931. type: string
  16932. required:
  16933. - autoid
  16934. type: object
  16935. models.TjmdHolderDetailTradeInfo:
  16936. properties:
  16937. agreeunit:
  16938. description: 合约乘数
  16939. type: number
  16940. buyaccountid:
  16941. description: 买方账户
  16942. type: string
  16943. buyusername:
  16944. description: 买方
  16945. type: string
  16946. delistingdate:
  16947. description: 最后结算日
  16948. type: string
  16949. expiredate:
  16950. description: 到期结算价定价日
  16951. type: string
  16952. exprieprice:
  16953. description: 到期清算价格
  16954. type: string
  16955. goodscode:
  16956. description: 商品代码
  16957. type: string
  16958. goodsid:
  16959. description: 商品ID
  16960. type: integer
  16961. goodsname:
  16962. description: 商品名称(交易标的)
  16963. type: string
  16964. lasttradedate:
  16965. description: 最后交易日
  16966. type: string
  16967. listingdate:
  16968. description: 开始交易日
  16969. type: string
  16970. openprice:
  16971. description: 成交价
  16972. type: number
  16973. openqty:
  16974. description: 交易数量
  16975. type: integer
  16976. sellaccountid:
  16977. description: 卖方账户
  16978. type: string
  16979. sellusername:
  16980. description: 卖方
  16981. type: string
  16982. tradeamount:
  16983. description: 初始名义价值
  16984. type: number
  16985. tradedate:
  16986. description: 成交日期
  16987. type: string
  16988. tradeid:
  16989. description: 成交编号
  16990. type: string
  16991. type: object
  16992. models.TjmdMarketSection:
  16993. properties:
  16994. marketsectionid:
  16995. description: 市场版块ID(SEQ_MARKETSECTION)
  16996. type: integer
  16997. marketsectionname:
  16998. description: 市场版块名称
  16999. type: string
  17000. mlist:
  17001. description: 市场列表(板块下面有多少个市场)
  17002. items:
  17003. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  17004. type: array
  17005. orderindex:
  17006. description: 排序
  17007. type: integer
  17008. pictureurl:
  17009. description: 图片url, 规格(90*90)
  17010. type: string
  17011. remark:
  17012. description: 备注
  17013. type: string
  17014. type: object
  17015. models.TjmdMarketSectionConfig:
  17016. properties:
  17017. auctionwrtype:
  17018. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  17019. type: integer
  17020. canacceptquote:
  17021. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  17022. type: integer
  17023. cangoodsexercise:
  17024. description: '[期权]是否可现货行权- 0:否 1:是'
  17025. type: integer
  17026. cangoodsexercisetype:
  17027. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  17028. type: integer
  17029. canmanualquotestrike:
  17030. description: 是否可手动报行权价- 0:否 1:是 [期权]
  17031. type: integer
  17032. canmutistage:
  17033. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  17034. type: integer
  17035. canpreexercise:
  17036. description: '[期权]是否可预申报- 0:否 1:是'
  17037. type: integer
  17038. clearinterval:
  17039. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  17040. type: integer
  17041. contracttmp:
  17042. description: 合同模板[荷兰式][竞价式][仓单贸易]
  17043. type: string
  17044. exchareaid:
  17045. description: 所属交易所,可以没有
  17046. type: integer
  17047. financemarketid:
  17048. description: 融资回购市场ID [仓单贸易]
  17049. type: integer
  17050. goodstype:
  17051. description: 商品类型 - 1:交易商品 2:仓单商品
  17052. type: integer
  17053. hasrebate:
  17054. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  17055. type: integer
  17056. hastradecredit:
  17057. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  17058. type: integer
  17059. haswr:
  17060. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  17061. type: integer
  17062. isdeductmargin:
  17063. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  17064. type: integer
  17065. isrecordsource:
  17066. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  17067. type: integer
  17068. isreleasemargin:
  17069. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  17070. type: integer
  17071. isupdatereckonprice:
  17072. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  17073. type: integer
  17074. listingmode:
  17075. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  17076. type: integer
  17077. marginformula:
  17078. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  17079. type: integer
  17080. marginformula2:
  17081. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  17082. type: integer
  17083. marketid:
  17084. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  17085. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  17086. type: integer
  17087. marketname:
  17088. description: 市场名称
  17089. type: string
  17090. marketsectionid:
  17091. description: 市场版块ID(SEQ_MARKETSECTION)
  17092. type: integer
  17093. marketserviceid:
  17094. description: 市场服务ID
  17095. type: integer
  17096. marketstatus:
  17097. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  17098. type: integer
  17099. markettype:
  17100. description: 市场类型- 1:非交易服务 2:交易服务
  17101. type: integer
  17102. matchermode:
  17103. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  17104. type: integer
  17105. nowrquotaflag:
  17106. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  17107. type: integer
  17108. openmethod:
  17109. description: 开盘模式 - 0 自动 1手动
  17110. type: integer
  17111. orderindex:
  17112. description: 排序
  17113. type: integer
  17114. otcuserid:
  17115. description: 场外期权做市商[场外期权]
  17116. type: integer
  17117. outersynctime:
  17118. description: 外部同步时间点(h24:mi:ss)[场外期权]
  17119. type: string
  17120. paylaterflag:
  17121. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  17122. type: integer
  17123. pendingflag:
  17124. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  17125. type: integer
  17126. pendingtime:
  17127. description: 待开市时间[通道交易-对冲](HH:mm)
  17128. type: string
  17129. performancetempid:
  17130. description: 履约计划模板ID - 作废
  17131. type: integer
  17132. premiumquotemode:
  17133. description: 权利金报价方式 - 1:自动 2:手动
  17134. type: integer
  17135. rebateratio:
  17136. description: 返利比率[竞价式]
  17137. type: number
  17138. reckonorder:
  17139. description: 结算顺序
  17140. type: integer
  17141. reckonpricealgorithm:
  17142. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  17143. 6.卖一价 7.买一卖一均价 8.外部结算价'
  17144. type: integer
  17145. reckonpriceparam:
  17146. description: 结算价参数
  17147. type: integer
  17148. reckontime:
  17149. description: 结算时间[通道交易-对冲](HH:mm)
  17150. type: string
  17151. roleprioritytype:
  17152. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  17153. type: integer
  17154. selllistingauditflag:
  17155. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  17156. type: integer
  17157. trademarkettype:
  17158. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  17159. type: integer
  17160. trademode:
  17161. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17162. 21:竞拍-大宗式 22:受托竞价
  17163. type: integer
  17164. tradeproperty:
  17165. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  17166. 8:场外期权
  17167. type: integer
  17168. tradetype:
  17169. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  17170. type: integer
  17171. updatereckonpriceinterval:
  17172. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  17173. type: integer
  17174. type: object
  17175. models.TjmdQuoteGoods:
  17176. properties:
  17177. buyqty:
  17178. description: 买量(暂不做, 无值, 保留字段)
  17179. type: number
  17180. decimalplace:
  17181. description: 报价小数位
  17182. type: integer
  17183. goodscode:
  17184. description: 合约代码
  17185. type: string
  17186. goodsgroupid:
  17187. description: 商品组ID(自增ID)
  17188. type: integer
  17189. goodsgroupname:
  17190. description: 商品组名称
  17191. type: string
  17192. goodsid:
  17193. description: 合约id
  17194. type: integer
  17195. goodsname:
  17196. description: 合约名称
  17197. type: string
  17198. refgoodscode:
  17199. description: 标的合约代码
  17200. type: string
  17201. refgoodsid:
  17202. description: 标的合约id
  17203. type: integer
  17204. refgoodsname:
  17205. description: 标的合约名称
  17206. type: string
  17207. sellqty:
  17208. description: 卖量(暂不做, 无值, 保留字段)
  17209. type: number
  17210. type: object
  17211. models.TjmdTodayAccountMargin:
  17212. properties:
  17213. accountid:
  17214. description: 账号ID
  17215. type: integer
  17216. goodsid:
  17217. description: 商品ID
  17218. type: integer
  17219. infoc:
  17220. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  17221. description: 配置参数
  17222. marketid:
  17223. description: 市场ID
  17224. type: integer
  17225. type: object
  17226. models.TjmdTradeOrderDetail:
  17227. properties:
  17228. buyorsell:
  17229. description: 买卖方向 0-买 1-卖
  17230. type: integer
  17231. goodsid:
  17232. description: 商品id
  17233. type: integer
  17234. marketmaxsub:
  17235. description: 市价最大偏移范围 [浮动价 - 点差]
  17236. type: number
  17237. orderid:
  17238. description: 委托单号
  17239. type: string
  17240. orderprice:
  17241. description: 期初均价
  17242. type: number
  17243. orderqty:
  17244. description: 委托数量
  17245. type: integer
  17246. pricemode:
  17247. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  17248. type: integer
  17249. userid:
  17250. description: 用户id
  17251. type: integer
  17252. username:
  17253. description: 用户名称(已脱敏)
  17254. type: string
  17255. type: object
  17256. models.TjmdTransferApply:
  17257. properties:
  17258. applyid:
  17259. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  17260. type: integer
  17261. applystatus:
  17262. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  17263. type: integer
  17264. applytime:
  17265. description: 申请时间(时间)
  17266. type: string
  17267. auditremark:
  17268. description: 审核备注(拒绝原因?)
  17269. type: string
  17270. begindate:
  17271. description: 开始交易日(yyyymmdd)
  17272. type: string
  17273. buyorsell:
  17274. description: 买卖 - 0:买 1:卖
  17275. type: integer
  17276. enddate:
  17277. description: 结束交易日(yyyymmdd)
  17278. type: string
  17279. goodscode:
  17280. description: 商品代码
  17281. type: string
  17282. goodsid:
  17283. description: 商品ID
  17284. type: integer
  17285. goodsname:
  17286. description: 商品名称
  17287. type: string
  17288. marketid:
  17289. description: 市场ID
  17290. type: integer
  17291. qty:
  17292. description: 期初均价
  17293. type: number
  17294. tradeid:
  17295. description: 成交单号(关联持仓)
  17296. type: string
  17297. transferamount:
  17298. description: 转让总金额(金额)
  17299. type: number
  17300. transferprice:
  17301. description: 转让价格(协议价格)
  17302. type: number
  17303. type: object
  17304. models.TradeHolderDetail:
  17305. properties:
  17306. accountid:
  17307. description: 账号ID
  17308. type: integer
  17309. agreeunit:
  17310. description: 合约乘数
  17311. type: number
  17312. buyorsell:
  17313. description: 方向 - 0:买 1:卖
  17314. type: integer
  17315. currencyid:
  17316. description: 商品币种id
  17317. type: integer
  17318. currencyname:
  17319. description: 币种名称
  17320. type: string
  17321. decimalplace:
  17322. description: 商品价格小数位
  17323. type: integer
  17324. enumdicname:
  17325. description: 商品单位名称
  17326. type: string
  17327. expirecycle:
  17328. description: 行权周期(天) - 1:滚动行权时填写
  17329. type: integer
  17330. expiredate:
  17331. description: 行权日(yyyyMMdd) - 到期日
  17332. type: string
  17333. expiretype:
  17334. description: 行权日类型 - 1:滚动行权 2:固定日行权
  17335. type: integer
  17336. freezeqty:
  17337. description: 期初均价
  17338. type: number
  17339. goodscode:
  17340. description: 商品代码
  17341. type: string
  17342. goodsid:
  17343. description: 商品ID
  17344. type: integer
  17345. goodsname:
  17346. description: 商品名称
  17347. type: string
  17348. goodunitid:
  17349. description: 商品单位id
  17350. type: integer
  17351. holderamount:
  17352. description: 持仓金额
  17353. type: number
  17354. holdercredit:
  17355. description: 持仓授信金额
  17356. type: number
  17357. holderdays:
  17358. description: 剩余冻结天数
  17359. type: integer
  17360. holderprice:
  17361. description: 持仓价格
  17362. type: number
  17363. holderqty:
  17364. description: 期初均价
  17365. type: number
  17366. isconfirmexercise:
  17367. description: 是否确认行权- 0:否 1:是
  17368. type: integer
  17369. ispreexercise:
  17370. description: 是否预申报- 0:否 1:是 2:不可行权
  17371. type: integer
  17372. marketid:
  17373. description: 市场id
  17374. type: integer
  17375. marketname:
  17376. description: 市场名称
  17377. type: string
  17378. openprice:
  17379. description: 建仓价格
  17380. type: number
  17381. openqty:
  17382. description: 期初均价
  17383. type: number
  17384. optiontype:
  17385. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17386. type: integer
  17387. preexerciseprice:
  17388. description: 预申报价格
  17389. type: number
  17390. premium:
  17391. description: 权利金
  17392. type: number
  17393. qtydecimalplace:
  17394. description: 商品成交量小数位
  17395. type: integer
  17396. refgoodscode:
  17397. description: 标的合约代码
  17398. type: string
  17399. refgoodsid:
  17400. description: 标的合约id
  17401. type: integer
  17402. releaseamount:
  17403. description: 释放持仓金额
  17404. type: number
  17405. releaseholdercredit:
  17406. description: 释放持仓授信金额
  17407. type: number
  17408. taname:
  17409. description: 资金账号名称
  17410. type: string
  17411. tradeamount:
  17412. description: 成交金额
  17413. type: number
  17414. tradedate:
  17415. description: 交易日(yyyyMMdd)
  17416. type: string
  17417. tradeid:
  17418. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17419. type: string
  17420. trademode:
  17421. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17422. 21:竞拍-大宗式 22:受托竞价 46:掉期
  17423. type: integer
  17424. tradeproperty:
  17425. description: 交易属性
  17426. type: integer
  17427. tradetime:
  17428. description: 交易时间
  17429. type: string
  17430. userid:
  17431. description: 用户id
  17432. type: integer
  17433. username:
  17434. description: 用户名称
  17435. type: string
  17436. type: object
  17437. models.Unlinkermcphedgeplan:
  17438. properties:
  17439. accountid:
  17440. description: 期货账户ID - 作废
  17441. type: integer
  17442. accountname:
  17443. description: 交易用户
  17444. type: string
  17445. applyid:
  17446. description: 申请人
  17447. type: integer
  17448. applysrc:
  17449. description: 申请来源 - 1:管理端 2:终端
  17450. type: integer
  17451. applytime:
  17452. description: 申请时间
  17453. type: string
  17454. areauserid:
  17455. description: '[企业ID]机构ID'
  17456. type: integer
  17457. auditid:
  17458. description: 审核人
  17459. type: integer
  17460. auditremark:
  17461. description: 审核备注
  17462. type: string
  17463. auditsrc:
  17464. description: 审核来源 - 1:管理端 2:终端
  17465. type: integer
  17466. audittime:
  17467. description: 审核时间
  17468. type: string
  17469. audittradedate:
  17470. description: 审核交易日(yyyyMMdd)
  17471. type: string
  17472. biztype:
  17473. description: 业务类型 - 1:套保
  17474. type: integer
  17475. contracttype:
  17476. description: 计划类型 - 1:采购 -1:销售
  17477. type: integer
  17478. convertfactor:
  17479. description: 标仓系数 - 作废
  17480. type: number
  17481. createtime:
  17482. description: 创建时间
  17483. type: string
  17484. currencyid:
  17485. description: 结算币种ID - 作废
  17486. type: integer
  17487. deliverygoodsid:
  17488. description: 现货品种ID
  17489. type: integer
  17490. enumdicname:
  17491. description: 结算币种
  17492. type: string
  17493. hedgeplanid:
  17494. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  17495. type: string
  17496. hedgeplanno:
  17497. description: '[计划编号]套保计划编号,模糊查询'
  17498. type: string
  17499. hedgeplanstatus:
  17500. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  17501. type: integer
  17502. isrelated:
  17503. description: 是否已关联计划项目 - 0:否 1:是
  17504. type: integer
  17505. planqty:
  17506. description: '[计划量]计划数量'
  17507. type: number
  17508. plantime:
  17509. description: 计划时间
  17510. type: string
  17511. producttype:
  17512. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  17513. type: integer
  17514. remark:
  17515. description: 备注
  17516. type: string
  17517. spotgoodsdesc:
  17518. description: 商品型号
  17519. type: string
  17520. tradedate:
  17521. description: 交易日(yyyyMMdd)
  17522. type: string
  17523. tradeuserid:
  17524. description: 交易用户ID
  17525. type: integer
  17526. updatetime:
  17527. description: 更新时间
  17528. type: string
  17529. wrstandardid:
  17530. description: 现货商品ID
  17531. type: integer
  17532. wrstandardname:
  17533. description: 现货商品,模糊查询
  17534. type: string
  17535. required:
  17536. - areauserid
  17537. type: object
  17538. models.UserCollectConfig:
  17539. properties:
  17540. accountstatus:
  17541. description: 账户状态 - 1:正常 2:停用 3:注销
  17542. type: integer
  17543. collectaccountname:
  17544. description: 收款人账户名称
  17545. type: string
  17546. collectaccountno:
  17547. description: 收款人账户
  17548. type: string
  17549. collectbankname:
  17550. description: 收款人开户行
  17551. type: string
  17552. collectbranchbankname:
  17553. description: 收款人开户支行
  17554. type: string
  17555. collectconfigid:
  17556. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  17557. type: string
  17558. remark:
  17559. description: 备注
  17560. type: string
  17561. userid:
  17562. description: 收款人用户ID
  17563. type: integer
  17564. type: object
  17565. models.UserReceiveInfo:
  17566. properties:
  17567. address:
  17568. description: 提货人详细地址
  17569. type: string
  17570. autoid:
  17571. description: AutoID
  17572. type: integer
  17573. cardnum:
  17574. description: 证件号码(加密存储)
  17575. type: string
  17576. cardtypeid:
  17577. description: 证件类型
  17578. type: integer
  17579. cityid:
  17580. description: 市
  17581. type: integer
  17582. cityname:
  17583. description: 城市名称
  17584. type: string
  17585. countryid:
  17586. description: 国家
  17587. type: integer
  17588. countryname:
  17589. description: 国家名称
  17590. type: string
  17591. districtid:
  17592. description: 地区
  17593. type: integer
  17594. districtname:
  17595. description: 地区名称
  17596. type: string
  17597. hasencrypt:
  17598. description: 数据是否已加密 - 0:未加密 1:已加密
  17599. type: integer
  17600. isdefault:
  17601. description: 是否默认地址 - 0:否 1:是
  17602. type: integer
  17603. phonenum:
  17604. description: 提货人联系方式(加密存储)
  17605. type: string
  17606. provinceid:
  17607. description: 省
  17608. type: integer
  17609. provincename:
  17610. description: 省名称
  17611. type: string
  17612. receivername:
  17613. description: 提货人姓名
  17614. type: string
  17615. takeremark:
  17616. description: 提货备注
  17617. type: string
  17618. userid:
  17619. description: 用户ID
  17620. type: integer
  17621. type: object
  17622. models.Useraccount:
  17623. properties:
  17624. accountname:
  17625. description: 账户名称(机构名称)
  17626. type: string
  17627. accountstatus:
  17628. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  17629. type: integer
  17630. applysrc:
  17631. description: 申请来源 - 1:管理端 2:终端
  17632. type: integer
  17633. auditremark:
  17634. description: 审核备注
  17635. type: string
  17636. auditsrc:
  17637. description: 审核来源 - 1:管理端 2:终端
  17638. type: integer
  17639. audittime:
  17640. description: 审核时间
  17641. type: string
  17642. audituserid:
  17643. description: 审核人
  17644. type: integer
  17645. broker:
  17646. description: 所属经纪人ID
  17647. type: integer
  17648. canceltime:
  17649. description: 销户时间
  17650. type: string
  17651. canceluserid:
  17652. description: 销户人
  17653. type: integer
  17654. canrecommend:
  17655. description: 是否可推荐 - 0:不可 1;可
  17656. type: integer
  17657. createtime:
  17658. description: 创建时间
  17659. type: string
  17660. creatorid:
  17661. description: 创建人
  17662. type: integer
  17663. hasauth:
  17664. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  17665. type: integer
  17666. isanonymous:
  17667. description: 是否匿名下单 - 0:否 1:是
  17668. type: integer
  17669. maxinvestornum:
  17670. description: 最大用户数(经纪会员下投资者个数)
  17671. type: integer
  17672. memberuserid:
  17673. description: 所属会员ID
  17674. type: integer
  17675. modifierid:
  17676. description: 修改人
  17677. type: integer
  17678. modifyremark:
  17679. description: 变更备注
  17680. type: string
  17681. modifystatus:
  17682. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  17683. type: integer
  17684. modifytime:
  17685. description: 修改时间
  17686. type: string
  17687. parenttopuser:
  17688. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  17689. type: string
  17690. parentuserid:
  17691. description: 所属机构ID
  17692. type: integer
  17693. reckonaccountid:
  17694. description: 默认结算资金账号ID(机构分润使用) 作废
  17695. type: integer
  17696. refercount:
  17697. description: 推荐总人数
  17698. type: integer
  17699. refereeuserid:
  17700. description: 推荐人ID
  17701. type: integer
  17702. refernum:
  17703. description: 推荐码
  17704. type: string
  17705. rootuserid:
  17706. description: 根用户ID
  17707. type: integer
  17708. subaccountlevel:
  17709. description: 子账户层数
  17710. type: integer
  17711. subarealevelpath:
  17712. description: 子机构层级路径(逗号分隔,首尾加逗号)
  17713. type: string
  17714. todayrefercount:
  17715. description: 今日推荐人数
  17716. type: integer
  17717. userid:
  17718. description: 用户ID
  17719. type: integer
  17720. usertype:
  17721. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  17722. type: integer
  17723. required:
  17724. - userid
  17725. type: object
  17726. models.Userfavoritegoods:
  17727. properties:
  17728. goodsid:
  17729. description: 商品ID
  17730. type: integer
  17731. required:
  17732. - goodsid
  17733. type: object
  17734. models.Userinfo:
  17735. properties:
  17736. address:
  17737. description: 地址
  17738. type: string
  17739. attachment1:
  17740. description: 附件1
  17741. type: string
  17742. attachment2:
  17743. description: 附件2
  17744. type: string
  17745. bankaccount:
  17746. description: 银行帐号 (加密存储)
  17747. type: string
  17748. bankaccountname:
  17749. description: 收款人名称
  17750. type: string
  17751. bankcardfrontphotourl:
  17752. description: 银行卡正面照地址
  17753. type: string
  17754. bankid:
  17755. description: 银行编码
  17756. type: string
  17757. bankname:
  17758. description: 银行名称
  17759. type: string
  17760. biznature:
  17761. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17762. type: integer
  17763. bizscope:
  17764. description: 企业经营范围(企业)
  17765. type: string
  17766. cardbackphotourl:
  17767. description: 证件背面图片地址
  17768. type: string
  17769. cardfrontphotourl:
  17770. description: 证件正面图片地址
  17771. type: string
  17772. cardnum:
  17773. description: 证件号码(加密存储)
  17774. type: string
  17775. cardtypeid:
  17776. description: 证件类型ID
  17777. type: integer
  17778. cityid:
  17779. description: 市
  17780. type: integer
  17781. company:
  17782. description: 公司(个人)
  17783. type: string
  17784. contactname:
  17785. description: 联系人
  17786. type: string
  17787. countryid:
  17788. description: 国家
  17789. type: integer
  17790. createtime:
  17791. description: 创建时间
  17792. type: string
  17793. creatorid:
  17794. description: 创建人
  17795. type: integer
  17796. customername:
  17797. description: 客户名称(企业名称)
  17798. type: string
  17799. districtid:
  17800. description: 地区
  17801. type: integer
  17802. email:
  17803. description: 邮件(加密存储)
  17804. type: string
  17805. fax:
  17806. description: 传真(加密存储)
  17807. type: string
  17808. halfbodyphotourl:
  17809. description: 半身照地址
  17810. type: string
  17811. hasencrypt:
  17812. description: 数据是否已加密 - 0:未加密 1:已加密
  17813. type: integer
  17814. headurl:
  17815. description: 头像地址
  17816. type: string
  17817. legalcardbackphotourl:
  17818. description: 法人身份证背面照地址
  17819. type: string
  17820. legalcardfrontphotourl:
  17821. description: 法人身份证正面照地址
  17822. type: string
  17823. legalpersonname:
  17824. description: 法人姓名(企业)
  17825. type: string
  17826. mobile:
  17827. description: 手机号码(加密存储)
  17828. type: string
  17829. mobile2:
  17830. description: 手机号码[明文-尚志]
  17831. type: string
  17832. modifierid:
  17833. description: 修改人
  17834. type: integer
  17835. modifiertime:
  17836. description: 修改时间
  17837. type: string
  17838. needinvoice:
  17839. description: 是否需要发票 - 0:不需要 1:需要
  17840. type: integer
  17841. nickname:
  17842. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17843. type: string
  17844. openmode:
  17845. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  17846. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  17847. type: integer
  17848. otherurl:
  17849. description: 其它图片地址[使用分号分隔]
  17850. type: string
  17851. postalcode:
  17852. description: 邮政编码
  17853. type: string
  17854. provinceid:
  17855. description: 省
  17856. type: integer
  17857. qq:
  17858. description: QQ(加密存储
  17859. type: string
  17860. remark:
  17861. description: 备注
  17862. type: string
  17863. sex:
  17864. description: '用户性别 0: 女 1: 男'
  17865. type: integer
  17866. signpdfurl:
  17867. description: 签约pdf文件
  17868. type: string
  17869. telphone:
  17870. description: 联系电话(加密存储)
  17871. type: string
  17872. userid:
  17873. description: 用户ID
  17874. type: integer
  17875. userinfotype:
  17876. description: 用户信息类型 - 1:个人 2:企业
  17877. type: integer
  17878. userstatus:
  17879. description: 用户状态 - 1:正常 2:注销
  17880. type: integer
  17881. usertype:
  17882. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  17883. type: integer
  17884. wechat:
  17885. description: 微信(加密存储)
  17886. type: string
  17887. wskhinfo:
  17888. description: 开户申请信息(JSON)
  17889. type: string
  17890. required:
  17891. - userid
  17892. type: object
  17893. models.WRPositionReport:
  17894. properties:
  17895. accountid:
  17896. description: 帐户ID
  17897. type: integer
  17898. brandid:
  17899. description: 品牌ID(1交割品种升贴水参数表 AutoID) - 作废
  17900. type: integer
  17901. buylistinglot:
  17902. description: 买挂牌宗数
  17903. type: integer
  17904. buytradeamount:
  17905. description: 购买金额
  17906. type: number
  17907. buytradelot:
  17908. description: 购买宗数
  17909. type: integer
  17910. buytradeqty:
  17911. description: 购买数量
  17912. type: number
  17913. creditcurqty:
  17914. description: 授信当前数量
  17915. type: integer
  17916. creditfreezeqty:
  17917. description: 授信冻结数量
  17918. type: integer
  17919. credittotalqty:
  17920. description: 授信总数量
  17921. type: integer
  17922. credittradeqty:
  17923. description: 授信成交数量
  17924. type: integer
  17925. decreaseqty:
  17926. description: 今日减少数量
  17927. type: integer
  17928. deliverygoodsid:
  17929. description: 交割商品ID
  17930. type: integer
  17931. deliverymonthid:
  17932. description: 月份ID(1交割品种升贴水参数表 AutoID) - 作废
  17933. type: integer
  17934. freezeqty:
  17935. description: 总冻结数量
  17936. type: integer
  17937. increaseqty:
  17938. description: 今日增加数量
  17939. type: integer
  17940. marketvalue:
  17941. description: 市值
  17942. type: number
  17943. pickupqty:
  17944. description: 今日提货数量
  17945. type: integer
  17946. qualityid:
  17947. description: 品质ID(1交割品种升贴水参数表 AutoID) - 作废
  17948. type: integer
  17949. reckondate:
  17950. description: 日照时期(yyyyMMdd)
  17951. type: string
  17952. relatedqty:
  17953. description: 关联数量
  17954. type: integer
  17955. selllistingamount:
  17956. description: 卖挂牌金额
  17957. type: number
  17958. selllistinglot:
  17959. description: 卖挂牌宗数
  17960. type: integer
  17961. selllistingqty:
  17962. description: 卖挂牌数量
  17963. type: number
  17964. selltradeamount:
  17965. description: 销售金额
  17966. type: number
  17967. selltradelot:
  17968. description: 销售宗数
  17969. type: integer
  17970. selltradeqty:
  17971. description: 销售数量
  17972. type: number
  17973. specid:
  17974. description: 规格ID(1交割品种升贴水参数表 AutoID) - 作废
  17975. type: integer
  17976. totalprice:
  17977. description: 销售金额(¥)
  17978. type: number
  17979. totalqty:
  17980. description: 总数量
  17981. type: integer
  17982. totalweight:
  17983. description: 销售重量(ct)
  17984. type: number
  17985. tradewrqty:
  17986. description: 订单仓单头寸总数量
  17987. type: integer
  17988. transfertradewrqty:
  17989. description: 今日转订单数量
  17990. type: integer
  17991. warehouseid:
  17992. description: 仓库ID(1交割品种升贴水参数表 AutoID) - 作废
  17993. type: integer
  17994. wrfactortypeid:
  17995. description: 仓单要素类型ID
  17996. type: integer
  17997. wrpositionid:
  17998. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  17999. type: integer
  18000. wrstandardcode:
  18001. description: 现货商品代码
  18002. type: string
  18003. wrstandardid:
  18004. description: 现货商品ID
  18005. type: integer
  18006. wruserid:
  18007. description: 持有人ID
  18008. type: integer
  18009. zscategory:
  18010. description: 商品分类
  18011. type: integer
  18012. zscategorydisplay:
  18013. type: string
  18014. zscurrencytype:
  18015. description: 商品币种
  18016. type: integer
  18017. zscurrencytypedisplay:
  18018. type: string
  18019. zscurrencytypedisplayunit:
  18020. type: string
  18021. type: object
  18022. models.WRSConverTDetail:
  18023. properties:
  18024. convertratio:
  18025. description: 套保系数
  18026. type: number
  18027. deliverygoodscode:
  18028. description: 现货商品代码
  18029. type: string
  18030. deliverygoodsid:
  18031. description: 现货品种ID
  18032. type: integer
  18033. deliverygoodsname:
  18034. description: 现货商品名称
  18035. type: string
  18036. enumdicname:
  18037. description: 单位名称
  18038. type: string
  18039. goodsunitid:
  18040. description: 套保品种单位id
  18041. type: integer
  18042. middlegoodscode:
  18043. description: 套保品种代码
  18044. type: string
  18045. middlegoodsid:
  18046. description: 套保品种ID
  18047. type: integer
  18048. middlegoodsname:
  18049. description: 套保品种名称
  18050. type: string
  18051. modifytime:
  18052. description: 修改时间
  18053. type: string
  18054. wrstandardid:
  18055. description: 品类ID
  18056. type: integer
  18057. type: object
  18058. models.WRStandardInfo:
  18059. properties:
  18060. areauserid:
  18061. description: 所属机构
  18062. type: integer
  18063. convertfactor:
  18064. description: 标仓系数
  18065. type: number
  18066. createtime:
  18067. description: 创建时间
  18068. type: string
  18069. creatorid:
  18070. description: 创建人
  18071. type: integer
  18072. deliverygoodsid:
  18073. description: 品种ID
  18074. type: integer
  18075. deliverygoodsname:
  18076. description: 交割商品名称
  18077. type: string
  18078. factoryitemjson:
  18079. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  18080. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  18081. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  18082. 逗号分隔'
  18083. type: string
  18084. isvalid:
  18085. description: 是否有效 - 0:无效 1:有效
  18086. type: integer
  18087. minivalue:
  18088. description: 最小变动值
  18089. type: integer
  18090. minivaluedp:
  18091. description: 最小变动值小数位
  18092. type: integer
  18093. realminivalue:
  18094. description: 实际最小变动值
  18095. type: integer
  18096. realminivaluedp:
  18097. description: 实际最小变动值小数位
  18098. type: integer
  18099. remark:
  18100. description: 备注
  18101. type: string
  18102. unitid:
  18103. description: 单位ID
  18104. type: integer
  18105. unitname:
  18106. description: 单位
  18107. type: string
  18108. updatetime:
  18109. description: 更新时间
  18110. type: string
  18111. updatorid:
  18112. description: 更新人
  18113. type: integer
  18114. wrsstatus:
  18115. description: 状态 - 作废 - 0:未激活 1:正常
  18116. type: integer
  18117. wrstandardcode:
  18118. description: 现货品类代码
  18119. type: string
  18120. wrstandardid:
  18121. description: 现货品类ID(SEQ_WRSTANDARD)
  18122. type: integer
  18123. wrstandardname:
  18124. description: 现货品类名称
  18125. type: string
  18126. required:
  18127. - wrstandardid
  18128. type: object
  18129. models.WRTradeBargainApply:
  18130. properties:
  18131. accountid:
  18132. description: 摘牌资金账号
  18133. type: integer
  18134. applyprice:
  18135. description: 申请价格(议价价格)
  18136. type: string
  18137. applyqty:
  18138. description: 摘牌数量(议价数量)
  18139. type: number
  18140. applyremark:
  18141. description: 申请备注
  18142. type: string
  18143. applystatus:
  18144. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  18145. type: integer
  18146. applytime:
  18147. description: 申请时间(议价时间)
  18148. type: string
  18149. begindate:
  18150. description: 开始交易日(yyyymmdd)
  18151. type: string
  18152. buyorsell:
  18153. description: 买卖(挂牌类型) - 0:买 1:卖
  18154. type: integer
  18155. confirmremark:
  18156. description: 确认备注
  18157. type: string
  18158. confirmtime:
  18159. description: 确认时间
  18160. type: string
  18161. confirmuserid:
  18162. description: 确认人
  18163. type: integer
  18164. deliverygoodscode:
  18165. description: 品种代码
  18166. type: string
  18167. deliverygoodsid:
  18168. description: 品种ID
  18169. type: integer
  18170. deliverygoodsname:
  18171. description: 品种名称
  18172. type: string
  18173. deliverymonth:
  18174. description: 交收月
  18175. type: string
  18176. enddate:
  18177. description: 结束交易日(yyyymmdd)
  18178. type: string
  18179. enumdicname:
  18180. description: 单位名称
  18181. type: string
  18182. fixedprice:
  18183. description: 期初均价
  18184. type: number
  18185. handlestatus:
  18186. description: 处理状态
  18187. type: integer
  18188. marginvalue:
  18189. description: 期初均价
  18190. type: number
  18191. marketid:
  18192. description: 市场ID
  18193. type: integer
  18194. matchaccountid:
  18195. description: 挂牌方资金账号
  18196. type: integer
  18197. matchuserid:
  18198. description: 挂牌方用户id
  18199. type: integer
  18200. matchusername:
  18201. description: 挂牌方用户名称(已脱敏)
  18202. type: string
  18203. minivalue:
  18204. description: 现货商品最小变动值
  18205. type: integer
  18206. optioncompare:
  18207. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18208. type: string
  18209. orderqty:
  18210. description: 挂牌数量
  18211. type: integer
  18212. refprice:
  18213. description: 参考价格
  18214. type: string
  18215. retcode:
  18216. description: 委托返回代码
  18217. type: integer
  18218. templatename:
  18219. description: 履约方式(履约模板名称)
  18220. type: string
  18221. tradedate:
  18222. description: 交易日(yyyyMMdd)
  18223. type: string
  18224. userid:
  18225. description: 摘牌人用户ID(议价人ID)
  18226. type: integer
  18227. username:
  18228. description: 议价人名字(已脱敏)
  18229. type: string
  18230. validtime:
  18231. description: 有效期限
  18232. type: string
  18233. warehouseid:
  18234. description: 仓库ID
  18235. type: integer
  18236. warehousename:
  18237. description: 仓库名称
  18238. type: string
  18239. wrbargainid:
  18240. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  18241. type: string
  18242. wrfactortypeid:
  18243. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18244. type: string
  18245. wrfactortypename:
  18246. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18247. type: string
  18248. wrstandardcode:
  18249. description: 现货商品代码
  18250. type: string
  18251. wrstandardid:
  18252. description: 现货商品ID
  18253. type: integer
  18254. wrstandardname:
  18255. description: 商品名称
  18256. type: string
  18257. wrtradeorderid:
  18258. description: 关联委托单ID
  18259. type: string
  18260. wrtypename:
  18261. description: 商品
  18262. type: string
  18263. type: object
  18264. models.Warehouseinfo:
  18265. properties:
  18266. address:
  18267. description: 详细地址
  18268. type: string
  18269. areauserid:
  18270. description: 所属机构
  18271. type: integer
  18272. autoid:
  18273. description: 自增ID
  18274. type: integer
  18275. cityid:
  18276. description: 市
  18277. type: integer
  18278. contactname:
  18279. description: 联系人
  18280. type: string
  18281. contactnum:
  18282. description: 联系电话
  18283. type: string
  18284. countryid:
  18285. description: 国家
  18286. type: integer
  18287. createtime:
  18288. description: 创建时间
  18289. type: string
  18290. districtid:
  18291. description: 区
  18292. type: integer
  18293. hasvideo:
  18294. description: 是否有视频 - 0:无 1:有
  18295. type: integer
  18296. provinceid:
  18297. description: 省
  18298. type: integer
  18299. remark:
  18300. description: 审核备注
  18301. type: string
  18302. videourl:
  18303. description: 视频地址
  18304. type: string
  18305. warehousecode:
  18306. description: 仓库代码
  18307. type: string
  18308. warehousename:
  18309. description: 仓库名称
  18310. type: string
  18311. warehousestatus:
  18312. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  18313. type: integer
  18314. warehousetype:
  18315. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  18316. type: integer
  18317. required:
  18318. - autoid
  18319. - warehousecode
  18320. type: object
  18321. models.WrAverageTradePrice:
  18322. properties:
  18323. averageprice:
  18324. description: 期初均价
  18325. type: number
  18326. tradedate:
  18327. description: 交易日yyyymm
  18328. type: string
  18329. type: object
  18330. models.WrBrandAndYears:
  18331. properties:
  18332. brandlst:
  18333. description: 品牌列表
  18334. items:
  18335. $ref: '#/definitions/models.DgFactoryItem'
  18336. type: array
  18337. yearslst:
  18338. description: 年份列表
  18339. items:
  18340. $ref: '#/definitions/models.DgFactoryItem'
  18341. type: array
  18342. type: object
  18343. models.WrBsGoodsInfo:
  18344. properties:
  18345. buyorsell:
  18346. description: 买卖方向 0-买 1-卖
  18347. type: integer
  18348. goodsid:
  18349. description: 交易合约ID
  18350. type: integer
  18351. lstitem:
  18352. description: 商品信息项
  18353. items:
  18354. $ref: '#/definitions/models.WrTypeItem'
  18355. type: array
  18356. lststep:
  18357. description: 履约规则
  18358. items:
  18359. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18360. type: array
  18361. type: object
  18362. models.WrBuybackDetail:
  18363. properties:
  18364. buybackamount:
  18365. description: 回购金额
  18366. type: number
  18367. buybackqty:
  18368. description: 回购数量
  18369. type: number
  18370. buybackreleasemargin:
  18371. description: 回购释放保证金
  18372. type: number
  18373. buybacktime:
  18374. description: 回购时间
  18375. type: string
  18376. errordesc:
  18377. description: 错误描述
  18378. type: string
  18379. handlestatus:
  18380. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  18381. type: integer
  18382. relatedwrid:
  18383. description: 关联仓单ID
  18384. type: integer
  18385. scfcontractid:
  18386. description: SCF合同ID
  18387. type: string
  18388. scfwrbuybackid:
  18389. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  18390. type: integer
  18391. tradedate:
  18392. description: 交易日(yyyyMMdd)
  18393. type: string
  18394. type: object
  18395. models.WrClientAdSpaceConfig:
  18396. properties:
  18397. adspaceid:
  18398. description: 广告位ID
  18399. type: integer
  18400. adspacename:
  18401. description: 广告位名称
  18402. type: string
  18403. adspacetype:
  18404. description: 广告位类型 - 1:固定广告位
  18405. type: integer
  18406. areauserid:
  18407. description: 所属机构ID
  18408. type: integer
  18409. createdate:
  18410. description: 创建时间
  18411. type: string
  18412. imagepath:
  18413. description: 图片
  18414. type: string
  18415. modifierid:
  18416. description: 操作人
  18417. type: integer
  18418. recsize:
  18419. description: 推荐尺寸
  18420. type: string
  18421. title:
  18422. description: 标题
  18423. type: string
  18424. updatedate:
  18425. description: 更新时间
  18426. type: string
  18427. urlcontent:
  18428. description: 链接(地址\商品ID\功能菜单Key\appid)
  18429. type: string
  18430. urltype:
  18431. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  18432. type: integer
  18433. type: object
  18434. models.WrDeliveryAvalidHoldLB:
  18435. properties:
  18436. accountid:
  18437. description: 资金账号
  18438. type: integer
  18439. avalidqty:
  18440. description: 数量(可点选数量)
  18441. type: number
  18442. deliverygoodsid:
  18443. description: 品种id
  18444. type: integer
  18445. enumdicname:
  18446. description: 单位名称
  18447. type: string
  18448. goodsid:
  18449. description: x合约商品id
  18450. type: integer
  18451. ladingbillid:
  18452. description: 提单id
  18453. type: string
  18454. pgoodscode:
  18455. description: p商品代码(点价合约)
  18456. type: string
  18457. pgoodsid:
  18458. description: p商品id(点价合约)
  18459. type: integer
  18460. pgoodsname:
  18461. description: p商品名称(点价合约)
  18462. type: string
  18463. pricemove:
  18464. description: 升贴水
  18465. type: number
  18466. subnum:
  18467. description: 提单子id
  18468. type: integer
  18469. userid:
  18470. description: 用户id
  18471. type: integer
  18472. username:
  18473. description: 仓单持有人
  18474. type: string
  18475. warehousecode:
  18476. description: 仓库代码
  18477. type: string
  18478. warehouseid:
  18479. description: 仓库id
  18480. type: integer
  18481. warehousename:
  18482. description: 仓库名称
  18483. type: string
  18484. wrfactortypeid:
  18485. description: 仓单要素id
  18486. type: string
  18487. wrstandardcode:
  18488. description: 品代码
  18489. type: string
  18490. wrstandardid:
  18491. description: 品类d
  18492. type: integer
  18493. wrstandardname:
  18494. description: 品类名称
  18495. type: string
  18496. wrtypename:
  18497. description: 商品
  18498. type: string
  18499. xgoodscode:
  18500. description: x合约代码
  18501. type: string
  18502. xgoodsname:
  18503. description: x合约名称
  18504. type: string
  18505. type: object
  18506. models.WrDeliveryDetail:
  18507. properties:
  18508. accountid:
  18509. description: 账号ID
  18510. type: integer
  18511. averageprice:
  18512. description: 期初均价
  18513. type: number
  18514. begindate:
  18515. description: 开始交易日(yyyymmdd)
  18516. type: string
  18517. buyorsell:
  18518. description: 方向 - 0:买 1:卖
  18519. type: integer
  18520. deliveryamount:
  18521. description: 货款金额(X总货款+P总货款)
  18522. type: number
  18523. deliveryid:
  18524. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  18525. type: string
  18526. deliveryorderid:
  18527. description: 申报单号
  18528. type: string
  18529. deliverypricemove:
  18530. description: 升贴水(升贴水总额)
  18531. type: number
  18532. deliveryqty:
  18533. description: 交收数量(点选数量)
  18534. type: number
  18535. deliverystatus:
  18536. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  18537. type: integer
  18538. deliverytime:
  18539. description: 交割时间
  18540. type: string
  18541. deliverytotalamount:
  18542. description: 交收金额
  18543. type: number
  18544. enddate:
  18545. description: 结束交易日(yyyymmdd)
  18546. type: string
  18547. enumdicname:
  18548. description: 单位名称
  18549. type: string
  18550. matchaccountid:
  18551. description: 对手账号ID
  18552. type: integer
  18553. matchusername:
  18554. description: 对手方名称(仓单持有人)
  18555. type: string
  18556. p1goodsremainamount:
  18557. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  18558. type: number
  18559. pdeliverycloseqty:
  18560. description: p合约平仓数量
  18561. type: number
  18562. pdeliveryprice:
  18563. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  18564. type: number
  18565. pgoodscode:
  18566. description: 商品代码
  18567. type: string
  18568. pgoodsid:
  18569. description: p点选合约id
  18570. type: integer
  18571. pgoodsname:
  18572. description: 商品名称
  18573. type: string
  18574. ppricemode:
  18575. description: 点价价格方式 - 1:商品价 2:固定值
  18576. type: integer
  18577. tradedate:
  18578. description: 交易日(yyyymmdd)
  18579. type: string
  18580. userid:
  18581. description: 用户id
  18582. type: integer
  18583. username:
  18584. description: 用户名称
  18585. type: string
  18586. warehousename:
  18587. description: 仓库名称
  18588. type: string
  18589. wrfactortypeid:
  18590. description: 仓单要素类型ID
  18591. type: string
  18592. wrtypename:
  18593. description: 商品
  18594. type: string
  18595. xdeliverycloseqty:
  18596. description: 合约数量
  18597. type: number
  18598. xgoodsamount:
  18599. description: 期初均价
  18600. type: number
  18601. xgoodscode:
  18602. description: 商品代码
  18603. type: string
  18604. xgoodsid:
  18605. description: x交易合约ID
  18606. type: integer
  18607. xgoodsname:
  18608. description: 商品名称
  18609. type: string
  18610. type: object
  18611. models.WrDeliveryGoodsSection:
  18612. properties:
  18613. dglst:
  18614. description: 板块商品列表
  18615. items:
  18616. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  18617. type: array
  18618. imagepath:
  18619. description: 图片地址
  18620. type: string
  18621. orderindex:
  18622. description: 排序
  18623. type: integer
  18624. sectionid:
  18625. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  18626. = 1的版块1 - 云融指数
  18627. type: integer
  18628. sectionname:
  18629. description: 版块名称
  18630. type: string
  18631. sectiontype:
  18632. description: 版块类型 - 1:指数版块 2:普通版块
  18633. type: integer
  18634. type: object
  18635. models.WrDeliveryGoodsSectionConfig:
  18636. properties:
  18637. deliverygoodscode:
  18638. description: 现货商品代码
  18639. type: string
  18640. deliverygoodsid:
  18641. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18642. type: integer
  18643. deliverygoodsname:
  18644. description: 现货商品名称
  18645. type: string
  18646. orderindex:
  18647. description: 排序
  18648. type: integer
  18649. type: object
  18650. models.WrDraftUserInfo:
  18651. properties:
  18652. address:
  18653. description: 地址
  18654. type: string
  18655. attachment1:
  18656. description: 附件1
  18657. type: string
  18658. attachment2:
  18659. description: 附件2
  18660. type: string
  18661. attachment3:
  18662. description: 附件3
  18663. type: string
  18664. attachment4:
  18665. description: 附件4
  18666. type: string
  18667. attachment5:
  18668. description: 附件5
  18669. type: string
  18670. bankaccount:
  18671. description: 银行帐号 (加密存储)
  18672. type: string
  18673. bankaccountname:
  18674. description: 收款人名称
  18675. type: string
  18676. bankcardfrontphotourl:
  18677. description: 银行卡正面照地址
  18678. type: string
  18679. bankid:
  18680. description: 银行编码
  18681. type: string
  18682. bankname:
  18683. description: 银行名称
  18684. type: string
  18685. birthday:
  18686. description: 生日(个人:年月日)
  18687. type: string
  18688. biznature:
  18689. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  18690. type: integer
  18691. bizscope:
  18692. description: 企业经营范围(企业)
  18693. type: string
  18694. biztype:
  18695. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  18696. type: integer
  18697. cardbackphotourl:
  18698. description: 证件背面图片地址
  18699. type: string
  18700. cardfrontphotourl:
  18701. description: 证件正面图片地址
  18702. type: string
  18703. cardnum:
  18704. description: 证件号码(加密存储)
  18705. type: string
  18706. cardtypeid:
  18707. description: 证件类型ID
  18708. type: integer
  18709. cityid:
  18710. description: 市
  18711. type: integer
  18712. company:
  18713. description: 公司(个人)
  18714. type: string
  18715. contactcardbackphotourl:
  18716. description: 联系人证件背面图片地址
  18717. type: string
  18718. contactcardfrontphotourl:
  18719. description: 联系人证件正面图片地址
  18720. type: string
  18721. contactname:
  18722. description: 联系人
  18723. type: string
  18724. countryid:
  18725. description: 国家
  18726. type: integer
  18727. createtime:
  18728. description: 创建时间
  18729. type: string
  18730. creatorid:
  18731. description: 创建人
  18732. type: integer
  18733. creditquota:
  18734. description: 授信额度(金瑞)
  18735. type: number
  18736. customername:
  18737. description: 客户名称(企业名称)
  18738. type: string
  18739. districtid:
  18740. description: 地区
  18741. type: integer
  18742. email:
  18743. description: 邮件(加密存储)
  18744. type: string
  18745. fax:
  18746. description: 传真(加密存储)
  18747. type: string
  18748. halfbodyphotourl:
  18749. description: 半身照地址
  18750. type: string
  18751. hasencrypt:
  18752. description: 数据是否已加密 - 0:未加密 1:已加密
  18753. type: integer
  18754. headurl:
  18755. description: 头像地址
  18756. type: string
  18757. legalcardbackphotourl:
  18758. description: 法人身份证背面照地址
  18759. type: string
  18760. legalcardfrontphotourl:
  18761. description: 法人身份证正面照地址
  18762. type: string
  18763. legalpersonname:
  18764. description: 法人姓名(企业)
  18765. type: string
  18766. mobile:
  18767. description: 手机号码(加密存储)
  18768. type: string
  18769. mobile2:
  18770. description: 手机号码[明文-尚志]
  18771. type: string
  18772. modifierid:
  18773. description: 修改人
  18774. type: integer
  18775. modifiertime:
  18776. description: 修改时间
  18777. type: string
  18778. needinvoice:
  18779. description: 是否需要发票 - 0:不需要 1:需要
  18780. type: integer
  18781. nickname:
  18782. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  18783. type: string
  18784. openmode:
  18785. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  18786. 6:苹果手机端注册 7:PC交易端注册"
  18787. type: integer
  18788. otherurl:
  18789. description: 其它图片地址[使用分号分隔]
  18790. type: string
  18791. postalcode:
  18792. description: 邮政编码
  18793. type: string
  18794. provinceid:
  18795. description: 省
  18796. type: integer
  18797. proxystatementurl:
  18798. description: 授权委托书
  18799. type: string
  18800. qq:
  18801. description: QQ(加密存储
  18802. type: string
  18803. remark:
  18804. description: 备注
  18805. type: string
  18806. sex:
  18807. description: '用户性别 0: 女 1: 男'
  18808. type: integer
  18809. signpdfurl:
  18810. description: 签约pdf文件
  18811. type: string
  18812. taxpayernum:
  18813. description: 纳税人识别号
  18814. type: string
  18815. telphone:
  18816. description: 联系电话(加密存储)
  18817. type: string
  18818. userid:
  18819. description: 用户ID
  18820. type: integer
  18821. userinfotype:
  18822. description: 用户信息类型 - 1:个人 2:企业
  18823. type: integer
  18824. userstatus:
  18825. description: 用户状态 - 1:正常 2:注销
  18826. type: integer
  18827. usertype:
  18828. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  18829. type: integer
  18830. wechat:
  18831. description: 微信(加密存储)
  18832. type: string
  18833. wskhinfo:
  18834. description: 开户申请信息(JSON)
  18835. type: string
  18836. type: object
  18837. models.WrFAProductDetail:
  18838. properties:
  18839. accountid:
  18840. description: 资金账号
  18841. type: integer
  18842. areauserid:
  18843. description: 金融机构ID
  18844. type: integer
  18845. financingdays:
  18846. description: 天数(天)
  18847. type: integer
  18848. interestminlen:
  18849. description: 最小起息天数
  18850. type: integer
  18851. interestrate:
  18852. description: 利率
  18853. type: number
  18854. interestratemode:
  18855. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18856. type: integer
  18857. interestsettlemode:
  18858. description: 结息方式 - 1:按日结息 3:按月结息
  18859. type: integer
  18860. interestsettlevalue:
  18861. description: 结息方式值
  18862. type: integer
  18863. isautoloan:
  18864. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  18865. type: integer
  18866. loantag:
  18867. description: '放款标识: "放款快" 或者为空'
  18868. type: string
  18869. marginratio:
  18870. description: 保证金比率质押率 - [仓单质押]
  18871. type: number
  18872. productdetailid:
  18873. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  18874. type: integer
  18875. productid:
  18876. description: 金融产品ID
  18877. type: integer
  18878. productname:
  18879. description: 产品名称
  18880. type: string
  18881. updatetime:
  18882. description: 更新时间
  18883. type: string
  18884. username:
  18885. description: 融出方
  18886. type: string
  18887. type: object
  18888. models.WrFactorTypeInfo:
  18889. properties:
  18890. deliverygoodscode:
  18891. description: 品种代码
  18892. type: string
  18893. deliverygoodsname:
  18894. description: 品种名称
  18895. type: string
  18896. dgfactoryitemid:
  18897. description: 选择项id
  18898. type: integer
  18899. dgfactoryitemtypeid:
  18900. description: 要素选择项ID (1-仓库 2-品牌)
  18901. type: integer
  18902. dgfactoryitemvalue:
  18903. description: 要素项值
  18904. type: string
  18905. itemtypename:
  18906. description: 要素项名称
  18907. type: string
  18908. optioncompare:
  18909. description: 选择比较串
  18910. type: string
  18911. warehouseid:
  18912. description: 仓库id
  18913. type: integer
  18914. wrfactortypeid:
  18915. description: 仓单要素ID
  18916. type: string
  18917. wrfactortypename:
  18918. description: 要素名称
  18919. type: string
  18920. wrfactortypename2:
  18921. description: 要素名称(不含仓库)
  18922. type: string
  18923. wrstandardcode:
  18924. description: 品类代码
  18925. type: string
  18926. wrstandardid:
  18927. description: 品类id
  18928. type: integer
  18929. wrstandardname:
  18930. description: 品类名称
  18931. type: string
  18932. type: object
  18933. models.WrFilterItem:
  18934. properties:
  18935. itemcode:
  18936. description: 代码
  18937. type: string
  18938. itemid:
  18939. description: 项id
  18940. type: integer
  18941. itemname:
  18942. description: 名称
  18943. type: string
  18944. itemtype:
  18945. description: 类型 1-品种 2-品类(商品) 3-仓库
  18946. type: integer
  18947. type: object
  18948. models.WrFinanceBuyApply:
  18949. properties:
  18950. applydate:
  18951. description: 申请时间
  18952. type: string
  18953. applystatus:
  18954. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  18955. type: integer
  18956. applyuserid:
  18957. description: 申请人
  18958. type: integer
  18959. auditdate:
  18960. description: 审核时间
  18961. type: string
  18962. auditremark:
  18963. description: 审核备注
  18964. type: string
  18965. audituserid:
  18966. description: 审核人
  18967. type: integer
  18968. buyaccountid:
  18969. description: 买方资金账号
  18970. type: integer
  18971. buyorsell:
  18972. description: 买卖 - 0:买 1:卖
  18973. type: integer
  18974. buyuserid:
  18975. description: 买方用户ID
  18976. type: integer
  18977. buyusername:
  18978. description: 买方名称
  18979. type: string
  18980. buywrtradeorderid:
  18981. description: 融资方买委托单ID
  18982. type: string
  18983. deliverygoodscode:
  18984. description: 品种代码
  18985. type: string
  18986. deliverygoodsid:
  18987. description: 品种ID
  18988. type: integer
  18989. deliverygoodsname:
  18990. description: 品种名称
  18991. type: string
  18992. deliverymonth:
  18993. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  18994. type: string
  18995. enumdicname:
  18996. description: 单位名称
  18997. type: string
  18998. financeaccountid:
  18999. description: 融资方资金帐户ID
  19000. type: integer
  19001. financeapplyid:
  19002. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19003. type: string
  19004. financeareauserid:
  19005. description: 融资方用户ID
  19006. type: string
  19007. financename:
  19008. description: 融出方名称
  19009. type: string
  19010. financetype:
  19011. description: 融资类型 1-融资回购
  19012. type: integer
  19013. financingdays:
  19014. description: 天数(天)
  19015. type: integer
  19016. freezebuymargin:
  19017. description: 冻结融资保证金(买方)
  19018. type: number
  19019. handleremark:
  19020. description: 处理备注
  19021. type: string
  19022. handlestatus:
  19023. description: 处理状态
  19024. type: integer
  19025. interestminlen:
  19026. description: 最小起息天数
  19027. type: integer
  19028. interestrate:
  19029. description: 利率
  19030. type: number
  19031. interestratemode:
  19032. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19033. type: integer
  19034. interestsettlemode:
  19035. description: 结息方式 - 1:按日结息 3:按月结息
  19036. type: integer
  19037. interestsettlevalue:
  19038. description: 结息方式值
  19039. type: integer
  19040. isautoloan:
  19041. description: 是否自动放款 - 0:手动 1:自动
  19042. type: integer
  19043. marginratio:
  19044. description: 保证金比率质押率 - [仓单质押]
  19045. type: number
  19046. marketid:
  19047. description: 市场ID
  19048. type: integer
  19049. minivalue:
  19050. description: 现货商品最小变动值
  19051. type: integer
  19052. optioncompare:
  19053. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19054. type: string
  19055. orderqty:
  19056. description: 委托数量(商品数量)
  19057. type: number
  19058. productdetailid:
  19059. description: 产品组合ID
  19060. type: integer
  19061. productid:
  19062. description: 金融产品ID
  19063. type: integer
  19064. productname:
  19065. description: 产品名称
  19066. type: string
  19067. remark:
  19068. description: 备注
  19069. type: string
  19070. scfcontractid:
  19071. description: 仓单回购合同ID
  19072. type: string
  19073. sellaccountid:
  19074. description: 卖方资金账号
  19075. type: integer
  19076. selluserid:
  19077. description: 卖方用户ID
  19078. type: integer
  19079. sellwrtradeorderid:
  19080. description: 卖方委托单ID
  19081. type: string
  19082. tradeamount:
  19083. description: 成交金额(借款金额)
  19084. type: number
  19085. tradedate:
  19086. description: 交易日(yyyyMMdd)
  19087. type: string
  19088. tradeprice:
  19089. description: 成交价格
  19090. type: number
  19091. warehouseid:
  19092. description: 仓库ID
  19093. type: integer
  19094. warehousename:
  19095. description: 仓库名称
  19096. type: string
  19097. wrfactortypeid:
  19098. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19099. type: string
  19100. wrfactortypename:
  19101. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19102. type: string
  19103. wrpricetype:
  19104. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  19105. type: integer
  19106. wrstandardcode:
  19107. description: 现货商品代码
  19108. type: string
  19109. wrstandardid:
  19110. description: 现货商品ID
  19111. type: integer
  19112. wrstandardname:
  19113. description: 商品名称
  19114. type: string
  19115. wrtypename:
  19116. description: 商品
  19117. type: string
  19118. type: object
  19119. models.WrFriendApply:
  19120. properties:
  19121. applicantid:
  19122. description: 申请人
  19123. type: integer
  19124. applyname:
  19125. description: 申请人名称
  19126. type: string
  19127. applysrc:
  19128. description: 申请来源 - 1:管理端 2:终端
  19129. type: integer
  19130. applystatus:
  19131. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19132. type: integer
  19133. applytime:
  19134. description: 申请时间
  19135. type: string
  19136. auditname:
  19137. description: 审核人名称
  19138. type: string
  19139. auditorid:
  19140. description: 审核人
  19141. type: integer
  19142. auditremark:
  19143. description: 审核备注
  19144. type: string
  19145. auditsrc:
  19146. description: 审核来源 - 1:管理端 2:终端
  19147. type: integer
  19148. audittime:
  19149. description: 审核时间
  19150. type: string
  19151. friendapplyid:
  19152. description: 申请ID(SEQ_FRIENDAPPLY)
  19153. type: string
  19154. friendname:
  19155. description: 好友名字(已脱敏)
  19156. type: string
  19157. frienduserid:
  19158. description: 好友用户ID
  19159. type: string
  19160. remark:
  19161. description: 备注
  19162. type: string
  19163. userid:
  19164. description: 申请人用户ID
  19165. type: integer
  19166. type: object
  19167. models.WrFtDeliveryGoods:
  19168. properties:
  19169. deliverygoodscode:
  19170. description: 品种代码
  19171. type: string
  19172. deliverygoodsid:
  19173. description: 品种ID
  19174. type: integer
  19175. deliverygoodsname:
  19176. description: 品种名称
  19177. type: string
  19178. wdlst:
  19179. description: 商品列表
  19180. items:
  19181. $ref: '#/definitions/models.WrFtWrstandard'
  19182. type: array
  19183. type: object
  19184. models.WrFtWrstandard:
  19185. properties:
  19186. enumdicname:
  19187. description: 单位名称
  19188. type: string
  19189. minivalue:
  19190. description: 最小变动值
  19191. type: integer
  19192. wrstandardcode:
  19193. description: 现货商品代码
  19194. type: string
  19195. wrstandardid:
  19196. description: 现货商品ID
  19197. type: integer
  19198. wrstandardname:
  19199. description: 商品名称
  19200. type: string
  19201. type: object
  19202. models.WrGoodsInfo:
  19203. properties:
  19204. haswr:
  19205. description: 0:仓单预售 1:仓单贸易
  19206. type: integer
  19207. lstitem:
  19208. description: 商品信息项
  19209. items:
  19210. $ref: '#/definitions/models.WrTypeItem'
  19211. type: array
  19212. lststep:
  19213. description: 履约规则
  19214. items:
  19215. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19216. type: array
  19217. marketid:
  19218. description: 市场id
  19219. type: integer
  19220. type: object
  19221. models.WrGoodsPerformanceStep:
  19222. properties:
  19223. autoid:
  19224. description: AutoID
  19225. type: integer
  19226. isauto:
  19227. description: 是否自动 - 0:不自动 1:自动
  19228. type: integer
  19229. remark:
  19230. description: 备注
  19231. type: string
  19232. stepdate:
  19233. description: 天数信息(T+N)
  19234. type: string
  19235. stepdays:
  19236. description: 距离上一步天数
  19237. type: integer
  19238. stepindex:
  19239. description: 步骤序号
  19240. type: integer
  19241. stepinfo:
  19242. description: 步骤信息(步骤名称+步骤值)
  19243. type: string
  19244. steptypeid:
  19245. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19246. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19247. type: integer
  19248. steptypename:
  19249. description: 步骤名称
  19250. type: string
  19251. stepvalue:
  19252. description: 期初均价
  19253. type: number
  19254. templateid:
  19255. description: 履约计划模板ID
  19256. type: integer
  19257. type: object
  19258. models.WrHoldLB:
  19259. properties:
  19260. accountid:
  19261. description: 持有人帐户ID
  19262. type: integer
  19263. bannerpicurl:
  19264. description: Banner图
  19265. type: string
  19266. createtime:
  19267. description: 创建时间(过户时间)
  19268. type: string
  19269. deliverygoodscode:
  19270. description: 品种代码
  19271. type: string
  19272. deliverygoodsid:
  19273. description: 品种ID
  19274. type: integer
  19275. deliverygoodsname:
  19276. description: 品种名称
  19277. type: string
  19278. enableqty:
  19279. description: 可用数量
  19280. type: number
  19281. enumdicname:
  19282. description: 单位名称
  19283. type: string
  19284. freezerqty:
  19285. description: 冻结数量
  19286. type: number
  19287. ladingbillid:
  19288. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  19289. type: string
  19290. minivalue:
  19291. description: 现货商品最小变动值
  19292. type: integer
  19293. optioncompare:
  19294. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19295. type: string
  19296. parentsubnum:
  19297. description: 拆分父子单号
  19298. type: integer
  19299. pledgeqty:
  19300. description: 质押数量
  19301. type: number
  19302. qty:
  19303. description: 数量
  19304. type: number
  19305. subnum:
  19306. description: 提单子单号
  19307. type: integer
  19308. thumurls:
  19309. description: 缩略图
  19310. type: string
  19311. tradedate:
  19312. description: 交易日(yyyyMMdd)
  19313. type: string
  19314. userid:
  19315. description: 持有人ID
  19316. type: integer
  19317. warehouseid:
  19318. description: 仓库ID
  19319. type: integer
  19320. warehousename:
  19321. description: 仓库名称
  19322. type: string
  19323. wrfactortypeid:
  19324. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19325. type: string
  19326. wrfactortypename:
  19327. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19328. type: string
  19329. wrholdeno:
  19330. description: 仓单编号
  19331. type: string
  19332. wrid:
  19333. description: 仓单变更ID
  19334. type: string
  19335. wrstandardcode:
  19336. description: 现货商品代码
  19337. type: string
  19338. wrstandardid:
  19339. description: 现货商品ID
  19340. type: integer
  19341. wrstandardname:
  19342. description: 商品名称
  19343. type: string
  19344. wrtypename:
  19345. description: 商品
  19346. type: string
  19347. type: object
  19348. models.WrMarketTradeConfig:
  19349. properties:
  19350. basisdownratio:
  19351. description: 浮动价基差下限比例(仓单贸易)
  19352. type: number
  19353. basisupratio:
  19354. description: 浮动价基差上限比例(仓单贸易)
  19355. type: number
  19356. buychargealgorithm:
  19357. description: 买方手续费收取方式 1:比率 2:固定
  19358. type: integer
  19359. buychargealgorithm2:
  19360. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  19361. type: integer
  19362. buychargealgorithmvalue:
  19363. description: 买方手续费设置值(交易所部分)
  19364. type: number
  19365. buychargealgorithmvalue2:
  19366. description: 买方手续费设置值(会员部分)
  19367. type: number
  19368. buychargealgorithmvalue3:
  19369. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  19370. type: number
  19371. buychargealgorithmvalue4:
  19372. description: 回购买方手续费设置值(会员部分) --77:现货商城
  19373. type: number
  19374. buyfirstmarginalgorithm:
  19375. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  19376. type: integer
  19377. buyfirstmarginvalue:
  19378. description: 买方出价保证金设置值 - [竞拍]
  19379. type: number
  19380. buymarginalgorithm:
  19381. description: 买方保证金方式 - 1:比率 2:固定
  19382. type: integer
  19383. buymarginvalue:
  19384. description: 买方保证金设置值
  19385. type: number
  19386. buyreleaseratio:
  19387. description: 买方释放比率[2:分步履约]
  19388. type: number
  19389. executemode:
  19390. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  19391. type: integer
  19392. executeside:
  19393. description: 执行方[2:分步履约] - 1:买方 2:卖方
  19394. type: integer
  19395. failedchargealgorithm:
  19396. description: 流拍手续费收取方式 1:比率 2:固定
  19397. type: integer
  19398. failedchargevalue:
  19399. description: 流拍手续费设置值
  19400. type: number
  19401. failedchargevalue2:
  19402. description: 流拍卖方手续费设置值
  19403. type: number
  19404. holddays:
  19405. description: 合同期限[2:分步履约]
  19406. type: integer
  19407. listingmode:
  19408. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  19409. type: integer
  19410. marketid:
  19411. description: 市场ID-仓单贸易、竞拍、预售
  19412. type: integer
  19413. minqty:
  19414. description: 最小执行量[2:分步履约]
  19415. type: number
  19416. modifierid:
  19417. description: 修改人
  19418. type: integer
  19419. nowrquotaflag:
  19420. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  19421. type: integer
  19422. performancetempid:
  19423. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  19424. 立即执行(-1)
  19425. type: integer
  19426. performancetempid2:
  19427. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  19428. 立即执行
  19429. type: integer
  19430. performancetempid2s:
  19431. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  19432. - 履约方式: 立即执行
  19433. type: string
  19434. performancetempids:
  19435. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  19436. - 履约方式: 立即执行(-1)
  19437. type: string
  19438. performanceway:
  19439. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  19440. type: integer
  19441. sellchargealgorithm:
  19442. description: 卖方手续费收取方式 1:比率 2:固定
  19443. type: integer
  19444. sellchargealgorithm2:
  19445. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  19446. type: integer
  19447. sellchargealgorithmvalue:
  19448. description: 卖方手续费设置值(交易所部分)
  19449. type: number
  19450. sellchargealgorithmvalue2:
  19451. description: 卖方手续费设置值(会员部分)
  19452. type: number
  19453. sellchargealgorithmvalue3:
  19454. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  19455. type: number
  19456. sellchargealgorithmvalue4:
  19457. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  19458. type: number
  19459. sellmarginalgorithm:
  19460. description: 卖方保证金方式 - 1:比率 2:固定
  19461. type: integer
  19462. sellmarginvalue:
  19463. description: 卖方保证金设置值
  19464. type: number
  19465. sellmarginvalue2:
  19466. description: 卖方保证金设置值(无仓单)
  19467. type: number
  19468. sellreleaseratio:
  19469. description: 卖方释放比率[2:分步履约]
  19470. type: number
  19471. updatetime:
  19472. description: 更新时间
  19473. type: string
  19474. type: object
  19475. models.WrOrderDetail:
  19476. properties:
  19477. accountid:
  19478. description: 交易账号(资金账号)
  19479. type: integer
  19480. allfriendsflag:
  19481. description: 是否全好友可见 - 0:否 1:是
  19482. type: integer
  19483. amount:
  19484. description: 期初均价
  19485. type: number
  19486. bannerpicurl:
  19487. description: Banner图
  19488. type: string
  19489. begindate:
  19490. description: 开始交易日(yyyymmdd)
  19491. type: string
  19492. buyorsell:
  19493. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19494. type: integer
  19495. canbargain:
  19496. description: 是否可议价 - 0:不可 1:可
  19497. type: integer
  19498. cancelqty:
  19499. description: 撤销数量
  19500. type: number
  19501. canpart:
  19502. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  19503. type: integer
  19504. delistminqty:
  19505. description: 起摘数量
  19506. type: integer
  19507. deliverygoodscode:
  19508. description: 品种代码
  19509. type: string
  19510. deliverygoodsid:
  19511. description: 品种ID
  19512. type: integer
  19513. deliverygoodsname:
  19514. description: 品种名称
  19515. type: string
  19516. deliverymonth:
  19517. description: 交收月
  19518. type: string
  19519. enddate:
  19520. description: 结束交易日(yyyymmdd)
  19521. type: string
  19522. enumdicname:
  19523. description: 单位名称
  19524. type: string
  19525. fixedprice:
  19526. description: 固定价格 - [挂牌]
  19527. type: number
  19528. freezecharge:
  19529. description: 期初均价
  19530. type: number
  19531. freezemargin:
  19532. description: 期初均价
  19533. type: number
  19534. futupricemove:
  19535. description: 期货升贴水
  19536. type: number
  19537. futushow:
  19538. description: 期货合约/升贴水
  19539. type: string
  19540. goodscode:
  19541. description: 期货合约
  19542. type: string
  19543. goodsid:
  19544. description: 期货商品id
  19545. type: integer
  19546. goodsname:
  19547. description: 商品名称
  19548. type: string
  19549. haswr:
  19550. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19551. type: integer
  19552. isspecified:
  19553. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  19554. type: integer
  19555. ladingbillid:
  19556. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  19557. type: string
  19558. marginvalue:
  19559. description: 期初均价
  19560. type: number
  19561. marketid:
  19562. description: 市场ID
  19563. type: integer
  19564. matchusername:
  19565. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  19566. type: string
  19567. minivalue:
  19568. description: 现货商品最小变动值
  19569. type: integer
  19570. optioncompare:
  19571. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19572. type: string
  19573. orderqty:
  19574. description: 委托数量
  19575. type: number
  19576. ordertime:
  19577. description: 委托时间(挂牌时间)
  19578. type: string
  19579. performancetemplateid:
  19580. description: 履约模板id
  19581. type: integer
  19582. pricemove:
  19583. description: 升贴水(浮动价时填写) - [挂牌]
  19584. type: number
  19585. taname:
  19586. description: 交易用户名称(资金账号名称)
  19587. type: string
  19588. thumurls:
  19589. description: 缩略图
  19590. type: string
  19591. tradedate:
  19592. description: 交易日(yyyyMMdd)
  19593. type: string
  19594. tradeprice:
  19595. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  19596. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  19597. type: number
  19598. tradeqty:
  19599. description: 成交数量
  19600. type: number
  19601. userid:
  19602. description: 用户ID
  19603. type: integer
  19604. validtime:
  19605. description: 挂牌有效期
  19606. type: string
  19607. validtype:
  19608. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  19609. type: integer
  19610. warehouseid:
  19611. description: 仓库ID
  19612. type: integer
  19613. warehousename:
  19614. description: 仓库名称
  19615. type: string
  19616. wrfactortypeid:
  19617. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19618. type: string
  19619. wrfactortypename:
  19620. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19621. type: string
  19622. wrpricetype:
  19623. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19624. type: integer
  19625. wrstandardcode:
  19626. description: 现货商品代码
  19627. type: string
  19628. wrstandardid:
  19629. description: 现货商品ID
  19630. type: integer
  19631. wrstandardname:
  19632. description: 商品名称
  19633. type: string
  19634. wrtradeorderid:
  19635. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19636. type: string
  19637. wrtradeorderstatus:
  19638. 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:撤单解冻贷款失败
  19639. type: integer
  19640. wrtradetype:
  19641. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19642. type: integer
  19643. wrtypename:
  19644. description: 商品
  19645. type: string
  19646. type: object
  19647. models.WrOrderQuote:
  19648. properties:
  19649. bannerpicurl:
  19650. description: Banner图
  19651. type: string
  19652. buyprice:
  19653. description: 买价
  19654. type: number
  19655. buypricemove:
  19656. description: 买升贴水(基差)
  19657. type: number
  19658. buyqty:
  19659. description: 买量
  19660. type: number
  19661. deliverygoodscode:
  19662. description: 品种代码
  19663. type: string
  19664. deliverygoodsid:
  19665. description: 品种id
  19666. type: integer
  19667. deliverygoodsname:
  19668. description: 品种名称
  19669. type: string
  19670. deliverymonth:
  19671. description: 交收月
  19672. type: string
  19673. enumdicname:
  19674. description: 单位名称
  19675. type: string
  19676. goodscode:
  19677. description: 商品合约(浮动价列表才有)
  19678. type: string
  19679. goodsid:
  19680. description: 商品id(浮动价列表才有)
  19681. type: integer
  19682. minivalue:
  19683. description: 现货商品最小变动值
  19684. type: integer
  19685. pictureurls:
  19686. description: 详情图片(逗号分隔)
  19687. type: string
  19688. sellprice:
  19689. description: 卖价
  19690. type: number
  19691. sellpricemove:
  19692. description: 卖升贴水(基差)
  19693. type: number
  19694. sellqty:
  19695. description: 卖量
  19696. type: number
  19697. thumurls:
  19698. description: 缩略图片(1:1)(逗号分隔)
  19699. type: string
  19700. warehousecode:
  19701. description: 仓库代码
  19702. type: string
  19703. warehouseid:
  19704. description: 仓库id
  19705. type: integer
  19706. warehousename:
  19707. description: 仓库名称
  19708. type: string
  19709. wrfactortypeid:
  19710. description: 仓单要素id
  19711. type: string
  19712. wrfactortypename:
  19713. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19714. type: string
  19715. wrgoodsname:
  19716. description: 商品(商品名称+仓库要素名称 拼接)
  19717. type: string
  19718. wrstandardcode:
  19719. description: 商品代码
  19720. type: string
  19721. wrstandardid:
  19722. description: 商品id
  19723. type: integer
  19724. wrstandardname:
  19725. description: 商品名称
  19726. type: string
  19727. type: object
  19728. models.WrOrderQuoteDetail:
  19729. properties:
  19730. buyorsell:
  19731. description: 买卖 - 0:买 1:卖
  19732. type: integer
  19733. delistminqty:
  19734. description: 期初均价
  19735. type: number
  19736. deliverymonth:
  19737. description: 交收月
  19738. type: string
  19739. enumdicname:
  19740. description: 单位名称
  19741. type: string
  19742. fixedprice:
  19743. description: 买(卖)价
  19744. type: number
  19745. marketid:
  19746. description: 市场id
  19747. type: integer
  19748. minivalue:
  19749. description: 现货商品最小变动值
  19750. type: integer
  19751. orderqty:
  19752. description: 买(卖)量(=委托量-成交量)
  19753. type: number
  19754. ordertime:
  19755. description: 委托时间
  19756. type: string
  19757. pricemove:
  19758. description: 买(卖)升贴水- 基差
  19759. type: number
  19760. userid:
  19761. description: 购买方(销售方)用户ID
  19762. type: integer
  19763. username:
  19764. description: 购买方(销售方)
  19765. type: string
  19766. wrtradeorderid:
  19767. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19768. type: string
  19769. type: object
  19770. models.WrOutInApply:
  19771. properties:
  19772. applyid:
  19773. description: 申请单id
  19774. type: string
  19775. applystatus:
  19776. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  19777. 8:已撤销
  19778. type: integer
  19779. applytime:
  19780. description: 申请时间
  19781. type: string
  19782. applytype:
  19783. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  19784. type: integer
  19785. bannerpicurl:
  19786. description: Banner图
  19787. type: string
  19788. begindate:
  19789. description: 开始交易日(yyyymmdd)
  19790. type: string
  19791. deliverygoodscode:
  19792. description: 品种代码
  19793. type: string
  19794. deliverygoodsid:
  19795. description: 品种ID
  19796. type: integer
  19797. deliverygoodsname:
  19798. description: 品种名称
  19799. type: string
  19800. enddate:
  19801. description: 结束交易日(yyyymmdd)
  19802. type: string
  19803. enumdicname:
  19804. description: 单位名称
  19805. type: string
  19806. expresscompany:
  19807. description: 物流公司
  19808. type: string
  19809. expressnum:
  19810. description: 物流单号
  19811. type: string
  19812. minivalue:
  19813. description: 现货商品最小变动值
  19814. type: integer
  19815. optioncompare:
  19816. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19817. type: string
  19818. qty:
  19819. description: 数量
  19820. type: integer
  19821. userid:
  19822. description: 用户id
  19823. type: integer
  19824. warehouseid:
  19825. description: 仓库ID
  19826. type: integer
  19827. warehousename:
  19828. description: 仓库名称
  19829. type: string
  19830. wrfactortypeid:
  19831. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19832. type: string
  19833. wrfactortypename:
  19834. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19835. type: string
  19836. wrstandardcode:
  19837. description: 现货商品代码
  19838. type: string
  19839. wrstandardid:
  19840. description: 现货商品ID
  19841. type: integer
  19842. wrstandardname:
  19843. description: 商品名称
  19844. type: string
  19845. wrtypename:
  19846. description: 商品
  19847. type: string
  19848. type: object
  19849. models.WrPerformancePlan:
  19850. properties:
  19851. activatemonth:
  19852. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  19853. type: string
  19854. amount:
  19855. description: 履约金额(总金额)
  19856. type: number
  19857. begindate:
  19858. description: 开始交易日(yyyymmdd)
  19859. type: string
  19860. buyaccountid:
  19861. description: 买方账号
  19862. type: integer
  19863. buyerfreezeamount:
  19864. description: 履约冻结(买履约)
  19865. type: number
  19866. buyerfreezeamountremain:
  19867. description: 履约冻结剩余(买履约)
  19868. type: number
  19869. buyorsell:
  19870. description: 买卖方向 0-买 1-卖
  19871. type: integer
  19872. buypaidamount:
  19873. description: 买方已冻/已扣金额 (已付金额)
  19874. type: number
  19875. buyusername:
  19876. description: 买方名字
  19877. type: string
  19878. contractid:
  19879. description: 合同ID
  19880. type: integer
  19881. createtime:
  19882. description: 创建时间
  19883. type: string
  19884. creatorid:
  19885. description: 创建人
  19886. type: integer
  19887. curstepdeadline:
  19888. description: 当前步骤到期时间
  19889. type: string
  19890. curstepid:
  19891. description: 当前步骤ID
  19892. type: string
  19893. curstepname:
  19894. description: 当前步骤名称
  19895. type: string
  19896. deliverygoodscode:
  19897. description: 品种代码
  19898. type: string
  19899. deliverygoodsid:
  19900. description: 品种ID
  19901. type: integer
  19902. deliverygoodsname:
  19903. description: 品种名称
  19904. type: string
  19905. enddate:
  19906. description: 结束交易日(yyyymmdd)
  19907. type: string
  19908. enumdicname:
  19909. description: 单位名称
  19910. type: string
  19911. expressfee:
  19912. description: 运费
  19913. type: number
  19914. expressfeeconfirmed:
  19915. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  19916. type: integer
  19917. hasovershort:
  19918. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  19919. type: integer
  19920. haswr:
  19921. description: 类型 0-仓单预售 1-仓单贸易
  19922. type: integer
  19923. marketid:
  19924. description: 市场ID
  19925. type: integer
  19926. middleaccountid:
  19927. description: 中间商资金账号ID
  19928. type: integer
  19929. middleuserid:
  19930. description: 中间商用户ID
  19931. type: integer
  19932. minivalue:
  19933. description: 现货商品最小变动值
  19934. type: integer
  19935. optioncompare:
  19936. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19937. type: string
  19938. overshortamount:
  19939. description: 溢短金额
  19940. type: number
  19941. overshortqty:
  19942. description: 溢短数量
  19943. type: number
  19944. paymenttype:
  19945. description: 付款方式 - 1:冻结 2:扣款
  19946. type: integer
  19947. performanceplanid:
  19948. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  19949. type: string
  19950. performancestatus:
  19951. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  19952. 9:超时待处理 10:超时关闭
  19953. type: integer
  19954. performancetype:
  19955. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  19956. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  19957. type: integer
  19958. qty:
  19959. description: 履约数量
  19960. type: number
  19961. relatedorderid:
  19962. description: 关联单号(履约类型的关联单号)
  19963. type: string
  19964. remark:
  19965. description: 备注
  19966. type: string
  19967. sellaccountid:
  19968. description: 卖方账号
  19969. type: integer
  19970. sellerfreezeamount:
  19971. description: 履约冻结(卖履约)
  19972. type: number
  19973. sellerfreezeamountremain:
  19974. description: 履约冻结剩余(卖履约)
  19975. type: number
  19976. sellreceivedamount:
  19977. description: 卖方已收金额
  19978. type: number
  19979. sellusername:
  19980. description: 卖方名字
  19981. type: string
  19982. shipremark:
  19983. description: 发货备注[物流单号]
  19984. type: string
  19985. starttime:
  19986. description: 开始时间
  19987. type: string
  19988. steptypeid:
  19989. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19990. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19991. type: integer
  19992. typename:
  19993. description: 履约类型 名称
  19994. type: string
  19995. unpaidamount:
  19996. description: 期初均价
  19997. type: number
  19998. userid:
  19999. description: 用户id
  20000. type: integer
  20001. warehouseid:
  20002. description: 仓库ID
  20003. type: integer
  20004. warehousename:
  20005. description: 仓库名称
  20006. type: string
  20007. wrfactortypeid:
  20008. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20009. type: string
  20010. wrfactortypename:
  20011. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20012. type: string
  20013. wrstandardcode:
  20014. description: 现货商品代码
  20015. type: string
  20016. wrstandardid:
  20017. description: 现货商品ID
  20018. type: integer
  20019. wrstandardname:
  20020. description: 商品名称
  20021. type: string
  20022. wrtransferuserid:
  20023. description: 仓单受让用户
  20024. type: integer
  20025. wrtypename:
  20026. description: 商品
  20027. type: string
  20028. required:
  20029. - userid
  20030. type: object
  20031. models.WrPerformancePlanStep:
  20032. properties:
  20033. delaydays:
  20034. description: 延期申请天数
  20035. type: integer
  20036. deliverygoodscode:
  20037. description: 品种代码
  20038. type: string
  20039. deliverygoodsid:
  20040. description: 品种ID
  20041. type: integer
  20042. deliverygoodsname:
  20043. description: 品种名称
  20044. type: string
  20045. endtime:
  20046. description: 结束日期
  20047. type: string
  20048. enumdicname:
  20049. description: 单位名称
  20050. type: string
  20051. executeside:
  20052. description: 步骤执行方 - 1:买方 2:卖方
  20053. type: integer
  20054. handlestatus:
  20055. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  20056. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  20057. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  20058. type: integer
  20059. isauto:
  20060. description: 是否自动 - 0:不自动 1:自动
  20061. type: integer
  20062. islastreceivestep:
  20063. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  20064. type: integer
  20065. minivalue:
  20066. description: 现货商品最小变动值
  20067. type: integer
  20068. optioncompare:
  20069. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20070. type: string
  20071. overdays:
  20072. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  20073. type: integer
  20074. performancestepid:
  20075. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  20076. type: string
  20077. planid:
  20078. description: 所属履约计划ID
  20079. type: string
  20080. realamount:
  20081. description: 实际完成金额
  20082. type: number
  20083. relatedorderid:
  20084. description: 关联单号
  20085. type: string
  20086. remaindays:
  20087. description: 剩余天数
  20088. type: integer
  20089. remark:
  20090. description: 错误备注
  20091. type: string
  20092. starttime:
  20093. description: 开始日期
  20094. type: string
  20095. stepamount:
  20096. description: 步骤金额
  20097. type: number
  20098. stepdays:
  20099. description: 距离上一步天数(分钟)
  20100. type: integer
  20101. stepindex:
  20102. description: 步骤序号
  20103. type: integer
  20104. steplanchtype:
  20105. description: 步骤启动类型 - 1:系统自动 2:手动
  20106. type: integer
  20107. stepremark:
  20108. description: 步骤备注
  20109. type: string
  20110. stepstatus:
  20111. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  20112. type: integer
  20113. steptypeid:
  20114. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  20115. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  20116. type: integer
  20117. steptypename:
  20118. description: 步骤名称
  20119. type: string
  20120. stepvalue:
  20121. description: 步骤值
  20122. type: number
  20123. warehouseid:
  20124. description: 仓库ID
  20125. type: integer
  20126. warehousename:
  20127. description: 仓库名称
  20128. type: string
  20129. wrfactortypeid:
  20130. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20131. type: string
  20132. wrfactortypename:
  20133. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20134. type: string
  20135. wrstandardcode:
  20136. description: 现货商品代码
  20137. type: string
  20138. wrstandardid:
  20139. description: 现货商品ID
  20140. type: integer
  20141. wrstandardname:
  20142. description: 商品名称
  20143. type: string
  20144. wrtypename:
  20145. description: 商品
  20146. type: string
  20147. type: object
  20148. models.WrPerformanceStepType:
  20149. properties:
  20150. canauto:
  20151. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  20152. type: integer
  20153. steptypeid:
  20154. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  20155. type: integer
  20156. steptypename:
  20157. description: 步骤类型名称
  20158. type: string
  20159. type: object
  20160. models.WrPerformanceTemplateEx:
  20161. properties:
  20162. autoid:
  20163. description: AutoID 模板id
  20164. type: integer
  20165. createtime:
  20166. description: 创建时间
  20167. type: string
  20168. creatorid:
  20169. description: 创建人
  20170. type: integer
  20171. lstStep:
  20172. description: 步骤信息列表
  20173. items:
  20174. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  20175. type: array
  20176. paymenttype:
  20177. description: 支付方式 - 1:冻结 2:扣款
  20178. type: integer
  20179. takemode:
  20180. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  20181. type: integer
  20182. templatename:
  20183. description: 模板名称
  20184. type: string
  20185. templatetype:
  20186. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  20187. (无仓单) 5:挂牌期权 6:竞拍-降价式
  20188. type: integer
  20189. userid:
  20190. description: 所属用户
  20191. type: integer
  20192. type: object
  20193. models.WrPosition:
  20194. properties:
  20195. accountid:
  20196. description: 帐户ID
  20197. type: integer
  20198. buyexcuteqty:
  20199. description: 采购履约中数量
  20200. type: number
  20201. creditcurqty:
  20202. description: 授信当前数量(预售仓单:预售当前量)
  20203. type: number
  20204. creditenableqty:
  20205. description: '授信可用数量(预售仓单: 可用数量)'
  20206. type: number
  20207. creditfreezeqty:
  20208. description: '授信冻结数量(预售仓单: 当前数量)'
  20209. type: number
  20210. credittotalqty:
  20211. description: 授信总数量(预售仓单:预售总量)
  20212. type: number
  20213. credittradeqty:
  20214. description: 授信成交数量(预售仓单:成交总量)
  20215. type: number
  20216. deliverygoodscode:
  20217. description: 品种代码
  20218. type: string
  20219. deliverygoodsid:
  20220. description: 品种ID
  20221. type: integer
  20222. deliverygoodsname:
  20223. description: 品种名称
  20224. type: string
  20225. enalbeqty:
  20226. description: 可用数量
  20227. type: number
  20228. enumdicname:
  20229. description: 单位名称
  20230. type: string
  20231. freezeqty:
  20232. description: 总冻结数量
  20233. type: number
  20234. haswr:
  20235. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20236. type: integer
  20237. minivalue:
  20238. description: 现货商品最小变动值
  20239. type: integer
  20240. modifytime:
  20241. description: 修改时间(过户时间)
  20242. type: string
  20243. optioncompare:
  20244. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20245. type: string
  20246. pledgeqty:
  20247. description: 质押数量
  20248. type: number
  20249. querytype:
  20250. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  20251. type: integer
  20252. sellexcuteqty:
  20253. description: 销售履约中数量
  20254. type: number
  20255. totalqty:
  20256. description: 总数量(库存数量)
  20257. type: number
  20258. warehouseid:
  20259. description: 仓库ID
  20260. type: integer
  20261. warehousename:
  20262. description: 仓库名称
  20263. type: string
  20264. wrfactortypeid:
  20265. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20266. type: string
  20267. wrfactortypename:
  20268. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20269. type: string
  20270. wrpositionid:
  20271. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  20272. type: string
  20273. wrpositionno:
  20274. description: 仓单编号
  20275. type: string
  20276. wrstandardcode:
  20277. description: 现货商品代码
  20278. type: string
  20279. wrstandardid:
  20280. description: 现货商品ID
  20281. type: integer
  20282. wrstandardname:
  20283. description: 商品名称
  20284. type: string
  20285. wrtypename:
  20286. description: 商品
  20287. type: string
  20288. wruserid:
  20289. description: 持有人ID
  20290. type: integer
  20291. type: object
  20292. models.WrPreSaleInfo:
  20293. properties:
  20294. bannerpicurl:
  20295. description: Banner图
  20296. type: string
  20297. baseqty:
  20298. description: 中签基数
  20299. type: number
  20300. createtime:
  20301. description: 创建时间
  20302. type: string
  20303. deliverygoodsid:
  20304. description: 现货品种ID
  20305. type: integer
  20306. enddate:
  20307. description: 预售结束日期
  20308. type: string
  20309. enumdicname:
  20310. description: 单位名称
  20311. type: string
  20312. lotteryflag:
  20313. description: 摇号标识 - 0:未摇号 1:已摇号
  20314. type: integer
  20315. lotteryqty:
  20316. description: 摇号总量
  20317. type: number
  20318. luckyqty:
  20319. description: 已中签量
  20320. type: number
  20321. marketid:
  20322. description: 市场ID
  20323. type: integer
  20324. maxbuyqty:
  20325. description: 单人最大申购量
  20326. type: number
  20327. maxluckyqty:
  20328. description: 单人最大中签量
  20329. type: number
  20330. pictureurls:
  20331. description: 详情图片(逗号分隔)
  20332. type: string
  20333. placeqty:
  20334. description: 已配售量
  20335. type: number
  20336. presaleapplyid:
  20337. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  20338. example: "0"
  20339. type: string
  20340. presaleqty:
  20341. description: 预售总量
  20342. type: number
  20343. presalestatus:
  20344. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  20345. type: integer
  20346. sellaccountid:
  20347. description: 发行方资金账户ID
  20348. type: integer
  20349. selluserid:
  20350. description: 发行方用户ID
  20351. type: integer
  20352. sellwrtradeorderid:
  20353. description: 发行方卖委托单ID
  20354. type: string
  20355. startdate:
  20356. description: 预售开始日期
  20357. type: string
  20358. takestartdate:
  20359. description: 提货开始日期
  20360. type: string
  20361. thumurls:
  20362. description: 缩略图片(1:1)(逗号分隔)
  20363. type: string
  20364. tradedate:
  20365. description: 交易日
  20366. type: string
  20367. unitid:
  20368. description: 单位ID
  20369. type: integer
  20370. unitprice:
  20371. description: 商品单价
  20372. type: number
  20373. username:
  20374. description: 发行方用户名称
  20375. type: string
  20376. warehousecode:
  20377. description: 仓库代码(仓库简称)
  20378. type: string
  20379. warehouseid:
  20380. description: 仓库ID
  20381. type: integer
  20382. warehousename:
  20383. description: 仓库名称
  20384. type: string
  20385. wrfactortypeid:
  20386. description: 仓单要素类型ID - 根据现货商品\仓库生成
  20387. example: "0"
  20388. type: string
  20389. wrstandardid:
  20390. description: 现货商品ID
  20391. type: integer
  20392. wrstandardname:
  20393. description: 现货商品名称
  20394. type: string
  20395. type: object
  20396. models.WrQuoteOrderMyq:
  20397. properties:
  20398. buyorsell:
  20399. description: 买卖 - 0:买 1:卖
  20400. type: integer
  20401. canbargain:
  20402. description: 是否可议价 - 0:不可 1:可
  20403. type: integer
  20404. canpart:
  20405. description: 是否允许部份摘牌 - 0:不允许 1:允许
  20406. type: integer
  20407. delistminqty:
  20408. description: 期初均价
  20409. type: number
  20410. deliverygoodscode:
  20411. description: 品种代码
  20412. type: string
  20413. deliverygoodsid:
  20414. description: 品种ID
  20415. type: integer
  20416. deliverygoodsname:
  20417. description: 品种名称
  20418. type: string
  20419. deliverymonth:
  20420. description: 交收月
  20421. type: string
  20422. enumdicname:
  20423. description: 单位名称
  20424. type: string
  20425. fixedprice:
  20426. description: 买(卖)价
  20427. type: number
  20428. goodscode:
  20429. description: 商品合约代码
  20430. type: string
  20431. marginflag:
  20432. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  20433. type: integer
  20434. marginvalue:
  20435. description: 保证金设置值
  20436. type: number
  20437. minivalue:
  20438. description: 现货商品最小变动值
  20439. type: integer
  20440. orderqty:
  20441. description: 买(卖)量(=委托量-成交量)
  20442. type: number
  20443. ordertime:
  20444. description: 委托时间
  20445. type: string
  20446. performancetemplateid:
  20447. description: 履约模板id
  20448. type: integer
  20449. pricemove:
  20450. description: 买(卖)升贴水- 基差
  20451. type: number
  20452. templatename:
  20453. description: 履约模板名称
  20454. type: string
  20455. userid:
  20456. description: 购买方(销售方)用户ID
  20457. type: integer
  20458. username:
  20459. description: 购买方(销售方)
  20460. type: string
  20461. validtime:
  20462. description: 有效期限
  20463. type: string
  20464. validtype:
  20465. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  20466. type: integer
  20467. warehousename:
  20468. description: 仓库名称
  20469. type: string
  20470. wrfactortypeid:
  20471. description: 仓单要素id
  20472. type: string
  20473. wrstandardcode:
  20474. description: 现货商品代码
  20475. type: string
  20476. wrstandardid:
  20477. description: 现货商品ID
  20478. type: integer
  20479. wrstandardname:
  20480. description: 商品名称
  20481. type: string
  20482. wrtradeorderid:
  20483. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20484. type: string
  20485. wrtypename:
  20486. description: 商品
  20487. type: string
  20488. type: object
  20489. models.WrReckonSpotGoodsTradeSum:
  20490. properties:
  20491. begindate:
  20492. description: 开始日期(结果含开始日期) yyyymmdd
  20493. type: string
  20494. enddate:
  20495. description: 结束日期(结果含结束日期) yyyymmdd
  20496. type: string
  20497. istoday:
  20498. description: 是否当日
  20499. type: boolean
  20500. marketid:
  20501. description: 市场ID
  20502. type: integer
  20503. price:
  20504. description: 价格 = 日成交金额 / 日成交数量
  20505. type: string
  20506. reckondate:
  20507. description: 日期 格式 yyyymmdd
  20508. type: string
  20509. tradeamount:
  20510. description: 期初均价
  20511. type: number
  20512. tradeqty:
  20513. description: 期初均价
  20514. type: number
  20515. wrstandardid:
  20516. description: 现货商品ID
  20517. type: integer
  20518. type: object
  20519. models.WrScfContract:
  20520. properties:
  20521. borroweruserid:
  20522. description: 借款用户ID
  20523. type: integer
  20524. buybackwrpositionqty:
  20525. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  20526. type: number
  20527. closeinterest:
  20528. description: 已结利息 -> 已结费用
  20529. type: number
  20530. currisklevel:
  20531. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  20532. type: integer
  20533. deadline:
  20534. description: 截止日期(yyyyMMdd) -> 借款到期时间
  20535. type: string
  20536. deliverygoodscode:
  20537. description: 品种代码
  20538. type: string
  20539. deliverygoodsid:
  20540. description: 品种ID
  20541. type: integer
  20542. deliverygoodsname:
  20543. description: 品种名称
  20544. type: string
  20545. enumdicname:
  20546. description: 单位名称
  20547. type: string
  20548. financingdays:
  20549. description: 天数(天)
  20550. type: integer
  20551. initmargin:
  20552. description: 保证金 - [仓单回购]
  20553. type: number
  20554. interestamount:
  20555. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  20556. type: number
  20557. interestdebt:
  20558. description: 利息欠款(记录负数) -> 费用欠款
  20559. type: number
  20560. interestminlen:
  20561. description: 最小起息天数
  20562. type: integer
  20563. interestrate:
  20564. description: 利率
  20565. type: number
  20566. interestratemode:
  20567. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  20568. type: integer
  20569. interestsettlemode:
  20570. description: 结息方式 - 1:按日结息 3:按月结息
  20571. type: integer
  20572. interestsettlevalue:
  20573. description: 结息方式值
  20574. type: integer
  20575. isautoloan:
  20576. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  20577. type: integer
  20578. lastcloseinterestday:
  20579. description: 最近结息日(yyyyMMdd)
  20580. type: string
  20581. lenderamount:
  20582. description: 贷款金额 -> 借款金额
  20583. type: number
  20584. lenderuserid:
  20585. description: 贷款方用户ID -> 融出方用户ID
  20586. type: integer
  20587. lenderusername:
  20588. description: 融出方
  20589. type: string
  20590. marginratio:
  20591. description: 保证金比率质押率 - [仓单质押]
  20592. type: number
  20593. marketid:
  20594. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  20595. type: integer
  20596. minivalue:
  20597. description: 现货商品最小变动值
  20598. type: integer
  20599. optioncompare:
  20600. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20601. type: string
  20602. pricemove:
  20603. description: 估值升贴水值
  20604. type: number
  20605. productdetailid:
  20606. description: 产品组合ID
  20607. type: integer
  20608. productid:
  20609. description: 金融产品ID
  20610. type: integer
  20611. productname:
  20612. description: 产品名称
  20613. type: string
  20614. remainamount:
  20615. description: 合同剩余金额 -> 剩余金额
  20616. type: number
  20617. remainwrpositionqty:
  20618. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  20619. type: number
  20620. remark:
  20621. description: 备注
  20622. type: string
  20623. scfcontractid:
  20624. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  20625. type: string
  20626. scfcontractstatus:
  20627. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  20628. 9:违约结束 10:已注销 11:已关闭 99:未提交
  20629. type: integer
  20630. scfcontracttype:
  20631. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  20632. type: integer
  20633. startinterestday:
  20634. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  20635. type: string
  20636. totalinterest:
  20637. description: 已计利息 -> 已计费用
  20638. type: number
  20639. unpaidinterest:
  20640. description: 期初均价
  20641. type: number
  20642. updatetime:
  20643. description: 更新时间
  20644. type: string
  20645. warehouseid:
  20646. description: 仓库ID
  20647. type: integer
  20648. warehousename:
  20649. description: 仓库名称
  20650. type: string
  20651. wrfactortypeid:
  20652. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20653. type: string
  20654. wrfactortypename:
  20655. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20656. type: string
  20657. wrqty:
  20658. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  20659. type: number
  20660. wrstandardcode:
  20661. description: 现货商品代码
  20662. type: string
  20663. wrstandardid:
  20664. description: 现货商品ID
  20665. type: integer
  20666. wrstandardname:
  20667. description: 商品名称
  20668. type: string
  20669. wrtypename:
  20670. description: 商品
  20671. type: string
  20672. type: object
  20673. models.WrScfContractInterest:
  20674. properties:
  20675. closeinterest:
  20676. description: 已结利息
  20677. type: number
  20678. closeintereststatus:
  20679. description: 结息状态 - 1:未结 2:已结
  20680. type: integer
  20681. closetime:
  20682. description: 结息时间
  20683. type: string
  20684. closetradedate:
  20685. description: 结息交易日
  20686. type: string
  20687. creatorid:
  20688. description: 操作人ID
  20689. type: integer
  20690. dayrate:
  20691. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  20692. type: number
  20693. interest:
  20694. description: 利息
  20695. type: number
  20696. interestamount:
  20697. description: 计息金额
  20698. type: number
  20699. interestday:
  20700. description: 计息日(yyyyMMdd)
  20701. type: string
  20702. scfcontractid:
  20703. description: SCF合同ID
  20704. type: string
  20705. scfcontractinterestid:
  20706. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  20707. type: integer
  20708. updatetime:
  20709. description: 更新时间
  20710. type: string
  20711. type: object
  20712. models.WrSearchUser:
  20713. properties:
  20714. userid:
  20715. description: 用户ID
  20716. type: integer
  20717. username:
  20718. description: 用户名称(已脱敏)
  20719. type: string
  20720. username2:
  20721. description: 用户名称(未脱敏)
  20722. type: string
  20723. usertype:
  20724. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  20725. type: integer
  20726. required:
  20727. - username
  20728. type: object
  20729. models.WrSiteColumnDetail:
  20730. properties:
  20731. brief:
  20732. description: 简介
  20733. type: string
  20734. context:
  20735. description: 内容
  20736. type: string
  20737. coverimage:
  20738. description: 封面图片
  20739. type: string
  20740. creaedate:
  20741. description: 创建时间
  20742. type: string
  20743. id:
  20744. description: ID(SEQ_SITE_COLUMNDETAIL)
  20745. type: integer
  20746. istop:
  20747. description: 是否置顶 - 0:不置 1:置顶
  20748. type: integer
  20749. publishdate:
  20750. description: 发布日期
  20751. type: string
  20752. title:
  20753. description: 标题
  20754. type: string
  20755. updatedate:
  20756. description: 修改时间
  20757. type: string
  20758. type: object
  20759. models.WrSpecialMatchOrder:
  20760. properties:
  20761. amount:
  20762. description: 金额 = 数量 * 价格
  20763. type: number
  20764. buyorsell:
  20765. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  20766. type: integer
  20767. cancelqty:
  20768. description: 撤销数量
  20769. type: number
  20770. deliverygoodscode:
  20771. description: 品种代码
  20772. type: string
  20773. deliverygoodsid:
  20774. description: 品种ID
  20775. type: integer
  20776. deliverygoodsname:
  20777. description: 品种名称
  20778. type: string
  20779. enumdicname:
  20780. description: 单位名称
  20781. type: string
  20782. fixedprice:
  20783. description: 固定价格(价格)
  20784. type: number
  20785. haswr:
  20786. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20787. type: integer
  20788. isspecified:
  20789. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  20790. type: integer
  20791. marketid:
  20792. description: 市场ID
  20793. type: integer
  20794. matchuserid:
  20795. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  20796. type: integer
  20797. matchusername:
  20798. description: 指定方
  20799. type: string
  20800. minivalue:
  20801. description: 现货商品最小变动值
  20802. type: integer
  20803. optioncompare:
  20804. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20805. type: string
  20806. orderqty:
  20807. description: 委托数量
  20808. type: number
  20809. ordertime:
  20810. description: 委托时间
  20811. type: string
  20812. pricemove:
  20813. description: 升贴水(浮动价时填写) - [挂牌]
  20814. type: number
  20815. tradedate:
  20816. description: 交易日(yyyyMMdd)
  20817. type: string
  20818. tradeprice:
  20819. description: 成交价格
  20820. type: number
  20821. tradeqty:
  20822. description: 成交数量
  20823. type: number
  20824. userid:
  20825. description: 用户ID
  20826. type: integer
  20827. username:
  20828. description: 发起方
  20829. type: string
  20830. warehouseid:
  20831. description: 仓库ID
  20832. type: integer
  20833. warehousename:
  20834. description: 仓库名称
  20835. type: string
  20836. wrfactortypeid:
  20837. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20838. type: string
  20839. wrfactortypename:
  20840. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20841. type: string
  20842. wrpricetype:
  20843. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  20844. type: integer
  20845. wrstandardcode:
  20846. description: 现货商品代码
  20847. type: string
  20848. wrstandardid:
  20849. description: 现货商品ID
  20850. type: integer
  20851. wrstandardname:
  20852. description: 商品名称
  20853. type: string
  20854. wrtradeorderid:
  20855. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20856. type: string
  20857. wrtradeorderstatus:
  20858. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  20859. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  20860. type: integer
  20861. wrtradetype:
  20862. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  20863. type: integer
  20864. wrtypename:
  20865. description: 商品
  20866. type: string
  20867. type: object
  20868. models.WrSpotGroupTradeSum:
  20869. properties:
  20870. deliverygoodscode:
  20871. description: 现货品种代码
  20872. type: string
  20873. deliverygoodsid:
  20874. description: 现货品种ID(SEQ_DELIVERYGOODS)
  20875. type: integer
  20876. deliverygoodsname:
  20877. description: 现货品种名称
  20878. type: string
  20879. lastavgprice:
  20880. description: 上上个交易日价格(前2天价格)
  20881. type: string
  20882. lastreckondate:
  20883. description: 上上个交易日(前2天交易日)
  20884. type: string
  20885. reckondate:
  20886. description: 上个交易日(前1天交易日)
  20887. type: string
  20888. todayavgprice:
  20889. description: 上个交易日价格(前1天价格)
  20890. type: string
  20891. updown:
  20892. description: 涨跌
  20893. type: string
  20894. updownratio:
  20895. description: 涨幅(已格式化, 直接显示即可)
  20896. type: string
  20897. type: object
  20898. models.WrSpotGroupTradeSumDetail:
  20899. properties:
  20900. deliverygoodsid:
  20901. description: 现货商品id
  20902. type: integer
  20903. price:
  20904. description: 价格
  20905. type: number
  20906. reckondate:
  20907. description: 日期(yyymmdd, 如:20211031)
  20908. type: string
  20909. type: object
  20910. models.WrSpotGroupTradeSumEx:
  20911. properties:
  20912. lst:
  20913. description: 指数列表
  20914. items:
  20915. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  20916. type: array
  20917. prereckondate:
  20918. description: 上上个交易日(yyymmdd)
  20919. type: string
  20920. reckondate:
  20921. description: 上个交易日(yyyymmdd)
  20922. type: string
  20923. type: object
  20924. models.WrStandardFactoryItem:
  20925. properties:
  20926. dgfactoryitemid:
  20927. description: 选择项id
  20928. type: integer
  20929. dgfactoryitemvalue:
  20930. description: 要素项值
  20931. type: string
  20932. warehouseid:
  20933. description: 仓库id
  20934. type: integer
  20935. type: object
  20936. models.WrStandardFactoryItemEx:
  20937. properties:
  20938. dgfactoryitemtypeid:
  20939. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  20940. type: integer
  20941. itemlst:
  20942. description: 要素项列表
  20943. items:
  20944. $ref: '#/definitions/models.WrStandardFactoryItem'
  20945. type: array
  20946. itemtypename:
  20947. description: 要素项类型名称
  20948. type: string
  20949. wrstandardid:
  20950. description: 品类
  20951. type: integer
  20952. type: object
  20953. models.WrTradeDetail:
  20954. properties:
  20955. accountid:
  20956. description: 资金账号
  20957. type: integer
  20958. bannerpicurl:
  20959. description: Banner图
  20960. type: string
  20961. begindate:
  20962. description: 开始交易日(yyyymmdd)
  20963. type: string
  20964. buyorsell:
  20965. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  20966. type: integer
  20967. chargevalue:
  20968. description: 手续费
  20969. type: number
  20970. deliverygoodscode:
  20971. description: 品种代码
  20972. type: string
  20973. deliverygoodsid:
  20974. description: 品种ID
  20975. type: integer
  20976. deliverygoodsname:
  20977. description: 品种名称
  20978. type: string
  20979. deliverymonth:
  20980. description: 交收月
  20981. type: string
  20982. enddate:
  20983. description: 结束交易日(yyyymmdd)
  20984. type: string
  20985. enumdicname:
  20986. description: 单位名称
  20987. type: string
  20988. haswr:
  20989. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20990. type: integer
  20991. marketid:
  20992. description: 市场ID
  20993. type: integer
  20994. matchaccountid:
  20995. description: 对手账号
  20996. type: integer
  20997. matchusername:
  20998. description: 对手方
  20999. type: string
  21000. minivalue:
  21001. description: 现货商品最小变动值
  21002. type: integer
  21003. optioncompare:
  21004. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21005. type: string
  21006. thumurls:
  21007. description: 缩略图
  21008. type: string
  21009. tradedate:
  21010. description: 交易日(yyyyMMdd)
  21011. type: string
  21012. tradeprice:
  21013. description: 成交价格
  21014. type: number
  21015. tradeqty:
  21016. description: 成交数量
  21017. type: number
  21018. tradetime:
  21019. description: 成交时间
  21020. type: string
  21021. userid:
  21022. description: 用户ID
  21023. type: integer
  21024. warehouseid:
  21025. description: 仓库ID
  21026. type: integer
  21027. warehousename:
  21028. description: 仓库名称
  21029. type: string
  21030. wrfactortypeid:
  21031. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21032. type: string
  21033. wrfactortypename:
  21034. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21035. type: string
  21036. wrstandardcode:
  21037. description: 现货商品代码
  21038. type: string
  21039. wrstandardid:
  21040. description: 现货商品ID
  21041. type: integer
  21042. wrstandardname:
  21043. description: 商品名称
  21044. type: string
  21045. wrtradedetailid:
  21046. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  21047. type: string
  21048. wrtradetype:
  21049. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  21050. type: integer
  21051. wrtypename:
  21052. description: 商品
  21053. type: string
  21054. type: object
  21055. models.WrTradeOrderDetail:
  21056. properties:
  21057. buyorsell:
  21058. description: 买卖方向 0-买 1-卖
  21059. type: integer
  21060. goodsid:
  21061. description: 商品id
  21062. type: integer
  21063. orderid:
  21064. description: 委托单号
  21065. type: string
  21066. orderprice:
  21067. description: 期初均价
  21068. type: number
  21069. orderqty:
  21070. description: 委托数量
  21071. type: integer
  21072. userid:
  21073. description: 用户id
  21074. type: integer
  21075. username:
  21076. description: 用户名称(已脱敏)
  21077. type: string
  21078. type: object
  21079. models.WrTypeItem:
  21080. properties:
  21081. name:
  21082. description: 名称
  21083. type: string
  21084. value:
  21085. description: 值
  21086. type: string
  21087. type: object
  21088. models.WrUserFriend:
  21089. properties:
  21090. friendname:
  21091. description: 朋友名称(已脱敏)
  21092. type: string
  21093. frienduserid:
  21094. description: 朋友id
  21095. type: integer
  21096. isfriend:
  21097. description: 是否好友 0-不是 1-是
  21098. type: integer
  21099. userid:
  21100. description: 用户id
  21101. type: integer
  21102. type: object
  21103. models.WrUserReceiptInfo:
  21104. properties:
  21105. address:
  21106. description: 地址[发票类型:企业]
  21107. type: string
  21108. autoid:
  21109. description: AutoID
  21110. type: integer
  21111. contactinfo:
  21112. description: 联系方式
  21113. type: string
  21114. idnum:
  21115. description: 身份证号码[发票类型:个人]
  21116. type: string
  21117. isdefault:
  21118. description: 是否默认地址 - 0:否 1:是
  21119. type: integer
  21120. receiptaccount:
  21121. description: 发票帐号[发票类型:企业]
  21122. type: string
  21123. receiptbank:
  21124. description: 发票开户行[发票类型:企业]
  21125. type: string
  21126. receipttype:
  21127. description: 发票类型 - 1:个人 2:企业
  21128. type: integer
  21129. taxpayerid:
  21130. description: 纳税人识别号
  21131. type: string
  21132. userid:
  21133. description: 用户ID
  21134. type: integer
  21135. username:
  21136. description: 户名(个人姓名或企业名称)
  21137. type: string
  21138. type: object
  21139. models.Wrtradetradequote:
  21140. properties:
  21141. buyaccountid:
  21142. description: 买方账号ID
  21143. type: integer
  21144. buychargevalue:
  21145. description: 买方手续费
  21146. type: number
  21147. buyuserid:
  21148. description: 买方用户ID
  21149. type: integer
  21150. deliverygoodsid:
  21151. description: 现货品种ID
  21152. type: integer
  21153. exchangerate:
  21154. description: 汇率
  21155. type: number
  21156. marketid:
  21157. description: 市场ID
  21158. type: integer
  21159. oritradeamount:
  21160. description: 成交金额[商品币种]
  21161. type: number
  21162. performanceplanid:
  21163. description: 履约计划ID/合同ID
  21164. type: integer
  21165. sellaccountid:
  21166. description: 卖方账号ID
  21167. type: integer
  21168. sellchargevalue:
  21169. description: 卖方手续费
  21170. type: number
  21171. selluserid:
  21172. description: 卖方用户ID
  21173. type: integer
  21174. tradeamount:
  21175. description: 成交金额
  21176. type: number
  21177. tradedate:
  21178. description: 交易日(yyyyMMdd)
  21179. type: string
  21180. tradeprice:
  21181. description: 成交价格
  21182. type: number
  21183. tradeqty:
  21184. description: 成交数量
  21185. type: integer
  21186. tradetime:
  21187. description: 成交时间
  21188. type: string
  21189. wrfactortypeid:
  21190. description: 仓单要素类型ID
  21191. type: integer
  21192. wrstandardid:
  21193. description: 现货商品ID
  21194. type: integer
  21195. wrtradedetailid:
  21196. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  21197. type: integer
  21198. type: object
  21199. models.XHBRAND:
  21200. properties:
  21201. brandid:
  21202. description: 品牌id
  21203. type: integer
  21204. brandname:
  21205. description: 品牌名称
  21206. type: string
  21207. isvalid:
  21208. description: 是否有效 0-无效 1-有效
  21209. type: integer
  21210. type: object
  21211. models.XHDeliveryGoods:
  21212. properties:
  21213. areauserid:
  21214. description: 所属机构
  21215. type: integer
  21216. bdlst:
  21217. description: 品牌列表
  21218. items:
  21219. $ref: '#/definitions/models.XHBRAND'
  21220. type: array
  21221. deliverygoodscode:
  21222. description: 现货品种代码
  21223. type: string
  21224. deliverygoodsid:
  21225. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21226. type: integer
  21227. deliverygoodsname:
  21228. description: 现货品种名称
  21229. type: string
  21230. dgstatus:
  21231. description: 品种状态 - 作废 - 0:未激活 1:正常
  21232. type: integer
  21233. filterSubEmpty:
  21234. description: 过滤下级为空的
  21235. type: integer
  21236. isvalid:
  21237. description: 是否有效 - 0:无效 1:有效
  21238. type: integer
  21239. remark:
  21240. description: 备注
  21241. type: string
  21242. unitid:
  21243. description: 单位id(目前看,数据库中是空值)
  21244. type: integer
  21245. wdlst:
  21246. description: 品类(现货商品)列表
  21247. items:
  21248. $ref: '#/definitions/models.XHWrstandard'
  21249. type: array
  21250. type: object
  21251. models.XHMiddleGoods:
  21252. properties:
  21253. GPLST:
  21254. description: 期货品种列表
  21255. items:
  21256. $ref: '#/definitions/models.TBGoodsGroup'
  21257. type: array
  21258. convertratio:
  21259. description: 拆算系数
  21260. type: number
  21261. costratio:
  21262. description: 成本权重
  21263. type: number
  21264. deliverygoodsid:
  21265. description: 现货商品id
  21266. type: integer
  21267. enumdicname:
  21268. description: 单位名称
  21269. type: string
  21270. middlegoodscode:
  21271. description: 套保品种代码
  21272. type: string
  21273. middlegoodsid:
  21274. description: 套保品种id
  21275. type: integer
  21276. middlegoodsname:
  21277. description: 套保品种名称
  21278. type: string
  21279. unitid:
  21280. description: 单位id
  21281. type: integer
  21282. type: object
  21283. models.XHWrstandard:
  21284. properties:
  21285. bannerpicurl:
  21286. description: banner图
  21287. type: string
  21288. deliverygoodsid:
  21289. description: 品种ID
  21290. type: integer
  21291. enumdicname:
  21292. description: 单位名称
  21293. type: string
  21294. mglst:
  21295. description: 套保品列表
  21296. items:
  21297. $ref: '#/definitions/models.XHMiddleGoods'
  21298. type: array
  21299. pictureurls:
  21300. description: 详情图片(逗号分隔)
  21301. type: string
  21302. thumurls:
  21303. description: 缩略图片(1:1)(逗号分隔)
  21304. type: string
  21305. unitid:
  21306. description: 单位id
  21307. type: integer
  21308. vatrate:
  21309. description: 增值税率
  21310. type: number
  21311. wrstandardcode:
  21312. description: 现货商品代码
  21313. type: string
  21314. wrstandardid:
  21315. description: 现货商品ID(SEQ_WRSTANDARD)
  21316. type: integer
  21317. wrstandardname:
  21318. description: 现货商品名称
  21319. type: string
  21320. type: object
  21321. models.XhcpSellBackApplyEx:
  21322. properties:
  21323. applyremark:
  21324. description: 申请备注
  21325. type: string
  21326. expirytype:
  21327. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  21328. type: integer
  21329. goodsspec:
  21330. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  21331. type: integer
  21332. holeflag:
  21333. description: 是否破洞[原封] - 1:无破洞 2:破洞
  21334. type: integer
  21335. isunopened:
  21336. description: 是否原封 - 1:否 2:是
  21337. type: integer
  21338. mpflag:
  21339. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  21340. type: integer
  21341. openflag:
  21342. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  21343. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  21344. type: integer
  21345. phonenum:
  21346. description: 联系电话
  21347. type: string
  21348. userid:
  21349. description: 所属用户ID
  21350. type: integer
  21351. zpflag:
  21352. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  21353. type: integer
  21354. required:
  21355. - userid
  21356. type: object
  21357. models.Xhcpsellbackapply:
  21358. properties:
  21359. applyid:
  21360. description: 申请人
  21361. type: integer
  21362. applyremark:
  21363. description: 申请备注
  21364. type: string
  21365. applysrc:
  21366. description: 申请来源 - 1:管理端 2:终端
  21367. type: integer
  21368. applystatus:
  21369. description: 申请状态 - 1:待确认 2:已处理
  21370. type: integer
  21371. applytime:
  21372. description: 申请时间
  21373. type: string
  21374. auditremark:
  21375. description: 审核备注
  21376. type: string
  21377. auditsrc:
  21378. description: 审核来源 - 1:管理端 2:终端
  21379. type: integer
  21380. expirytype:
  21381. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  21382. type: integer
  21383. goodsspec:
  21384. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  21385. type: integer
  21386. holeflag:
  21387. description: 是否破洞[原封] - 1:无破洞 2:破洞
  21388. type: integer
  21389. isunopened:
  21390. description: 是否原封 - 1:否 2:是
  21391. type: integer
  21392. mpflag:
  21393. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  21394. type: integer
  21395. openflag:
  21396. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  21397. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  21398. type: integer
  21399. phonenum:
  21400. description: 联系电话
  21401. type: string
  21402. sellbackapplyid:
  21403. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  21404. type: string
  21405. userid:
  21406. description: 所属用户ID
  21407. type: integer
  21408. zpflag:
  21409. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  21410. type: integer
  21411. required:
  21412. - userid
  21413. type: object
  21414. order.QueryHisTradeDetailRsp:
  21415. properties:
  21416. accountid:
  21417. description: 账户ID[报价币种]
  21418. type: integer
  21419. advanceratio:
  21420. description: 首付比率
  21421. type: number
  21422. buildtype:
  21423. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  21424. type: integer
  21425. buyorsell:
  21426. description: 方向 - 0:买 1:卖
  21427. type: integer
  21428. charge:
  21429. description: 手续费
  21430. type: number
  21431. closecharge:
  21432. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21433. type: number
  21434. closeexchagechargevalue:
  21435. description: 平仓交易所手续费设置值
  21436. type: number
  21437. closefeealgorithm:
  21438. description: 平仓手续费收取方式 1:比率 2:固定
  21439. type: integer
  21440. closememberchargevalue:
  21441. description: 平仓会员手续费设置值
  21442. type: number
  21443. closepl:
  21444. description: 平仓盈亏
  21445. type: number
  21446. closepl2:
  21447. description: 平仓盈亏[逐笔]
  21448. type: number
  21449. closeqty:
  21450. description: 平仓数量(先建后平操作 需要记录)
  21451. type: number
  21452. creditamount:
  21453. description: 授信金额
  21454. type: number
  21455. decimalplace:
  21456. description: 商品报价小数位
  21457. type: integer
  21458. enumdicname:
  21459. description: 单位名称
  21460. type: string
  21461. gcaccountid:
  21462. description: 账户ID[合约币种]
  21463. type: integer
  21464. goodscode:
  21465. description: 商品代码
  21466. type: string
  21467. goodsid:
  21468. description: 商品ID
  21469. type: integer
  21470. goodsname:
  21471. description: 商品名称
  21472. type: string
  21473. goodunitid:
  21474. description: 商品单位id
  21475. type: integer
  21476. histradedate:
  21477. description: 历史交易日
  21478. type: string
  21479. intclosepl:
  21480. description: 整型盈亏(用于交易结算试算平衡-收益权)
  21481. type: integer
  21482. isconfirmexercise:
  21483. description: 是否确认行权- 0:否 1:是
  21484. type: integer
  21485. ismain:
  21486. description: 是否主单 - 0:不是 1:是
  21487. type: integer
  21488. ispreexercise:
  21489. description: 是否预申报- 0:否 1:是
  21490. type: integer
  21491. isreckoned:
  21492. description: 是否结算 - 0:未结算 1:已结算
  21493. type: integer
  21494. isvaliddata:
  21495. description: 是否有效 - 0:无效 1:有效
  21496. type: integer
  21497. listingselecttype:
  21498. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21499. type: integer
  21500. marketid:
  21501. description: 市场ID
  21502. type: integer
  21503. marketname:
  21504. description: 市场名称
  21505. type: string
  21506. matchaccountid:
  21507. description: 对手账号id
  21508. type: integer
  21509. memberuserid:
  21510. description: 会员id 个人投资者 需要填写
  21511. type: integer
  21512. opencharge:
  21513. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21514. type: number
  21515. openexchagechargevalue:
  21516. description: 建仓交易所手续费设置值
  21517. type: number
  21518. openfeealgorithm:
  21519. description: 建仓手续费收取方式 1:比率 2:固定
  21520. type: integer
  21521. openmemberchargevalue:
  21522. description: 建仓会员手续费设置值
  21523. type: number
  21524. openqty:
  21525. description: 开仓数量(先建后平操作 需要记录)
  21526. type: number
  21527. optiontype:
  21528. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21529. type: integer
  21530. orderid:
  21531. description: 委托单号
  21532. type: string
  21533. payamount:
  21534. description: 支付金额(付款金额)
  21535. type: number
  21536. performanceplanid:
  21537. description: 履约计划ID[期权]
  21538. type: integer
  21539. performancestatus:
  21540. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  21541. type: integer
  21542. preexerciseprice:
  21543. description: 预申报价格
  21544. type: number
  21545. premium:
  21546. description: 权利金 - [持仓单的权利金]
  21547. type: number
  21548. qtydecimalplace:
  21549. description: 商品报价小数位
  21550. type: integer
  21551. recvamount:
  21552. description: 到账金额 = 成交金额 - 手续费
  21553. type: number
  21554. relatedouttradeid:
  21555. description: 关联外部成交单ID
  21556. type: integer
  21557. status:
  21558. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  21559. type: integer
  21560. totalamount:
  21561. description: 订单总额 = 成交金额 + 手续费
  21562. type: number
  21563. tradeamount:
  21564. description: 成交金额[账户币种,用于所有权]
  21565. type: number
  21566. tradedate:
  21567. description: 交易日(yyyyMMdd)
  21568. type: string
  21569. tradeid:
  21570. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21571. type: string
  21572. trademode:
  21573. description: 交易模式
  21574. type: integer
  21575. tradeprice:
  21576. description: 成交价格
  21577. type: number
  21578. tradeproperty:
  21579. description: 交易属性
  21580. type: integer
  21581. tradeqty:
  21582. description: 成交数量
  21583. type: number
  21584. tradetime:
  21585. description: 成交时间
  21586. type: string
  21587. tradetype:
  21588. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  21589. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  21590. type: integer
  21591. required:
  21592. - accountid
  21593. - buyorsell
  21594. - goodsid
  21595. - histradedate
  21596. - marketid
  21597. - memberuserid
  21598. - orderid
  21599. - tradeamount
  21600. - tradedate
  21601. - tradeid
  21602. - tradeprice
  21603. - tradeqty
  21604. - tradetime
  21605. type: object
  21606. order.QueryHisTradeOrderDetailRsp:
  21607. properties:
  21608. accountid:
  21609. description: 账户ID[报价币种]
  21610. type: integer
  21611. buildtype:
  21612. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  21613. type: integer
  21614. buyorsell:
  21615. description: 买卖 - 0:买 1:卖
  21616. type: integer
  21617. cancelorderid:
  21618. description: 撤单单号(撤单时填写)
  21619. type: string
  21620. cancelqty:
  21621. description: 撤单数量
  21622. type: number
  21623. clientordertime:
  21624. description: 客户端委托时间
  21625. type: string
  21626. clientticket:
  21627. description: 客户端流水号
  21628. type: string
  21629. clienttype:
  21630. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  21631. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  21632. type: integer
  21633. closeexchagechargevalue:
  21634. description: 平仓交易所手续费设置值
  21635. type: number
  21636. closefeealgorithm:
  21637. description: 平仓手续费收取方式 1:比率 2:固定
  21638. type: integer
  21639. closefreezecharge:
  21640. description: 平仓冻结手续费(先建后平操作,需要记录)
  21641. type: number
  21642. closememberchargevalue:
  21643. description: 平仓会员手续费设置值
  21644. type: number
  21645. closeqty:
  21646. description: 平仓数量(先建后平操作 需要记录)
  21647. type: number
  21648. closetradeqty:
  21649. description: 平仓成交数量(先建后平操作,需要记录)
  21650. type: number
  21651. closeunfreezecharge:
  21652. description: 平仓解冻手续费(先建后平操作,需要记录)
  21653. type: number
  21654. decimalplace:
  21655. description: 商品报价小数位
  21656. type: integer
  21657. delistingtype:
  21658. description: 摘牌类型 - 1:价格最优 2:点选成交
  21659. type: integer
  21660. enumdicname:
  21661. description: 单位名称
  21662. type: string
  21663. freezecharge:
  21664. description: 冻结手续费
  21665. type: number
  21666. freezemargin:
  21667. description: 冻结保证金(冻结交易金额)
  21668. type: number
  21669. gcaccountid:
  21670. description: 账户ID[合约币种]
  21671. type: integer
  21672. goodscode:
  21673. description: 商品代码
  21674. type: string
  21675. goodsid:
  21676. description: 商品ID
  21677. type: integer
  21678. goodsname:
  21679. description: 商品名称
  21680. type: string
  21681. goodunitid:
  21682. description: 商品单位id
  21683. type: integer
  21684. histradedate:
  21685. description: 历史交易日
  21686. type: string
  21687. isconfirmexercise:
  21688. description: 是否确认行权- 0:否 1:是
  21689. type: integer
  21690. ispreexercise:
  21691. description: 是否预申报- 0:否 1:是
  21692. type: integer
  21693. isvaliddata:
  21694. description: 是否有效 - 0:无效 1:有效
  21695. type: integer
  21696. listingselecttype:
  21697. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21698. type: integer
  21699. marginalgorithm:
  21700. description: 保证金收取方式 1:比率 2:固定
  21701. type: integer
  21702. marginvalue:
  21703. description: 即市保证金设置值
  21704. type: number
  21705. marketid:
  21706. description: 市场ID
  21707. type: integer
  21708. marketmaxsub:
  21709. description: 市价最大偏移范围
  21710. type: number
  21711. marketname:
  21712. description: 市场名称
  21713. type: string
  21714. memberuserid:
  21715. description: 所属会员UserID
  21716. type: integer
  21717. openexchagechargevalue:
  21718. description: 建仓交易所手续费设置值
  21719. type: number
  21720. openfeealgorithm:
  21721. description: 建仓手续费收取方式 1:比率 2:固定
  21722. type: integer
  21723. openfreezecharge:
  21724. description: 开仓冻结手续费(先建后平操作,需要记录)
  21725. type: number
  21726. openmemberchargevalue:
  21727. description: 建仓会员手续费设置值
  21728. type: number
  21729. openqty:
  21730. description: 开仓数量(先建后平操作,需要记录)
  21731. type: number
  21732. opentradeqty:
  21733. description: 开仓成交数量(先建后平操作,需要记录)
  21734. type: number
  21735. openunfreezecharge:
  21736. description: 开仓解冻手续费(先建后平操作,需要记录)
  21737. type: number
  21738. operatetype:
  21739. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  21740. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  21741. 15:管理端协议转让
  21742. type: integer
  21743. operatorid:
  21744. description: 登录账号(LoginID)
  21745. type: integer
  21746. optiontype:
  21747. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21748. type: integer
  21749. orderid:
  21750. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21751. type: string
  21752. orderprice:
  21753. description: 委托价格
  21754. type: number
  21755. orderqty:
  21756. description: 委托数量
  21757. type: number
  21758. ordersrc:
  21759. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  21760. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  21761. type: integer
  21762. orderstatus:
  21763. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  21764. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  21765. 16:成交失败违约(荷兰式竞拍专用)
  21766. type: integer
  21767. ordertime:
  21768. description: 委托时间
  21769. type: string
  21770. preexerciseprice:
  21771. description: 预申报价格
  21772. type: number
  21773. premium:
  21774. description: 权利金
  21775. type: number
  21776. preorderid:
  21777. description: 关联预埋单号(止盈止损单时填写)
  21778. type: string
  21779. pricemode:
  21780. description: '取价方式 - 1:市价 2: 限价'
  21781. type: integer
  21782. qtydecimalplace:
  21783. description: 成交量小数位
  21784. type: integer
  21785. quoteid:
  21786. description: 报价单ID
  21787. type: integer
  21788. relatedid:
  21789. description: 关联单号(交割单)
  21790. type: string
  21791. retcode:
  21792. description: 错误代码
  21793. type: integer
  21794. sessionid:
  21795. description: 会话ID
  21796. type: integer
  21797. tradedate:
  21798. description: 交易日(yyyyMMdd)
  21799. type: string
  21800. trademode:
  21801. description: 交易模式
  21802. type: integer
  21803. tradeproperty:
  21804. description: 交易属性
  21805. type: integer
  21806. tradeqty:
  21807. description: 成交数量
  21808. type: number
  21809. unfreezecharge:
  21810. description: 解冻手续费
  21811. type: number
  21812. unfreezemargin:
  21813. description: 解冻保证金
  21814. type: number
  21815. updatetime:
  21816. description: 更新时间
  21817. type: string
  21818. uuid:
  21819. description: 发起端唯一id
  21820. type: string
  21821. validtime:
  21822. description: 有效期限
  21823. type: string
  21824. validtype:
  21825. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  21826. type: integer
  21827. volumetype:
  21828. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  21829. type: integer
  21830. required:
  21831. - accountid
  21832. - buildtype
  21833. - buyorsell
  21834. - goodsid
  21835. - histradedate
  21836. - marketid
  21837. - memberuserid
  21838. - operatetype
  21839. - orderid
  21840. - orderqty
  21841. - ordertime
  21842. - pricemode
  21843. - tradedate
  21844. - validtype
  21845. type: object
  21846. order.QueryTradeDetailRsp:
  21847. properties:
  21848. accountid:
  21849. description: 账户ID[报价币种]
  21850. type: integer
  21851. advanceratio:
  21852. description: 首付比率
  21853. type: number
  21854. buildtype:
  21855. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  21856. type: integer
  21857. buyorsell:
  21858. description: 方向 - 0:买 1:卖
  21859. type: integer
  21860. charge:
  21861. description: 手续费
  21862. type: number
  21863. closecharge:
  21864. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21865. type: number
  21866. closeexchagechargevalue:
  21867. description: 平仓交易所手续费设置值
  21868. type: number
  21869. closefeealgorithm:
  21870. description: 平仓手续费收取方式 1:比率 2:固定
  21871. type: integer
  21872. closememberchargevalue:
  21873. description: 平仓会员手续费设置值
  21874. type: number
  21875. closepl:
  21876. description: 平仓盈亏
  21877. type: number
  21878. closepl2:
  21879. description: 平仓盈亏[逐笔]
  21880. type: number
  21881. closeqty:
  21882. description: 平仓数量(先建后平操作 需要记录)
  21883. type: number
  21884. creditamount:
  21885. description: 授信金额
  21886. type: number
  21887. decimalplace:
  21888. description: 商品报价小数位
  21889. type: integer
  21890. enumdicname:
  21891. description: 单位名称
  21892. type: string
  21893. gcaccountid:
  21894. description: 账户ID[合约币种]
  21895. type: integer
  21896. goodscode:
  21897. description: 商品代码
  21898. type: string
  21899. goodsid:
  21900. description: 商品ID
  21901. type: integer
  21902. goodsname:
  21903. description: 商品名称
  21904. type: string
  21905. goodunitid:
  21906. description: 商品单位id
  21907. type: integer
  21908. intclosepl:
  21909. description: 整型盈亏(用于交易结算试算平衡-收益权)
  21910. type: integer
  21911. isconfirmexercise:
  21912. description: 是否确认行权- 0:否 1:是
  21913. type: integer
  21914. ismain:
  21915. description: 是否主单 - 0:不是 1:是
  21916. type: integer
  21917. ispreexercise:
  21918. description: 是否预申报- 0:否 1:是
  21919. type: integer
  21920. isreckoned:
  21921. description: 是否结算 - 0:未结算 1:已结算
  21922. type: integer
  21923. listingselecttype:
  21924. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21925. type: integer
  21926. marketid:
  21927. description: 市场ID
  21928. type: integer
  21929. marketname:
  21930. description: 市场名称
  21931. type: string
  21932. matchaccountid:
  21933. description: 对手账号id
  21934. type: integer
  21935. memberuserid:
  21936. description: 会员id 个人投资者 需要填写
  21937. type: integer
  21938. opencharge:
  21939. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21940. type: number
  21941. openexchagechargevalue:
  21942. description: 建仓交易所手续费设置值
  21943. type: number
  21944. openfeealgorithm:
  21945. description: 建仓手续费收取方式 1:比率 2:固定
  21946. type: integer
  21947. openmemberchargevalue:
  21948. description: 建仓会员手续费设置值
  21949. type: number
  21950. openqty:
  21951. description: 开仓数量(先建后平操作 需要记录)
  21952. type: number
  21953. optiontype:
  21954. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21955. type: integer
  21956. orderid:
  21957. description: 委托单号
  21958. type: string
  21959. payamount:
  21960. description: 支付金额(付款金额)
  21961. type: number
  21962. performanceplanid:
  21963. description: 履约计划ID[期权]
  21964. type: integer
  21965. performancestatus:
  21966. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  21967. type: integer
  21968. preexerciseprice:
  21969. description: 预申报价格
  21970. type: number
  21971. premium:
  21972. description: 权利金 - [持仓单的权利金]
  21973. type: number
  21974. qtydecimalplace:
  21975. description: 商品报价小数位
  21976. type: integer
  21977. recvamount:
  21978. description: 到账金额 = 成交金额 - 手续费
  21979. type: number
  21980. relatedouttradeid:
  21981. description: 关联外部成交单ID
  21982. type: integer
  21983. status:
  21984. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  21985. type: integer
  21986. totalamount:
  21987. description: 订单总额 = 成交金额 + 手续费
  21988. type: number
  21989. tradeamount:
  21990. description: 成交金额[账户币种,用于所有权]
  21991. type: number
  21992. tradedate:
  21993. description: 交易日(yyyyMMdd)
  21994. type: string
  21995. tradeid:
  21996. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21997. type: string
  21998. trademode:
  21999. description: 交易模式
  22000. type: integer
  22001. tradeprice:
  22002. description: 成交价格
  22003. type: number
  22004. tradeproperty:
  22005. description: 交易属性
  22006. type: integer
  22007. tradeqty:
  22008. description: 成交数量
  22009. type: number
  22010. tradetime:
  22011. description: 成交时间
  22012. type: string
  22013. tradetype:
  22014. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  22015. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  22016. type: integer
  22017. required:
  22018. - accountid
  22019. - buyorsell
  22020. - goodsid
  22021. - marketid
  22022. - memberuserid
  22023. - orderid
  22024. - tradeamount
  22025. - tradedate
  22026. - tradeid
  22027. - tradeprice
  22028. - tradeqty
  22029. - tradetime
  22030. type: object
  22031. order.QueryTradeOrderDetailRsp:
  22032. properties:
  22033. accountid:
  22034. description: 账户ID[报价币种]
  22035. type: integer
  22036. buildtype:
  22037. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  22038. type: integer
  22039. buyorsell:
  22040. description: 买卖 - 0:买 1:卖
  22041. type: integer
  22042. cancelorderid:
  22043. description: 撤单单号(撤单时填写)
  22044. type: string
  22045. cancelqty:
  22046. description: 撤单数量
  22047. type: number
  22048. clienttype:
  22049. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  22050. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  22051. type: integer
  22052. closefreezecharge:
  22053. description: 平仓冻结手续费(先建后平操作,需要记录)
  22054. type: number
  22055. closeqty:
  22056. description: 平仓数量(先建后平操作 需要记录)
  22057. type: number
  22058. closetradeqty:
  22059. description: 平仓成交数量(先建后平操作,需要记录)
  22060. type: number
  22061. closeunfreezecharge:
  22062. description: 平仓解冻手续费(先建后平操作,需要记录)
  22063. type: number
  22064. decimalplace:
  22065. description: 商品报价小数位
  22066. type: integer
  22067. delistingtype:
  22068. description: 摘牌类型 - 1:价格最优 2:点选成交
  22069. type: integer
  22070. enableqty:
  22071. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  22072. type: number
  22073. enumdicname:
  22074. description: 单位名称
  22075. type: string
  22076. freezecharge:
  22077. description: 冻结手续费
  22078. type: number
  22079. freezemargin:
  22080. description: 冻结保证金(冻结交易金额)
  22081. type: number
  22082. goodscode:
  22083. description: 商品代码
  22084. type: string
  22085. goodsid:
  22086. description: 商品ID
  22087. type: integer
  22088. goodsname:
  22089. description: 商品名称
  22090. type: string
  22091. goodunitid:
  22092. description: 商品单位id
  22093. type: integer
  22094. listingselecttype:
  22095. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22096. type: integer
  22097. marketid:
  22098. description: 市场ID
  22099. type: integer
  22100. marketname:
  22101. description: 市场名称
  22102. type: string
  22103. openfreezecharge:
  22104. description: 开仓冻结手续费(先建后平操作,需要记录)
  22105. type: number
  22106. openqty:
  22107. description: 开仓数量(先建后平操作,需要记录)
  22108. type: number
  22109. opentradeqty:
  22110. description: 开仓成交数量(先建后平操作,需要记录)
  22111. type: number
  22112. openunfreezecharge:
  22113. description: 开仓解冻手续费(先建后平操作,需要记录)
  22114. type: number
  22115. operatetype:
  22116. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  22117. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  22118. 15:管理端协议转让
  22119. type: integer
  22120. operatorid:
  22121. description: 登录账号(LoginID)
  22122. type: integer
  22123. orderid:
  22124. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22125. type: string
  22126. orderprice:
  22127. description: 委托价格
  22128. type: number
  22129. orderqty:
  22130. description: 委托数量
  22131. type: number
  22132. ordersrc:
  22133. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  22134. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  22135. type: integer
  22136. orderstatus:
  22137. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  22138. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  22139. 16:成交失败违约(荷兰式竞拍专用)
  22140. type: integer
  22141. ordertime:
  22142. description: 委托时间
  22143. type: string
  22144. preorderid:
  22145. description: 关联预埋单号(止盈止损单时填写)
  22146. type: string
  22147. pricemode:
  22148. description: '取价方式 - 1:市价 2: 限价'
  22149. type: integer
  22150. qtydecimalplace:
  22151. description: 商品报价小数位
  22152. type: integer
  22153. relatedid:
  22154. description: 关联单号(交割单)
  22155. type: string
  22156. tradedate:
  22157. description: 交易日(yyyyMMdd)
  22158. type: string
  22159. trademode:
  22160. description: 交易模式
  22161. type: integer
  22162. tradeqty:
  22163. description: 成交数量
  22164. type: number
  22165. unfreezecharge:
  22166. description: 解冻手续费
  22167. type: number
  22168. unfreezemargin:
  22169. description: 解冻保证金
  22170. type: number
  22171. validtime:
  22172. description: 有效期限
  22173. type: string
  22174. validtype:
  22175. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  22176. type: integer
  22177. volumetype:
  22178. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  22179. type: integer
  22180. required:
  22181. - accountid
  22182. - buildtype
  22183. - buyorsell
  22184. - goodsid
  22185. - marketid
  22186. - operatetype
  22187. - orderqty
  22188. - ordertime
  22189. - pricemode
  22190. - tradedate
  22191. - validtype
  22192. type: object
  22193. order.QueryTradePositionRsp:
  22194. properties:
  22195. accountid:
  22196. description: 资金账户
  22197. type: integer
  22198. agreeunit:
  22199. description: 合约单位
  22200. type: number
  22201. averageprice:
  22202. description: 持仓均价
  22203. type: number
  22204. buyorsell:
  22205. description: 方向 - 0:买 1:卖
  22206. type: integer
  22207. closetotalqty:
  22208. description: 平仓总数量
  22209. type: number
  22210. curholderamount:
  22211. description: 当前持仓总金额[商品币种]
  22212. type: number
  22213. curpositionqty:
  22214. description: 当前持仓总数量
  22215. type: number
  22216. currencyid:
  22217. description: 报价货币ID
  22218. type: integer
  22219. curtdposition:
  22220. description: 期末今日头寸
  22221. type: number
  22222. decimalplace:
  22223. description: 报价小数位
  22224. type: integer
  22225. enableqty:
  22226. description: 可用量
  22227. type: number
  22228. fretdposition:
  22229. description: 冻结今日头寸
  22230. type: number
  22231. frozenqty:
  22232. description: 持仓冻结数量
  22233. type: number
  22234. goodscode:
  22235. description: 商品代码
  22236. type: string
  22237. goodsid:
  22238. description: 商品Id
  22239. type: integer
  22240. goodsname:
  22241. description: 商品名称
  22242. type: string
  22243. goodunit:
  22244. description: 报价单位
  22245. type: string
  22246. goodunitid:
  22247. description: 报价单位ID
  22248. type: integer
  22249. holderamount:
  22250. description: 期初持仓总金额[商品币种]
  22251. type: number
  22252. lastprice:
  22253. description: 最新价
  22254. type: number
  22255. marketamount:
  22256. description: 市值
  22257. type: number
  22258. marketid:
  22259. description: 所属市场ID
  22260. type: integer
  22261. openreqqty:
  22262. description: 开仓申请数量(用于比较最大持仓数量)
  22263. type: number
  22264. opentotalqty:
  22265. description: 开仓总数量
  22266. type: number
  22267. otherfrozenqty:
  22268. description: 持仓其他冻结数量(交割冻结)
  22269. type: number
  22270. positionpl:
  22271. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  22272. * 合约单位
  22273. type: number
  22274. positionplrate:
  22275. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  22276. type: number
  22277. positionqty:
  22278. description: 期初持仓数量
  22279. type: number
  22280. qtydecimalplace:
  22281. description: 成交量小数位
  22282. type: integer
  22283. refgoodscode:
  22284. description: 参考商品代码
  22285. type: string
  22286. refgoodsid:
  22287. description: 参考商品ID
  22288. type: integer
  22289. tnqty:
  22290. description: T+N冻结总量
  22291. type: number
  22292. tnusedqty:
  22293. description: T+N使用量(可以使用T+N的冻结数量)
  22294. type: number
  22295. trademode:
  22296. description: 交易模式
  22297. type: integer
  22298. tradeproperty:
  22299. description: 交易属性
  22300. type: integer
  22301. usedmargin:
  22302. description: 占用保证金[商品币种]
  22303. type: number
  22304. required:
  22305. - goodsid
  22306. type: object
  22307. pb.GoodsMarginCfgStruct:
  22308. properties:
  22309. CustomerTypeID:
  22310. description: 投资者客户类型
  22311. type: integer
  22312. GoodsID:
  22313. description: 商品ID
  22314. type: integer
  22315. IsDefault:
  22316. description: 是否默认标志位
  22317. type: integer
  22318. LockMarginValue:
  22319. description: 锁仓保证金
  22320. type: number
  22321. MarginAlgorithm:
  22322. description: 保证金计算方式
  22323. type: integer
  22324. MarketMarginValue:
  22325. description: 即市保证金值
  22326. type: number
  22327. RealMarginAlgorithm:
  22328. description: 实付保证金计算方式
  22329. type: integer
  22330. RealMarginValue:
  22331. description: 实付比例
  22332. type: number
  22333. ReckonMarginValue:
  22334. description: 结算保证金值
  22335. type: number
  22336. type: object
  22337. quote.HistoryData:
  22338. properties:
  22339. c:
  22340. description: 收盘价
  22341. type: number
  22342. f:
  22343. description: 是否补充数据
  22344. type: boolean
  22345. h:
  22346. description: 最高价
  22347. type: number
  22348. hv:
  22349. description: 持仓量
  22350. type: integer
  22351. l:
  22352. description: 最低价
  22353. type: number
  22354. o:
  22355. description: 开盘价
  22356. type: number
  22357. s:
  22358. description: 结算价,日线周期(包括)以上才有
  22359. type: number
  22360. ts:
  22361. description: 时间
  22362. type: string
  22363. tt:
  22364. description: 总金额
  22365. type: number
  22366. tv:
  22367. description: 总量(成交量)
  22368. type: integer
  22369. type: object
  22370. quote.HistoryTikData:
  22371. properties:
  22372. AV:
  22373. description: 卖量
  22374. type: integer
  22375. Ask:
  22376. description: 卖价
  22377. type: number
  22378. BV:
  22379. description: 买量
  22380. type: integer
  22381. Bid:
  22382. description: 买价
  22383. type: number
  22384. HI:
  22385. description: 单笔持仓
  22386. type: integer
  22387. HV:
  22388. description: 持仓量
  22389. type: integer
  22390. PE:
  22391. description: 现价
  22392. type: number
  22393. TDR:
  22394. description: 交易方向,0:买 1:卖
  22395. type: integer
  22396. TK:
  22397. description: 交易类型
  22398. type: integer
  22399. TS:
  22400. description: 行情时间文本
  22401. type: string
  22402. TT:
  22403. description: 现金额
  22404. type: number
  22405. Vol:
  22406. description: 现量
  22407. type: integer
  22408. type: object
  22409. quote.QueryQuoteDayRsp:
  22410. properties:
  22411. ask:
  22412. description: 卖1
  22413. type: number
  22414. ask2:
  22415. description: 卖2
  22416. type: number
  22417. ask3:
  22418. description: 卖3
  22419. type: number
  22420. ask4:
  22421. description: 卖4
  22422. type: number
  22423. ask5:
  22424. description: 卖5
  22425. type: number
  22426. ask6:
  22427. description: 卖6
  22428. type: number
  22429. ask7:
  22430. description: 卖7
  22431. type: number
  22432. ask8:
  22433. description: 卖8
  22434. type: number
  22435. ask9:
  22436. description: 卖9
  22437. type: number
  22438. ask10:
  22439. description: 卖10
  22440. type: number
  22441. askorderid:
  22442. description: 卖单号1
  22443. type: integer
  22444. askorderid2:
  22445. description: 卖单号2
  22446. type: integer
  22447. askorderid3:
  22448. description: 卖单号3
  22449. type: integer
  22450. askorderid4:
  22451. description: 卖单号4
  22452. type: integer
  22453. askorderid5:
  22454. description: 卖单号5
  22455. type: integer
  22456. askordervolume:
  22457. description: 卖单量1
  22458. type: integer
  22459. askordervolume2:
  22460. description: 卖单量2
  22461. type: integer
  22462. askordervolume3:
  22463. description: 卖单量3
  22464. type: integer
  22465. askordervolume4:
  22466. description: 卖单量4
  22467. type: integer
  22468. askordervolume5:
  22469. description: 卖单量5
  22470. type: integer
  22471. askordervolume6:
  22472. description: 卖单量6
  22473. type: integer
  22474. askordervolume7:
  22475. description: 卖单量7
  22476. type: integer
  22477. askordervolume8:
  22478. description: 卖单量8
  22479. type: integer
  22480. askordervolume9:
  22481. description: 卖单量9
  22482. type: integer
  22483. askordervolume10:
  22484. description: 卖单量10
  22485. type: integer
  22486. askqueueinfo:
  22487. description: 大利市卖港股用
  22488. type: string
  22489. askvolume:
  22490. description: 卖量1
  22491. type: integer
  22492. askvolume2:
  22493. description: 卖量2
  22494. type: integer
  22495. askvolume3:
  22496. description: 卖量3
  22497. type: integer
  22498. askvolume4:
  22499. description: 卖量4
  22500. type: integer
  22501. askvolume5:
  22502. description: 卖量5
  22503. type: integer
  22504. askvolume6:
  22505. description: 卖量6
  22506. type: integer
  22507. askvolume7:
  22508. description: 卖量7
  22509. type: integer
  22510. askvolume8:
  22511. description: 卖量8
  22512. type: integer
  22513. askvolume9:
  22514. description: 卖量9
  22515. type: integer
  22516. askvolume10:
  22517. description: 卖量10
  22518. type: integer
  22519. averageprice:
  22520. description: 均价
  22521. type: number
  22522. bid:
  22523. description: 买1
  22524. type: number
  22525. bid2:
  22526. description: 买2
  22527. type: number
  22528. bid3:
  22529. description: 买3
  22530. type: number
  22531. bid4:
  22532. description: 买4
  22533. type: number
  22534. bid5:
  22535. description: 买5
  22536. type: number
  22537. bid6:
  22538. description: 买6
  22539. type: number
  22540. bid7:
  22541. description: 买7
  22542. type: number
  22543. bid8:
  22544. description: 买8
  22545. type: number
  22546. bid9:
  22547. description: 买9
  22548. type: number
  22549. bid10:
  22550. description: 买10
  22551. type: number
  22552. bidorderid:
  22553. description: 买单号1
  22554. type: integer
  22555. bidorderid2:
  22556. description: 买单号2
  22557. type: integer
  22558. bidorderid3:
  22559. description: 买单号3
  22560. type: integer
  22561. bidorderid4:
  22562. description: 买单号4
  22563. type: integer
  22564. bidorderid5:
  22565. description: 买单号5
  22566. type: integer
  22567. bidordervolume:
  22568. description: 买单量1
  22569. type: integer
  22570. bidordervolume2:
  22571. description: 买单量2
  22572. type: integer
  22573. bidordervolume3:
  22574. description: 买单量3
  22575. type: integer
  22576. bidordervolume4:
  22577. description: 买单量4
  22578. type: integer
  22579. bidordervolume5:
  22580. description: 买单量5
  22581. type: integer
  22582. bidordervolume6:
  22583. description: 买单量6
  22584. type: integer
  22585. bidordervolume7:
  22586. description: 买单量7
  22587. type: integer
  22588. bidordervolume8:
  22589. description: 买单量8
  22590. type: integer
  22591. bidordervolume9:
  22592. description: 买单量9
  22593. type: integer
  22594. bidordervolume10:
  22595. description: 买单量10
  22596. type: integer
  22597. bidqueueinfo:
  22598. description: 大利市买港股用
  22599. type: string
  22600. bidvolume:
  22601. description: 买量1
  22602. type: integer
  22603. bidvolume2:
  22604. description: 买量2
  22605. type: integer
  22606. bidvolume3:
  22607. description: 买量3
  22608. type: integer
  22609. bidvolume4:
  22610. description: 买量4
  22611. type: integer
  22612. bidvolume5:
  22613. description: 买量5
  22614. type: integer
  22615. bidvolume6:
  22616. description: 买量6
  22617. type: integer
  22618. bidvolume7:
  22619. description: 买量7
  22620. type: integer
  22621. bidvolume8:
  22622. description: 买量8
  22623. type: integer
  22624. bidvolume9:
  22625. description: 买量9
  22626. type: integer
  22627. bidvolume10:
  22628. description: 买量10
  22629. type: integer
  22630. calloptionpremiums:
  22631. description: 认购期权1
  22632. type: integer
  22633. calloptionpremiums2:
  22634. description: 认购期权2
  22635. type: integer
  22636. calloptionpremiums3:
  22637. description: 认购期权3
  22638. type: integer
  22639. calloptionpremiums4:
  22640. description: 认购期权4
  22641. type: integer
  22642. calloptionpremiums5:
  22643. description: 认购期权5
  22644. type: integer
  22645. cleartime:
  22646. description: 清盘时间
  22647. type: integer
  22648. exchangecode:
  22649. description: 交易所代码
  22650. type: integer
  22651. exchangedate:
  22652. description: 交易日
  22653. type: integer
  22654. goodscode:
  22655. description: 商品代码
  22656. type: string
  22657. grepmarketprice:
  22658. description: 暗盘价 港股专用
  22659. type: number
  22660. highest:
  22661. description: 最高价
  22662. type: number
  22663. holdincrement:
  22664. description: 单笔持仓
  22665. type: integer
  22666. holdvolume:
  22667. description: 持仓
  22668. type: integer
  22669. iep:
  22670. description: 平衡价 港股专用
  22671. type: number
  22672. iev:
  22673. description: 平衡量 港股专用
  22674. type: number
  22675. inventory:
  22676. description: 库存
  22677. type: integer
  22678. iscleared:
  22679. description: 是否清盘标志
  22680. type: integer
  22681. issettled:
  22682. description: 是否结算标志
  22683. type: integer
  22684. last:
  22685. description: 最新价
  22686. type: number
  22687. lastlot:
  22688. description: 最新成交手数
  22689. type: integer
  22690. lasttime:
  22691. description: 行情时间(只有现价变化行情时间才变化)
  22692. type: string
  22693. lastturnover:
  22694. description: 最新成交金额
  22695. type: number
  22696. lastvolume:
  22697. description: 最新成交量
  22698. type: integer
  22699. limitdown:
  22700. description: 跌停价
  22701. type: number
  22702. limitup:
  22703. description: 涨停价
  22704. type: number
  22705. lowest:
  22706. description: 最低价
  22707. type: number
  22708. nontotalholdervolume:
  22709. description: 非交易持仓量
  22710. type: integer
  22711. nontotallot:
  22712. description: 非交易总手数
  22713. type: integer
  22714. nontotalturnover:
  22715. description: 非交易总金额
  22716. type: integer
  22717. nontotalvolume:
  22718. description: 非交易总量
  22719. type: integer
  22720. opened:
  22721. description: 开盘价
  22722. type: number
  22723. opentime:
  22724. description: 开盘时间
  22725. type: string
  22726. orderid:
  22727. description: 序号
  22728. type: integer
  22729. preclose:
  22730. description: 昨收
  22731. type: number
  22732. preholdvolume:
  22733. description: 昨持仓
  22734. type: integer
  22735. presettle:
  22736. description: 昨结价
  22737. type: number
  22738. publictradetype:
  22739. description: 公共交易标志类型 港股专用
  22740. type: string
  22741. putoptionpremiums:
  22742. description: 认沽期权1
  22743. type: integer
  22744. putoptionpremiums2:
  22745. description: 认沽期权2
  22746. type: integer
  22747. putoptionpremiums3:
  22748. description: 认沽期权3
  22749. type: integer
  22750. putoptionpremiums4:
  22751. description: 认沽期权4
  22752. type: integer
  22753. putoptionpremiums5:
  22754. description: 认沽期权5
  22755. type: integer
  22756. settle:
  22757. description: 结算价
  22758. type: number
  22759. strikeprice:
  22760. description: 发行价
  22761. type: number
  22762. totalaskvolume:
  22763. description: 内盘
  22764. type: integer
  22765. totalbidvolume:
  22766. description: 外盘
  22767. type: integer
  22768. totallot:
  22769. description: 总手数
  22770. type: integer
  22771. totalturnover:
  22772. description: 总金额
  22773. type: number
  22774. totalvolume:
  22775. description: 总量
  22776. type: integer
  22777. utclasttime:
  22778. description: utc的行情时间
  22779. type: string
  22780. type: object
  22781. quote.QueryTSDataRsp:
  22782. properties:
  22783. Count:
  22784. description: 交易日应有数据个数
  22785. type: integer
  22786. decimalPlace:
  22787. description: 小数位
  22788. type: integer
  22789. endTime:
  22790. description: 结束时间
  22791. type: string
  22792. goodsCode:
  22793. description: 商品代码
  22794. type: string
  22795. historyDatas:
  22796. description: 历史数据
  22797. items:
  22798. $ref: '#/definitions/quote.HistoryData'
  22799. type: array
  22800. outGoodsCode:
  22801. description: 外部商品代码
  22802. type: string
  22803. preSettle:
  22804. description: 昨结价
  22805. type: number
  22806. runSteps:
  22807. description: 交易日开休市计划
  22808. items:
  22809. $ref: '#/definitions/quote.TSDataRunStep'
  22810. type: array
  22811. startTime:
  22812. description: 开始时间
  22813. type: string
  22814. tradeDate:
  22815. description: 交易日
  22816. type: string
  22817. type: object
  22818. quote.TSDataRunStep:
  22819. properties:
  22820. end:
  22821. description: 真实结束时间
  22822. type: string
  22823. endflag:
  22824. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  22825. type: integer
  22826. endtime:
  22827. description: 结束时间(HH:mm)
  22828. type: string
  22829. endweekday:
  22830. description: 结束周几
  22831. type: integer
  22832. groupid:
  22833. description: 分组ID
  22834. type: integer
  22835. runstep:
  22836. description: 运行阶段 - 2:连续交易
  22837. type: integer
  22838. sectionid:
  22839. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  22840. 结束时间=结算时间 结束周几=结算周几
  22841. type: integer
  22842. start:
  22843. description: 真实开始时间
  22844. type: string
  22845. startflag:
  22846. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  22847. type: integer
  22848. starttime:
  22849. description: 起始时间(HH:mm)
  22850. type: string
  22851. startweekday:
  22852. description: 起始周几
  22853. type: integer
  22854. tradeweekday:
  22855. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  22856. type: integer
  22857. type: object
  22858. szdz.QueryConvertLogRsp:
  22859. properties:
  22860. accountid:
  22861. description: 资金账户ID
  22862. type: integer
  22863. clientticket:
  22864. description: 客户端流水号
  22865. type: string
  22866. converttype:
  22867. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  22868. type: integer
  22869. createtime:
  22870. description: 记账时间
  22871. type: string
  22872. daymaxvalue:
  22873. description: 配置当日最大转入限制
  22874. type: number
  22875. daymaxvalue2:
  22876. description: 配置当日最大转入限制(转入)
  22877. type: number
  22878. goodscode:
  22879. description: 商品代码
  22880. type: string
  22881. goodsname:
  22882. description: 商品名称
  22883. type: string
  22884. handlestatus:
  22885. description: 处理状态
  22886. type: integer
  22887. innergoodsid:
  22888. description: 内部商品ID
  22889. type: integer
  22890. inratio:
  22891. description: 配置转入比值
  22892. type: integer
  22893. invalue:
  22894. description: 目标值
  22895. type: number
  22896. logid:
  22897. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22898. type: integer
  22899. mobile:
  22900. description: 手机号码(加密存储)
  22901. type: string
  22902. outergoodscode:
  22903. description: 外部商品代码[JD\PD]
  22904. type: string
  22905. outratio:
  22906. description: 配置转出比值
  22907. type: integer
  22908. outvalue:
  22909. description: 源值
  22910. type: number
  22911. pddecimalplace:
  22912. description: PD小数位
  22913. type: integer
  22914. qty:
  22915. description: 数量
  22916. type: string
  22917. remark:
  22918. description: 备注
  22919. type: string
  22920. sessionid:
  22921. description: 会话ID
  22922. type: integer
  22923. timemaxvalue:
  22924. description: 配置单次最大转入限制
  22925. type: number
  22926. timemaxvalue2:
  22927. description: 配置单次最大转入限制(转入)
  22928. type: number
  22929. timeminvalue:
  22930. description: 配置单次最小数量限制
  22931. type: number
  22932. timeminvalue2:
  22933. description: 配置单次最小数量限制(转入)
  22934. type: number
  22935. tradedate:
  22936. description: 交易日(yyyyMMdd)
  22937. type: string
  22938. userid:
  22939. description: 用户ID
  22940. type: integer
  22941. required:
  22942. - logid
  22943. type: object
  22944. szdz.QueryGoodsPickupRsp:
  22945. properties:
  22946. accountid:
  22947. description: 账户ID
  22948. type: integer
  22949. address:
  22950. description: 提货人详细地址
  22951. type: string
  22952. auditer:
  22953. description: 审核人
  22954. type: integer
  22955. audittime:
  22956. description: 审核时间
  22957. type: string
  22958. cardnum:
  22959. description: 提货人证件号码
  22960. type: string
  22961. cardtypeid:
  22962. description: 提货人证件类型
  22963. type: integer
  22964. checkremark:
  22965. description: 审核备注
  22966. type: string
  22967. goodscode:
  22968. description: 商品代码
  22969. type: string
  22970. goodsid:
  22971. description: 商品ID
  22972. type: integer
  22973. goodsname:
  22974. description: 商品名称
  22975. type: string
  22976. handlestatus:
  22977. description: 处理状态
  22978. type: integer
  22979. marketid:
  22980. description: 市场ID
  22981. type: integer
  22982. phonenum:
  22983. description: 提货人联系方式
  22984. type: string
  22985. qty:
  22986. description: 提货数量
  22987. type: number
  22988. recivername:
  22989. description: 提货人姓名
  22990. type: string
  22991. reqtime:
  22992. description: 更新时间
  22993. type: string
  22994. takemode:
  22995. description: 提货方式 - 2:自提 3:配送
  22996. type: integer
  22997. takeorderid:
  22998. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  22999. type: string
  23000. takeorderstatus:
  23001. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23002. type: integer
  23003. takeremark:
  23004. description: 提货备注
  23005. type: string
  23006. tradedate:
  23007. description: 交易日(yyyyMMdd)
  23008. type: string
  23009. userid:
  23010. description: 用户ID
  23011. type: integer
  23012. required:
  23013. - takeorderid
  23014. type: object
  23015. szdz.QueryRecieptOrderRsp:
  23016. properties:
  23017. accountName:
  23018. description: 所属账号名称(已脱敏)
  23019. type: string
  23020. accountid:
  23021. description: 资金账号
  23022. type: integer
  23023. buyorsell:
  23024. description: 方向 - 0:买 1:卖
  23025. type: integer
  23026. enableqty:
  23027. description: 可摘数量
  23028. type: integer
  23029. goodscode:
  23030. description: 商品代码
  23031. type: string
  23032. goodsid:
  23033. description: 商品ID
  23034. type: integer
  23035. goodsname:
  23036. description: 商品名称
  23037. type: string
  23038. orderid:
  23039. description: 委托单号
  23040. type: string
  23041. orderprice:
  23042. description: 委托价格
  23043. type: number
  23044. ordertime:
  23045. description: 委托时间
  23046. type: string
  23047. tradedate:
  23048. description: 交易日(yyyyMMdd)
  23049. type: string
  23050. required:
  23051. - ordertime
  23052. type: object
  23053. szdz.QuerySZDZTradePositionRsp:
  23054. properties:
  23055. accountid:
  23056. description: 账号Id
  23057. type: integer
  23058. agreeunit:
  23059. description: 合约单位
  23060. type: number
  23061. averageprice:
  23062. description: 持仓均价
  23063. type: number
  23064. buyorsell:
  23065. description: 方向 - 0:买 1:卖
  23066. type: integer
  23067. closetotalqty:
  23068. description: 平仓总数量
  23069. type: integer
  23070. curholderamount:
  23071. description: 当前持仓总金额
  23072. type: number
  23073. curpositionqty:
  23074. description: 当前持仓总数量
  23075. type: integer
  23076. currencyid:
  23077. description: 报价货币ID
  23078. type: integer
  23079. curtdposition:
  23080. description: 期末今日头寸
  23081. type: integer
  23082. decimalplace:
  23083. description: 报价小数位
  23084. type: integer
  23085. enableqty:
  23086. description: 可用量
  23087. type: integer
  23088. fretdposition:
  23089. description: 冻结今日头寸
  23090. type: integer
  23091. frozenqty:
  23092. description: 持仓冻结数量
  23093. type: integer
  23094. goodscode:
  23095. description: 商品代码(内部)
  23096. type: string
  23097. goodsid:
  23098. description: 商品Id
  23099. type: integer
  23100. goodsname:
  23101. description: 商品名称
  23102. type: string
  23103. goodunit:
  23104. description: 报价单位
  23105. type: string
  23106. goodunitid:
  23107. description: 报价单位ID
  23108. type: integer
  23109. holderamount:
  23110. description: 期初持仓总金额
  23111. type: number
  23112. marketid:
  23113. description: 市场ID
  23114. type: integer
  23115. openreqqty:
  23116. description: 开仓申请数量
  23117. type: integer
  23118. opentotalqty:
  23119. description: 开仓总数量
  23120. type: integer
  23121. otherfrozenqty:
  23122. description: 持仓其他冻结数量(交割冻结)
  23123. type: integer
  23124. positionqty:
  23125. description: 期初持仓数量
  23126. type: integer
  23127. szdz3freezqty:
  23128. description: 尚志大宗转换冻结总数量
  23129. type: integer
  23130. tnqty:
  23131. description: T+N冻结总量
  23132. type: integer
  23133. tnusedqty:
  23134. description: T+N使用量
  23135. type: integer
  23136. trademode:
  23137. description: 交易模式
  23138. type: integer
  23139. usedmargin:
  23140. description: 占用保证金
  23141. type: number
  23142. type: object
  23143. taaccount.QueryAmountLogRsp:
  23144. properties:
  23145. OPERATETYPENAME:
  23146. description: 资金操作类型名称
  23147. type: string
  23148. accountid:
  23149. description: 资金账户ID
  23150. type: integer
  23151. agoodscode:
  23152. description: 竞拍商品代码
  23153. type: string
  23154. agoodsname:
  23155. description: 竞拍商品名称
  23156. type: string
  23157. amount:
  23158. description: 资金金额
  23159. type: number
  23160. amountadjusttype:
  23161. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  23162. type: integer
  23163. autoid:
  23164. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  23165. type: integer
  23166. balance:
  23167. description: 期初余额
  23168. type: number
  23169. businesscode:
  23170. description: 业务编号
  23171. type: integer
  23172. createtime:
  23173. description: 发生时间
  23174. type: string
  23175. currencyid:
  23176. description: 币种ID
  23177. type: integer
  23178. currentbalance:
  23179. description: 期末余额(变动后金额)
  23180. type: number
  23181. dgoodscode:
  23182. description: 交割商品代码
  23183. type: string
  23184. dgoodsname:
  23185. description: 交割商品名称
  23186. type: string
  23187. goodscode:
  23188. description: 商品代码
  23189. type: string
  23190. goodsid:
  23191. description: 商品ID
  23192. type: integer
  23193. goodsname:
  23194. description: 商品名称
  23195. type: string
  23196. marketid:
  23197. description: 市场ID
  23198. type: integer
  23199. marketname:
  23200. description: 市场名称
  23201. type: string
  23202. moneyticket:
  23203. description: 资金流水号:银行端流水号
  23204. type: integer
  23205. operatetype:
  23206. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  23207. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  23208. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  23209. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  23210. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  23211. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  23212. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  23213. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  23214. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  23215. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  23216. type: integer
  23217. relationorderid:
  23218. description: 关联单号
  23219. type: string
  23220. remark:
  23221. description: 备注
  23222. type: string
  23223. trademode:
  23224. description: 交易模式
  23225. type: integer
  23226. required:
  23227. - accountid
  23228. - amount
  23229. - amountadjusttype
  23230. - autoid
  23231. - balance
  23232. - createtime
  23233. - currentbalance
  23234. - operatetype
  23235. type: object
  23236. taaccount.QueryHisAmountLogRsp:
  23237. properties:
  23238. OPERATETYPENAME:
  23239. description: 资金操作类型名称
  23240. type: string
  23241. accountid:
  23242. description: 资金账户ID
  23243. type: integer
  23244. agoodscode:
  23245. description: 竞拍商品代码
  23246. type: string
  23247. agoodsname:
  23248. description: 竞拍商品名称
  23249. type: string
  23250. amount:
  23251. description: 资金金额
  23252. type: number
  23253. amountadjusttype:
  23254. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  23255. type: integer
  23256. autoid:
  23257. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  23258. type: integer
  23259. balance:
  23260. description: 期初余额
  23261. type: number
  23262. businesscode:
  23263. description: 业务编号
  23264. type: integer
  23265. createtime:
  23266. description: 发生时间
  23267. type: string
  23268. currencyid:
  23269. description: 币种ID
  23270. type: integer
  23271. currentbalance:
  23272. description: 期末余额(变动后金额)
  23273. type: number
  23274. dgoodscode:
  23275. description: 交割商品代码
  23276. type: string
  23277. dgoodsname:
  23278. description: 交割商品名称
  23279. type: string
  23280. goodscode:
  23281. description: 商品代码
  23282. type: string
  23283. goodsid:
  23284. description: 商品ID
  23285. type: integer
  23286. goodsname:
  23287. description: 商品名称
  23288. type: string
  23289. histradedate:
  23290. description: 历史交易日
  23291. type: string
  23292. isvaliddata:
  23293. description: 是否有效 - 0:无效 1:有效
  23294. type: integer
  23295. marketid:
  23296. description: 市场ID
  23297. type: integer
  23298. marketname:
  23299. description: 市场名称
  23300. type: string
  23301. moneyticket:
  23302. description: 资金流水号:银行端流水号
  23303. type: integer
  23304. operatetype:
  23305. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  23306. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  23307. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  23308. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  23309. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  23310. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  23311. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  23312. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  23313. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  23314. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  23315. type: integer
  23316. relationorderid:
  23317. description: 关联单号
  23318. type: string
  23319. remark:
  23320. description: 备注
  23321. type: string
  23322. trademode:
  23323. description: 交易模式
  23324. type: integer
  23325. required:
  23326. - accountid
  23327. - amount
  23328. - amountadjusttype
  23329. - autoid
  23330. - balance
  23331. - createtime
  23332. - currentbalance
  23333. - histradedate
  23334. - operatetype
  23335. type: object
  23336. trade.QueryRecieptOrderRsp:
  23337. properties:
  23338. accountName:
  23339. description: 所属账号名称(已脱敏)
  23340. type: string
  23341. accountid:
  23342. description: 资金账号
  23343. type: integer
  23344. buyorsell:
  23345. description: 方向 - 0:买 1:卖
  23346. type: integer
  23347. enableqty:
  23348. description: 可摘数量
  23349. type: integer
  23350. goodscode:
  23351. description: 商品代码
  23352. type: string
  23353. goodsid:
  23354. description: 商品ID
  23355. type: integer
  23356. goodsname:
  23357. description: 商品名称
  23358. type: string
  23359. orderid:
  23360. description: 委托单号
  23361. type: string
  23362. orderprice:
  23363. description: 委托价格
  23364. type: number
  23365. ordertime:
  23366. description: 委托时间
  23367. type: string
  23368. tradedate:
  23369. description: 交易日(yyyyMMdd)
  23370. type: string
  23371. required:
  23372. - ordertime
  23373. type: object
  23374. user.LoginQueryRsp:
  23375. properties:
  23376. areaRoles:
  23377. description: 所属角色信息
  23378. items:
  23379. $ref: '#/definitions/models.Arearole'
  23380. type: array
  23381. exchangeRateConfigs:
  23382. description: 汇率信息
  23383. items:
  23384. $ref: '#/definitions/models.Exchangerateconfig'
  23385. type: array
  23386. externalExchanges:
  23387. description: 外部交易所
  23388. items:
  23389. $ref: '#/definitions/models.Externalexchange'
  23390. type: array
  23391. goodsgroups:
  23392. description: 商品组
  23393. items:
  23394. $ref: '#/definitions/models.Goodsgroup'
  23395. type: array
  23396. loginAccount:
  23397. $ref: '#/definitions/models.Loginaccount'
  23398. description: 登录账号
  23399. markets:
  23400. description: 市场
  23401. items:
  23402. $ref: '#/definitions/models.Market'
  23403. type: array
  23404. systemParams:
  23405. description: 系统参数
  23406. items:
  23407. $ref: '#/definitions/models.Systemparam'
  23408. type: array
  23409. userAccount:
  23410. $ref: '#/definitions/models.Useraccount'
  23411. description: 用户账号
  23412. userInfo:
  23413. $ref: '#/definitions/models.Userinfo'
  23414. description: 用户信息
  23415. username:
  23416. description: 用户姓名
  23417. type: string
  23418. type: object
  23419. info:
  23420. contact: {}
  23421. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  23422. termsOfService: http://www.muchinfo.cn
  23423. title: MTP2.0 查询服务 API
  23424. version: "1.0"
  23425. paths:
  23426. /CPTrade/QueryCPTradeMyBidInfos:
  23427. get:
  23428. parameters:
  23429. - description: 资金账户
  23430. in: query
  23431. name: accountid
  23432. required: true
  23433. type: integer
  23434. - description: 预售市场ID
  23435. in: query
  23436. name: marketid
  23437. type: integer
  23438. - description: 预售商品ID
  23439. in: query
  23440. name: goodsid
  23441. type: integer
  23442. produces:
  23443. - application/json
  23444. responses:
  23445. "200":
  23446. description: OK
  23447. schema:
  23448. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  23449. "500":
  23450. description: Internal Server Error
  23451. schema:
  23452. $ref: '#/definitions/app.Response'
  23453. security:
  23454. - ApiKeyAuth: []
  23455. summary: 查询产能预售我的出价信息
  23456. tags:
  23457. - 产能预售
  23458. /CPTrade/QueryCPTradeOrderDetail:
  23459. get:
  23460. parameters:
  23461. - description: 预售商品ID
  23462. in: query
  23463. name: goodsid
  23464. type: integer
  23465. - description: 预售市场ID
  23466. in: query
  23467. name: marketid
  23468. type: integer
  23469. - description: 预售商品ID列表 - 格式:1,2,3
  23470. in: query
  23471. name: goodsids
  23472. type: string
  23473. produces:
  23474. - application/json
  23475. responses:
  23476. "200":
  23477. description: OK
  23478. schema:
  23479. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  23480. "500":
  23481. description: Internal Server Error
  23482. schema:
  23483. $ref: '#/definitions/app.Response'
  23484. security:
  23485. - ApiKeyAuth: []
  23486. summary: 查询产能预售委托单信息
  23487. tags:
  23488. - 产能预售
  23489. /CPTrade/QueryMyCPTradeGoods:
  23490. get:
  23491. parameters:
  23492. - description: 资金账户
  23493. in: query
  23494. name: accountid
  23495. required: true
  23496. type: integer
  23497. produces:
  23498. - application/json
  23499. responses:
  23500. "200":
  23501. description: OK
  23502. schema:
  23503. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  23504. "500":
  23505. description: Internal Server Error
  23506. schema:
  23507. $ref: '#/definitions/app.Response'
  23508. security:
  23509. - ApiKeyAuth: []
  23510. summary: 查询我的预售信息
  23511. tags:
  23512. - 产能预售
  23513. /CPTrade/QueryPositionCancel:
  23514. get:
  23515. parameters:
  23516. - description: 账户ID
  23517. in: query
  23518. name: userid
  23519. required: true
  23520. type: integer
  23521. - description: 注销ID
  23522. in: query
  23523. name: cancelid
  23524. type: integer
  23525. - description: 资金账户ID
  23526. in: query
  23527. name: accountid
  23528. type: integer
  23529. produces:
  23530. - application/json
  23531. responses:
  23532. "200":
  23533. description: OK
  23534. schema:
  23535. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  23536. "500":
  23537. description: Internal Server Error
  23538. schema:
  23539. $ref: '#/definitions/app.Response'
  23540. security:
  23541. - ApiKeyAuth: []
  23542. summary: 查询远期订单注销申请信息
  23543. tags:
  23544. - 产能预售
  23545. /CPTrade/QueryPreasleApply:
  23546. get:
  23547. parameters:
  23548. - description: 账户ID
  23549. in: query
  23550. name: userid
  23551. required: true
  23552. type: integer
  23553. - description: 申请ID
  23554. in: query
  23555. name: applyid
  23556. type: integer
  23557. - description: 资金账户ID
  23558. in: query
  23559. name: accountid
  23560. type: integer
  23561. produces:
  23562. - application/json
  23563. responses:
  23564. "200":
  23565. description: OK
  23566. schema:
  23567. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  23568. "500":
  23569. description: Internal Server Error
  23570. schema:
  23571. $ref: '#/definitions/app.Response'
  23572. security:
  23573. - ApiKeyAuth: []
  23574. summary: 查询产能预售申请信息
  23575. tags:
  23576. - 产能预售
  23577. /CPTrade/QueryPresaleGoodsEx:
  23578. get:
  23579. parameters:
  23580. - description: 预售商品ID
  23581. in: query
  23582. name: goodsid
  23583. type: integer
  23584. - description: 预售市场ID
  23585. in: query
  23586. name: marketid
  23587. type: integer
  23588. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  23589. in: query
  23590. name: presalemode
  23591. type: integer
  23592. - description: 预售商品ID列表 - 格式:1,2,3
  23593. in: query
  23594. name: goodsids
  23595. type: string
  23596. - description: 预售商品代码
  23597. in: query
  23598. name: goodscode
  23599. type: string
  23600. produces:
  23601. - application/json
  23602. responses:
  23603. "200":
  23604. description: OK
  23605. schema:
  23606. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  23607. "500":
  23608. description: Internal Server Error
  23609. schema:
  23610. $ref: '#/definitions/app.Response'
  23611. security:
  23612. - ApiKeyAuth: []
  23613. summary: 查询产能预售商品扩展信息
  23614. tags:
  23615. - 产能预售
  23616. /CPTrade/QueryUserGoodsData:
  23617. get:
  23618. parameters:
  23619. - description: 资金账户ID
  23620. in: query
  23621. name: accountid
  23622. required: true
  23623. type: integer
  23624. produces:
  23625. - application/json
  23626. responses:
  23627. "200":
  23628. description: OK
  23629. schema:
  23630. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  23631. "500":
  23632. description: Internal Server Error
  23633. schema:
  23634. $ref: '#/definitions/app.Response'
  23635. security:
  23636. - ApiKeyAuth: []
  23637. summary: 查询远期订单信息
  23638. tags:
  23639. - 产能预售
  23640. /Common/DeleteNewFuncmenu:
  23641. delete:
  23642. consumes:
  23643. - application/json
  23644. parameters:
  23645. - description: 菜单表数据,只需要resourcecode字段即可
  23646. in: body
  23647. name: data
  23648. required: true
  23649. schema:
  23650. $ref: '#/definitions/models.NewFuncmenulist'
  23651. produces:
  23652. - application/json
  23653. responses:
  23654. "200":
  23655. description: OK
  23656. schema:
  23657. $ref: '#/definitions/app.Response'
  23658. "500":
  23659. description: Internal Server Error
  23660. schema:
  23661. $ref: '#/definitions/app.Response'
  23662. security:
  23663. - ApiKeyAuth: []
  23664. summary: 删除菜单表数据
  23665. tags:
  23666. - 通用服务
  23667. /Common/FindNewFuncmenu:
  23668. get:
  23669. parameters:
  23670. - description: 资源代码
  23671. in: query
  23672. name: resourcecode
  23673. type: string
  23674. - description: 上级资源代码
  23675. in: query
  23676. name: parentcode
  23677. type: string
  23678. - description: 资源名(Title), 模糊查询
  23679. in: query
  23680. name: resourcename
  23681. type: string
  23682. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  23683. in: query
  23684. name: menutype
  23685. type: string
  23686. produces:
  23687. - application/json
  23688. responses:
  23689. "200":
  23690. description: OK
  23691. schema:
  23692. items:
  23693. $ref: '#/definitions/models.NewFuncmenulist'
  23694. type: array
  23695. "500":
  23696. description: Internal Server Error
  23697. schema:
  23698. $ref: '#/definitions/app.Response'
  23699. security:
  23700. - ApiKeyAuth: []
  23701. summary: 获取菜单表数据
  23702. tags:
  23703. - 通用服务
  23704. /Common/GetAllEnums:
  23705. get:
  23706. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  23707. parameters:
  23708. - description: 起始自增ID
  23709. in: query
  23710. name: autoid
  23711. type: integer
  23712. produces:
  23713. - application/json
  23714. responses:
  23715. "200":
  23716. description: OK
  23717. schema:
  23718. $ref: '#/definitions/models.Enumdicitem'
  23719. "500":
  23720. description: Internal Server Error
  23721. schema:
  23722. $ref: '#/definitions/app.Response'
  23723. summary: 获取所有枚举信息
  23724. tags:
  23725. - 通用服务
  23726. /Common/GetClientMenus:
  23727. get:
  23728. parameters:
  23729. - description: 登录账号
  23730. in: query
  23731. name: loginID
  23732. required: true
  23733. type: integer
  23734. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  23735. in: query
  23736. name: clientType
  23737. type: integer
  23738. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  23739. in: query
  23740. name: name
  23741. type: string
  23742. produces:
  23743. - application/json
  23744. responses:
  23745. "200":
  23746. description: OK
  23747. schema:
  23748. items:
  23749. $ref: '#/definitions/common.ClientMenu'
  23750. type: array
  23751. "500":
  23752. description: Internal Server Error
  23753. schema:
  23754. $ref: '#/definitions/app.Response'
  23755. security:
  23756. - ApiKeyAuth: []
  23757. summary: 获取交易端菜单
  23758. tags:
  23759. - 通用服务
  23760. /Common/GetClientNewFuncmenu:
  23761. get:
  23762. parameters:
  23763. - description: 登录账号
  23764. in: query
  23765. name: loginid
  23766. required: true
  23767. type: integer
  23768. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  23769. in: query
  23770. name: menutype
  23771. required: true
  23772. type: integer
  23773. produces:
  23774. - application/json
  23775. responses:
  23776. "200":
  23777. description: OK
  23778. schema:
  23779. items:
  23780. $ref: '#/definitions/models.NewFuncmenulist'
  23781. type: array
  23782. "500":
  23783. description: Internal Server Error
  23784. schema:
  23785. $ref: '#/definitions/app.Response'
  23786. security:
  23787. - ApiKeyAuth: []
  23788. summary: 获取终端菜单
  23789. tags:
  23790. - 通用服务
  23791. /Common/GetDivisions:
  23792. get:
  23793. produces:
  23794. - application/json
  23795. responses:
  23796. "200":
  23797. description: OK
  23798. schema:
  23799. $ref: '#/definitions/models.Division'
  23800. "500":
  23801. description: Internal Server Error
  23802. schema:
  23803. $ref: '#/definitions/app.Response'
  23804. summary: 查询区域信息
  23805. tags:
  23806. - 通用服务
  23807. /Common/GetPCWebMenus:
  23808. get:
  23809. parameters:
  23810. - description: 登录账号
  23811. in: query
  23812. name: loginID
  23813. required: true
  23814. type: integer
  23815. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  23816. in: query
  23817. name: name
  23818. type: string
  23819. produces:
  23820. - application/json
  23821. responses:
  23822. "200":
  23823. description: OK
  23824. schema:
  23825. items:
  23826. $ref: '#/definitions/common.PCWebMenu'
  23827. type: array
  23828. "500":
  23829. description: Internal Server Error
  23830. schema:
  23831. $ref: '#/definitions/app.Response'
  23832. security:
  23833. - ApiKeyAuth: []
  23834. summary: 获取PCWeb交易端菜单
  23835. tags:
  23836. - 通用服务
  23837. /Common/GetServerTime:
  23838. get:
  23839. produces:
  23840. - application/json
  23841. responses:
  23842. "200":
  23843. description: OK
  23844. schema:
  23845. $ref: '#/definitions/app.Response'
  23846. "500":
  23847. description: Internal Server Error
  23848. schema:
  23849. $ref: '#/definitions/app.Response'
  23850. summary: 获取服务器时间
  23851. tags:
  23852. - 通用服务
  23853. /Common/InsertNewFuncmenu:
  23854. post:
  23855. consumes:
  23856. - application/json
  23857. parameters:
  23858. - description: 菜单表数据
  23859. in: body
  23860. name: data
  23861. required: true
  23862. schema:
  23863. $ref: '#/definitions/models.NewFuncmenulist'
  23864. produces:
  23865. - application/json
  23866. responses:
  23867. "200":
  23868. description: OK
  23869. schema:
  23870. $ref: '#/definitions/app.Response'
  23871. "500":
  23872. description: Internal Server Error
  23873. schema:
  23874. $ref: '#/definitions/app.Response'
  23875. security:
  23876. - ApiKeyAuth: []
  23877. summary: 插入菜单表数据
  23878. tags:
  23879. - 通用服务
  23880. /Common/NoticeReaded:
  23881. post:
  23882. parameters:
  23883. - description: 登录账号
  23884. in: query
  23885. name: loginID
  23886. required: true
  23887. type: integer
  23888. - description: 通知公告ID
  23889. in: query
  23890. name: noticeID
  23891. required: true
  23892. type: integer
  23893. produces:
  23894. - application/json
  23895. responses:
  23896. "200":
  23897. description: OK
  23898. schema:
  23899. $ref: '#/definitions/app.Response'
  23900. "500":
  23901. description: Internal Server Error
  23902. schema:
  23903. $ref: '#/definitions/app.Response'
  23904. security:
  23905. - ApiKeyAuth: []
  23906. summary: 通知公告设置已读请求
  23907. tags:
  23908. - 通用服务
  23909. /Common/QueryErrorInfos:
  23910. get:
  23911. description: 如果传入rowNumber,则返回此rowNumber后的数据
  23912. parameters:
  23913. - description: 起始行号前索引
  23914. in: query
  23915. name: rowNumber
  23916. type: string
  23917. produces:
  23918. - application/json
  23919. responses:
  23920. "200":
  23921. description: OK
  23922. schema:
  23923. $ref: '#/definitions/models.QueryErrorInfosRsp'
  23924. "500":
  23925. description: Internal Server Error
  23926. schema:
  23927. $ref: '#/definitions/app.Response'
  23928. summary: 获取数据库错误信息
  23929. tags:
  23930. - 通用服务
  23931. /Common/QueryImageConfigs:
  23932. get:
  23933. parameters:
  23934. - description: 用户id
  23935. in: query
  23936. name: userId
  23937. type: integer
  23938. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  23939. in: query
  23940. name: imageType
  23941. type: integer
  23942. produces:
  23943. - application/json
  23944. responses:
  23945. "200":
  23946. description: OK
  23947. schema:
  23948. $ref: '#/definitions/common.QueryImageConfigsRsp'
  23949. "500":
  23950. description: Internal Server Error
  23951. schema:
  23952. $ref: '#/definitions/app.Response'
  23953. summary: 查询轮播图配置信息
  23954. tags:
  23955. - 通用服务
  23956. /Common/QueryNotice:
  23957. get:
  23958. parameters:
  23959. - description: 页码
  23960. in: query
  23961. name: page
  23962. type: integer
  23963. - description: 每页条数
  23964. in: query
  23965. name: pagesize
  23966. type: integer
  23967. - description: 登录账号
  23968. in: query
  23969. name: loginID
  23970. required: true
  23971. type: integer
  23972. - description: 消息类型 - 1:公告通知 2:系统消息
  23973. in: query
  23974. name: msgType
  23975. type: integer
  23976. - description: 是否只获取未读信息
  23977. in: query
  23978. name: onlyUnRead
  23979. type: boolean
  23980. - description: 自增ID,传入后会返回这个ID后面的记录
  23981. in: query
  23982. name: lastID
  23983. type: integer
  23984. produces:
  23985. - application/json
  23986. responses:
  23987. "200":
  23988. description: OK
  23989. schema:
  23990. $ref: '#/definitions/common.QueryNoticeRsp'
  23991. "500":
  23992. description: Internal Server Error
  23993. schema:
  23994. $ref: '#/definitions/app.Response'
  23995. security:
  23996. - ApiKeyAuth: []
  23997. summary: 通知公告系统消息查询
  23998. tags:
  23999. - 通用服务
  24000. /Common/QueryProvincesAndCities:
  24001. get:
  24002. parameters:
  24003. - description: 省ID
  24004. in: query
  24005. name: provinceID
  24006. type: integer
  24007. produces:
  24008. - application/json
  24009. responses:
  24010. "200":
  24011. description: OK
  24012. schema:
  24013. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  24014. "500":
  24015. description: Internal Server Error
  24016. schema:
  24017. $ref: '#/definitions/app.Response'
  24018. summary: 查询省市信息(不包括区)
  24019. tags:
  24020. - 通用服务
  24021. /Common/QueryRates:
  24022. get:
  24023. parameters:
  24024. - description: 页码
  24025. in: query
  24026. name: page
  24027. type: integer
  24028. - description: 每页条数
  24029. in: query
  24030. name: pagesize
  24031. type: integer
  24032. - description: 源币种ID
  24033. in: query
  24034. name: oricurrencyid
  24035. type: integer
  24036. - description: 目标币种ID
  24037. in: query
  24038. name: descurrencyid
  24039. type: integer
  24040. produces:
  24041. - application/json
  24042. responses:
  24043. "200":
  24044. description: OK
  24045. schema:
  24046. items:
  24047. $ref: '#/definitions/models.Exchangerateconfig'
  24048. type: array
  24049. "500":
  24050. description: Internal Server Error
  24051. schema:
  24052. $ref: '#/definitions/app.Response'
  24053. security:
  24054. - ApiKeyAuth: []
  24055. - LoginID: []
  24056. - Group: []
  24057. summary: 查询汇率信息
  24058. tags:
  24059. - 通用服务
  24060. /Common/QueryTableDefine:
  24061. get:
  24062. parameters:
  24063. - description: 表key
  24064. in: query
  24065. name: tableKey
  24066. type: string
  24067. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  24068. in: query
  24069. name: tableType
  24070. type: integer
  24071. produces:
  24072. - application/json
  24073. responses:
  24074. "200":
  24075. description: OK
  24076. schema:
  24077. $ref: '#/definitions/common.QueryTableDefineRsp'
  24078. "500":
  24079. description: Internal Server Error
  24080. schema:
  24081. $ref: '#/definitions/app.Response'
  24082. summary: 查询交易端列表头信息
  24083. tags:
  24084. - 通用服务
  24085. /Common/QueryTraderMenu:
  24086. get:
  24087. parameters:
  24088. - description: 登录账号
  24089. in: query
  24090. name: loginid
  24091. required: true
  24092. type: integer
  24093. produces:
  24094. - application/json
  24095. responses:
  24096. "200":
  24097. description: OK
  24098. schema:
  24099. $ref: '#/definitions/common.QueryTraderMenuRsp'
  24100. "500":
  24101. description: Internal Server Error
  24102. schema:
  24103. $ref: '#/definitions/app.Response'
  24104. summary: 查询交易端菜单
  24105. tags:
  24106. - 通用服务
  24107. /Common/UpdateNewFuncmenu:
  24108. put:
  24109. consumes:
  24110. - application/json
  24111. parameters:
  24112. - description: 菜单表数据
  24113. in: body
  24114. name: data
  24115. required: true
  24116. schema:
  24117. $ref: '#/definitions/models.NewFuncmenulist'
  24118. produces:
  24119. - application/json
  24120. responses:
  24121. "200":
  24122. description: OK
  24123. schema:
  24124. $ref: '#/definitions/app.Response'
  24125. "500":
  24126. description: Internal Server Error
  24127. schema:
  24128. $ref: '#/definitions/app.Response'
  24129. security:
  24130. - ApiKeyAuth: []
  24131. summary: 更新菜单表数据
  24132. tags:
  24133. - 通用服务
  24134. /Delivery/QueryDeliveryRelation:
  24135. get:
  24136. parameters:
  24137. - description: 商品ID
  24138. in: query
  24139. name: goodsid
  24140. type: integer
  24141. - description: 品种ID
  24142. in: query
  24143. name: deliverygoodsid
  24144. type: integer
  24145. - description: 市场ID
  24146. in: query
  24147. name: marketid
  24148. type: integer
  24149. produces:
  24150. - application/json
  24151. responses:
  24152. "200":
  24153. description: OK
  24154. schema:
  24155. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  24156. "500":
  24157. description: Internal Server Error
  24158. schema:
  24159. $ref: '#/definitions/app.Response'
  24160. security:
  24161. - ApiKeyAuth: []
  24162. summary: 查询商品交割关系表
  24163. tags:
  24164. - 交割服务
  24165. /Ermcp/GetErmcpGoods:
  24166. get:
  24167. parameters:
  24168. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  24169. in: query
  24170. name: userid
  24171. type: integer
  24172. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24173. in: query
  24174. name: lastUpdateTime
  24175. type: string
  24176. produces:
  24177. - application/json
  24178. responses:
  24179. "200":
  24180. description: OK
  24181. schema:
  24182. $ref: '#/definitions/models.ErmcpGoods'
  24183. "500":
  24184. description: Internal Server Error
  24185. schema:
  24186. $ref: '#/definitions/app.Response'
  24187. security:
  24188. - ApiKeyAuth: []
  24189. summary: 查询企业风管期货商品信息
  24190. tags:
  24191. - 企业风险管理(app)
  24192. /Ermcp/GetErmcpGoodsSortByPosition:
  24193. get:
  24194. parameters:
  24195. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  24196. in: query
  24197. name: sortIndex
  24198. type: string
  24199. produces:
  24200. - application/json
  24201. responses:
  24202. "200":
  24203. description: OK
  24204. schema:
  24205. $ref: '#/definitions/models.Goodssortbypreposition'
  24206. "500":
  24207. description: Internal Server Error
  24208. schema:
  24209. $ref: '#/definitions/app.Response'
  24210. security:
  24211. - ApiKeyAuth: []
  24212. summary: 查询企业风管期货主力、次主力商品信息
  24213. tags:
  24214. - 企业风险管理(app)
  24215. /Ermcp/GetErmcpOutAccountStatus:
  24216. get:
  24217. parameters:
  24218. - description: 登录账号
  24219. in: query
  24220. name: loginID
  24221. required: true
  24222. type: integer
  24223. produces:
  24224. - application/json
  24225. responses:
  24226. "200":
  24227. description: OK
  24228. schema:
  24229. $ref: '#/definitions/models.Hedgemarketopenlog'
  24230. "500":
  24231. description: Internal Server Error
  24232. schema:
  24233. $ref: '#/definitions/app.Response'
  24234. security:
  24235. - ApiKeyAuth: []
  24236. summary: 获取目标登录账号当前对冲账号在线状态
  24237. tags:
  24238. - 企业风险管理(app)
  24239. /Ermcp/GetErmcpRoleFuncMenuLists:
  24240. get:
  24241. parameters:
  24242. - description: 登录账号
  24243. in: query
  24244. name: loginID
  24245. required: true
  24246. type: integer
  24247. produces:
  24248. - application/json
  24249. responses:
  24250. "200":
  24251. description: OK
  24252. schema:
  24253. $ref: '#/definitions/models.Funcmenulist'
  24254. "500":
  24255. description: Internal Server Error
  24256. schema:
  24257. $ref: '#/definitions/app.Response'
  24258. security:
  24259. - ApiKeyAuth: []
  24260. summary: 获取企业风管终端权限
  24261. tags:
  24262. - 企业风险管理(app)
  24263. /Ermcp/QueryAccMgrBizGroupSet:
  24264. get:
  24265. parameters:
  24266. - description: 用户ID
  24267. in: query
  24268. name: userid
  24269. required: true
  24270. type: integer
  24271. - description: 现货商品id
  24272. in: query
  24273. name: deliverygoodsid
  24274. type: integer
  24275. produces:
  24276. - application/json
  24277. responses:
  24278. "200":
  24279. description: OK
  24280. schema:
  24281. items:
  24282. $ref: '#/definitions/models.ErmcpBizGroupEx'
  24283. type: array
  24284. "500":
  24285. description: Internal Server Error
  24286. schema:
  24287. $ref: '#/definitions/app.Response'
  24288. security:
  24289. - ApiKeyAuth: []
  24290. summary: 查询业务类型分组(账户管理/账户设置)
  24291. tags:
  24292. - 企业风险管理(app)
  24293. /Ermcp/QueryAccMgrLoginUser:
  24294. get:
  24295. parameters:
  24296. - description: 用户ID
  24297. in: query
  24298. name: userid
  24299. required: true
  24300. type: integer
  24301. - description: 用户类型 2-机构 7-企业成员
  24302. in: query
  24303. name: usertype
  24304. type: integer
  24305. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  24306. in: query
  24307. name: querytype
  24308. required: true
  24309. type: integer
  24310. produces:
  24311. - application/json
  24312. responses:
  24313. "200":
  24314. description: OK
  24315. schema:
  24316. items:
  24317. $ref: '#/definitions/models.ErmcpLoginUserEx'
  24318. type: array
  24319. "500":
  24320. description: Internal Server Error
  24321. schema:
  24322. $ref: '#/definitions/app.Response'
  24323. security:
  24324. - ApiKeyAuth: []
  24325. summary: 查询账户管理登录账号(账户管理/登录账号)
  24326. tags:
  24327. - 企业风险管理(app)
  24328. /Ermcp/QueryAccMgrMainAccountInfo:
  24329. get:
  24330. parameters:
  24331. - description: 用户ID
  24332. in: query
  24333. name: userid
  24334. type: integer
  24335. - description: 主账号id
  24336. in: query
  24337. name: accountid
  24338. type: integer
  24339. produces:
  24340. - application/json
  24341. responses:
  24342. "200":
  24343. description: OK
  24344. schema:
  24345. items:
  24346. $ref: '#/definitions/models.MainAccountInfo'
  24347. type: array
  24348. "500":
  24349. description: Internal Server Error
  24350. schema:
  24351. $ref: '#/definitions/app.Response'
  24352. security:
  24353. - ApiKeyAuth: []
  24354. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  24355. tags:
  24356. - 企业风险管理(app)
  24357. /Ermcp/QueryAccMgrRole:
  24358. get:
  24359. parameters:
  24360. - description: 用户ID
  24361. in: query
  24362. name: userid
  24363. required: true
  24364. type: integer
  24365. produces:
  24366. - application/json
  24367. responses:
  24368. "200":
  24369. description: OK
  24370. schema:
  24371. items:
  24372. $ref: '#/definitions/models.ErmcpRole'
  24373. type: array
  24374. "500":
  24375. description: Internal Server Error
  24376. schema:
  24377. $ref: '#/definitions/app.Response'
  24378. security:
  24379. - ApiKeyAuth: []
  24380. summary: 查询账户管理角色设置(账户管理/角色设置)
  24381. tags:
  24382. - 企业风险管理(app)
  24383. /Ermcp/QueryAccMgrRoleMenu:
  24384. get:
  24385. parameters:
  24386. - description: 用户ID
  24387. in: query
  24388. name: userid
  24389. required: true
  24390. type: integer
  24391. - description: 角色id(可多个,逗号隔开)
  24392. in: query
  24393. name: roleid
  24394. type: string
  24395. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  24396. in: query
  24397. name: menutype
  24398. type: integer
  24399. produces:
  24400. - application/json
  24401. responses:
  24402. "200":
  24403. description: OK
  24404. schema:
  24405. items:
  24406. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  24407. type: array
  24408. "500":
  24409. description: Internal Server Error
  24410. schema:
  24411. $ref: '#/definitions/app.Response'
  24412. security:
  24413. - ApiKeyAuth: []
  24414. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  24415. tags:
  24416. - 企业风险管理(app)
  24417. /Ermcp/QueryAccMgrTaAccountInfo:
  24418. get:
  24419. parameters:
  24420. - description: 用户ID
  24421. in: query
  24422. name: userid
  24423. required: true
  24424. type: integer
  24425. - description: 账号id
  24426. in: query
  24427. name: accountid
  24428. type: integer
  24429. produces:
  24430. - application/json
  24431. responses:
  24432. "200":
  24433. description: OK
  24434. schema:
  24435. items:
  24436. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  24437. type: array
  24438. "500":
  24439. description: Internal Server Error
  24440. schema:
  24441. $ref: '#/definitions/app.Response'
  24442. security:
  24443. - ApiKeyAuth: []
  24444. summary: 查询账户管理授信(账户管理/账户设置/授信)
  24445. tags:
  24446. - 企业风险管理(app)
  24447. /Ermcp/QueryAccMgrTaaccount:
  24448. get:
  24449. parameters:
  24450. - description: 用户ID
  24451. in: query
  24452. name: userid
  24453. required: true
  24454. type: integer
  24455. produces:
  24456. - application/json
  24457. responses:
  24458. "200":
  24459. description: OK
  24460. schema:
  24461. items:
  24462. $ref: '#/definitions/models.ErmcpTaAccountEx'
  24463. type: array
  24464. "500":
  24465. description: Internal Server Error
  24466. schema:
  24467. $ref: '#/definitions/app.Response'
  24468. security:
  24469. - ApiKeyAuth: []
  24470. summary: 查询账户管理期货账号(账户管理/期货账号)
  24471. tags:
  24472. - 企业风险管理(app)
  24473. /Ermcp/QueryAvaildGoodsGroup:
  24474. get:
  24475. parameters:
  24476. - description: 所属机构ID
  24477. in: query
  24478. name: userid
  24479. required: true
  24480. type: integer
  24481. produces:
  24482. - application/json
  24483. responses:
  24484. "200":
  24485. description: OK
  24486. schema:
  24487. items:
  24488. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  24489. type: array
  24490. "500":
  24491. description: Internal Server Error
  24492. schema:
  24493. $ref: '#/definitions/app.Response'
  24494. security:
  24495. - ApiKeyAuth: []
  24496. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  24497. tags:
  24498. - 企业风险管理(app)
  24499. /Ermcp/QueryBusinessDj:
  24500. get:
  24501. parameters:
  24502. - description: 用户ID
  24503. in: query
  24504. name: UserId
  24505. required: true
  24506. type: integer
  24507. - description: 用户类型 2-机构 7-企业成员
  24508. in: query
  24509. name: usertype
  24510. type: integer
  24511. - description: 现货合同ID, 不填则查所有
  24512. in: query
  24513. name: relatedid
  24514. type: string
  24515. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24516. in: query
  24517. name: applystatus
  24518. type: string
  24519. produces:
  24520. - application/json
  24521. responses:
  24522. "200":
  24523. description: OK
  24524. schema:
  24525. items:
  24526. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  24527. type: array
  24528. "500":
  24529. description: Internal Server Error
  24530. schema:
  24531. $ref: '#/definitions/app.Response'
  24532. security:
  24533. - ApiKeyAuth: []
  24534. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  24535. tags:
  24536. - 企业风险管理(app)
  24537. /Ermcp/QueryBusinessFp:
  24538. get:
  24539. parameters:
  24540. - description: 用户ID
  24541. in: query
  24542. name: UserId
  24543. required: true
  24544. type: integer
  24545. - description: 用户类型 2-机构 7-企业成员
  24546. in: query
  24547. name: usertype
  24548. type: integer
  24549. - description: 现货合同ID, 不填则查所有
  24550. in: query
  24551. name: relatedid
  24552. type: string
  24553. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24554. in: query
  24555. name: applystatus
  24556. type: string
  24557. produces:
  24558. - application/json
  24559. responses:
  24560. "200":
  24561. description: OK
  24562. schema:
  24563. items:
  24564. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  24565. type: array
  24566. "500":
  24567. description: Internal Server Error
  24568. schema:
  24569. $ref: '#/definitions/app.Response'
  24570. security:
  24571. - ApiKeyAuth: []
  24572. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  24573. tags:
  24574. - 企业风险管理(app)
  24575. /Ermcp/QueryBusinessJs:
  24576. get:
  24577. parameters:
  24578. - description: 用户ID
  24579. in: query
  24580. name: UserId
  24581. required: true
  24582. type: integer
  24583. - description: 用户类型 2-机构 7-企业成员
  24584. in: query
  24585. name: usertype
  24586. type: integer
  24587. - description: 现货合同ID, 不填则查所有
  24588. in: query
  24589. name: relatedid
  24590. type: string
  24591. - description: 操作申请id
  24592. in: query
  24593. name: operateapplyid
  24594. type: string
  24595. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24596. in: query
  24597. name: applystatus
  24598. type: string
  24599. produces:
  24600. - application/json
  24601. responses:
  24602. "200":
  24603. description: OK
  24604. schema:
  24605. items:
  24606. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  24607. type: array
  24608. "500":
  24609. description: Internal Server Error
  24610. schema:
  24611. $ref: '#/definitions/app.Response'
  24612. security:
  24613. - ApiKeyAuth: []
  24614. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  24615. tags:
  24616. - 企业风险管理(app)
  24617. /Ermcp/QueryBusinessJsEx:
  24618. get:
  24619. parameters:
  24620. - description: 用户ID
  24621. in: query
  24622. name: UserId
  24623. required: true
  24624. type: integer
  24625. - description: 用户类型 2-机构 7-企业成员
  24626. in: query
  24627. name: usertype
  24628. type: integer
  24629. - description: 现货合同ID, 不填则查所有
  24630. in: query
  24631. name: relatedid
  24632. type: string
  24633. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24634. in: query
  24635. name: applystatus
  24636. type: string
  24637. produces:
  24638. - application/json
  24639. responses:
  24640. "200":
  24641. description: OK
  24642. schema:
  24643. items:
  24644. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  24645. type: array
  24646. "500":
  24647. description: Internal Server Error
  24648. schema:
  24649. $ref: '#/definitions/app.Response'
  24650. security:
  24651. - ApiKeyAuth: []
  24652. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  24653. tags:
  24654. - 企业风险管理(app)
  24655. /Ermcp/QueryBusinessKx:
  24656. get:
  24657. parameters:
  24658. - description: 用户ID
  24659. in: query
  24660. name: UserId
  24661. required: true
  24662. type: integer
  24663. - description: 用户类型 2-机构 7-企业成员
  24664. in: query
  24665. name: usertype
  24666. type: integer
  24667. - description: 现货合同ID, 不填则查所有
  24668. in: query
  24669. name: relatedid
  24670. type: string
  24671. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24672. in: query
  24673. name: applystatus
  24674. type: string
  24675. produces:
  24676. - application/json
  24677. responses:
  24678. "200":
  24679. description: OK
  24680. schema:
  24681. items:
  24682. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  24683. type: array
  24684. "500":
  24685. description: Internal Server Error
  24686. schema:
  24687. $ref: '#/definitions/app.Response'
  24688. security:
  24689. - ApiKeyAuth: []
  24690. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  24691. tags:
  24692. - 企业风险管理(app)
  24693. /Ermcp/QueryChangeLog:
  24694. get:
  24695. parameters:
  24696. - description: 合同ID
  24697. in: query
  24698. name: RelatedId
  24699. required: true
  24700. type: string
  24701. produces:
  24702. - application/json
  24703. responses:
  24704. "200":
  24705. description: OK
  24706. schema:
  24707. items:
  24708. $ref: '#/definitions/ermcp.QryOPLogRsp'
  24709. type: array
  24710. "500":
  24711. description: Internal Server Error
  24712. schema:
  24713. $ref: '#/definitions/app.Response'
  24714. security:
  24715. - ApiKeyAuth: []
  24716. summary: 查询变更记录
  24717. tags:
  24718. - 企业风险管理(app)
  24719. /Ermcp/QueryErmcpHisOrderDetails:
  24720. get:
  24721. parameters:
  24722. - description: 资金账户ID
  24723. in: query
  24724. name: accountID
  24725. required: true
  24726. type: integer
  24727. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24728. in: query
  24729. name: startDate
  24730. type: string
  24731. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24732. in: query
  24733. name: endDate
  24734. type: string
  24735. produces:
  24736. - application/json
  24737. responses:
  24738. "200":
  24739. description: OK
  24740. schema:
  24741. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  24742. "500":
  24743. description: Internal Server Error
  24744. schema:
  24745. $ref: '#/definitions/app.Response'
  24746. security:
  24747. - ApiKeyAuth: []
  24748. summary: 获取企业风管期货历史委托单信息
  24749. tags:
  24750. - 企业风险管理(app)
  24751. /Ermcp/QueryErmcpHisTradeDetails:
  24752. get:
  24753. parameters:
  24754. - description: 资金账户ID
  24755. in: query
  24756. name: accountID
  24757. required: true
  24758. type: integer
  24759. - description: 商品ID
  24760. in: query
  24761. name: goodsID
  24762. type: integer
  24763. - description: 买卖方向,0:买 1:卖
  24764. in: query
  24765. name: buyOrSell
  24766. type: integer
  24767. - description: 关联委托单号
  24768. in: query
  24769. name: orderID
  24770. type: integer
  24771. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24772. in: query
  24773. name: startDate
  24774. type: string
  24775. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24776. in: query
  24777. name: endDate
  24778. type: string
  24779. produces:
  24780. - application/json
  24781. responses:
  24782. "200":
  24783. description: OK
  24784. schema:
  24785. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  24786. "500":
  24787. description: Internal Server Error
  24788. schema:
  24789. $ref: '#/definitions/app.Response'
  24790. security:
  24791. - ApiKeyAuth: []
  24792. summary: 获取企业风管期货历史成交单信息
  24793. tags:
  24794. - 企业风险管理(app)
  24795. /Ermcp/QueryErmcpInnerHolderDetails:
  24796. get:
  24797. parameters:
  24798. - description: 资金账户ID
  24799. in: query
  24800. name: accountID
  24801. required: true
  24802. type: integer
  24803. - description: 商品ID
  24804. in: query
  24805. name: goodsID
  24806. type: integer
  24807. - description: 买卖方向,0:买 1:卖
  24808. in: query
  24809. name: buyOrSell
  24810. type: integer
  24811. produces:
  24812. - application/json
  24813. responses:
  24814. "200":
  24815. description: OK
  24816. schema:
  24817. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  24818. "500":
  24819. description: Internal Server Error
  24820. schema:
  24821. $ref: '#/definitions/app.Response'
  24822. security:
  24823. - ApiKeyAuth: []
  24824. summary: 获取企业风管期货内部持仓单信息
  24825. tags:
  24826. - 企业风险管理(app)
  24827. /Ermcp/QueryErmcpOrderDetails:
  24828. get:
  24829. parameters:
  24830. - description: 资金账户ID
  24831. in: query
  24832. name: accountID
  24833. required: true
  24834. type: integer
  24835. produces:
  24836. - application/json
  24837. responses:
  24838. "200":
  24839. description: OK
  24840. schema:
  24841. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  24842. "500":
  24843. description: Internal Server Error
  24844. schema:
  24845. $ref: '#/definitions/app.Response'
  24846. security:
  24847. - ApiKeyAuth: []
  24848. summary: 获取企业风管期货委托单信息
  24849. tags:
  24850. - 企业风险管理(app)
  24851. /Ermcp/QueryErmcpTradeDetails:
  24852. get:
  24853. parameters:
  24854. - description: 资金账户ID
  24855. in: query
  24856. name: accountID
  24857. required: true
  24858. type: integer
  24859. - description: 商品ID
  24860. in: query
  24861. name: goodsID
  24862. type: integer
  24863. - description: 买卖方向,0:买 1:卖
  24864. in: query
  24865. name: buyOrSell
  24866. type: integer
  24867. - description: 关联委托单号
  24868. in: query
  24869. name: orderID
  24870. type: integer
  24871. produces:
  24872. - application/json
  24873. responses:
  24874. "200":
  24875. description: OK
  24876. schema:
  24877. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  24878. "500":
  24879. description: Internal Server Error
  24880. schema:
  24881. $ref: '#/definitions/app.Response'
  24882. security:
  24883. - ApiKeyAuth: []
  24884. summary: 获取企业风管期货成交单信息
  24885. tags:
  24886. - 企业风险管理(app)
  24887. /Ermcp/QueryErmcpTradePosition:
  24888. get:
  24889. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  24890. parameters:
  24891. - description: 资金账户ID
  24892. in: query
  24893. name: accountID
  24894. required: true
  24895. type: integer
  24896. - description: 所属市场ID
  24897. in: query
  24898. name: marketID
  24899. type: integer
  24900. produces:
  24901. - application/json
  24902. responses:
  24903. "200":
  24904. description: OK
  24905. schema:
  24906. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  24907. "500":
  24908. description: Internal Server Error
  24909. schema:
  24910. $ref: '#/definitions/app.Response'
  24911. security:
  24912. - ApiKeyAuth: []
  24913. summary: 获取企业风管期货持仓头寸信息
  24914. tags:
  24915. - 企业风险管理(app)
  24916. /Ermcp/QueryExposureDetail:
  24917. get:
  24918. parameters:
  24919. - description: 所属机构ID
  24920. in: query
  24921. name: areaUserId
  24922. required: true
  24923. type: integer
  24924. - description: 套保商品
  24925. in: query
  24926. name: middleGoodsId
  24927. required: true
  24928. type: integer
  24929. produces:
  24930. - application/json
  24931. responses:
  24932. "200":
  24933. description: OK
  24934. schema:
  24935. items:
  24936. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  24937. type: array
  24938. "500":
  24939. description: Internal Server Error
  24940. schema:
  24941. $ref: '#/definitions/app.Response'
  24942. security:
  24943. - ApiKeyAuth: []
  24944. summary: 查询敞口现货明细
  24945. tags:
  24946. - 企业风险管理(app)
  24947. /Ermcp/QueryExposureGoods:
  24948. get:
  24949. parameters:
  24950. - description: 套保商品id
  24951. in: query
  24952. name: middlegoodsid
  24953. required: true
  24954. type: integer
  24955. produces:
  24956. - application/json
  24957. responses:
  24958. "200":
  24959. description: OK
  24960. schema:
  24961. items:
  24962. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  24963. type: array
  24964. "500":
  24965. description: Internal Server Error
  24966. schema:
  24967. $ref: '#/definitions/app.Response'
  24968. security:
  24969. - ApiKeyAuth: []
  24970. summary: 查询敞口主力合约
  24971. tags:
  24972. - 企业风险管理(app)
  24973. /Ermcp/QueryExposureHedgePosition:
  24974. get:
  24975. parameters:
  24976. - description: 用户id
  24977. in: query
  24978. name: userid
  24979. required: true
  24980. type: integer
  24981. produces:
  24982. - application/json
  24983. responses:
  24984. "200":
  24985. description: OK
  24986. schema:
  24987. items:
  24988. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  24989. type: array
  24990. "500":
  24991. description: Internal Server Error
  24992. schema:
  24993. $ref: '#/definitions/app.Response'
  24994. security:
  24995. - ApiKeyAuth: []
  24996. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  24997. tags:
  24998. - 企业风险管理(app)
  24999. /Ermcp/QueryExposureHedgePositionDetail:
  25000. get:
  25001. parameters:
  25002. - description: 所属机构ID
  25003. in: query
  25004. name: userid
  25005. required: true
  25006. type: integer
  25007. - description: 商品id
  25008. in: query
  25009. name: goodsId
  25010. required: true
  25011. type: integer
  25012. produces:
  25013. - application/json
  25014. responses:
  25015. "200":
  25016. description: OK
  25017. schema:
  25018. items:
  25019. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  25020. type: array
  25021. "500":
  25022. description: Internal Server Error
  25023. schema:
  25024. $ref: '#/definitions/app.Response'
  25025. security:
  25026. - ApiKeyAuth: []
  25027. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  25028. tags:
  25029. - 企业风险管理(app)
  25030. /Ermcp/QueryExposureSpot:
  25031. get:
  25032. parameters:
  25033. - description: 所属机构ID
  25034. in: query
  25035. name: areaUserId
  25036. required: true
  25037. type: integer
  25038. produces:
  25039. - application/json
  25040. responses:
  25041. "200":
  25042. description: OK
  25043. schema:
  25044. items:
  25045. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  25046. type: array
  25047. "500":
  25048. description: Internal Server Error
  25049. schema:
  25050. $ref: '#/definitions/app.Response'
  25051. security:
  25052. - ApiKeyAuth: []
  25053. summary: 查询敞口现货头寸(敞口/现货头寸)
  25054. tags:
  25055. - 企业风险管理(app)
  25056. /Ermcp/QueryExposureSpotDetail:
  25057. get:
  25058. parameters:
  25059. - description: 所属机构ID
  25060. in: query
  25061. name: areaUserId
  25062. required: true
  25063. type: integer
  25064. - description: 现货品种ID
  25065. in: query
  25066. name: wrstandardId
  25067. required: true
  25068. type: integer
  25069. produces:
  25070. - application/json
  25071. responses:
  25072. "200":
  25073. description: OK
  25074. schema:
  25075. items:
  25076. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  25077. type: array
  25078. "500":
  25079. description: Internal Server Error
  25080. schema:
  25081. $ref: '#/definitions/app.Response'
  25082. security:
  25083. - ApiKeyAuth: []
  25084. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  25085. tags:
  25086. - 企业风险管理(app)
  25087. /Ermcp/QueryFuturesCompany:
  25088. get:
  25089. produces:
  25090. - application/json
  25091. responses:
  25092. "200":
  25093. description: OK
  25094. schema:
  25095. items:
  25096. $ref: '#/definitions/models.ErmcpFuturesCompany'
  25097. type: array
  25098. "500":
  25099. description: Internal Server Error
  25100. schema:
  25101. $ref: '#/definitions/app.Response'
  25102. security:
  25103. - ApiKeyAuth: []
  25104. summary: 查询期货公司
  25105. tags:
  25106. - 企业风险管理(app)
  25107. /Ermcp/QueryGGConvertConfig:
  25108. get:
  25109. parameters:
  25110. - description: 品种id(不填则查所有)
  25111. in: query
  25112. name: goodsgroupid
  25113. type: integer
  25114. produces:
  25115. - application/json
  25116. responses:
  25117. "200":
  25118. description: OK
  25119. schema:
  25120. items:
  25121. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  25122. type: array
  25123. "500":
  25124. description: Internal Server Error
  25125. schema:
  25126. $ref: '#/definitions/app.Response'
  25127. security:
  25128. - ApiKeyAuth: []
  25129. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  25130. tags:
  25131. - 企业风险管理(app)
  25132. /Ermcp/QueryGoodsBrand:
  25133. get:
  25134. parameters:
  25135. - description: 用户ID
  25136. in: query
  25137. name: userid
  25138. required: true
  25139. type: integer
  25140. - description: 现货商品ID
  25141. in: query
  25142. name: wrstandardid
  25143. type: integer
  25144. produces:
  25145. - application/json
  25146. responses:
  25147. "200":
  25148. description: OK
  25149. schema:
  25150. items:
  25151. $ref: '#/definitions/models.ErmcpGoodsBrand'
  25152. type: array
  25153. "500":
  25154. description: Internal Server Error
  25155. schema:
  25156. $ref: '#/definitions/app.Response'
  25157. security:
  25158. - ApiKeyAuth: []
  25159. summary: 查询商品品牌
  25160. tags:
  25161. - 企业风险管理(app)
  25162. /Ermcp/QueryGoodsModel:
  25163. get:
  25164. parameters:
  25165. - description: 用户ID
  25166. in: query
  25167. name: userid
  25168. required: true
  25169. type: integer
  25170. produces:
  25171. - application/json
  25172. responses:
  25173. "200":
  25174. description: OK
  25175. schema:
  25176. items:
  25177. $ref: '#/definitions/models.ErmcpGoodsModel'
  25178. type: array
  25179. "500":
  25180. description: Internal Server Error
  25181. schema:
  25182. $ref: '#/definitions/app.Response'
  25183. security:
  25184. - ApiKeyAuth: []
  25185. summary: 查询商品型号
  25186. tags:
  25187. - 企业风险管理(app)
  25188. /Ermcp/QueryHisExposure:
  25189. get:
  25190. parameters:
  25191. - description: 用户id
  25192. in: query
  25193. name: userid
  25194. required: true
  25195. type: integer
  25196. - description: 每个品种记录数
  25197. in: query
  25198. name: lastNum
  25199. required: true
  25200. type: integer
  25201. produces:
  25202. - application/json
  25203. responses:
  25204. "200":
  25205. description: OK
  25206. schema:
  25207. items:
  25208. $ref: '#/definitions/ermcp.HisExposureRsp'
  25209. type: array
  25210. "500":
  25211. description: Internal Server Error
  25212. schema:
  25213. $ref: '#/definitions/app.Response'
  25214. security:
  25215. - ApiKeyAuth: []
  25216. summary: 查询历史敞口(菜单:敞口/历史敞口)
  25217. tags:
  25218. - 企业风险管理(app)
  25219. /Ermcp/QueryMiddleGoods:
  25220. get:
  25221. parameters:
  25222. - description: 所属机构ID
  25223. in: query
  25224. name: userid
  25225. required: true
  25226. type: integer
  25227. - description: 状态 0-停用 1-正常
  25228. in: query
  25229. name: status
  25230. required: true
  25231. type: integer
  25232. produces:
  25233. - application/json
  25234. responses:
  25235. "200":
  25236. description: OK
  25237. schema:
  25238. items:
  25239. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  25240. type: array
  25241. "500":
  25242. description: Internal Server Error
  25243. schema:
  25244. $ref: '#/definitions/app.Response'
  25245. security:
  25246. - ApiKeyAuth: []
  25247. summary: 查询套保品种(菜单:套保品种)
  25248. tags:
  25249. - 企业风险管理(app)
  25250. /Ermcp/QueryMiddleGoodsChangeLog:
  25251. get:
  25252. parameters:
  25253. - description: 所属机构ID
  25254. in: query
  25255. name: userid
  25256. required: true
  25257. type: integer
  25258. - description: 套保品种id
  25259. in: query
  25260. name: middlegoodsid
  25261. required: true
  25262. type: integer
  25263. produces:
  25264. - application/json
  25265. responses:
  25266. "200":
  25267. description: OK
  25268. schema:
  25269. items:
  25270. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  25271. type: array
  25272. "500":
  25273. description: Internal Server Error
  25274. schema:
  25275. $ref: '#/definitions/app.Response'
  25276. security:
  25277. - ApiKeyAuth: []
  25278. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  25279. tags:
  25280. - 企业风险管理(app)
  25281. /Ermcp/QueryMiddleGoodsDetail:
  25282. get:
  25283. parameters:
  25284. - description: 所属机构ID
  25285. in: query
  25286. name: userid
  25287. required: true
  25288. type: integer
  25289. - description: 套保品种id
  25290. in: query
  25291. name: middlegoodsid
  25292. type: integer
  25293. produces:
  25294. - application/json
  25295. responses:
  25296. "200":
  25297. description: OK
  25298. schema:
  25299. items:
  25300. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  25301. type: array
  25302. "500":
  25303. description: Internal Server Error
  25304. schema:
  25305. $ref: '#/definitions/app.Response'
  25306. security:
  25307. - ApiKeyAuth: []
  25308. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  25309. tags:
  25310. - 企业风险管理(app)
  25311. /Ermcp/QueryPendingAuditInfo:
  25312. get:
  25313. parameters:
  25314. - description: 用户ID
  25315. in: query
  25316. name: UserId
  25317. required: true
  25318. type: integer
  25319. produces:
  25320. - application/json
  25321. responses:
  25322. "200":
  25323. description: OK
  25324. schema:
  25325. items:
  25326. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  25327. type: array
  25328. "500":
  25329. description: Internal Server Error
  25330. schema:
  25331. $ref: '#/definitions/app.Response'
  25332. security:
  25333. - ApiKeyAuth: []
  25334. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  25335. tags:
  25336. - 企业风险管理(app)
  25337. /Ermcp/QueryRealtimeExposure:
  25338. get:
  25339. parameters:
  25340. - description: 所属机构ID
  25341. in: query
  25342. name: userid
  25343. required: true
  25344. type: integer
  25345. produces:
  25346. - application/json
  25347. responses:
  25348. "200":
  25349. description: OK
  25350. schema:
  25351. items:
  25352. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  25353. type: array
  25354. "500":
  25355. description: Internal Server Error
  25356. schema:
  25357. $ref: '#/definitions/app.Response'
  25358. security:
  25359. - ApiKeyAuth: []
  25360. summary: 查询实时敞口
  25361. tags:
  25362. - 企业风险管理(app)
  25363. /Ermcp/QueryRealtimeExposurePosition:
  25364. get:
  25365. parameters:
  25366. - description: 用户id
  25367. in: query
  25368. name: userid
  25369. required: true
  25370. type: integer
  25371. - description: 套保商品ID
  25372. in: query
  25373. name: middleGoodsId
  25374. required: true
  25375. type: integer
  25376. produces:
  25377. - application/json
  25378. responses:
  25379. "200":
  25380. description: OK
  25381. schema:
  25382. items:
  25383. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  25384. type: array
  25385. "500":
  25386. description: Internal Server Error
  25387. schema:
  25388. $ref: '#/definitions/app.Response'
  25389. security:
  25390. - ApiKeyAuth: []
  25391. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  25392. tags:
  25393. - 企业风险管理(app)
  25394. /Ermcp/QueryRoleMenu:
  25395. get:
  25396. parameters:
  25397. - description: 登录ID
  25398. in: query
  25399. name: loginid
  25400. required: true
  25401. type: integer
  25402. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  25403. in: query
  25404. name: menutype
  25405. type: integer
  25406. produces:
  25407. - application/json
  25408. responses:
  25409. "200":
  25410. description: OK
  25411. schema:
  25412. items:
  25413. $ref: '#/definitions/models.RoleMenu'
  25414. type: array
  25415. "500":
  25416. description: Internal Server Error
  25417. schema:
  25418. $ref: '#/definitions/app.Response'
  25419. security:
  25420. - ApiKeyAuth: []
  25421. summary: 查询角色菜单和权限
  25422. tags:
  25423. - 企业风险管理(app)
  25424. /Ermcp/QueryTradeConfigTMP:
  25425. get:
  25426. parameters:
  25427. - description: 所属机构id
  25428. in: query
  25429. name: areauserid
  25430. type: integer
  25431. produces:
  25432. - application/json
  25433. responses:
  25434. "200":
  25435. description: OK
  25436. schema:
  25437. items:
  25438. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  25439. type: array
  25440. "500":
  25441. description: Internal Server Error
  25442. schema:
  25443. $ref: '#/definitions/app.Response'
  25444. security:
  25445. - ApiKeyAuth: []
  25446. summary: 查询交易模板配置
  25447. tags:
  25448. - 企业风险管理(app)
  25449. /Ermcp/QueryUserInfo:
  25450. get:
  25451. parameters:
  25452. - description: 所属机构用户ID
  25453. in: query
  25454. name: MemberUserID
  25455. required: true
  25456. type: integer
  25457. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  25458. in: query
  25459. name: queryType
  25460. required: true
  25461. type: integer
  25462. produces:
  25463. - application/json
  25464. responses:
  25465. "200":
  25466. description: OK
  25467. schema:
  25468. items:
  25469. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  25470. type: array
  25471. "500":
  25472. description: Internal Server Error
  25473. schema:
  25474. $ref: '#/definitions/app.Response'
  25475. security:
  25476. - ApiKeyAuth: []
  25477. summary: 查询客户资料
  25478. tags:
  25479. - 企业风险管理(app)
  25480. /Ermcp/QueryWarehouseInfo:
  25481. get:
  25482. parameters:
  25483. - description: 用户ID
  25484. in: query
  25485. name: userid
  25486. required: true
  25487. type: integer
  25488. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  25489. in: query
  25490. name: status
  25491. type: string
  25492. produces:
  25493. - application/json
  25494. responses:
  25495. "200":
  25496. description: OK
  25497. schema:
  25498. items:
  25499. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  25500. type: array
  25501. "500":
  25502. description: Internal Server Error
  25503. schema:
  25504. $ref: '#/definitions/app.Response'
  25505. security:
  25506. - ApiKeyAuth: []
  25507. summary: 查询仓库信息
  25508. tags:
  25509. - 企业风险管理(app)
  25510. /Ermcp3/QryAreaExpourseContractDetail:
  25511. get:
  25512. parameters:
  25513. - description: 用户ID
  25514. in: query
  25515. name: userid
  25516. required: true
  25517. type: integer
  25518. - description: 套保商品id
  25519. in: query
  25520. name: middlegoodsid
  25521. required: true
  25522. type: integer
  25523. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25524. in: query
  25525. name: cycletype
  25526. required: true
  25527. type: integer
  25528. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25529. 全(0)【原值】
  25530. in: query
  25531. name: cycletime
  25532. required: true
  25533. type: string
  25534. produces:
  25535. - application/json
  25536. responses:
  25537. "200":
  25538. description: OK
  25539. schema:
  25540. items:
  25541. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  25542. type: array
  25543. "500":
  25544. description: Internal Server Error
  25545. schema:
  25546. $ref: '#/definitions/app.Response'
  25547. security:
  25548. - ApiKeyAuth: []
  25549. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  25550. tags:
  25551. - 企业风险管理v3(app)
  25552. /Ermcp3/QryAreaExpourseFutuDetail:
  25553. get:
  25554. parameters:
  25555. - description: 用户ID
  25556. in: query
  25557. name: userid
  25558. required: true
  25559. type: integer
  25560. - description: 套保商品id
  25561. in: query
  25562. name: middlegoodsid
  25563. required: true
  25564. type: integer
  25565. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25566. in: query
  25567. name: cycletype
  25568. required: true
  25569. type: integer
  25570. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25571. 全(0)【原值】
  25572. in: query
  25573. name: cycletime
  25574. required: true
  25575. type: string
  25576. produces:
  25577. - application/json
  25578. responses:
  25579. "200":
  25580. description: OK
  25581. schema:
  25582. items:
  25583. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  25584. type: array
  25585. "500":
  25586. description: Internal Server Error
  25587. schema:
  25588. $ref: '#/definitions/app.Response'
  25589. security:
  25590. - ApiKeyAuth: []
  25591. summary: 查询敞口期货明细(敞口报表/期货明细)
  25592. tags:
  25593. - 企业风险管理v3(app)
  25594. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  25595. get:
  25596. parameters:
  25597. - description: 用户ID
  25598. in: query
  25599. name: userid
  25600. required: true
  25601. type: integer
  25602. - description: 套保商品id
  25603. in: query
  25604. name: middlegoodsid
  25605. required: true
  25606. type: integer
  25607. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25608. in: query
  25609. name: cycletype
  25610. required: true
  25611. type: integer
  25612. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25613. 全(0)【原值】
  25614. in: query
  25615. name: cycletime
  25616. required: true
  25617. type: string
  25618. produces:
  25619. - application/json
  25620. responses:
  25621. "200":
  25622. description: OK
  25623. schema:
  25624. items:
  25625. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  25626. type: array
  25627. "500":
  25628. description: Internal Server Error
  25629. schema:
  25630. $ref: '#/definitions/app.Response'
  25631. security:
  25632. - ApiKeyAuth: []
  25633. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  25634. tags:
  25635. - 企业风险管理v3(app)
  25636. /Ermcp3/QryAreaExpourseParamChLogDetail:
  25637. get:
  25638. parameters:
  25639. - description: 用户ID
  25640. in: query
  25641. name: userid
  25642. required: true
  25643. type: integer
  25644. - description: 套保商品id
  25645. in: query
  25646. name: middlegoodsid
  25647. required: true
  25648. type: integer
  25649. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25650. in: query
  25651. name: cycletype
  25652. required: true
  25653. type: integer
  25654. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25655. 全(0)【原值】
  25656. in: query
  25657. name: cycletime
  25658. required: true
  25659. type: string
  25660. produces:
  25661. - application/json
  25662. responses:
  25663. "200":
  25664. description: OK
  25665. schema:
  25666. items:
  25667. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  25668. type: array
  25669. "500":
  25670. description: Internal Server Error
  25671. schema:
  25672. $ref: '#/definitions/app.Response'
  25673. security:
  25674. - ApiKeyAuth: []
  25675. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  25676. tags:
  25677. - 企业风险管理v3(app)
  25678. /Ermcp3/QryAreaExpourseReport:
  25679. get:
  25680. parameters:
  25681. - description: 用户ID
  25682. in: query
  25683. name: userid
  25684. required: true
  25685. type: integer
  25686. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  25687. in: query
  25688. name: querytype
  25689. required: true
  25690. type: integer
  25691. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25692. in: query
  25693. name: cycletype
  25694. required: true
  25695. type: integer
  25696. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25697. 全(0)【原值】
  25698. in: query
  25699. name: cycletime
  25700. required: true
  25701. type: string
  25702. produces:
  25703. - application/json
  25704. responses:
  25705. "200":
  25706. description: OK
  25707. schema:
  25708. items:
  25709. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  25710. type: array
  25711. "500":
  25712. description: Internal Server Error
  25713. schema:
  25714. $ref: '#/definitions/app.Response'
  25715. security:
  25716. - ApiKeyAuth: []
  25717. summary: 查询敞口报表
  25718. tags:
  25719. - 企业风险管理v3(app)
  25720. /Ermcp3/QryAreaSpotplReport:
  25721. get:
  25722. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  25723. parameters:
  25724. - description: 用户ID
  25725. in: query
  25726. name: userid
  25727. required: true
  25728. type: integer
  25729. - description: 查询类型 1-报表 2-报表明细
  25730. in: query
  25731. name: querytype
  25732. required: true
  25733. type: integer
  25734. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25735. in: query
  25736. name: cycletype
  25737. required: true
  25738. type: integer
  25739. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25740. 全(0)【原值】
  25741. in: query
  25742. name: cycletime
  25743. required: true
  25744. type: string
  25745. - description: 现货品种id(明细必填)
  25746. in: query
  25747. name: deliverygoodsid
  25748. type: integer
  25749. - description: 币种id(明细必填)
  25750. in: query
  25751. name: currencyid
  25752. type: integer
  25753. - description: 日/周/月报表汇总维度 1:品种+品类
  25754. in: query
  25755. name: sumflag
  25756. type: integer
  25757. produces:
  25758. - application/json
  25759. responses:
  25760. "200":
  25761. description: OK
  25762. schema:
  25763. items:
  25764. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  25765. type: array
  25766. "500":
  25767. description: Internal Server Error
  25768. schema:
  25769. $ref: '#/definitions/app.Response'
  25770. security:
  25771. - ApiKeyAuth: []
  25772. summary: 查询现货报表
  25773. tags:
  25774. - 企业风险管理v3(app)
  25775. /Ermcp3/QryAreaStockReport:
  25776. get:
  25777. parameters:
  25778. - description: 用户ID
  25779. in: query
  25780. name: userid
  25781. required: true
  25782. type: integer
  25783. - description: 查询类型 1-报表 2-报表明细
  25784. in: query
  25785. name: querytype
  25786. required: true
  25787. type: integer
  25788. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25789. in: query
  25790. name: cycletype
  25791. required: true
  25792. type: integer
  25793. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25794. 全(0)【原值】
  25795. in: query
  25796. name: cycletime
  25797. required: true
  25798. type: string
  25799. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  25800. in: query
  25801. name: sumfields
  25802. type: string
  25803. - description: 品种ID
  25804. in: query
  25805. name: deliverygoodsid
  25806. type: integer
  25807. - description: 品类ID
  25808. in: query
  25809. name: wrstandardid
  25810. type: integer
  25811. - description: 品牌ID
  25812. in: query
  25813. name: spotgoodsbrandid
  25814. type: integer
  25815. - description: 仓库ID
  25816. in: query
  25817. name: warehouseinfoid
  25818. type: integer
  25819. produces:
  25820. - application/json
  25821. responses:
  25822. "200":
  25823. description: OK
  25824. schema:
  25825. items:
  25826. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  25827. type: array
  25828. "500":
  25829. description: Internal Server Error
  25830. schema:
  25831. $ref: '#/definitions/app.Response'
  25832. security:
  25833. - ApiKeyAuth: []
  25834. summary: 查询库存报表
  25835. tags:
  25836. - 企业风险管理v3(app)
  25837. /Ermcp3/QryAreaSumPL:
  25838. get:
  25839. parameters:
  25840. - description: 用户ID
  25841. in: query
  25842. name: userid
  25843. required: true
  25844. type: integer
  25845. - description: 查询类型 1-报表 2-报表明细
  25846. in: query
  25847. name: querytype
  25848. required: true
  25849. type: integer
  25850. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25851. in: query
  25852. name: cycletype
  25853. required: true
  25854. type: integer
  25855. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25856. 全(0)【原值】
  25857. in: query
  25858. name: cycletime
  25859. required: true
  25860. type: string
  25861. - description: 币种id(明细必填)
  25862. in: query
  25863. name: currencyid
  25864. type: integer
  25865. - description: 套保品种ID, 查询类型为2时起效
  25866. in: query
  25867. name: middlegoodsid
  25868. type: integer
  25869. produces:
  25870. - application/json
  25871. responses:
  25872. "200":
  25873. description: OK
  25874. schema:
  25875. items:
  25876. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  25877. type: array
  25878. "500":
  25879. description: Internal Server Error
  25880. schema:
  25881. $ref: '#/definitions/app.Response'
  25882. security:
  25883. - ApiKeyAuth: []
  25884. summary: 查询汇总损益表
  25885. tags:
  25886. - 企业风险管理v3(app)
  25887. /Ermcp3/QryFinanceReport:
  25888. get:
  25889. parameters:
  25890. - description: 用户ID
  25891. in: query
  25892. name: userid
  25893. required: true
  25894. type: integer
  25895. - description: 查询类型 1-报表 2-报表明细
  25896. in: query
  25897. name: querytype
  25898. required: true
  25899. type: integer
  25900. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25901. in: query
  25902. name: cycletype
  25903. required: true
  25904. type: integer
  25905. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25906. 全(0)【原值】
  25907. in: query
  25908. name: cycletime
  25909. required: true
  25910. type: string
  25911. - description: 币种id(报表明细必填)
  25912. in: query
  25913. name: currencyid
  25914. type: integer
  25915. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  25916. in: query
  25917. name: sumfields
  25918. type: string
  25919. produces:
  25920. - application/json
  25921. responses:
  25922. "200":
  25923. description: OK
  25924. schema:
  25925. items:
  25926. $ref: '#/definitions/models.Ermcp3FinanceReport'
  25927. type: array
  25928. "500":
  25929. description: Internal Server Error
  25930. schema:
  25931. $ref: '#/definitions/app.Response'
  25932. security:
  25933. - ApiKeyAuth: []
  25934. summary: 查询财务报表
  25935. tags:
  25936. - 企业风险管理v3(app)
  25937. /Ermcp3/QrySCMiddleGoodsReport:
  25938. get:
  25939. parameters:
  25940. - description: 用户ID
  25941. in: query
  25942. name: userid
  25943. required: true
  25944. type: integer
  25945. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25946. in: query
  25947. name: cycletype
  25948. required: true
  25949. type: integer
  25950. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25951. 全(0)【原值】
  25952. in: query
  25953. name: cycletime
  25954. required: true
  25955. type: string
  25956. - description: 合同id
  25957. in: query
  25958. name: spotcontractid
  25959. type: integer
  25960. - description: 套保品种id
  25961. in: query
  25962. name: middlegoodsid
  25963. type: integer
  25964. - description: 现货品种id
  25965. in: query
  25966. name: deliverygoodsid
  25967. type: integer
  25968. - description: 现货商品id
  25969. in: query
  25970. name: wrstandardid
  25971. type: integer
  25972. - description: 合同编号(模糊匹配)
  25973. in: query
  25974. name: contractno
  25975. type: string
  25976. produces:
  25977. - application/json
  25978. responses:
  25979. "200":
  25980. description: OK
  25981. schema:
  25982. items:
  25983. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  25984. type: array
  25985. "500":
  25986. description: Internal Server Error
  25987. schema:
  25988. $ref: '#/definitions/app.Response'
  25989. security:
  25990. - ApiKeyAuth: []
  25991. summary: 查询定价报表
  25992. tags:
  25993. - 企业风险管理v3(app)
  25994. /Ermcp3/QryTaFutureDataReport:
  25995. get:
  25996. parameters:
  25997. - description: 用户ID
  25998. in: query
  25999. name: userid
  26000. required: true
  26001. type: integer
  26002. - description: 查询类型 1-报表 2-报表明细
  26003. in: query
  26004. name: querytype
  26005. required: true
  26006. type: integer
  26007. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26008. in: query
  26009. name: cycletype
  26010. required: true
  26011. type: integer
  26012. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26013. 全(0)【原值】
  26014. in: query
  26015. name: cycletime
  26016. required: true
  26017. type: string
  26018. - description: 币种id(查明细必填)
  26019. in: query
  26020. name: currencyid
  26021. type: integer
  26022. - description: 品种id(查明细必填)
  26023. in: query
  26024. name: goodsgroupid
  26025. type: integer
  26026. - description: 商品id(查明细必填)
  26027. in: query
  26028. name: goodsid
  26029. type: integer
  26030. - description: 买卖方向(查明细必填)
  26031. in: query
  26032. name: buyorsell
  26033. type: integer
  26034. produces:
  26035. - application/json
  26036. responses:
  26037. "200":
  26038. description: OK
  26039. schema:
  26040. items:
  26041. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  26042. type: array
  26043. "500":
  26044. description: Internal Server Error
  26045. schema:
  26046. $ref: '#/definitions/app.Response'
  26047. security:
  26048. - ApiKeyAuth: []
  26049. summary: 查询期货报表
  26050. tags:
  26051. - 企业风险管理v3(app)
  26052. /Ermcp3/QueryAreaStock:
  26053. get:
  26054. parameters:
  26055. - description: 用户ID
  26056. in: query
  26057. name: userid
  26058. required: true
  26059. type: integer
  26060. produces:
  26061. - application/json
  26062. responses:
  26063. "200":
  26064. description: OK
  26065. schema:
  26066. items:
  26067. $ref: '#/definitions/models.Ermcp3AreaStock'
  26068. type: array
  26069. "500":
  26070. description: Internal Server Error
  26071. schema:
  26072. $ref: '#/definitions/app.Response'
  26073. security:
  26074. - ApiKeyAuth: []
  26075. summary: 查询机构库存(库存管理/当前库存)
  26076. tags:
  26077. - 企业风险管理v3(app)
  26078. /Ermcp3/QueryAreaStockApply:
  26079. get:
  26080. parameters:
  26081. - description: 用户ID
  26082. in: query
  26083. name: userid
  26084. required: true
  26085. type: integer
  26086. - description: 用户类型 2-机构 7-企业成员
  26087. in: query
  26088. name: usertype
  26089. type: integer
  26090. - description: 现货商品ID
  26091. in: query
  26092. name: deliverygoodsid
  26093. type: integer
  26094. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  26095. in: query
  26096. name: inouttype
  26097. type: string
  26098. - description: 合同ID
  26099. in: query
  26100. name: spotcontractid
  26101. type: integer
  26102. - description: 品类ID
  26103. in: query
  26104. name: wrstandardid
  26105. type: integer
  26106. - description: 品牌ID
  26107. in: query
  26108. name: spotgoodsbrandid
  26109. type: integer
  26110. - description: 仓库ID
  26111. in: query
  26112. name: warehouseinfoid
  26113. type: integer
  26114. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26115. in: query
  26116. name: applystatus
  26117. type: string
  26118. produces:
  26119. - application/json
  26120. responses:
  26121. "200":
  26122. description: OK
  26123. schema:
  26124. items:
  26125. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  26126. type: array
  26127. "500":
  26128. description: Internal Server Error
  26129. schema:
  26130. $ref: '#/definitions/app.Response'
  26131. security:
  26132. - ApiKeyAuth: []
  26133. summary: 查询库存申请(出入库记录|库存审核)
  26134. tags:
  26135. - 企业风险管理v3(app)
  26136. /Ermcp3/QueryAreaStockApplySum:
  26137. get:
  26138. parameters:
  26139. - description: 合同ID
  26140. in: query
  26141. name: spotcontractid
  26142. required: true
  26143. type: integer
  26144. produces:
  26145. - application/json
  26146. responses:
  26147. "200":
  26148. description: OK
  26149. schema:
  26150. items:
  26151. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  26152. type: array
  26153. "500":
  26154. description: Internal Server Error
  26155. schema:
  26156. $ref: '#/definitions/app.Response'
  26157. security:
  26158. - ApiKeyAuth: []
  26159. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  26160. tags:
  26161. - 企业风险管理v3(app)
  26162. /Ermcp3/QueryDGFactoryItem:
  26163. get:
  26164. parameters:
  26165. - description: 用户id
  26166. in: query
  26167. name: userid
  26168. type: integer
  26169. - description: 用户类型 2-机构 7-企业成员
  26170. in: query
  26171. name: usertype
  26172. type: integer
  26173. - description: 选择项ID(SEQ_DGFACTORYITEM)
  26174. in: query
  26175. name: dgfactoryitemid
  26176. type: integer
  26177. - description: 现货品种ID
  26178. in: query
  26179. name: deliverygoodsid
  26180. type: integer
  26181. - description: 要素项类型
  26182. in: query
  26183. name: dgfactoryitemtypeid
  26184. type: integer
  26185. - description: 顺序
  26186. in: query
  26187. name: orderindex
  26188. type: integer
  26189. produces:
  26190. - application/json
  26191. responses:
  26192. "200":
  26193. description: OK
  26194. schema:
  26195. items:
  26196. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  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. - 企业风险管理v3(app)
  26207. /Ermcp3/QueryDeliveryGoods:
  26208. get:
  26209. parameters:
  26210. - description: 用户id
  26211. in: query
  26212. name: userid
  26213. required: true
  26214. type: integer
  26215. - description: 用户类型 2-机构 7-企业成员
  26216. in: query
  26217. name: usertype
  26218. type: integer
  26219. - description: 排除已配置的业务类型商品 1-套保 2-套利
  26220. in: query
  26221. name: excludecfg
  26222. type: integer
  26223. produces:
  26224. - application/json
  26225. responses:
  26226. "200":
  26227. description: OK
  26228. schema:
  26229. items:
  26230. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  26231. type: array
  26232. "500":
  26233. description: Internal Server Error
  26234. schema:
  26235. $ref: '#/definitions/app.Response'
  26236. security:
  26237. - ApiKeyAuth: []
  26238. summary: 查询现货商品
  26239. tags:
  26240. - 企业风险管理v3(app)
  26241. /Ermcp3/QueryDeliveryGoodsDetail:
  26242. get:
  26243. parameters:
  26244. - description: 用户id
  26245. in: query
  26246. name: userid
  26247. required: true
  26248. type: integer
  26249. - description: 用户类型 2-机构 7-企业成员
  26250. in: query
  26251. name: usertype
  26252. type: integer
  26253. - description: 现货商品id
  26254. in: query
  26255. name: deliverygoodsid
  26256. type: integer
  26257. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  26258. in: query
  26259. name: filtersubempty
  26260. type: integer
  26261. produces:
  26262. - application/json
  26263. responses:
  26264. "200":
  26265. description: OK
  26266. schema:
  26267. items:
  26268. $ref: '#/definitions/models.XHDeliveryGoods'
  26269. type: array
  26270. "500":
  26271. description: Internal Server Error
  26272. schema:
  26273. $ref: '#/definitions/app.Response'
  26274. security:
  26275. - ApiKeyAuth: []
  26276. summary: 查询现货商品详情
  26277. tags:
  26278. - 企业风险管理v3(app)
  26279. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  26280. get:
  26281. parameters:
  26282. - description: 合同id
  26283. in: query
  26284. name: spotcontractid
  26285. required: true
  26286. type: string
  26287. produces:
  26288. - application/json
  26289. responses:
  26290. "200":
  26291. description: OK
  26292. schema:
  26293. items:
  26294. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  26295. type: array
  26296. "500":
  26297. description: Internal Server Error
  26298. schema:
  26299. $ref: '#/definitions/app.Response'
  26300. security:
  26301. - ApiKeyAuth: []
  26302. summary: 查询现货合同期现配置信息
  26303. tags:
  26304. - 企业风险管理v3(app)
  26305. /Ermcp3/QueryExposureDetail:
  26306. get:
  26307. parameters:
  26308. - description: 用户id
  26309. in: query
  26310. name: userid
  26311. required: true
  26312. type: integer
  26313. - description: 用户类型 2-机构 7-企业成员
  26314. in: query
  26315. name: usertype
  26316. type: integer
  26317. - description: 套保商品
  26318. in: query
  26319. name: middlegoodsid
  26320. required: true
  26321. type: integer
  26322. produces:
  26323. - application/json
  26324. responses:
  26325. "200":
  26326. description: OK
  26327. schema:
  26328. items:
  26329. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  26330. type: array
  26331. "500":
  26332. description: Internal Server Error
  26333. schema:
  26334. $ref: '#/definitions/app.Response'
  26335. security:
  26336. - ApiKeyAuth: []
  26337. summary: 查询敞口现货明细
  26338. tags:
  26339. - 企业风险管理v3(app)
  26340. /Ermcp3/QueryExposureSpot:
  26341. get:
  26342. parameters:
  26343. - description: 用户id
  26344. in: query
  26345. name: userid
  26346. required: true
  26347. type: integer
  26348. - description: 用户类型 2-机构 7-企业成员
  26349. in: query
  26350. name: usertype
  26351. type: integer
  26352. produces:
  26353. - application/json
  26354. responses:
  26355. "200":
  26356. description: OK
  26357. schema:
  26358. items:
  26359. $ref: '#/definitions/models.Ermcp3AreaSpot'
  26360. type: array
  26361. "500":
  26362. description: Internal Server Error
  26363. schema:
  26364. $ref: '#/definitions/app.Response'
  26365. security:
  26366. - ApiKeyAuth: []
  26367. summary: 查询敞口现货头寸(敞口/现货头寸)
  26368. tags:
  26369. - 企业风险管理v3(app)
  26370. /Ermcp3/QueryExposureSpotDetail:
  26371. get:
  26372. parameters:
  26373. - description: 用户id
  26374. in: query
  26375. name: userid
  26376. required: true
  26377. type: integer
  26378. - description: 用户类型 2-机构 7-企业成员
  26379. in: query
  26380. name: usertype
  26381. type: integer
  26382. - description: 现货商品ID
  26383. in: query
  26384. name: wrstandardid
  26385. required: true
  26386. type: integer
  26387. produces:
  26388. - application/json
  26389. responses:
  26390. "200":
  26391. description: OK
  26392. schema:
  26393. items:
  26394. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  26395. type: array
  26396. "500":
  26397. description: Internal Server Error
  26398. schema:
  26399. $ref: '#/definitions/app.Response'
  26400. security:
  26401. - ApiKeyAuth: []
  26402. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  26403. tags:
  26404. - 企业风险管理v3(app)
  26405. /Ermcp3/QueryGoodsGroup:
  26406. get:
  26407. parameters:
  26408. - description: 用户id
  26409. in: query
  26410. name: userid
  26411. required: true
  26412. type: integer
  26413. - description: 用户类型 2-机构 7-企业成员
  26414. in: query
  26415. name: usertype
  26416. type: integer
  26417. - description: 排除套保品中已关联的商品组 1-排除
  26418. in: query
  26419. name: excludecfg
  26420. type: integer
  26421. produces:
  26422. - application/json
  26423. responses:
  26424. "200":
  26425. description: OK
  26426. schema:
  26427. items:
  26428. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  26429. type: array
  26430. "500":
  26431. description: Internal Server Error
  26432. schema:
  26433. $ref: '#/definitions/app.Response'
  26434. security:
  26435. - ApiKeyAuth: []
  26436. summary: 查询期货商品组
  26437. tags:
  26438. - 企业风险管理v3(app)
  26439. /Ermcp3/QueryGoodsWrstandard:
  26440. get:
  26441. parameters:
  26442. - description: 用户id
  26443. in: query
  26444. name: userid
  26445. required: true
  26446. type: integer
  26447. - description: 用户类型 2-机构 7-企业成员
  26448. in: query
  26449. name: usertype
  26450. type: integer
  26451. - description: 现货商品id
  26452. in: query
  26453. name: deliverygoodsid
  26454. type: integer
  26455. produces:
  26456. - application/json
  26457. responses:
  26458. "200":
  26459. description: OK
  26460. schema:
  26461. items:
  26462. $ref: '#/definitions/models.Ermcp3Wrstandard'
  26463. type: array
  26464. "500":
  26465. description: Internal Server Error
  26466. schema:
  26467. $ref: '#/definitions/app.Response'
  26468. security:
  26469. - ApiKeyAuth: []
  26470. summary: 查询商品品类
  26471. tags:
  26472. - 企业风险管理v3(app)
  26473. /Ermcp3/QueryGoodsbrand:
  26474. get:
  26475. parameters:
  26476. - description: 用户id
  26477. in: query
  26478. name: userid
  26479. required: true
  26480. type: integer
  26481. - description: 用户类型 2-机构 7-企业成员
  26482. in: query
  26483. name: usertype
  26484. type: integer
  26485. produces:
  26486. - application/json
  26487. responses:
  26488. "200":
  26489. description: OK
  26490. schema:
  26491. items:
  26492. $ref: '#/definitions/models.Ermcp3Brand'
  26493. type: array
  26494. "500":
  26495. description: Internal Server Error
  26496. schema:
  26497. $ref: '#/definitions/app.Response'
  26498. security:
  26499. - ApiKeyAuth: []
  26500. summary: 查询商品品牌
  26501. tags:
  26502. - 企业风险管理v3(app)
  26503. /Ermcp3/QueryHPMiddleGoods:
  26504. get:
  26505. parameters:
  26506. - description: 用户ID(填登录用户的userid)
  26507. in: query
  26508. name: userid
  26509. required: true
  26510. type: integer
  26511. - description: 买卖方向 0-买 1-卖
  26512. in: query
  26513. name: buyorsell
  26514. required: true
  26515. type: integer
  26516. - description: 商品组id
  26517. in: query
  26518. name: goodsgroupid
  26519. required: true
  26520. type: integer
  26521. - description: 套保计划编号(模糊匹配)
  26522. in: query
  26523. name: hedgeplanno
  26524. type: string
  26525. - description: 现货商品名称(模糊匹配)
  26526. in: query
  26527. name: wrstandardname
  26528. type: string
  26529. produces:
  26530. - application/json
  26531. responses:
  26532. "200":
  26533. description: OK
  26534. schema:
  26535. items:
  26536. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  26537. type: array
  26538. "500":
  26539. description: Internal Server Error
  26540. schema:
  26541. $ref: '#/definitions/app.Response'
  26542. security:
  26543. - ApiKeyAuth: []
  26544. summary: 查询可关联套保计划
  26545. tags:
  26546. - 企业风险管理v3(app)
  26547. /Ermcp3/QueryHedgePlan:
  26548. get:
  26549. parameters:
  26550. - description: 用户ID
  26551. in: query
  26552. name: userid
  26553. required: true
  26554. type: integer
  26555. - description: 用户类型 2-机构 7-企业成员
  26556. in: query
  26557. name: usertype
  26558. type: integer
  26559. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26560. in: query
  26561. name: hedgeplanstatus
  26562. required: true
  26563. type: string
  26564. produces:
  26565. - application/json
  26566. responses:
  26567. "200":
  26568. description: OK
  26569. schema:
  26570. items:
  26571. $ref: '#/definitions/models.Ermcp3HedgePlan'
  26572. type: array
  26573. "500":
  26574. description: Internal Server Error
  26575. schema:
  26576. $ref: '#/definitions/app.Response'
  26577. security:
  26578. - ApiKeyAuth: []
  26579. summary: 查询套保计划
  26580. tags:
  26581. - 企业风险管理v3(app)
  26582. /Ermcp3/QueryInnerTradeLink:
  26583. get:
  26584. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  26585. parameters:
  26586. - description: 外部成交单号
  26587. in: query
  26588. name: outtradeid
  26589. required: true
  26590. type: integer
  26591. produces:
  26592. - application/json
  26593. responses:
  26594. "200":
  26595. description: OK
  26596. schema:
  26597. items:
  26598. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  26599. type: array
  26600. "500":
  26601. description: Internal Server Error
  26602. schema:
  26603. $ref: '#/definitions/app.Response'
  26604. security:
  26605. - ApiKeyAuth: []
  26606. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  26607. tags:
  26608. - 企业风险管理v3(app)
  26609. /Ermcp3/QueryMiddleGoodsDetail:
  26610. get:
  26611. parameters:
  26612. - description: 用户id
  26613. in: query
  26614. name: userid
  26615. required: true
  26616. type: integer
  26617. - description: 用户类型 2-机构 7-企业成员
  26618. in: query
  26619. name: usertype
  26620. type: integer
  26621. - description: 套保品种id
  26622. in: query
  26623. name: middlegoodsid
  26624. type: integer
  26625. produces:
  26626. - application/json
  26627. responses:
  26628. "200":
  26629. description: OK
  26630. schema:
  26631. items:
  26632. $ref: '#/definitions/models.TBMiddleGoods'
  26633. type: array
  26634. "500":
  26635. description: Internal Server Error
  26636. schema:
  26637. $ref: '#/definitions/app.Response'
  26638. security:
  26639. - ApiKeyAuth: []
  26640. summary: 查询套保品种详情(套保品种/商品详情)
  26641. tags:
  26642. - 企业风险管理v3(app)
  26643. /Ermcp3/QueryOutTradeLink:
  26644. get:
  26645. description: 页面 app 现货->期现关联->外部成交单关联
  26646. parameters:
  26647. - description: 用户ID(填登录用户的userid)
  26648. in: query
  26649. name: userid
  26650. required: true
  26651. type: integer
  26652. - description: 外部订单号(模糊匹配)
  26653. in: query
  26654. name: outtradeid
  26655. type: string
  26656. - description: 合约名称/代码(模糊匹配)
  26657. in: query
  26658. name: goodsname
  26659. type: string
  26660. - description: 关联状态 0-未关联 1-已关联
  26661. in: query
  26662. name: hasinnerorder
  26663. type: integer
  26664. produces:
  26665. - application/json
  26666. responses:
  26667. "200":
  26668. description: OK
  26669. schema:
  26670. items:
  26671. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  26672. type: array
  26673. "500":
  26674. description: Internal Server Error
  26675. schema:
  26676. $ref: '#/definitions/app.Response'
  26677. security:
  26678. - ApiKeyAuth: []
  26679. summary: 查询外部成交单关联
  26680. tags:
  26681. - 企业风险管理v3(app)
  26682. /Ermcp3/QueryPaAreaAuditCfg:
  26683. get:
  26684. parameters:
  26685. - description: 用户id
  26686. in: query
  26687. name: userid
  26688. required: true
  26689. type: integer
  26690. produces:
  26691. - application/json
  26692. responses:
  26693. "200":
  26694. description: OK
  26695. schema:
  26696. items:
  26697. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  26698. type: array
  26699. "500":
  26700. description: Internal Server Error
  26701. schema:
  26702. $ref: '#/definitions/app.Response'
  26703. security:
  26704. - ApiKeyAuth: []
  26705. summary: 查询审核设置
  26706. tags:
  26707. - 企业风险管理v3(app)
  26708. /Ermcp3/QueryPaAreaSubject:
  26709. get:
  26710. parameters:
  26711. - description: 用户id
  26712. in: query
  26713. name: userid
  26714. required: true
  26715. type: integer
  26716. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  26717. in: query
  26718. name: subjectid
  26719. type: integer
  26720. - description: 主体类型 - 1:交易主体 2:业务部门
  26721. in: query
  26722. name: subjecttype
  26723. type: integer
  26724. - description: '主体状态 - 1:正常 2: 停用'
  26725. in: query
  26726. name: subjectstatus
  26727. type: integer
  26728. produces:
  26729. - application/json
  26730. responses:
  26731. "200":
  26732. description: OK
  26733. schema:
  26734. items:
  26735. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  26736. type: array
  26737. "500":
  26738. description: Internal Server Error
  26739. schema:
  26740. $ref: '#/definitions/app.Response'
  26741. security:
  26742. - ApiKeyAuth: []
  26743. summary: 查询交易主体
  26744. tags:
  26745. - 企业风险管理v3(app)
  26746. /Ermcp3/QueryPaTradeLink:
  26747. get:
  26748. description: 页面 app 现货->期现关联->期现单据关联
  26749. parameters:
  26750. - description: 用户ID
  26751. in: query
  26752. name: userid
  26753. required: true
  26754. type: integer
  26755. produces:
  26756. - application/json
  26757. responses:
  26758. "200":
  26759. description: OK
  26760. schema:
  26761. items:
  26762. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  26763. type: array
  26764. "500":
  26765. description: Internal Server Error
  26766. schema:
  26767. $ref: '#/definitions/app.Response'
  26768. security:
  26769. - ApiKeyAuth: []
  26770. summary: 查询期现单据关联
  26771. tags:
  26772. - 企业风险管理v3(app)
  26773. /Ermcp3/QueryPaTradeLinkDetail:
  26774. get:
  26775. description: 页面 app 现货->期现关联->关联记录
  26776. parameters:
  26777. - description: 用户ID(填登录用户的userid)
  26778. in: query
  26779. name: userid
  26780. required: true
  26781. type: integer
  26782. - description: 关联状态 1:成功 2:失败 3:解绑
  26783. in: query
  26784. name: linkstatus
  26785. type: integer
  26786. - description: 期货订单号(模糊匹配)
  26787. in: query
  26788. name: tradeid
  26789. type: string
  26790. - description: 现货编号(模糊匹配)
  26791. in: query
  26792. name: contractno
  26793. type: string
  26794. - description: 期货账户(模糊匹配)
  26795. in: query
  26796. name: taname
  26797. type: string
  26798. produces:
  26799. - application/json
  26800. responses:
  26801. "200":
  26802. description: OK
  26803. schema:
  26804. items:
  26805. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  26806. type: array
  26807. "500":
  26808. description: Internal Server Error
  26809. schema:
  26810. $ref: '#/definitions/app.Response'
  26811. security:
  26812. - ApiKeyAuth: []
  26813. summary: 查询期现关联记录
  26814. tags:
  26815. - 企业风险管理v3(app)
  26816. /Ermcp3/QueryParamChangeApp:
  26817. get:
  26818. description: |-
  26819. 原型页面:
  26820. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  26821. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  26822. parameters:
  26823. - description: 用户ID
  26824. in: query
  26825. name: userid
  26826. required: true
  26827. type: integer
  26828. - description: 现货品种id
  26829. in: query
  26830. name: deliverygoodsid
  26831. type: integer
  26832. - description: 现货商品id
  26833. in: query
  26834. name: wrstandardid
  26835. type: integer
  26836. - description: 套保商品id
  26837. in: query
  26838. name: middlegoodsid
  26839. type: integer
  26840. - description: 操作类型 1:新增 2:修改
  26841. in: query
  26842. name: operatetype
  26843. type: integer
  26844. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  26845. in: query
  26846. name: paramchangetype
  26847. type: integer
  26848. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26849. in: query
  26850. name: ftstatus
  26851. type: string
  26852. produces:
  26853. - application/json
  26854. responses:
  26855. "200":
  26856. description: OK
  26857. schema:
  26858. items:
  26859. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  26860. type: array
  26861. "500":
  26862. description: Internal Server Error
  26863. schema:
  26864. $ref: '#/definitions/app.Response'
  26865. security:
  26866. - ApiKeyAuth: []
  26867. summary: 查询现货商品参数变更申请(流水)
  26868. tags:
  26869. - 企业风险管理v3(app)
  26870. /Ermcp3/QueryRootUserAccount:
  26871. get:
  26872. parameters:
  26873. - description: 用户ID
  26874. in: query
  26875. name: userid
  26876. required: true
  26877. type: integer
  26878. produces:
  26879. - application/json
  26880. responses:
  26881. "200":
  26882. description: OK
  26883. schema:
  26884. items:
  26885. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  26886. type: array
  26887. "500":
  26888. description: Internal Server Error
  26889. schema:
  26890. $ref: '#/definitions/app.Response'
  26891. security:
  26892. - ApiKeyAuth: []
  26893. summary: 查询顶级用户信息
  26894. tags:
  26895. - 企业风险管理v3(app)
  26896. /Ermcp3/QuerySCMiddleGoods:
  26897. get:
  26898. description: |-
  26899. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  26900. 现货编号 即 合同编号
  26901. parameters:
  26902. - description: 用户ID(填登录用户的userid)
  26903. in: query
  26904. name: userid
  26905. required: true
  26906. type: integer
  26907. - description: 买卖方向 0-买 1-卖
  26908. in: query
  26909. name: buyorsell
  26910. required: true
  26911. type: integer
  26912. - description: 商品组id
  26913. in: query
  26914. name: goodsgroupid
  26915. required: true
  26916. type: integer
  26917. - description: 业务类型 1:套保 2:套利
  26918. in: query
  26919. name: biztype
  26920. type: integer
  26921. - description: 现货编号(模糊匹配)
  26922. in: query
  26923. name: contractno
  26924. type: string
  26925. - description: 对手方(模糊匹配)
  26926. in: query
  26927. name: customername
  26928. type: string
  26929. - description: 现货商品名称(模糊匹配)
  26930. in: query
  26931. name: wrstandardname
  26932. type: string
  26933. produces:
  26934. - application/json
  26935. responses:
  26936. "200":
  26937. description: OK
  26938. schema:
  26939. items:
  26940. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  26941. type: array
  26942. "500":
  26943. description: Internal Server Error
  26944. schema:
  26945. $ref: '#/definitions/app.Response'
  26946. security:
  26947. - ApiKeyAuth: []
  26948. summary: 查询现货订单
  26949. tags:
  26950. - 企业风险管理v3(app)
  26951. /Ermcp3/QuerySpotContract:
  26952. get:
  26953. parameters:
  26954. - description: 用户id(当指定contractid, userid可不填)
  26955. in: query
  26956. name: userid
  26957. required: true
  26958. type: integer
  26959. - description: 用户类型 2-机构 7-企业成员
  26960. in: query
  26961. name: usertype
  26962. type: integer
  26963. - description: 合同类型 1-采购, -1-销售
  26964. in: query
  26965. name: contracttype
  26966. type: integer
  26967. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  26968. in: query
  26969. name: querytype
  26970. type: string
  26971. - description: 合同ID(SpotContractId)
  26972. in: query
  26973. name: contractid
  26974. type: string
  26975. - description: 合同编号(模糊匹配)
  26976. in: query
  26977. name: contractno
  26978. type: string
  26979. - description: 商品名称(模糊匹配)
  26980. in: query
  26981. name: wrstandardname
  26982. type: string
  26983. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  26984. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26985. in: query
  26986. name: status
  26987. type: string
  26988. - description: 是否只查今日的合同 1-查今日合同
  26989. in: query
  26990. name: istoday
  26991. type: integer
  26992. produces:
  26993. - application/json
  26994. responses:
  26995. "200":
  26996. description: OK
  26997. schema:
  26998. items:
  26999. $ref: '#/definitions/models.Ermcp3Contract'
  27000. type: array
  27001. "500":
  27002. description: Internal Server Error
  27003. schema:
  27004. $ref: '#/definitions/app.Response'
  27005. security:
  27006. - ApiKeyAuth: []
  27007. summary: 查询现货合同
  27008. tags:
  27009. - 企业风险管理v3(app)
  27010. /Ermcp3/QuerySpotContractBS:
  27011. get:
  27012. parameters:
  27013. - description: 用户id
  27014. in: query
  27015. name: userid
  27016. required: true
  27017. type: integer
  27018. - description: 用户类型 2-机构 7-企业成员
  27019. in: query
  27020. name: usertype
  27021. type: integer
  27022. - description: 合同类型 1-采购, -1-销售
  27023. in: query
  27024. name: contracttype
  27025. required: true
  27026. type: integer
  27027. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  27028. in: query
  27029. name: querytype
  27030. type: integer
  27031. - description: 合同ID(SpotContractId)
  27032. in: query
  27033. name: contractid
  27034. type: string
  27035. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  27036. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27037. in: query
  27038. name: status
  27039. type: string
  27040. - description: 是否只查今日的合同 1-查今日合同
  27041. in: query
  27042. name: istoday
  27043. type: integer
  27044. produces:
  27045. - application/json
  27046. responses:
  27047. "200":
  27048. description: OK
  27049. schema:
  27050. items:
  27051. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  27052. type: array
  27053. "500":
  27054. description: Internal Server Error
  27055. schema:
  27056. $ref: '#/definitions/app.Response'
  27057. security:
  27058. - ApiKeyAuth: []
  27059. summary: 查询合同(采购/销售)
  27060. tags:
  27061. - 企业风险管理v3(app)
  27062. /Ermcp3/QuerySpotGoodsPrice:
  27063. get:
  27064. parameters:
  27065. - description: 用户ID
  27066. in: query
  27067. name: userid
  27068. required: true
  27069. type: integer
  27070. produces:
  27071. - application/json
  27072. responses:
  27073. "200":
  27074. description: OK
  27075. schema:
  27076. items:
  27077. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  27078. type: array
  27079. "500":
  27080. description: Internal Server Error
  27081. schema:
  27082. $ref: '#/definitions/app.Response'
  27083. security:
  27084. - ApiKeyAuth: []
  27085. summary: 查询现货市价(现货市价)
  27086. tags:
  27087. - 企业风险管理v3(app)
  27088. /Ermcp3/QuerySpotGoodsPriceLog:
  27089. get:
  27090. parameters:
  27091. - description: 用户ID
  27092. in: query
  27093. name: userid
  27094. required: true
  27095. type: integer
  27096. - description: 现货商品ID
  27097. in: query
  27098. name: deliverygoodsid
  27099. required: true
  27100. type: integer
  27101. - description: 品牌ID
  27102. in: query
  27103. name: brandid
  27104. type: integer
  27105. - description: 品类ID
  27106. in: query
  27107. name: wrstandardid
  27108. type: integer
  27109. produces:
  27110. - application/json
  27111. responses:
  27112. "200":
  27113. description: OK
  27114. schema:
  27115. items:
  27116. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  27117. type: array
  27118. "500":
  27119. description: Internal Server Error
  27120. schema:
  27121. $ref: '#/definitions/app.Response'
  27122. security:
  27123. - ApiKeyAuth: []
  27124. summary: 查询现货市价详情(现货市价/详情)
  27125. tags:
  27126. - 企业风险管理v3(app)
  27127. /Ermcp3/QuerySubTaaccount:
  27128. get:
  27129. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  27130. parameters:
  27131. - description: 母账号id
  27132. in: query
  27133. name: parentaccountid
  27134. type: integer
  27135. - description: 母账号代码
  27136. in: query
  27137. name: parentaccountcode
  27138. type: string
  27139. produces:
  27140. - application/json
  27141. responses:
  27142. "200":
  27143. description: OK
  27144. schema:
  27145. items:
  27146. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  27147. type: array
  27148. "500":
  27149. description: Internal Server Error
  27150. schema:
  27151. $ref: '#/definitions/app.Response'
  27152. security:
  27153. - ApiKeyAuth: []
  27154. summary: 查询期货子账户
  27155. tags:
  27156. - 企业风险管理v3(app)
  27157. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  27158. get:
  27159. parameters:
  27160. - description: 套期项目ID
  27161. in: query
  27162. name: hedgeditemid
  27163. required: true
  27164. type: integer
  27165. produces:
  27166. - application/json
  27167. responses:
  27168. "200":
  27169. description: OK
  27170. schema:
  27171. items:
  27172. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  27173. type: array
  27174. "500":
  27175. description: Internal Server Error
  27176. schema:
  27177. $ref: '#/definitions/app.Response'
  27178. security:
  27179. - ApiKeyAuth: []
  27180. summary: 现货成交明细查询
  27181. tags:
  27182. - 企业风险管理v8
  27183. /Ermcp8/QueryERMCP2HedgedItemspot:
  27184. get:
  27185. parameters:
  27186. - description: 套期项目ID
  27187. in: query
  27188. name: hedgeditemid
  27189. required: true
  27190. type: integer
  27191. produces:
  27192. - application/json
  27193. responses:
  27194. "200":
  27195. description: OK
  27196. schema:
  27197. items:
  27198. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  27199. type: array
  27200. "500":
  27201. description: Internal Server Error
  27202. schema:
  27203. $ref: '#/definitions/app.Response'
  27204. security:
  27205. - ApiKeyAuth: []
  27206. summary: 套期计划明细查询
  27207. tags:
  27208. - 企业风险管理v8
  27209. /Ermcp8/QueryERMCPJRLinkPos:
  27210. get:
  27211. parameters:
  27212. - description: 套期项目ID
  27213. in: query
  27214. name: hedgeditemid
  27215. required: true
  27216. type: integer
  27217. produces:
  27218. - application/json
  27219. responses:
  27220. "200":
  27221. description: OK
  27222. schema:
  27223. items:
  27224. $ref: '#/definitions/models.Ermcpjrlinkpos'
  27225. type: array
  27226. "500":
  27227. description: Internal Server Error
  27228. schema:
  27229. $ref: '#/definitions/app.Response'
  27230. security:
  27231. - ApiKeyAuth: []
  27232. summary: 期货持仓明细查询
  27233. tags:
  27234. - 企业风险管理v8
  27235. /Ermcp8/QueryERMCPPatradeLinkDetail:
  27236. get:
  27237. parameters:
  27238. - description: 套期项目ID
  27239. in: query
  27240. name: hedgeditemid
  27241. required: true
  27242. type: integer
  27243. produces:
  27244. - application/json
  27245. responses:
  27246. "200":
  27247. description: OK
  27248. schema:
  27249. items:
  27250. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  27251. type: array
  27252. "500":
  27253. description: Internal Server Error
  27254. schema:
  27255. $ref: '#/definitions/app.Response'
  27256. security:
  27257. - ApiKeyAuth: []
  27258. summary: 期货成交单明细查询
  27259. tags:
  27260. - 企业风险管理v8
  27261. /Ermcp8/QueryErmcp2AreaExposure:
  27262. get:
  27263. parameters:
  27264. - description: 用户ID
  27265. in: query
  27266. name: userid
  27267. required: true
  27268. type: string
  27269. produces:
  27270. - application/json
  27271. responses:
  27272. "200":
  27273. description: OK
  27274. schema:
  27275. items:
  27276. $ref: '#/definitions/models.Ermcp2AreaExposure'
  27277. type: array
  27278. "500":
  27279. description: Internal Server Error
  27280. schema:
  27281. $ref: '#/definitions/app.Response'
  27282. security:
  27283. - ApiKeyAuth: []
  27284. summary: 企业敞口查询
  27285. tags:
  27286. - 企业风险管理v8
  27287. /Ermcp8/QueryErmcp2HedgedItem:
  27288. get:
  27289. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  27290. parameters:
  27291. - description: 用户ID
  27292. in: query
  27293. name: userid
  27294. required: true
  27295. type: string
  27296. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  27297. in: query
  27298. name: hedgedtype
  27299. type: integer
  27300. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27301. in: query
  27302. name: hedgeditemstatus
  27303. type: integer
  27304. produces:
  27305. - application/json
  27306. responses:
  27307. "200":
  27308. description: OK
  27309. schema:
  27310. items:
  27311. $ref: '#/definitions/models.Ermcp2hedgeditem'
  27312. type: array
  27313. "500":
  27314. description: Internal Server Error
  27315. schema:
  27316. $ref: '#/definitions/app.Response'
  27317. security:
  27318. - ApiKeyAuth: []
  27319. summary: 查询被套期项目信息
  27320. tags:
  27321. - 企业风险管理v8
  27322. /Ermcp8/QueryErmcp2HedgedItemLink:
  27323. get:
  27324. parameters:
  27325. - description: 现货合同ID
  27326. in: query
  27327. name: spotcontractid
  27328. required: true
  27329. type: integer
  27330. produces:
  27331. - application/json
  27332. responses:
  27333. "200":
  27334. description: OK
  27335. schema:
  27336. items:
  27337. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  27338. type: array
  27339. "500":
  27340. description: Internal Server Error
  27341. schema:
  27342. $ref: '#/definitions/app.Response'
  27343. security:
  27344. - ApiKeyAuth: []
  27345. summary: 现货合同关联被套期项目查询
  27346. tags:
  27347. - 企业风险管理v8
  27348. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  27349. get:
  27350. parameters:
  27351. - description: 用户ID
  27352. in: query
  27353. name: userid
  27354. required: true
  27355. type: integer
  27356. - description: 套保品种ID
  27357. in: query
  27358. name: middlegoodsid
  27359. required: true
  27360. type: integer
  27361. produces:
  27362. - application/json
  27363. responses:
  27364. "200":
  27365. description: OK
  27366. schema:
  27367. items:
  27368. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  27369. type: array
  27370. "500":
  27371. description: Internal Server Error
  27372. schema:
  27373. $ref: '#/definitions/app.Response'
  27374. security:
  27375. - ApiKeyAuth: []
  27376. summary: 敞口明细 - 计划变动明细
  27377. tags:
  27378. - 企业风险管理v8
  27379. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  27380. get:
  27381. parameters:
  27382. - description: 用户ID
  27383. in: query
  27384. name: userid
  27385. required: true
  27386. type: integer
  27387. - description: 套保品种ID
  27388. in: query
  27389. name: middlegoodsid
  27390. required: true
  27391. type: integer
  27392. produces:
  27393. - application/json
  27394. responses:
  27395. "200":
  27396. description: OK
  27397. schema:
  27398. items:
  27399. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  27400. type: array
  27401. "500":
  27402. description: Internal Server Error
  27403. schema:
  27404. $ref: '#/definitions/app.Response'
  27405. security:
  27406. - ApiKeyAuth: []
  27407. summary: 敞口明细 - 现货变动明细查询
  27408. tags:
  27409. - 企业风险管理v8
  27410. /Ermcp8/QueryErmcp8EnableHedgeditem:
  27411. get:
  27412. parameters:
  27413. - description: 用户ID
  27414. in: query
  27415. name: userid
  27416. required: true
  27417. type: integer
  27418. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  27419. in: query
  27420. name: spottype
  27421. required: true
  27422. type: integer
  27423. - description: 现货商品ID
  27424. in: query
  27425. name: wrstandardid
  27426. type: integer
  27427. produces:
  27428. - application/json
  27429. responses:
  27430. "200":
  27431. description: OK
  27432. schema:
  27433. items:
  27434. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  27435. type: array
  27436. "500":
  27437. description: Internal Server Error
  27438. schema:
  27439. $ref: '#/definitions/app.Response'
  27440. security:
  27441. - ApiKeyAuth: []
  27442. summary: 可关联项目查询
  27443. tags:
  27444. - 企业风险管理v8
  27445. /Ermcp8/QueryErmcp8HedgeditemReport:
  27446. get:
  27447. parameters:
  27448. - description: 用户ID
  27449. in: query
  27450. name: userid
  27451. required: true
  27452. type: integer
  27453. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27454. in: query
  27455. name: cycletype
  27456. type: integer
  27457. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  27458. 全(0)【原值】
  27459. in: query
  27460. name: cycletime
  27461. required: true
  27462. type: string
  27463. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  27464. in: query
  27465. name: hedgedtype
  27466. type: integer
  27467. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27468. in: query
  27469. name: hedgeditemstatus
  27470. type: integer
  27471. - description: 项目编号,模糊查询
  27472. in: query
  27473. name: hedgeditemnum
  27474. type: string
  27475. - description: 现货商品ID
  27476. in: query
  27477. name: wrstandardid
  27478. type: integer
  27479. produces:
  27480. - application/json
  27481. responses:
  27482. "200":
  27483. description: OK
  27484. schema:
  27485. items:
  27486. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  27487. type: array
  27488. "500":
  27489. description: Internal Server Error
  27490. schema:
  27491. $ref: '#/definitions/app.Response'
  27492. security:
  27493. - ApiKeyAuth: []
  27494. summary: 套期项目报表查询
  27495. tags:
  27496. - 企业风险管理v8
  27497. /Ermcp8/QueryErmcp8RunningHedgeditem:
  27498. get:
  27499. parameters:
  27500. - description: 用户ID
  27501. in: query
  27502. name: userid
  27503. required: true
  27504. type: string
  27505. produces:
  27506. - application/json
  27507. responses:
  27508. "200":
  27509. description: OK
  27510. schema:
  27511. items:
  27512. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  27513. type: array
  27514. "500":
  27515. description: Internal Server Error
  27516. schema:
  27517. $ref: '#/definitions/app.Response'
  27518. security:
  27519. - ApiKeyAuth: []
  27520. summary: 查询执行中项目查询信息
  27521. tags:
  27522. - 企业风险管理v8
  27523. /Ermcp8/QueryInternalEnableTradeDetail:
  27524. get:
  27525. parameters:
  27526. - description: 企业ID
  27527. in: query
  27528. name: areauserid
  27529. required: true
  27530. type: integer
  27531. - description: 期货合约ID
  27532. in: query
  27533. name: goodsid
  27534. required: true
  27535. type: integer
  27536. - description: 交易用户ID
  27537. in: query
  27538. name: tradeuserid
  27539. required: true
  27540. type: integer
  27541. produces:
  27542. - application/json
  27543. responses:
  27544. "200":
  27545. description: OK
  27546. schema:
  27547. items:
  27548. $ref: '#/definitions/models.InternalEnableTradeDetail'
  27549. type: array
  27550. "500":
  27551. description: Internal Server Error
  27552. schema:
  27553. $ref: '#/definitions/app.Response'
  27554. security:
  27555. - ApiKeyAuth: []
  27556. summary: 内部成交单可关联项目查询
  27557. tags:
  27558. - 企业风险管理v8
  27559. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  27560. get:
  27561. parameters:
  27562. - description: 用户编号
  27563. in: query
  27564. name: userid
  27565. required: true
  27566. type: integer
  27567. - description: 起始日期(格式yyyymmdd)
  27568. in: query
  27569. name: begindate
  27570. type: string
  27571. - description: 终止日期(格式yyyymmdd)
  27572. in: query
  27573. name: enddate
  27574. type: string
  27575. - description: 合约代码
  27576. in: query
  27577. name: goodscode
  27578. type: string
  27579. - description: 合约名称
  27580. in: query
  27581. name: goodsname
  27582. type: string
  27583. - description: 成交单号
  27584. in: query
  27585. name: tradeid
  27586. type: integer
  27587. - description: 方向 - 0:买 1:卖
  27588. in: query
  27589. name: buyorsell
  27590. type: integer
  27591. - description: 套期主体
  27592. in: query
  27593. name: accountname
  27594. type: string
  27595. produces:
  27596. - application/json
  27597. responses:
  27598. "200":
  27599. description: OK
  27600. schema:
  27601. items:
  27602. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  27603. type: array
  27604. "500":
  27605. description: Internal Server Error
  27606. schema:
  27607. $ref: '#/definitions/app.Response'
  27608. security:
  27609. - ApiKeyAuth: []
  27610. summary: 内部未关联成交单查询
  27611. tags:
  27612. - 企业风险管理v8
  27613. /Ermcp8/QueryMarketCalendar:
  27614. get:
  27615. parameters:
  27616. - description: 市场ID
  27617. in: query
  27618. name: marketid
  27619. type: integer
  27620. produces:
  27621. - application/json
  27622. responses:
  27623. "200":
  27624. description: OK
  27625. schema:
  27626. items:
  27627. $ref: '#/definitions/models.Marketcalendar'
  27628. type: array
  27629. "500":
  27630. description: Internal Server Error
  27631. schema:
  27632. $ref: '#/definitions/app.Response'
  27633. security:
  27634. - ApiKeyAuth: []
  27635. summary: 市场节假日查询
  27636. tags:
  27637. - 企业风险管理v8
  27638. /Ermcp8/QueryPatradeLinkDetail:
  27639. get:
  27640. parameters:
  27641. - description: 用户ID
  27642. in: query
  27643. name: userid
  27644. required: true
  27645. type: integer
  27646. - description: 套保品种ID
  27647. in: query
  27648. name: middlegoodsid
  27649. required: true
  27650. type: integer
  27651. produces:
  27652. - application/json
  27653. responses:
  27654. "200":
  27655. description: OK
  27656. schema:
  27657. items:
  27658. $ref: '#/definitions/models.Patradelinkdetail'
  27659. type: array
  27660. "500":
  27661. description: Internal Server Error
  27662. schema:
  27663. $ref: '#/definitions/app.Response'
  27664. security:
  27665. - ApiKeyAuth: []
  27666. summary: 敞口明细 - 期货变动明细
  27667. tags:
  27668. - 企业风险管理v8
  27669. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  27670. get:
  27671. parameters:
  27672. - description: 企业ID
  27673. in: query
  27674. name: areauserid
  27675. required: true
  27676. type: integer
  27677. - description: 计划类型 - 1:采购 -1:销售
  27678. in: query
  27679. name: contracttype
  27680. type: integer
  27681. - description: 计划编号,模糊查询
  27682. in: query
  27683. name: hedgeplanno
  27684. type: string
  27685. - description: 现货商品,模糊查询
  27686. in: query
  27687. name: wrstandardname
  27688. type: string
  27689. produces:
  27690. - application/json
  27691. responses:
  27692. "200":
  27693. description: OK
  27694. schema:
  27695. items:
  27696. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  27697. type: array
  27698. "500":
  27699. description: Internal Server Error
  27700. schema:
  27701. $ref: '#/definitions/app.Response'
  27702. security:
  27703. - ApiKeyAuth: []
  27704. summary: 未关联购销计划
  27705. tags:
  27706. - 企业风险管理v8
  27707. /Ermcp8/QueryUnLinkSpotContract:
  27708. get:
  27709. parameters:
  27710. - description: 用户ID
  27711. in: query
  27712. name: userid
  27713. required: true
  27714. type: integer
  27715. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  27716. in: query
  27717. name: pricetype
  27718. type: integer
  27719. - description: 合同编号, 模拟查询
  27720. in: query
  27721. name: contractno
  27722. type: string
  27723. - description: 对手方, 模拟查询
  27724. in: query
  27725. name: customername
  27726. type: string
  27727. - description: 项合同类型 - 1:采购 -1:销售
  27728. in: query
  27729. name: contracttype
  27730. type: integer
  27731. produces:
  27732. - application/json
  27733. responses:
  27734. "200":
  27735. description: OK
  27736. schema:
  27737. items:
  27738. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  27739. type: array
  27740. "500":
  27741. description: Internal Server Error
  27742. schema:
  27743. $ref: '#/definitions/app.Response'
  27744. security:
  27745. - ApiKeyAuth: []
  27746. summary: 未关联合同查询
  27747. tags:
  27748. - 企业风险管理v8
  27749. /Erms2/QueryArbitrageStrategy:
  27750. get:
  27751. parameters:
  27752. - description: 账户ID
  27753. in: query
  27754. name: userid
  27755. required: true
  27756. type: integer
  27757. - description: 商品组ID(品种ID)
  27758. in: query
  27759. name: goodsgroupid
  27760. type: string
  27761. produces:
  27762. - application/json
  27763. responses:
  27764. "200":
  27765. description: OK
  27766. schema:
  27767. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  27768. "500":
  27769. description: Internal Server Error
  27770. schema:
  27771. $ref: '#/definitions/app.Response'
  27772. security:
  27773. - ApiKeyAuth: []
  27774. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  27775. tags:
  27776. - 风险管理
  27777. /Erms2/QueryInnerTradeDetail:
  27778. get:
  27779. parameters:
  27780. - description: 资金账户
  27781. in: query
  27782. name: accountid
  27783. required: true
  27784. type: integer
  27785. produces:
  27786. - application/json
  27787. responses:
  27788. "200":
  27789. description: OK
  27790. schema:
  27791. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  27792. "500":
  27793. description: Internal Server Error
  27794. schema:
  27795. $ref: '#/definitions/app.Response'
  27796. security:
  27797. - ApiKeyAuth: []
  27798. summary: 查询内部成交单信息
  27799. tags:
  27800. - 风险管理
  27801. /Erms2/QuerySpotContract:
  27802. get:
  27803. parameters:
  27804. - description: 策略申请ID
  27805. in: query
  27806. name: asapplyid
  27807. required: true
  27808. type: integer
  27809. - description: 现货合同ID
  27810. in: query
  27811. name: spotcontractid
  27812. type: integer
  27813. produces:
  27814. - application/json
  27815. responses:
  27816. "200":
  27817. description: OK
  27818. schema:
  27819. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  27820. "500":
  27821. description: Internal Server Error
  27822. schema:
  27823. $ref: '#/definitions/app.Response'
  27824. security:
  27825. - ApiKeyAuth: []
  27826. summary: 查询现货合同表信息(指定策略ID、未结束的)
  27827. tags:
  27828. - 风险管理
  27829. /Erms3/AddErms2ASApply:
  27830. post:
  27831. parameters:
  27832. - description: 申请参数
  27833. in: body
  27834. name: jsonBody
  27835. required: true
  27836. schema:
  27837. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  27838. produces:
  27839. - application/json
  27840. responses:
  27841. "200":
  27842. description: OK
  27843. schema:
  27844. $ref: '#/definitions/app.Response'
  27845. "500":
  27846. description: Internal Server Error
  27847. schema:
  27848. $ref: '#/definitions/app.Response'
  27849. security:
  27850. - ApiKeyAuth: []
  27851. summary: 新增期现套利业务申请
  27852. tags:
  27853. - 风险管理v3
  27854. /Erms3/AddErms2SpotTradeApply:
  27855. post:
  27856. parameters:
  27857. - description: 申请参数
  27858. in: body
  27859. name: jsonBody
  27860. required: true
  27861. schema:
  27862. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  27863. produces:
  27864. - application/json
  27865. responses:
  27866. "200":
  27867. description: OK
  27868. schema:
  27869. $ref: '#/definitions/app.Response'
  27870. "500":
  27871. description: Internal Server Error
  27872. schema:
  27873. $ref: '#/definitions/app.Response'
  27874. security:
  27875. - ApiKeyAuth: []
  27876. summary: 新增现货贸易业务申请
  27877. tags:
  27878. - 风险管理v3
  27879. /Erms3/AddSpotContractApply:
  27880. post:
  27881. parameters:
  27882. - description: 申请参数
  27883. in: body
  27884. name: jsonBody
  27885. required: true
  27886. schema:
  27887. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  27888. produces:
  27889. - application/json
  27890. responses:
  27891. "200":
  27892. description: OK
  27893. schema:
  27894. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  27895. "500":
  27896. description: Internal Server Error
  27897. schema:
  27898. $ref: '#/definitions/app.Response'
  27899. security:
  27900. - ApiKeyAuth: []
  27901. summary: 新增现货合同申请
  27902. tags:
  27903. - 风险管理v3
  27904. /Erms3/AddUserInfoApply:
  27905. post:
  27906. parameters:
  27907. - description: 用户信息
  27908. in: body
  27909. name: jsonBody
  27910. required: true
  27911. schema:
  27912. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  27913. produces:
  27914. - application/json
  27915. responses:
  27916. "200":
  27917. description: OK
  27918. schema:
  27919. $ref: '#/definitions/app.Response'
  27920. "500":
  27921. description: Internal Server Error
  27922. schema:
  27923. $ref: '#/definitions/app.Response'
  27924. security:
  27925. - ApiKeyAuth: []
  27926. summary: 新增客户申请
  27927. tags:
  27928. - 风险管理v3
  27929. /Erms3/DeleteUserInfoApply:
  27930. get:
  27931. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  27932. parameters:
  27933. - description: 用户ID
  27934. in: query
  27935. name: userID
  27936. required: true
  27937. type: integer
  27938. produces:
  27939. - application/json
  27940. responses:
  27941. "200":
  27942. description: OK
  27943. schema:
  27944. $ref: '#/definitions/app.Response'
  27945. "500":
  27946. description: Internal Server Error
  27947. schema:
  27948. $ref: '#/definitions/app.Response'
  27949. security:
  27950. - ApiKeyAuth: []
  27951. summary: 删除客户申请
  27952. tags:
  27953. - 风险管理v3
  27954. /Erms3/ModifyUserInfoApply:
  27955. post:
  27956. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  27957. int, "userstate": 2 }'
  27958. parameters:
  27959. - description: 用户信息
  27960. in: body
  27961. name: jsonBody
  27962. required: true
  27963. schema:
  27964. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  27965. produces:
  27966. - application/json
  27967. responses:
  27968. "200":
  27969. description: OK
  27970. schema:
  27971. $ref: '#/definitions/app.Response'
  27972. "500":
  27973. description: Internal Server Error
  27974. schema:
  27975. $ref: '#/definitions/app.Response'
  27976. security:
  27977. - ApiKeyAuth: []
  27978. summary: 修改客户申请
  27979. tags:
  27980. - 风险管理v3
  27981. /Erms3/QueryBusinessInfo:
  27982. get:
  27983. parameters:
  27984. - description: 资金账号ID列表,用逗号分隔
  27985. in: query
  27986. name: accountids
  27987. required: true
  27988. type: string
  27989. - description: 状态,0为未结束 1为已结束
  27990. in: query
  27991. name: status
  27992. required: true
  27993. type: integer
  27994. produces:
  27995. - application/json
  27996. responses:
  27997. "200":
  27998. description: OK
  27999. schema:
  28000. items:
  28001. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  28002. type: array
  28003. "500":
  28004. description: Internal Server Error
  28005. schema:
  28006. $ref: '#/definitions/app.Response'
  28007. security:
  28008. - ApiKeyAuth: []
  28009. summary: 查询业务表单数据
  28010. tags:
  28011. - 风险管理v3
  28012. /Erms3/QueryPendingAuditContract:
  28013. get:
  28014. parameters:
  28015. - description: 资金账号ID列表,逗号隔开
  28016. in: query
  28017. name: accountids
  28018. required: true
  28019. type: string
  28020. - description: 合同类型 1-采购 -1-销售
  28021. in: query
  28022. name: contracttype
  28023. required: true
  28024. type: integer
  28025. - description: 合同模式 1-普通 2-回购
  28026. in: query
  28027. name: contractmode
  28028. required: true
  28029. type: integer
  28030. produces:
  28031. - application/json
  28032. responses:
  28033. "200":
  28034. description: OK
  28035. schema:
  28036. items:
  28037. $ref: '#/definitions/erms3.QryAuditContractRsp'
  28038. type: array
  28039. "500":
  28040. description: Internal Server Error
  28041. schema:
  28042. $ref: '#/definitions/app.Response'
  28043. security:
  28044. - ApiKeyAuth: []
  28045. summary: 查询待审核合同
  28046. tags:
  28047. - 风险管理v3
  28048. /Erms3/QueryPendingBusiness:
  28049. get:
  28050. parameters:
  28051. - description: 资金账号ID列表,逗号隔开
  28052. in: query
  28053. name: accountids
  28054. required: true
  28055. type: string
  28056. produces:
  28057. - application/json
  28058. responses:
  28059. "200":
  28060. description: OK
  28061. schema:
  28062. items:
  28063. $ref: '#/definitions/erms3.QryPendingBizRsp'
  28064. type: array
  28065. "500":
  28066. description: Internal Server Error
  28067. schema:
  28068. $ref: '#/definitions/app.Response'
  28069. security:
  28070. - ApiKeyAuth: []
  28071. summary: 查询待审核基差贸易业务
  28072. tags:
  28073. - 风险管理v3
  28074. /Erms3/QuerySpotContractAppleForm:
  28075. get:
  28076. parameters:
  28077. - description: 登录账号
  28078. in: query
  28079. name: loginID
  28080. required: true
  28081. type: integer
  28082. produces:
  28083. - application/json
  28084. responses:
  28085. "200":
  28086. description: OK
  28087. schema:
  28088. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  28089. "500":
  28090. description: Internal Server Error
  28091. schema:
  28092. $ref: '#/definitions/app.Response'
  28093. security:
  28094. - ApiKeyAuth: []
  28095. summary: 查询合同申请表单数据
  28096. tags:
  28097. - 风险管理v3
  28098. /Erms3/QuerySpotContractDetail:
  28099. get:
  28100. parameters:
  28101. - description: 资金账号ID列表,用逗号分隔
  28102. in: query
  28103. name: accountids
  28104. required: true
  28105. type: string
  28106. - description: 合同类型,1为采购合同 -1为销售合同
  28107. in: query
  28108. name: contracttype
  28109. required: true
  28110. type: integer
  28111. - description: 合同模式,1为普通合同 2为回购销售合同
  28112. in: query
  28113. name: contractmode
  28114. required: true
  28115. type: integer
  28116. - description: 状态,0为履约中 1为已完成
  28117. in: query
  28118. name: status
  28119. required: true
  28120. type: integer
  28121. produces:
  28122. - application/json
  28123. responses:
  28124. "200":
  28125. description: OK
  28126. schema:
  28127. items:
  28128. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  28129. type: array
  28130. "500":
  28131. description: Internal Server Error
  28132. schema:
  28133. $ref: '#/definitions/app.Response'
  28134. security:
  28135. - ApiKeyAuth: []
  28136. summary: 查询合同详细信息
  28137. tags:
  28138. - 风险管理v3
  28139. /Erms3/QueryUserInfoApplies:
  28140. get:
  28141. parameters:
  28142. - description: 页码
  28143. in: query
  28144. name: page
  28145. type: integer
  28146. - description: 每页条数
  28147. in: query
  28148. name: pagesize
  28149. type: integer
  28150. - description: 客户名称,支持模糊查询
  28151. in: query
  28152. name: userName
  28153. type: string
  28154. produces:
  28155. - application/json
  28156. responses:
  28157. "200":
  28158. description: OK
  28159. schema:
  28160. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  28161. "500":
  28162. description: Internal Server Error
  28163. schema:
  28164. $ref: '#/definitions/app.Response'
  28165. security:
  28166. - ApiKeyAuth: []
  28167. summary: 客户申请信息查询
  28168. tags:
  28169. - 风险管理v3
  28170. /Erms3/QueryUserInfos:
  28171. get:
  28172. parameters:
  28173. - description: 页码
  28174. in: query
  28175. name: page
  28176. type: integer
  28177. - description: 每页条数
  28178. in: query
  28179. name: pagesize
  28180. type: integer
  28181. - description: 客户名称,支持模糊查询
  28182. in: query
  28183. name: userName
  28184. type: string
  28185. produces:
  28186. - application/json
  28187. responses:
  28188. "200":
  28189. description: OK
  28190. schema:
  28191. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  28192. "500":
  28193. description: Internal Server Error
  28194. schema:
  28195. $ref: '#/definitions/app.Response'
  28196. security:
  28197. - ApiKeyAuth: []
  28198. summary: 客户信息查询
  28199. tags:
  28200. - 风险管理v3
  28201. /Ferroalloy/GetSpotGoodsPrice:
  28202. get:
  28203. parameters:
  28204. - description: 页码
  28205. in: query
  28206. name: page
  28207. type: integer
  28208. - description: 每页条数
  28209. in: query
  28210. name: pagesize
  28211. type: integer
  28212. produces:
  28213. - application/json
  28214. responses:
  28215. "200":
  28216. description: OK
  28217. schema:
  28218. items:
  28219. $ref: '#/definitions/models.GErmcpspotgoodsprice'
  28220. type: array
  28221. "500":
  28222. description: Internal Server Error
  28223. schema:
  28224. $ref: '#/definitions/app.Response'
  28225. security:
  28226. - ApiKeyAuth: []
  28227. summary: 获取现货行情
  28228. tags:
  28229. - 铁合金
  28230. /Ferroalloy/Signin:
  28231. post:
  28232. parameters:
  28233. - description: 用户签到请求
  28234. in: body
  28235. name: jsonBody
  28236. required: true
  28237. schema:
  28238. $ref: '#/definitions/models.THJSigninReq'
  28239. produces:
  28240. - application/json
  28241. responses:
  28242. "200":
  28243. description: OK
  28244. schema:
  28245. $ref: '#/definitions/app.Response'
  28246. "500":
  28247. description: Internal Server Error
  28248. schema:
  28249. $ref: '#/definitions/app.Response'
  28250. security:
  28251. - ApiKeyAuth: []
  28252. summary: 用户签到
  28253. tags:
  28254. - 铁合金
  28255. /Guangzuan/GZBSFWOrderOperate:
  28256. get:
  28257. parameters:
  28258. - description: 单据ID
  28259. in: query
  28260. name: orderid
  28261. required: true
  28262. type: integer
  28263. produces:
  28264. - application/json
  28265. responses:
  28266. "200":
  28267. description: OK
  28268. schema:
  28269. items:
  28270. $ref: '#/definitions/models.Gzbsfworderoperate'
  28271. type: array
  28272. "500":
  28273. description: Internal Server Error
  28274. schema:
  28275. $ref: '#/definitions/app.Response'
  28276. security:
  28277. - ApiKeyAuth: []
  28278. - LoginID: []
  28279. - Group: []
  28280. summary: 保税服务单据操作信息
  28281. tags:
  28282. - 广钻
  28283. /Guangzuan/GetGoods:
  28284. get:
  28285. parameters:
  28286. - description: 商品编号
  28287. in: query
  28288. name: goodsno
  28289. required: true
  28290. type: string
  28291. produces:
  28292. - application/json
  28293. responses:
  28294. "200":
  28295. description: OK
  28296. schema:
  28297. $ref: '#/definitions/models.GZGoods'
  28298. "500":
  28299. description: Internal Server Error
  28300. schema:
  28301. $ref: '#/definitions/app.Response'
  28302. security:
  28303. - ApiKeyAuth: []
  28304. - LoginID: []
  28305. - Group: []
  28306. summary: 获取钻石详情
  28307. tags:
  28308. - 广钻
  28309. /Guangzuan/GzCertAddressConfig:
  28310. get:
  28311. produces:
  28312. - application/json
  28313. responses:
  28314. "200":
  28315. description: OK
  28316. schema:
  28317. items:
  28318. $ref: '#/definitions/models.Gzcertaddressconfig'
  28319. type: array
  28320. "500":
  28321. description: Internal Server Error
  28322. schema:
  28323. $ref: '#/definitions/app.Response'
  28324. security:
  28325. - ApiKeyAuth: []
  28326. - LoginID: []
  28327. - Group: []
  28328. summary: Rapaport最新报价表(广钻)
  28329. tags:
  28330. - 广钻
  28331. /Guangzuan/GzCertAddressParam:
  28332. get:
  28333. produces:
  28334. - application/json
  28335. responses:
  28336. "200":
  28337. description: OK
  28338. schema:
  28339. items:
  28340. $ref: '#/definitions/models.Gzcertaddressparam'
  28341. type: array
  28342. "500":
  28343. description: Internal Server Error
  28344. schema:
  28345. $ref: '#/definitions/app.Response'
  28346. security:
  28347. - ApiKeyAuth: []
  28348. - LoginID: []
  28349. - Group: []
  28350. summary: 钻石证书地址参数
  28351. tags:
  28352. - 广钻
  28353. /Guangzuan/HomeData:
  28354. get:
  28355. parameters:
  28356. - description: 用户ID
  28357. in: query
  28358. name: userid
  28359. required: true
  28360. type: integer
  28361. produces:
  28362. - application/json
  28363. responses:
  28364. "200":
  28365. description: OK
  28366. schema:
  28367. $ref: '#/definitions/models.GZHomeData'
  28368. "500":
  28369. description: Internal Server Error
  28370. schema:
  28371. $ref: '#/definitions/app.Response'
  28372. security:
  28373. - ApiKeyAuth: []
  28374. - LoginID: []
  28375. - Group: []
  28376. summary: 首页统计数据
  28377. tags:
  28378. - 广钻
  28379. /Guangzuan/PriceCalc:
  28380. get:
  28381. parameters:
  28382. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  28383. in: query
  28384. name: zsshape
  28385. required: true
  28386. type: integer
  28387. - description: 颜色(D-M)
  28388. in: query
  28389. name: zscolor
  28390. required: true
  28391. type: string
  28392. - description: 净度
  28393. in: query
  28394. name: zsclarity
  28395. required: true
  28396. type: string
  28397. - description: 重量
  28398. in: query
  28399. name: weight
  28400. required: true
  28401. type: number
  28402. - description: 汇率
  28403. in: query
  28404. name: rate
  28405. required: true
  28406. type: number
  28407. - description: 折扣(%), 方向(加:10, 减:-10 )
  28408. in: query
  28409. name: discount
  28410. type: number
  28411. produces:
  28412. - application/json
  28413. responses:
  28414. "200":
  28415. description: OK
  28416. schema:
  28417. items:
  28418. $ref: '#/definitions/models.Gzrapaportprice'
  28419. type: array
  28420. "500":
  28421. description: Internal Server Error
  28422. schema:
  28423. $ref: '#/definitions/app.Response'
  28424. security:
  28425. - ApiKeyAuth: []
  28426. - LoginID: []
  28427. - Group: []
  28428. summary: 钻石价格计算器
  28429. tags:
  28430. - 广钻
  28431. /Guangzuan/QueryBuyOrder:
  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: 商品(查询字段-模糊查询)
  28443. in: query
  28444. name: zsallproperties
  28445. type: string
  28446. - description: 钻石分类, 格式:1,2,3
  28447. in: query
  28448. name: zscategorys
  28449. type: string
  28450. - description: 委托单号
  28451. in: query
  28452. name: wrtradeorderid
  28453. type: integer
  28454. - description: 买方(查询字段-模糊查询)
  28455. in: query
  28456. name: buyusername
  28457. type: string
  28458. produces:
  28459. - application/json
  28460. responses:
  28461. "200":
  28462. description: OK
  28463. schema:
  28464. items:
  28465. $ref: '#/definitions/models.BuyOrder'
  28466. type: array
  28467. "500":
  28468. description: Internal Server Error
  28469. schema:
  28470. $ref: '#/definitions/app.Response'
  28471. security:
  28472. - ApiKeyAuth: []
  28473. - LoginID: []
  28474. - Group: []
  28475. summary: 查询求购大厅委托单
  28476. tags:
  28477. - 广钻
  28478. /Guangzuan/QueryDiamond:
  28479. post:
  28480. parameters:
  28481. - description: 钻石搜索入参
  28482. in: body
  28483. name: data
  28484. required: true
  28485. schema:
  28486. $ref: '#/definitions/models.SellOrderQueryReq'
  28487. produces:
  28488. - application/json
  28489. responses:
  28490. "200":
  28491. description: OK
  28492. schema:
  28493. items:
  28494. $ref: '#/definitions/models.SellOrder'
  28495. type: array
  28496. "500":
  28497. description: Internal Server Error
  28498. schema:
  28499. $ref: '#/definitions/app.Response'
  28500. security:
  28501. - ApiKeyAuth: []
  28502. - LoginID: []
  28503. - Group: []
  28504. summary: 钻石搜索
  28505. tags:
  28506. - 广钻
  28507. /Guangzuan/QueryGZBSFWOrder:
  28508. get:
  28509. parameters:
  28510. - description: 用户ID
  28511. in: query
  28512. name: userid
  28513. required: true
  28514. type: integer
  28515. - description: 页码
  28516. in: query
  28517. name: page
  28518. type: integer
  28519. - description: 每页条数
  28520. in: query
  28521. name: pagesize
  28522. type: integer
  28523. produces:
  28524. - application/json
  28525. responses:
  28526. "200":
  28527. description: OK
  28528. schema:
  28529. items:
  28530. $ref: '#/definitions/models.GzbsfworderM'
  28531. type: array
  28532. "500":
  28533. description: Internal Server Error
  28534. schema:
  28535. $ref: '#/definitions/app.Response'
  28536. security:
  28537. - ApiKeyAuth: []
  28538. - LoginID: []
  28539. - Group: []
  28540. summary: 查询保税服务单据
  28541. tags:
  28542. - 广钻
  28543. /Guangzuan/QueryGZBSFWOrderDetail:
  28544. get:
  28545. parameters:
  28546. - description: 用户ID
  28547. in: query
  28548. name: userid
  28549. required: true
  28550. type: integer
  28551. - description: 单据ID
  28552. in: query
  28553. name: orderid
  28554. type: integer
  28555. - description: 页码
  28556. in: query
  28557. name: page
  28558. type: integer
  28559. - description: 每页条数
  28560. in: query
  28561. name: pagesize
  28562. type: integer
  28563. produces:
  28564. - application/json
  28565. responses:
  28566. "200":
  28567. description: OK
  28568. schema:
  28569. items:
  28570. $ref: '#/definitions/models.GzbsfworderdetailM'
  28571. type: array
  28572. "500":
  28573. description: Internal Server Error
  28574. schema:
  28575. $ref: '#/definitions/app.Response'
  28576. security:
  28577. - ApiKeyAuth: []
  28578. - LoginID: []
  28579. - Group: []
  28580. summary: 查询保税服务单据明细
  28581. tags:
  28582. - 广钻
  28583. /Guangzuan/QueryGZCJBSOrderFile:
  28584. get:
  28585. parameters:
  28586. - description: 单据ID
  28587. in: query
  28588. name: orderid
  28589. required: true
  28590. type: integer
  28591. - description: 页码
  28592. in: query
  28593. name: page
  28594. type: integer
  28595. - description: 每页条数
  28596. in: query
  28597. name: pagesize
  28598. type: integer
  28599. produces:
  28600. - application/json
  28601. responses:
  28602. "200":
  28603. description: OK
  28604. schema:
  28605. items:
  28606. $ref: '#/definitions/models.GzcjbsorderfileM'
  28607. type: array
  28608. "500":
  28609. description: Internal Server Error
  28610. schema:
  28611. $ref: '#/definitions/app.Response'
  28612. security:
  28613. - ApiKeyAuth: []
  28614. - LoginID: []
  28615. - Group: []
  28616. summary: 出境保税单据文件
  28617. tags:
  28618. - 广钻
  28619. /Guangzuan/QueryGZCJJCOrder:
  28620. get:
  28621. parameters:
  28622. - description: 用户ID
  28623. in: query
  28624. name: userid
  28625. required: true
  28626. type: integer
  28627. - description: 页码
  28628. in: query
  28629. name: page
  28630. type: integer
  28631. - description: 每页条数
  28632. in: query
  28633. name: pagesize
  28634. type: integer
  28635. produces:
  28636. - application/json
  28637. responses:
  28638. "200":
  28639. description: OK
  28640. schema:
  28641. items:
  28642. $ref: '#/definitions/models.GzcjjcorderM'
  28643. type: array
  28644. "500":
  28645. description: Internal Server Error
  28646. schema:
  28647. $ref: '#/definitions/app.Response'
  28648. security:
  28649. - ApiKeyAuth: []
  28650. - LoginID: []
  28651. - Group: []
  28652. summary: 查询出境检测单据
  28653. tags:
  28654. - 广钻
  28655. /Guangzuan/QueryGZCJJCOrderDetail:
  28656. get:
  28657. parameters:
  28658. - description: 用户ID
  28659. in: query
  28660. name: userid
  28661. required: true
  28662. type: integer
  28663. - description: 单据ID
  28664. in: query
  28665. name: orderid
  28666. type: integer
  28667. - description: 页码
  28668. in: query
  28669. name: page
  28670. type: integer
  28671. - description: 每页条数
  28672. in: query
  28673. name: pagesize
  28674. type: integer
  28675. produces:
  28676. - application/json
  28677. responses:
  28678. "200":
  28679. description: OK
  28680. schema:
  28681. items:
  28682. $ref: '#/definitions/models.GzcjjcorderdetailM'
  28683. type: array
  28684. "500":
  28685. description: Internal Server Error
  28686. schema:
  28687. $ref: '#/definitions/app.Response'
  28688. security:
  28689. - ApiKeyAuth: []
  28690. - LoginID: []
  28691. - Group: []
  28692. summary: 查询出境检测单据明细(批次信息)
  28693. tags:
  28694. - 广钻
  28695. /Guangzuan/QueryMemberReport:
  28696. get:
  28697. parameters:
  28698. - description: 用户ID
  28699. in: query
  28700. name: userid
  28701. required: true
  28702. type: integer
  28703. - description: 页码
  28704. in: query
  28705. name: page
  28706. type: integer
  28707. - description: 每页条数
  28708. in: query
  28709. name: pagesize
  28710. type: integer
  28711. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  28712. in: query
  28713. name: cycletype
  28714. type: string
  28715. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  28716. in: query
  28717. name: begindate
  28718. required: true
  28719. type: string
  28720. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  28721. in: query
  28722. name: enddate
  28723. required: true
  28724. type: string
  28725. produces:
  28726. - application/json
  28727. responses:
  28728. "200":
  28729. description: OK
  28730. schema:
  28731. items:
  28732. $ref: '#/definitions/models.Reckondaytaaccount'
  28733. type: array
  28734. "500":
  28735. description: Internal Server Error
  28736. schema:
  28737. $ref: '#/definitions/app.Response'
  28738. security:
  28739. - ApiKeyAuth: []
  28740. - LoginID: []
  28741. - Group: []
  28742. summary: 查询会员报表
  28743. tags:
  28744. - 广钻
  28745. /Guangzuan/QueryMyBargainApply:
  28746. get:
  28747. parameters:
  28748. - description: 用户ID
  28749. in: query
  28750. name: userid
  28751. required: true
  28752. type: integer
  28753. - description: 页码
  28754. in: query
  28755. name: page
  28756. type: integer
  28757. - description: 每页条数
  28758. in: query
  28759. name: pagesize
  28760. type: integer
  28761. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  28762. in: query
  28763. name: applystatus
  28764. type: integer
  28765. - description: 查询类型 - 0:我的询价 1:我订单的询价
  28766. in: query
  28767. name: type
  28768. type: integer
  28769. - description: 关联委托单ID
  28770. in: query
  28771. name: wrtradeorderid
  28772. type: string
  28773. produces:
  28774. - application/json
  28775. responses:
  28776. "200":
  28777. description: OK
  28778. schema:
  28779. items:
  28780. $ref: '#/definitions/models.MyBargainApply'
  28781. type: array
  28782. "500":
  28783. description: Internal Server Error
  28784. schema:
  28785. $ref: '#/definitions/app.Response'
  28786. security:
  28787. - ApiKeyAuth: []
  28788. - LoginID: []
  28789. - Group: []
  28790. summary: 查询询价-求购
  28791. tags:
  28792. - 广钻
  28793. /Guangzuan/QueryMyBuyOrder:
  28794. get:
  28795. parameters:
  28796. - description: 用户ID
  28797. in: query
  28798. name: userid
  28799. required: true
  28800. type: integer
  28801. - description: 页码
  28802. in: query
  28803. name: page
  28804. type: integer
  28805. - description: 每页条数
  28806. in: query
  28807. name: pagesize
  28808. type: integer
  28809. - description: 商品(查询字段-模糊查询)
  28810. in: query
  28811. name: zsallproperties
  28812. type: string
  28813. - description: 钻石分类, 格式:1,2,3
  28814. in: query
  28815. name: zscategorys
  28816. type: string
  28817. - description: 委托单号
  28818. in: query
  28819. name: wrtradeorderid
  28820. type: integer
  28821. - description: 是否历史查询
  28822. in: query
  28823. name: ishis
  28824. type: boolean
  28825. - description: 开始交易日(yyyymmdd)
  28826. in: query
  28827. name: begindate
  28828. type: string
  28829. - description: 结束交易日(yyyymmdd)
  28830. in: query
  28831. name: enddate
  28832. type: string
  28833. produces:
  28834. - application/json
  28835. responses:
  28836. "200":
  28837. description: OK
  28838. schema:
  28839. items:
  28840. $ref: '#/definitions/models.MyBuyOrder'
  28841. type: array
  28842. "500":
  28843. description: Internal Server Error
  28844. schema:
  28845. $ref: '#/definitions/app.Response'
  28846. security:
  28847. - ApiKeyAuth: []
  28848. - LoginID: []
  28849. - Group: []
  28850. summary: 查询我的求购
  28851. tags:
  28852. - 广钻
  28853. /Guangzuan/QueryMyDeListing:
  28854. get:
  28855. parameters:
  28856. - description: 用户ID
  28857. in: query
  28858. name: userid
  28859. required: true
  28860. type: integer
  28861. - description: 页码
  28862. in: query
  28863. name: page
  28864. type: integer
  28865. - description: 每页条数
  28866. in: query
  28867. name: pagesize
  28868. type: integer
  28869. - description: 商品(查询字段-模糊查询)
  28870. in: query
  28871. name: zsallproperties
  28872. type: string
  28873. - description: 钻石分类, 格式:1,2,3
  28874. in: query
  28875. name: zscategorys
  28876. type: string
  28877. - description: 成交单号
  28878. in: query
  28879. name: wrtradedetailid
  28880. type: integer
  28881. - description: 方向,0-购买 1-出售
  28882. in: query
  28883. name: buyorsell
  28884. type: integer
  28885. - description: 对手方(模糊匹配)
  28886. in: query
  28887. name: matchusername
  28888. type: string
  28889. - description: 开始交易日(yyyymmdd)
  28890. in: query
  28891. name: begindate
  28892. type: string
  28893. - description: 结束交易日(yyyymmdd)
  28894. in: query
  28895. name: enddate
  28896. type: string
  28897. produces:
  28898. - application/json
  28899. responses:
  28900. "200":
  28901. description: OK
  28902. schema:
  28903. items:
  28904. $ref: '#/definitions/models.MyDeListing'
  28905. type: array
  28906. "500":
  28907. description: Internal Server Error
  28908. schema:
  28909. $ref: '#/definitions/app.Response'
  28910. security:
  28911. - ApiKeyAuth: []
  28912. - LoginID: []
  28913. - Group: []
  28914. summary: 查询我的摘牌
  28915. tags:
  28916. - 广钻
  28917. /Guangzuan/QueryMyDelistingApply:
  28918. get:
  28919. parameters:
  28920. - description: 用户ID
  28921. in: query
  28922. name: userid
  28923. required: true
  28924. type: integer
  28925. - description: 页码
  28926. in: query
  28927. name: page
  28928. type: integer
  28929. - description: 每页条数
  28930. in: query
  28931. name: pagesize
  28932. type: integer
  28933. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  28934. in: query
  28935. name: applystatus
  28936. type: integer
  28937. - description: 查询类型 - 0:我的询价 1:我订单的询价
  28938. in: query
  28939. name: type
  28940. type: integer
  28941. - description: 买委托单ID
  28942. in: query
  28943. name: buywrtradeorderid
  28944. type: string
  28945. produces:
  28946. - application/json
  28947. responses:
  28948. "200":
  28949. description: OK
  28950. schema:
  28951. items:
  28952. $ref: '#/definitions/models.MyDelistingApply'
  28953. type: array
  28954. "500":
  28955. description: Internal Server Error
  28956. schema:
  28957. $ref: '#/definitions/app.Response'
  28958. security:
  28959. - ApiKeyAuth: []
  28960. - LoginID: []
  28961. - Group: []
  28962. summary: 查询询价-出售
  28963. tags:
  28964. - 广钻
  28965. /Guangzuan/QueryMyFavorite:
  28966. get:
  28967. parameters:
  28968. - description: 用户ID
  28969. in: query
  28970. name: userid
  28971. required: true
  28972. type: integer
  28973. - description: 页码
  28974. in: query
  28975. name: page
  28976. type: integer
  28977. - description: 每页条数
  28978. in: query
  28979. name: pagesize
  28980. type: integer
  28981. - description: 钻石分类, 格式:1,2,3
  28982. in: query
  28983. name: zscategorys
  28984. type: string
  28985. produces:
  28986. - application/json
  28987. responses:
  28988. "200":
  28989. description: OK
  28990. schema:
  28991. items:
  28992. $ref: '#/definitions/models.MyFavorite'
  28993. type: array
  28994. "500":
  28995. description: Internal Server Error
  28996. schema:
  28997. $ref: '#/definitions/app.Response'
  28998. security:
  28999. - ApiKeyAuth: []
  29000. - LoginID: []
  29001. - Group: []
  29002. summary: 查询我的收藏
  29003. tags:
  29004. - 广钻
  29005. /Guangzuan/QueryMyPerformanc:
  29006. get:
  29007. parameters:
  29008. - description: 用户ID
  29009. in: query
  29010. name: userid
  29011. required: true
  29012. type: integer
  29013. - description: 页码
  29014. in: query
  29015. name: page
  29016. type: integer
  29017. - description: 每页条数
  29018. in: query
  29019. name: pagesize
  29020. type: integer
  29021. - description: 商品(查询字段-模糊查询)
  29022. in: query
  29023. name: zsallproperties
  29024. type: string
  29025. - description: 方向,0-买 1-卖
  29026. in: query
  29027. name: buyorsell
  29028. type: integer
  29029. - description: 是否历史查询
  29030. in: query
  29031. name: ishis
  29032. type: boolean
  29033. - description: 开始交易日(yyyymmdd)
  29034. in: query
  29035. name: begindate
  29036. type: string
  29037. - description: 结束交易日(yyyymmdd)
  29038. in: query
  29039. name: enddate
  29040. type: string
  29041. produces:
  29042. - application/json
  29043. responses:
  29044. "200":
  29045. description: OK
  29046. schema:
  29047. items:
  29048. $ref: '#/definitions/models.MyPerformanc'
  29049. type: array
  29050. "500":
  29051. description: Internal Server Error
  29052. schema:
  29053. $ref: '#/definitions/app.Response'
  29054. security:
  29055. - ApiKeyAuth: []
  29056. - LoginID: []
  29057. - Group: []
  29058. summary: 查询我的履约
  29059. tags:
  29060. - 广钻
  29061. /Guangzuan/QueryMySellOrder:
  29062. get:
  29063. parameters:
  29064. - description: 用户ID
  29065. in: query
  29066. name: userid
  29067. required: true
  29068. type: integer
  29069. - description: 页码
  29070. in: query
  29071. name: page
  29072. type: integer
  29073. - description: 每页条数
  29074. in: query
  29075. name: pagesize
  29076. type: integer
  29077. - description: 商品(查询字段-模糊查询)
  29078. in: query
  29079. name: zsallproperties
  29080. type: string
  29081. - description: 钻石分类, 格式:1,2,3
  29082. in: query
  29083. name: zscategorys
  29084. type: string
  29085. - description: 委托单号
  29086. in: query
  29087. name: wrtradeorderid
  29088. type: integer
  29089. - description: 是否历史查询
  29090. in: query
  29091. name: ishis
  29092. type: boolean
  29093. - description: 开始交易日(yyyymmdd)
  29094. in: query
  29095. name: begindate
  29096. type: string
  29097. - description: 结束交易日(yyyymmdd)
  29098. in: query
  29099. name: enddate
  29100. type: string
  29101. produces:
  29102. - application/json
  29103. responses:
  29104. "200":
  29105. description: OK
  29106. schema:
  29107. items:
  29108. $ref: '#/definitions/models.MySellOrder'
  29109. type: array
  29110. "500":
  29111. description: Internal Server Error
  29112. schema:
  29113. $ref: '#/definitions/app.Response'
  29114. security:
  29115. - ApiKeyAuth: []
  29116. - LoginID: []
  29117. - Group: []
  29118. summary: 查询我的出售
  29119. tags:
  29120. - 广钻
  29121. /Guangzuan/QueryMyWRPosition:
  29122. get:
  29123. parameters:
  29124. - description: 页码
  29125. in: query
  29126. name: page
  29127. type: integer
  29128. - description: 每页条数
  29129. in: query
  29130. name: pagesize
  29131. type: integer
  29132. - description: 登录用户ID
  29133. in: query
  29134. name: wruserid
  29135. required: true
  29136. type: integer
  29137. - description: 商品(查询字段-模糊查询)
  29138. in: query
  29139. name: zsallproperties
  29140. type: string
  29141. - description: 钻石分类, 格式:1,2,3
  29142. in: query
  29143. name: zscategorys
  29144. type: string
  29145. - description: 仓库ID
  29146. in: query
  29147. name: warehouseid
  29148. type: integer
  29149. - description: 是否上架,0-全部 1-是 2-否
  29150. in: query
  29151. name: marketflag
  29152. type: integer
  29153. produces:
  29154. - application/json
  29155. responses:
  29156. "200":
  29157. description: OK
  29158. schema:
  29159. items:
  29160. $ref: '#/definitions/models.MyWRPosition'
  29161. type: array
  29162. "500":
  29163. description: Internal Server Error
  29164. schema:
  29165. $ref: '#/definitions/app.Response'
  29166. security:
  29167. - ApiKeyAuth: []
  29168. - LoginID: []
  29169. - Group: []
  29170. summary: 查询我的库存
  29171. tags:
  29172. - 广钻
  29173. /Guangzuan/QuerySellOrder:
  29174. get:
  29175. parameters:
  29176. - description: 页码
  29177. in: query
  29178. name: page
  29179. type: integer
  29180. - description: 每页条数
  29181. in: query
  29182. name: pagesize
  29183. type: integer
  29184. - description: 商品(查询字段-模糊查询)
  29185. in: query
  29186. name: zsallproperties
  29187. type: string
  29188. - description: 钻石分类, 格式:1,2,3
  29189. in: query
  29190. name: zscategorys
  29191. type: string
  29192. - description: 委托单号
  29193. in: query
  29194. name: wrtradeorderid
  29195. type: integer
  29196. - description: 卖方(查询字段-模糊查询)
  29197. in: query
  29198. name: buyusername
  29199. type: string
  29200. produces:
  29201. - application/json
  29202. responses:
  29203. "200":
  29204. description: OK
  29205. schema:
  29206. items:
  29207. $ref: '#/definitions/models.SellOrder'
  29208. type: array
  29209. "500":
  29210. description: Internal Server Error
  29211. schema:
  29212. $ref: '#/definitions/app.Response'
  29213. security:
  29214. - ApiKeyAuth: []
  29215. - LoginID: []
  29216. - Group: []
  29217. summary: 查询出售大厅委托单
  29218. tags:
  29219. - 广钻
  29220. /Guangzuan/QueryTradeReport:
  29221. get:
  29222. parameters:
  29223. - description: 用户ID
  29224. in: query
  29225. name: userid
  29226. required: true
  29227. type: integer
  29228. - description: 页码
  29229. in: query
  29230. name: page
  29231. type: integer
  29232. - description: 每页条数
  29233. in: query
  29234. name: pagesize
  29235. type: integer
  29236. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  29237. in: query
  29238. name: cycletype
  29239. type: string
  29240. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29241. in: query
  29242. name: begindate
  29243. required: true
  29244. type: string
  29245. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29246. in: query
  29247. name: enddate
  29248. required: true
  29249. type: string
  29250. - description: 商品分类
  29251. in: query
  29252. name: zscategory
  29253. type: integer
  29254. - description: 商品币种
  29255. in: query
  29256. name: zscurrencytype
  29257. type: integer
  29258. produces:
  29259. - application/json
  29260. responses:
  29261. "200":
  29262. description: OK
  29263. schema:
  29264. items:
  29265. $ref: '#/definitions/models.Reckongzmemtradesum'
  29266. type: array
  29267. "500":
  29268. description: Internal Server Error
  29269. schema:
  29270. $ref: '#/definitions/app.Response'
  29271. security:
  29272. - ApiKeyAuth: []
  29273. - LoginID: []
  29274. - Group: []
  29275. summary: 查询交易报表
  29276. tags:
  29277. - 广钻
  29278. /Guangzuan/QueryWRPositionReport:
  29279. get:
  29280. parameters:
  29281. - description: 用户ID
  29282. in: query
  29283. name: userid
  29284. required: true
  29285. type: integer
  29286. - description: 页码
  29287. in: query
  29288. name: page
  29289. type: integer
  29290. - description: 每页条数
  29291. in: query
  29292. name: pagesize
  29293. type: integer
  29294. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  29295. in: query
  29296. name: cycletype
  29297. type: string
  29298. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29299. in: query
  29300. name: begindate
  29301. required: true
  29302. type: string
  29303. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29304. in: query
  29305. name: enddate
  29306. required: true
  29307. type: string
  29308. - description: 商品分类
  29309. in: query
  29310. name: zscategory
  29311. type: integer
  29312. - description: 商品币种
  29313. in: query
  29314. name: zscurrencytype
  29315. type: integer
  29316. produces:
  29317. - application/json
  29318. responses:
  29319. "200":
  29320. description: OK
  29321. schema:
  29322. items:
  29323. $ref: '#/definitions/models.WRPositionReport'
  29324. type: array
  29325. "500":
  29326. description: Internal Server Error
  29327. schema:
  29328. $ref: '#/definitions/app.Response'
  29329. security:
  29330. - ApiKeyAuth: []
  29331. - LoginID: []
  29332. - Group: []
  29333. summary: 查询仓储报表
  29334. tags:
  29335. - 广钻
  29336. /Guangzuan/QueryWarehouseInfo:
  29337. get:
  29338. parameters:
  29339. - description: 页码
  29340. in: query
  29341. name: page
  29342. type: integer
  29343. - description: 每页条数
  29344. in: query
  29345. name: pagesize
  29346. type: integer
  29347. - description: 用户ID
  29348. in: query
  29349. name: userid
  29350. required: true
  29351. type: integer
  29352. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  29353. in: query
  29354. name: status
  29355. type: string
  29356. - description: 是返回交易所仓库
  29357. in: query
  29358. name: isincludeexchange
  29359. type: boolean
  29360. produces:
  29361. - application/json
  29362. responses:
  29363. "200":
  29364. description: OK
  29365. schema:
  29366. items:
  29367. $ref: '#/definitions/models.GZWarehouseinfo'
  29368. type: array
  29369. "500":
  29370. description: Internal Server Error
  29371. schema:
  29372. $ref: '#/definitions/app.Response'
  29373. security:
  29374. - ApiKeyAuth: []
  29375. - LoginID: []
  29376. - Group: []
  29377. summary: 查询仓库信息
  29378. tags:
  29379. - 广钻
  29380. /Market/GetAllExExchanges:
  29381. get:
  29382. produces:
  29383. - application/json
  29384. responses:
  29385. "200":
  29386. description: OK
  29387. schema:
  29388. $ref: '#/definitions/models.Goods'
  29389. "500":
  29390. description: Internal Server Error
  29391. schema:
  29392. $ref: '#/definitions/app.Response'
  29393. security:
  29394. - ApiKeyAuth: []
  29395. summary: 获取所有外部交易所信息
  29396. tags:
  29397. - 通用市场
  29398. /Market/QueryGoodsesByLoginID:
  29399. get:
  29400. parameters:
  29401. - description: 登录账号
  29402. in: query
  29403. name: loginID
  29404. required: true
  29405. type: integer
  29406. - description: 市场ID列表,格式:1,2,3
  29407. in: query
  29408. name: marketIDs
  29409. type: string
  29410. produces:
  29411. - application/json
  29412. responses:
  29413. "200":
  29414. description: OK
  29415. schema:
  29416. $ref: '#/definitions/models.Goods'
  29417. "500":
  29418. description: Internal Server Error
  29419. schema:
  29420. $ref: '#/definitions/app.Response'
  29421. security:
  29422. - ApiKeyAuth: []
  29423. summary: 获取登录账号有权限的商品信息
  29424. tags:
  29425. - 通用市场
  29426. /Market/QueryMarketRun:
  29427. get:
  29428. parameters:
  29429. - description: 市场ID,不传返回所有
  29430. in: query
  29431. name: marketID
  29432. type: integer
  29433. produces:
  29434. - application/json
  29435. responses:
  29436. "200":
  29437. description: OK
  29438. schema:
  29439. $ref: '#/definitions/models.Marketrun'
  29440. "500":
  29441. description: Internal Server Error
  29442. schema:
  29443. $ref: '#/definitions/app.Response'
  29444. security:
  29445. - ApiKeyAuth: []
  29446. summary: 查询市场运行信息
  29447. tags:
  29448. - 通用市场
  29449. /Market/QueryMarketsByLoginID:
  29450. get:
  29451. parameters:
  29452. - description: 登录账号
  29453. in: query
  29454. name: loginID
  29455. required: true
  29456. type: integer
  29457. produces:
  29458. - application/json
  29459. responses:
  29460. "200":
  29461. description: OK
  29462. schema:
  29463. $ref: '#/definitions/models.Market'
  29464. "500":
  29465. description: Internal Server Error
  29466. schema:
  29467. $ref: '#/definitions/app.Response'
  29468. security:
  29469. - ApiKeyAuth: []
  29470. summary: 获取登录账号有权限的市场信息
  29471. tags:
  29472. - 通用市场
  29473. /Order/QueryHisTradeDetail:
  29474. get:
  29475. parameters:
  29476. - description: 资金账户 - 格式:1,2,3
  29477. in: query
  29478. name: accountID
  29479. required: true
  29480. type: string
  29481. - description: 成交单号
  29482. in: query
  29483. name: tradeID
  29484. type: integer
  29485. - description: 委托单号
  29486. in: query
  29487. name: orderID
  29488. type: integer
  29489. - description: 商品ID
  29490. in: query
  29491. name: goodsID
  29492. type: integer
  29493. - description: 交易模式 - 格式:1,2,3
  29494. in: query
  29495. name: tradeMode
  29496. type: string
  29497. - description: 委托单据类型
  29498. in: query
  29499. name: buildType
  29500. type: integer
  29501. - description: 成交类别 - 格式:1,2,3
  29502. in: query
  29503. name: tradeType
  29504. type: string
  29505. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  29506. in: query
  29507. name: startDate
  29508. type: string
  29509. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  29510. in: query
  29511. name: endDate
  29512. type: string
  29513. produces:
  29514. - application/json
  29515. responses:
  29516. "200":
  29517. description: OK
  29518. schema:
  29519. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  29520. "500":
  29521. description: Internal Server Error
  29522. schema:
  29523. $ref: '#/definitions/app.Response'
  29524. security:
  29525. - ApiKeyAuth: []
  29526. summary: 历史成交单查询(合约市场)
  29527. tags:
  29528. - 通用单据
  29529. /Order/QueryHisTradeOrderDetail:
  29530. get:
  29531. parameters:
  29532. - description: 资金账户 - 格式:1,2,3
  29533. in: query
  29534. name: accountID
  29535. required: true
  29536. type: string
  29537. - description: 交易模式 - 格式:1,2,3
  29538. in: query
  29539. name: tradeMode
  29540. type: string
  29541. - description: 委托状态 - 格式:1,2,3
  29542. in: query
  29543. name: orderStatus
  29544. type: string
  29545. - description: 委托单号
  29546. in: query
  29547. name: orderID
  29548. type: integer
  29549. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  29550. in: query
  29551. name: startDate
  29552. type: string
  29553. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  29554. in: query
  29555. name: endDate
  29556. type: string
  29557. produces:
  29558. - application/json
  29559. responses:
  29560. "200":
  29561. description: OK
  29562. schema:
  29563. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  29564. "500":
  29565. description: Internal Server Error
  29566. schema:
  29567. $ref: '#/definitions/app.Response'
  29568. security:
  29569. - ApiKeyAuth: []
  29570. summary: 历史委托单查询请求(合约市场)
  29571. tags:
  29572. - 通用单据
  29573. /Order/QueryTradeDetail:
  29574. get:
  29575. parameters:
  29576. - description: 资金账户 - 格式:1,2,3
  29577. in: query
  29578. name: accountID
  29579. required: true
  29580. type: string
  29581. - description: 成交单号
  29582. in: query
  29583. name: tradeID
  29584. type: integer
  29585. - description: 委托单号
  29586. in: query
  29587. name: orderID
  29588. type: integer
  29589. - description: 交易模式 - 格式:1,2,3
  29590. in: query
  29591. name: tradeMode
  29592. type: string
  29593. - description: 委托单据类型
  29594. in: query
  29595. name: buildType
  29596. type: integer
  29597. - description: 成交类别 - 格式:1,2,3
  29598. in: query
  29599. name: tradeType
  29600. type: string
  29601. - description: 商品ID
  29602. in: query
  29603. name: goodsID
  29604. type: integer
  29605. produces:
  29606. - application/json
  29607. responses:
  29608. "200":
  29609. description: OK
  29610. schema:
  29611. $ref: '#/definitions/order.QueryTradeDetailRsp'
  29612. "500":
  29613. description: Internal Server Error
  29614. schema:
  29615. $ref: '#/definitions/app.Response'
  29616. security:
  29617. - ApiKeyAuth: []
  29618. summary: 成交单查询(合约市场)
  29619. tags:
  29620. - 通用单据
  29621. /Order/QueryTradeHolderDetail:
  29622. get:
  29623. parameters:
  29624. - description: 用户id
  29625. in: query
  29626. name: userid
  29627. type: integer
  29628. - description: 资金账号, 格式 1,2,3
  29629. in: query
  29630. name: accids
  29631. type: string
  29632. - description: 交易模式, 格式 1,2,3
  29633. in: query
  29634. name: trademodes
  29635. type: string
  29636. - description: 市场id, 格式 1,2,3
  29637. in: query
  29638. name: marketids
  29639. type: string
  29640. - description: 商品id
  29641. in: query
  29642. name: goodsid
  29643. type: integer
  29644. - description: 买卖方向 0-买 1-卖
  29645. in: query
  29646. name: buyorsell
  29647. type: integer
  29648. produces:
  29649. - application/json
  29650. responses:
  29651. "200":
  29652. description: OK
  29653. schema:
  29654. items:
  29655. $ref: '#/definitions/models.TradeHolderDetail'
  29656. type: array
  29657. "500":
  29658. description: Internal Server Error
  29659. schema:
  29660. $ref: '#/definitions/app.Response'
  29661. security:
  29662. - ApiKeyAuth: []
  29663. summary: 查询持仓明细
  29664. tags:
  29665. - 通用单据
  29666. /Order/QueryTradeOrderDetail:
  29667. get:
  29668. parameters:
  29669. - description: 资金账户 - 格式:1,2,3
  29670. in: query
  29671. name: accountID
  29672. required: true
  29673. type: string
  29674. - description: 交易模式 - 格式:1,2,3
  29675. in: query
  29676. name: tradeMode
  29677. type: string
  29678. - description: 委托状态 - 格式:1,2,3
  29679. in: query
  29680. name: orderStatus
  29681. type: string
  29682. - description: 委托单号
  29683. in: query
  29684. name: orderID
  29685. type: integer
  29686. produces:
  29687. - application/json
  29688. responses:
  29689. "200":
  29690. description: OK
  29691. schema:
  29692. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  29693. "500":
  29694. description: Internal Server Error
  29695. schema:
  29696. $ref: '#/definitions/app.Response'
  29697. security:
  29698. - ApiKeyAuth: []
  29699. summary: 委托单查询请求(合约市场)
  29700. tags:
  29701. - 通用单据
  29702. /Order/QueryTradePosition:
  29703. get:
  29704. parameters:
  29705. - description: 资金账户 - 格式:1,2,3
  29706. in: query
  29707. name: accountID
  29708. required: true
  29709. type: string
  29710. - description: 交易模式 - 格式:1,2,3
  29711. in: query
  29712. name: tradeMode
  29713. type: string
  29714. produces:
  29715. - application/json
  29716. responses:
  29717. "200":
  29718. description: OK
  29719. schema:
  29720. $ref: '#/definitions/order.QueryTradePositionRsp'
  29721. "500":
  29722. description: Internal Server Error
  29723. schema:
  29724. $ref: '#/definitions/app.Response'
  29725. security:
  29726. - ApiKeyAuth: []
  29727. summary: 持仓汇总查询(合约市场)
  29728. tags:
  29729. - 通用单据
  29730. /Qhj/QueryAccountInOutApply:
  29731. get:
  29732. parameters:
  29733. - description: 用户ID
  29734. in: query
  29735. name: userid
  29736. required: true
  29737. type: integer
  29738. - description: 申请起始日期(格式yyyymmdd)
  29739. in: query
  29740. name: begindate
  29741. type: string
  29742. - description: 申请截止日期(格式yyyymmdd)
  29743. in: query
  29744. name: enddate
  29745. type: string
  29746. - description: 模糊搜索名称
  29747. in: query
  29748. name: likename
  29749. type: string
  29750. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  29751. in: query
  29752. name: applystatus
  29753. type: integer
  29754. - description: 查询类型 1-提现(出金) 2-充值(入金)
  29755. in: query
  29756. name: querytype
  29757. type: integer
  29758. produces:
  29759. - application/json
  29760. responses:
  29761. "200":
  29762. description: OK
  29763. schema:
  29764. items:
  29765. $ref: '#/definitions/models.QhjAccountOutInApply'
  29766. type: array
  29767. "500":
  29768. description: Internal Server Error
  29769. schema:
  29770. $ref: '#/definitions/app.Response'
  29771. security:
  29772. - ApiKeyAuth: []
  29773. summary: 查询充值提现
  29774. tags:
  29775. - 大连千海金
  29776. /Qhj/QueryAreaFinanceConfig:
  29777. get:
  29778. parameters:
  29779. - description: 机构用户ID 其他做市关系,都设置为 1
  29780. in: query
  29781. name: userid
  29782. type: integer
  29783. produces:
  29784. - application/json
  29785. responses:
  29786. "200":
  29787. description: OK
  29788. schema:
  29789. items:
  29790. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  29791. type: array
  29792. "500":
  29793. description: Internal Server Error
  29794. schema:
  29795. $ref: '#/definitions/app.Response'
  29796. security:
  29797. - ApiKeyAuth: []
  29798. summary: 查询企业配置表
  29799. tags:
  29800. - 大连千海金
  29801. /Qhj/QueryBankAccountSign:
  29802. get:
  29803. parameters:
  29804. - description: 用户ID
  29805. in: query
  29806. name: userid
  29807. required: true
  29808. type: integer
  29809. produces:
  29810. - application/json
  29811. responses:
  29812. "200":
  29813. description: OK
  29814. schema:
  29815. items:
  29816. $ref: '#/definitions/models.QhjBankAccountSign'
  29817. type: array
  29818. "500":
  29819. description: Internal Server Error
  29820. schema:
  29821. $ref: '#/definitions/app.Response'
  29822. security:
  29823. - ApiKeyAuth: []
  29824. summary: 查询签约银行信息(提现账户管理)
  29825. tags:
  29826. - 大连千海金
  29827. /Qhj/QueryBankInfo:
  29828. get:
  29829. produces:
  29830. - application/json
  29831. responses:
  29832. "200":
  29833. description: OK
  29834. schema:
  29835. items:
  29836. $ref: '#/definitions/models.QhjBankInfo'
  29837. type: array
  29838. "500":
  29839. description: Internal Server Error
  29840. schema:
  29841. $ref: '#/definitions/app.Response'
  29842. security:
  29843. - ApiKeyAuth: []
  29844. summary: 查询开户行
  29845. tags:
  29846. - 大连千海金
  29847. /Qhj/QueryBrokerApply:
  29848. get:
  29849. parameters:
  29850. - description: 所属机构ID
  29851. in: query
  29852. name: userid
  29853. type: integer
  29854. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29855. in: query
  29856. name: filterstatus
  29857. type: string
  29858. produces:
  29859. - application/json
  29860. responses:
  29861. "200":
  29862. description: OK
  29863. schema:
  29864. items:
  29865. $ref: '#/definitions/models.QhjBrokerApply'
  29866. type: array
  29867. "500":
  29868. description: Internal Server Error
  29869. schema:
  29870. $ref: '#/definitions/app.Response'
  29871. security:
  29872. - ApiKeyAuth: []
  29873. summary: 查询经纪人申请
  29874. tags:
  29875. - 大连千海金
  29876. /Qhj/QueryBrokerApplyEx:
  29877. get:
  29878. parameters:
  29879. - description: 所属机构ID
  29880. in: query
  29881. name: userid
  29882. type: integer
  29883. produces:
  29884. - application/json
  29885. responses:
  29886. "200":
  29887. description: OK
  29888. schema:
  29889. items:
  29890. $ref: '#/definitions/models.QhjBrokerApplyEx'
  29891. type: array
  29892. "500":
  29893. description: Internal Server Error
  29894. schema:
  29895. $ref: '#/definitions/app.Response'
  29896. security:
  29897. - ApiKeyAuth: []
  29898. summary: 查询经纪人信息和申请记录
  29899. tags:
  29900. - 大连千海金
  29901. /Qhj/QueryBrokerRewardLog:
  29902. get:
  29903. parameters:
  29904. - description: 用户ID
  29905. in: query
  29906. name: userid
  29907. required: true
  29908. type: integer
  29909. - description: 开始交易日(yyyymmdd)
  29910. in: query
  29911. name: begindate
  29912. type: string
  29913. - description: 结束交易日(yyyymmdd)
  29914. in: query
  29915. name: enddate
  29916. type: string
  29917. produces:
  29918. - application/json
  29919. responses:
  29920. "200":
  29921. description: OK
  29922. schema:
  29923. items:
  29924. $ref: '#/definitions/models.QhjBrokerRewardLog'
  29925. type: array
  29926. "500":
  29927. description: Internal Server Error
  29928. schema:
  29929. $ref: '#/definitions/app.Response'
  29930. security:
  29931. - ApiKeyAuth: []
  29932. summary: 查询奖励流水(我的奖励)
  29933. tags:
  29934. - 大连千海金
  29935. /Qhj/QueryContract:
  29936. get:
  29937. parameters:
  29938. - description: 用户ID
  29939. in: query
  29940. name: userid
  29941. type: integer
  29942. - description: scf合同id
  29943. in: query
  29944. name: scfcontractid
  29945. type: integer
  29946. produces:
  29947. - application/json
  29948. responses:
  29949. "200":
  29950. description: OK
  29951. schema:
  29952. items:
  29953. $ref: '#/definitions/models.QhjContract'
  29954. type: array
  29955. "500":
  29956. description: Internal Server Error
  29957. schema:
  29958. $ref: '#/definitions/app.Response'
  29959. security:
  29960. - ApiKeyAuth: []
  29961. summary: 查询融资明细(合同)
  29962. tags:
  29963. - 大连千海金
  29964. /Qhj/QueryContractLog:
  29965. get:
  29966. parameters:
  29967. - description: scf合同id
  29968. in: query
  29969. name: scfcontractid
  29970. required: true
  29971. type: integer
  29972. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  29973. in: query
  29974. name: amounttype
  29975. type: string
  29976. produces:
  29977. - application/json
  29978. responses:
  29979. "200":
  29980. description: OK
  29981. schema:
  29982. items:
  29983. $ref: '#/definitions/models.QhjContractLog'
  29984. type: array
  29985. "500":
  29986. description: Internal Server Error
  29987. schema:
  29988. $ref: '#/definitions/app.Response'
  29989. security:
  29990. - ApiKeyAuth: []
  29991. summary: 查询融资明细流水(融资明细详情页中的流水)
  29992. tags:
  29993. - 大连千海金
  29994. /Qhj/QueryCusBankSignBank:
  29995. get:
  29996. produces:
  29997. - application/json
  29998. responses:
  29999. "200":
  30000. description: OK
  30001. schema:
  30002. items:
  30003. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  30004. type: array
  30005. "500":
  30006. description: Internal Server Error
  30007. schema:
  30008. $ref: '#/definitions/app.Response'
  30009. security:
  30010. - ApiKeyAuth: []
  30011. summary: 查询托管银行
  30012. tags:
  30013. - 大连千海金
  30014. /Qhj/QueryCustomerInfo:
  30015. get:
  30016. parameters:
  30017. - description: 用户ID
  30018. in: query
  30019. name: userid
  30020. required: true
  30021. type: integer
  30022. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  30023. in: query
  30024. name: querytype
  30025. required: true
  30026. type: integer
  30027. - description: 客户类型 1-个人 2-企业
  30028. in: query
  30029. name: userinfotype
  30030. type: integer
  30031. - description: 客户名称(模糊匹配)
  30032. in: query
  30033. name: customername
  30034. type: string
  30035. - description: 昵称(模糊匹配)
  30036. in: query
  30037. name: nickname
  30038. type: string
  30039. - description: 是否包含子级 1-包含
  30040. in: query
  30041. name: includesub
  30042. type: integer
  30043. produces:
  30044. - application/json
  30045. responses:
  30046. "200":
  30047. description: OK
  30048. schema:
  30049. items:
  30050. $ref: '#/definitions/models.QhjCustomer'
  30051. type: array
  30052. "500":
  30053. description: Internal Server Error
  30054. schema:
  30055. $ref: '#/definitions/app.Response'
  30056. security:
  30057. - ApiKeyAuth: []
  30058. summary: 查询客户资料
  30059. tags:
  30060. - 大连千海金
  30061. /Qhj/QueryGoodsEx:
  30062. get:
  30063. parameters:
  30064. - description: 商品id
  30065. in: query
  30066. name: goodsid
  30067. type: integer
  30068. produces:
  30069. - application/json
  30070. responses:
  30071. "200":
  30072. description: OK
  30073. schema:
  30074. items:
  30075. $ref: '#/definitions/models.Qhjgoodsex'
  30076. type: array
  30077. "500":
  30078. description: Internal Server Error
  30079. schema:
  30080. $ref: '#/definitions/app.Response'
  30081. security:
  30082. - ApiKeyAuth: []
  30083. summary: 交易商品扩展表
  30084. tags:
  30085. - 大连千海金
  30086. /Qhj/QueryMyTeam:
  30087. get:
  30088. parameters:
  30089. - description: 用户ID
  30090. in: query
  30091. name: userid
  30092. required: true
  30093. type: integer
  30094. produces:
  30095. - application/json
  30096. responses:
  30097. "200":
  30098. description: OK
  30099. schema:
  30100. items:
  30101. $ref: '#/definitions/models.QhjMyTeamEx'
  30102. type: array
  30103. "500":
  30104. description: Internal Server Error
  30105. schema:
  30106. $ref: '#/definitions/app.Response'
  30107. security:
  30108. - ApiKeyAuth: []
  30109. summary: 查询我的团队
  30110. tags:
  30111. - 大连千海金
  30112. /Qhj/QueryMyTeamOrder:
  30113. get:
  30114. parameters:
  30115. - description: 页码
  30116. in: query
  30117. name: page
  30118. type: integer
  30119. - description: 每页条数
  30120. in: query
  30121. name: pagesize
  30122. type: integer
  30123. - description: 用户ID
  30124. in: query
  30125. name: userid
  30126. required: true
  30127. type: integer
  30128. - description: 交易模式
  30129. in: query
  30130. name: trademode
  30131. type: integer
  30132. - description: 名称(模糊搜索账户)
  30133. in: query
  30134. name: filtername
  30135. type: string
  30136. produces:
  30137. - application/json
  30138. responses:
  30139. "200":
  30140. description: OK
  30141. schema:
  30142. items:
  30143. $ref: '#/definitions/models.QhjTeamOrder'
  30144. type: array
  30145. "500":
  30146. description: Internal Server Error
  30147. schema:
  30148. $ref: '#/definitions/app.Response'
  30149. security:
  30150. - ApiKeyAuth: []
  30151. summary: 查询团队订单(我的团队/团队订单)
  30152. tags:
  30153. - 大连千海金
  30154. /Qhj/QueryParentAreaList:
  30155. get:
  30156. parameters:
  30157. - description: 用户ID
  30158. in: query
  30159. name: userid
  30160. required: true
  30161. type: integer
  30162. produces:
  30163. - application/json
  30164. responses:
  30165. "200":
  30166. description: OK
  30167. schema:
  30168. items:
  30169. $ref: '#/definitions/models.QhjParentAreaList'
  30170. type: array
  30171. "500":
  30172. description: Internal Server Error
  30173. schema:
  30174. $ref: '#/definitions/app.Response'
  30175. security:
  30176. - ApiKeyAuth: []
  30177. summary: 查询所属机构列表
  30178. tags:
  30179. - 大连千海金
  30180. /Qhj/QueryPayOrder:
  30181. get:
  30182. parameters:
  30183. - description: 资金账号id
  30184. in: query
  30185. name: accountid
  30186. required: true
  30187. type: integer
  30188. - description: 成交单号
  30189. in: query
  30190. name: tradeid
  30191. type: integer
  30192. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  30193. in: query
  30194. name: payflag
  30195. type: string
  30196. produces:
  30197. - application/json
  30198. responses:
  30199. "200":
  30200. description: OK
  30201. schema:
  30202. items:
  30203. $ref: '#/definitions/models.QhjPayOrder'
  30204. type: array
  30205. "500":
  30206. description: Internal Server Error
  30207. schema:
  30208. $ref: '#/definitions/app.Response'
  30209. security:
  30210. - ApiKeyAuth: []
  30211. summary: 查询待付款单据
  30212. tags:
  30213. - 大连千海金
  30214. /Qhj/QueryPickArea:
  30215. get:
  30216. parameters:
  30217. - description: 用户ID
  30218. in: query
  30219. name: userid
  30220. type: integer
  30221. produces:
  30222. - application/json
  30223. responses:
  30224. "200":
  30225. description: OK
  30226. schema:
  30227. items:
  30228. $ref: '#/definitions/models.QhjPickArea'
  30229. type: array
  30230. "500":
  30231. description: Internal Server Error
  30232. schema:
  30233. $ref: '#/definitions/app.Response'
  30234. security:
  30235. - ApiKeyAuth: []
  30236. summary: 查询提货门店
  30237. tags:
  30238. - 大连千海金
  30239. /Qhj/QueryPickGoods:
  30240. get:
  30241. parameters:
  30242. - description: 交易商品id
  30243. in: query
  30244. name: goodsid
  30245. required: true
  30246. type: integer
  30247. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  30248. in: query
  30249. name: status
  30250. type: string
  30251. produces:
  30252. - application/json
  30253. responses:
  30254. "200":
  30255. description: OK
  30256. schema:
  30257. items:
  30258. $ref: '#/definitions/models.QhjPickGoods'
  30259. type: array
  30260. "500":
  30261. description: Internal Server Error
  30262. schema:
  30263. $ref: '#/definitions/app.Response'
  30264. security:
  30265. - ApiKeyAuth: []
  30266. summary: 查询提货商品
  30267. tags:
  30268. - 大连千海金
  30269. /Qhj/QueryRSTriggerLog:
  30270. get:
  30271. parameters:
  30272. - description: 用户ID
  30273. in: query
  30274. name: userid
  30275. type: integer
  30276. - description: 定投策略id
  30277. in: query
  30278. name: regularlystrategyid
  30279. type: integer
  30280. - description: 商品id
  30281. in: query
  30282. name: goodsid
  30283. type: integer
  30284. - description: 开始交易日(yyyymmdd)
  30285. in: query
  30286. name: begindate
  30287. type: string
  30288. - description: 结束交易日(yyyymmdd)
  30289. in: query
  30290. name: enddate
  30291. type: string
  30292. - description: 名称(模糊搜索账户)
  30293. in: query
  30294. name: filtername
  30295. type: string
  30296. produces:
  30297. - application/json
  30298. responses:
  30299. "200":
  30300. description: OK
  30301. schema:
  30302. items:
  30303. $ref: '#/definitions/models.QhjRSTriggerLog'
  30304. type: array
  30305. "500":
  30306. description: Internal Server Error
  30307. schema:
  30308. $ref: '#/definitions/app.Response'
  30309. security:
  30310. - ApiKeyAuth: []
  30311. summary: 查询定投记录(定投管理/详情/定投记录)
  30312. tags:
  30313. - 大连千海金
  30314. /Qhj/QueryRStrategy:
  30315. get:
  30316. parameters:
  30317. - description: 用户ID
  30318. in: query
  30319. name: userid
  30320. type: integer
  30321. - description: 商品id
  30322. in: query
  30323. name: goodsid
  30324. type: integer
  30325. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  30326. in: query
  30327. name: status
  30328. type: string
  30329. - description: 名称(模糊搜索账户)
  30330. in: query
  30331. name: filtername
  30332. type: string
  30333. produces:
  30334. - application/json
  30335. responses:
  30336. "200":
  30337. description: OK
  30338. schema:
  30339. items:
  30340. $ref: '#/definitions/models.QhjRStrategy'
  30341. type: array
  30342. "500":
  30343. description: Internal Server Error
  30344. schema:
  30345. $ref: '#/definitions/app.Response'
  30346. security:
  30347. - ApiKeyAuth: []
  30348. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  30349. tags:
  30350. - 大连千海金
  30351. /Qhj/QueryReckonPriceLog:
  30352. get:
  30353. parameters:
  30354. - description: 商品ID
  30355. in: query
  30356. name: goodsid
  30357. type: integer
  30358. - description: 交易日 格式(yyyymmdd)
  30359. in: query
  30360. name: tradedate
  30361. type: string
  30362. produces:
  30363. - application/json
  30364. responses:
  30365. "200":
  30366. description: OK
  30367. schema:
  30368. items:
  30369. $ref: '#/definitions/models.QhjReckonPriceLog'
  30370. type: array
  30371. "500":
  30372. description: Internal Server Error
  30373. schema:
  30374. $ref: '#/definitions/app.Response'
  30375. security:
  30376. - ApiKeyAuth: []
  30377. summary: 查询定投价(结算价)
  30378. tags:
  30379. - 大连千海金
  30380. /Qhj/QueryScoreLog:
  30381. get:
  30382. parameters:
  30383. - description: 用户ID
  30384. in: query
  30385. name: userid
  30386. required: true
  30387. type: integer
  30388. - description: 开始交易日(yyyymmdd)
  30389. in: query
  30390. name: begindate
  30391. type: string
  30392. - description: 结束交易日(yyyymmdd)
  30393. in: query
  30394. name: enddate
  30395. type: string
  30396. - description: 最近多少条
  30397. in: query
  30398. name: lastnum
  30399. type: integer
  30400. produces:
  30401. - application/json
  30402. responses:
  30403. "200":
  30404. description: OK
  30405. schema:
  30406. items:
  30407. $ref: '#/definitions/models.QhjScoreLog'
  30408. type: array
  30409. "500":
  30410. description: Internal Server Error
  30411. schema:
  30412. $ref: '#/definitions/app.Response'
  30413. security:
  30414. - ApiKeyAuth: []
  30415. summary: 查询积分流水(我的积分)
  30416. tags:
  30417. - 大连千海金
  30418. /Qhj/QuerySiteColumnDetail:
  30419. get:
  30420. parameters:
  30421. - description: 用户ID
  30422. in: query
  30423. name: userid
  30424. required: true
  30425. type: integer
  30426. produces:
  30427. - application/json
  30428. responses:
  30429. "200":
  30430. description: OK
  30431. schema:
  30432. items:
  30433. $ref: '#/definitions/models.QhjSiteColumnDetail'
  30434. type: array
  30435. "500":
  30436. description: Internal Server Error
  30437. schema:
  30438. $ref: '#/definitions/app.Response'
  30439. security:
  30440. - ApiKeyAuth: []
  30441. summary: 查询资讯
  30442. tags:
  30443. - 大连千海金
  30444. /Qhj/QueryTradeGoodsPickup:
  30445. get:
  30446. parameters:
  30447. - description: 用户ID
  30448. in: query
  30449. name: userid
  30450. required: true
  30451. type: integer
  30452. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  30453. 7:已拒绝 8:已撤销
  30454. in: query
  30455. name: takeorderstatus
  30456. type: integer
  30457. produces:
  30458. - application/json
  30459. responses:
  30460. "200":
  30461. description: OK
  30462. schema:
  30463. items:
  30464. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  30465. type: array
  30466. "500":
  30467. description: Internal Server Error
  30468. schema:
  30469. $ref: '#/definitions/app.Response'
  30470. security:
  30471. - ApiKeyAuth: []
  30472. summary: 查询提货
  30473. tags:
  30474. - 大连千海金
  30475. /Qhj/QueryUserCollectConfig:
  30476. get:
  30477. parameters:
  30478. - description: 用户ID
  30479. in: query
  30480. name: userid
  30481. required: true
  30482. type: integer
  30483. produces:
  30484. - application/json
  30485. responses:
  30486. "200":
  30487. description: OK
  30488. schema:
  30489. items:
  30490. $ref: '#/definitions/models.UserCollectConfig'
  30491. type: array
  30492. "500":
  30493. description: Internal Server Error
  30494. schema:
  30495. $ref: '#/definitions/app.Response'
  30496. security:
  30497. - ApiKeyAuth: []
  30498. summary: 查询提现账户设置
  30499. tags:
  30500. - 大连千海金
  30501. /Qhj/QueryUserReceiveInfo:
  30502. get:
  30503. parameters:
  30504. - description: 用户ID
  30505. in: query
  30506. name: userid
  30507. required: true
  30508. type: integer
  30509. produces:
  30510. - application/json
  30511. responses:
  30512. "200":
  30513. description: OK
  30514. schema:
  30515. items:
  30516. $ref: '#/definitions/models.UserReceiveInfo'
  30517. type: array
  30518. "500":
  30519. description: Internal Server Error
  30520. schema:
  30521. $ref: '#/definitions/app.Response'
  30522. security:
  30523. - ApiKeyAuth: []
  30524. summary: 查询收货地址信息
  30525. tags:
  30526. - 大连千海金
  30527. /QhjMgr/QueryAccountInOutApply:
  30528. get:
  30529. parameters:
  30530. - description: 查询类型 1-提现(出金) 2-充值(出金)
  30531. in: query
  30532. name: querytype
  30533. required: true
  30534. type: integer
  30535. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  30536. in: query
  30537. name: applystatus
  30538. type: integer
  30539. - description: 申请起始日期(格式yyyymmdd)
  30540. in: query
  30541. name: begindate
  30542. type: string
  30543. - description: 申请截止日期(格式yyyymmdd)
  30544. in: query
  30545. name: enddate
  30546. type: string
  30547. - description: 模糊搜索名称
  30548. in: query
  30549. name: likename
  30550. type: string
  30551. produces:
  30552. - application/json
  30553. responses:
  30554. "200":
  30555. description: OK
  30556. schema:
  30557. items:
  30558. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  30559. type: array
  30560. "500":
  30561. description: Internal Server Error
  30562. schema:
  30563. $ref: '#/definitions/app.Response'
  30564. security:
  30565. - ApiKeyAuth: []
  30566. summary: 查询充值提现
  30567. tags:
  30568. - 大连千海金(PCWeb)
  30569. /QhjMgr/QueryBrokerApply:
  30570. get:
  30571. parameters:
  30572. - description: 所属机构ID
  30573. in: query
  30574. name: userid
  30575. type: integer
  30576. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  30577. in: query
  30578. name: filterstatus
  30579. type: string
  30580. - description: 名称(模糊匹配)
  30581. in: query
  30582. name: filtername
  30583. type: string
  30584. - description: 是否包含子级 1-包含
  30585. in: query
  30586. name: includesub
  30587. type: integer
  30588. produces:
  30589. - application/json
  30590. responses:
  30591. "200":
  30592. description: OK
  30593. schema:
  30594. items:
  30595. $ref: '#/definitions/models.QhjMgrBrokerApply'
  30596. type: array
  30597. "500":
  30598. description: Internal Server Error
  30599. schema:
  30600. $ref: '#/definitions/app.Response'
  30601. security:
  30602. - ApiKeyAuth: []
  30603. summary: 查询经纪人申请
  30604. tags:
  30605. - 大连千海金(PCWeb)
  30606. /QhjMgr/QueryBrokerRewardReport:
  30607. get:
  30608. parameters:
  30609. - description: 所属机构ID
  30610. in: query
  30611. name: userid
  30612. required: true
  30613. type: integer
  30614. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  30615. in: query
  30616. name: cycletype
  30617. required: true
  30618. type: integer
  30619. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  30620. in: query
  30621. name: cycletime
  30622. required: true
  30623. type: string
  30624. - description: 名称(模糊匹配)
  30625. in: query
  30626. name: filtername
  30627. type: string
  30628. - description: 是否包含子级 1-包含
  30629. in: query
  30630. name: includesub
  30631. type: integer
  30632. produces:
  30633. - application/json
  30634. responses:
  30635. "200":
  30636. description: OK
  30637. schema:
  30638. items:
  30639. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  30640. type: array
  30641. "500":
  30642. description: Internal Server Error
  30643. schema:
  30644. $ref: '#/definitions/app.Response'
  30645. security:
  30646. - ApiKeyAuth: []
  30647. summary: 查询经纪人奖励报表(废弃)
  30648. tags:
  30649. - 大连千海金(PCWeb)
  30650. /QhjMgr/QueryContract:
  30651. get:
  30652. parameters:
  30653. - description: 用户ID
  30654. in: query
  30655. name: userid
  30656. type: integer
  30657. - description: 商品id
  30658. in: query
  30659. name: goodsid
  30660. type: integer
  30661. - description: 名称(模糊搜索账户)
  30662. in: query
  30663. name: filtername
  30664. type: string
  30665. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  30666. in: query
  30667. name: risklevel
  30668. type: string
  30669. - description: 开始交易日(yyyymmdd)
  30670. in: query
  30671. name: begindate
  30672. type: string
  30673. - description: 结束交易日(yyyymmdd)
  30674. in: query
  30675. name: enddate
  30676. type: string
  30677. produces:
  30678. - application/json
  30679. responses:
  30680. "200":
  30681. description: OK
  30682. schema:
  30683. items:
  30684. $ref: '#/definitions/models.QhjMgrContract'
  30685. type: array
  30686. "500":
  30687. description: Internal Server Error
  30688. schema:
  30689. $ref: '#/definitions/app.Response'
  30690. security:
  30691. - ApiKeyAuth: []
  30692. summary: 查询融资信息(合同)
  30693. tags:
  30694. - 大连千海金(PCWeb)
  30695. /QhjMgr/QueryCustomerInfo:
  30696. get:
  30697. parameters:
  30698. - description: 用户ID
  30699. in: query
  30700. name: userid
  30701. required: true
  30702. type: integer
  30703. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  30704. in: query
  30705. name: querytype
  30706. required: true
  30707. type: integer
  30708. - description: 客户类型 1-个人 2-企业
  30709. in: query
  30710. name: userinfotype
  30711. type: integer
  30712. - description: 客户名称(模糊匹配)
  30713. in: query
  30714. name: customername
  30715. type: string
  30716. - description: 昵称(模糊匹配)
  30717. in: query
  30718. name: nickname
  30719. type: string
  30720. - description: 所属客户经理(模糊匹配)
  30721. in: query
  30722. name: brokername
  30723. type: string
  30724. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  30725. 如0503 -5月3日)
  30726. in: query
  30727. name: birthday
  30728. type: string
  30729. - description: 是否包含子级 1-包含
  30730. in: query
  30731. name: includesub
  30732. type: integer
  30733. produces:
  30734. - application/json
  30735. responses:
  30736. "200":
  30737. description: OK
  30738. schema:
  30739. items:
  30740. $ref: '#/definitions/models.QhjMgrCustomer'
  30741. type: array
  30742. "500":
  30743. description: Internal Server Error
  30744. schema:
  30745. $ref: '#/definitions/app.Response'
  30746. security:
  30747. - ApiKeyAuth: []
  30748. summary: 查询客户资料
  30749. tags:
  30750. - 大连千海金(PCWeb)
  30751. /QhjMgr/QueryPickGoods:
  30752. get:
  30753. parameters:
  30754. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  30755. in: query
  30756. name: status
  30757. type: string
  30758. produces:
  30759. - application/json
  30760. responses:
  30761. "200":
  30762. description: OK
  30763. schema:
  30764. items:
  30765. $ref: '#/definitions/models.QhjMgrPickGoods'
  30766. type: array
  30767. "500":
  30768. description: Internal Server Error
  30769. schema:
  30770. $ref: '#/definitions/app.Response'
  30771. security:
  30772. - ApiKeyAuth: []
  30773. summary: 查询提货商品
  30774. tags:
  30775. - 大连千海金(PCWeb)
  30776. /QhjMgr/QuerySubArea:
  30777. get:
  30778. parameters:
  30779. - description: 用户ID
  30780. in: query
  30781. name: userid
  30782. required: true
  30783. type: integer
  30784. produces:
  30785. - application/json
  30786. responses:
  30787. "200":
  30788. description: OK
  30789. schema:
  30790. items:
  30791. $ref: '#/definitions/models.QhjMgrSubArea'
  30792. type: array
  30793. "500":
  30794. description: Internal Server Error
  30795. schema:
  30796. $ref: '#/definitions/app.Response'
  30797. security:
  30798. - ApiKeyAuth: []
  30799. summary: 查询子机构列表
  30800. tags:
  30801. - 大连千海金(PCWeb)
  30802. /QhjMgr/QueryTradeDetail:
  30803. get:
  30804. parameters:
  30805. - description: 用户ID
  30806. in: query
  30807. name: userid
  30808. required: true
  30809. type: integer
  30810. - description: 用户类型 1-个人 2-企业
  30811. in: query
  30812. name: userinfotype
  30813. type: integer
  30814. - description: 交易模式
  30815. in: query
  30816. name: trademode
  30817. type: integer
  30818. - description: 商品id
  30819. in: query
  30820. name: goodsid
  30821. type: integer
  30822. - description: 名称(模糊搜索账户)
  30823. in: query
  30824. name: filtername
  30825. type: string
  30826. - description: 开始交易日(yyyymmdd)
  30827. in: query
  30828. name: begindate
  30829. type: string
  30830. - description: 结束交易日(yyyymmdd)
  30831. in: query
  30832. name: enddate
  30833. type: string
  30834. - description: 是否包含子级 1-包含
  30835. in: query
  30836. name: includesub
  30837. type: integer
  30838. produces:
  30839. - application/json
  30840. responses:
  30841. "200":
  30842. description: OK
  30843. schema:
  30844. items:
  30845. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  30846. type: array
  30847. "500":
  30848. description: Internal Server Error
  30849. schema:
  30850. $ref: '#/definitions/app.Response'
  30851. security:
  30852. - ApiKeyAuth: []
  30853. summary: 查询成交明细
  30854. tags:
  30855. - 大连千海金(PCWeb)
  30856. /QhjMgr/QueryTradeOrderDetail:
  30857. get:
  30858. parameters:
  30859. - description: 用户ID
  30860. in: query
  30861. name: userid
  30862. required: true
  30863. type: integer
  30864. - description: 用户类型 1-个人 2-企业
  30865. in: query
  30866. name: userinfotype
  30867. type: integer
  30868. - description: 交易模式
  30869. in: query
  30870. name: trademode
  30871. type: integer
  30872. - description: 商品id
  30873. in: query
  30874. name: goodsid
  30875. type: integer
  30876. - description: 名称(模糊搜索账户)
  30877. in: query
  30878. name: filtername
  30879. type: string
  30880. - description: 开始交易日(yyyymmdd)
  30881. in: query
  30882. name: begindate
  30883. type: string
  30884. - description: 结束交易日(yyyymmdd)
  30885. in: query
  30886. name: enddate
  30887. type: string
  30888. - description: 是否包含子级 1-包含
  30889. in: query
  30890. name: includesub
  30891. type: integer
  30892. produces:
  30893. - application/json
  30894. responses:
  30895. "200":
  30896. description: OK
  30897. schema:
  30898. items:
  30899. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  30900. type: array
  30901. "500":
  30902. description: Internal Server Error
  30903. schema:
  30904. $ref: '#/definitions/app.Response'
  30905. security:
  30906. - ApiKeyAuth: []
  30907. summary: 查询委托明细
  30908. tags:
  30909. - 大连千海金(PCWeb)
  30910. /QhjMgr/QueryTradePayOrder:
  30911. get:
  30912. parameters:
  30913. - description: 用户ID
  30914. in: query
  30915. name: userid
  30916. required: true
  30917. type: integer
  30918. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  30919. in: query
  30920. name: payflag
  30921. type: string
  30922. - description: 用户类型 1-个人 2-企业
  30923. in: query
  30924. name: userinfotype
  30925. type: integer
  30926. - description: 交易模式
  30927. in: query
  30928. name: trademode
  30929. type: integer
  30930. - description: 商品id
  30931. in: query
  30932. name: goodsid
  30933. type: integer
  30934. - description: 名称(模糊搜索账户)
  30935. in: query
  30936. name: filtername
  30937. type: string
  30938. - description: 开始交易日(yyyymmdd)
  30939. in: query
  30940. name: begindate
  30941. type: string
  30942. - description: 结束交易日(yyyymmdd)
  30943. in: query
  30944. name: enddate
  30945. type: string
  30946. - description: 是否包含子级 1-包含
  30947. in: query
  30948. name: includesub
  30949. type: integer
  30950. produces:
  30951. - application/json
  30952. responses:
  30953. "200":
  30954. description: OK
  30955. schema:
  30956. items:
  30957. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  30958. type: array
  30959. "500":
  30960. description: Internal Server Error
  30961. schema:
  30962. $ref: '#/definitions/app.Response'
  30963. security:
  30964. - ApiKeyAuth: []
  30965. summary: 查询待付款单
  30966. tags:
  30967. - 大连千海金(PCWeb)
  30968. /QhjMgr/QueryTradePosition:
  30969. get:
  30970. parameters:
  30971. - description: 用户ID
  30972. in: query
  30973. name: userid
  30974. required: true
  30975. type: integer
  30976. - description: 用户类型 1-个人 2-企业
  30977. in: query
  30978. name: userinfotype
  30979. type: integer
  30980. - description: 交易模式
  30981. in: query
  30982. name: trademode
  30983. type: integer
  30984. - description: 商品id
  30985. in: query
  30986. name: goodsid
  30987. type: integer
  30988. - description: 名称(模糊搜索账户)
  30989. in: query
  30990. name: filtername
  30991. type: string
  30992. - description: 是否包含子级 1-包含
  30993. in: query
  30994. name: includesub
  30995. type: integer
  30996. produces:
  30997. - application/json
  30998. responses:
  30999. "200":
  31000. description: OK
  31001. schema:
  31002. items:
  31003. $ref: '#/definitions/models.QhjMgrPositionRsp'
  31004. type: array
  31005. "500":
  31006. description: Internal Server Error
  31007. schema:
  31008. $ref: '#/definitions/app.Response'
  31009. security:
  31010. - ApiKeyAuth: []
  31011. summary: 查询持仓汇总
  31012. tags:
  31013. - 大连千海金(PCWeb)
  31014. /QhjSys/QueryAgreementChangeLog:
  31015. get:
  31016. parameters:
  31017. - description: 协议ID
  31018. in: query
  31019. name: agreementid
  31020. type: integer
  31021. - description: 协议版本号
  31022. in: query
  31023. name: agreementversion
  31024. type: integer
  31025. - description: 协议类型 - 1:注册 2:登录 3:交易
  31026. in: query
  31027. name: agreementtype
  31028. type: integer
  31029. - description: 协议编号(模糊匹配)
  31030. in: query
  31031. name: agreementno
  31032. type: string
  31033. - description: 协议名称(模糊匹配)
  31034. in: query
  31035. name: agreementname
  31036. type: string
  31037. produces:
  31038. - application/json
  31039. responses:
  31040. "200":
  31041. description: OK
  31042. schema:
  31043. items:
  31044. $ref: '#/definitions/models.QhjAgreementChangeLog'
  31045. type: array
  31046. "500":
  31047. description: Internal Server Error
  31048. schema:
  31049. $ref: '#/definitions/app.Response'
  31050. security:
  31051. - ApiKeyAuth: []
  31052. summary: 查询协议配置变更流水
  31053. tags:
  31054. - 大连千海金(协议和签约信息)
  31055. /QhjSys/QueryAgreementConfig:
  31056. get:
  31057. parameters:
  31058. - description: 协议ID
  31059. in: query
  31060. name: agreementid
  31061. type: integer
  31062. - description: 协议版本号
  31063. in: query
  31064. name: agreementversion
  31065. type: integer
  31066. - description: 协议类型 - 1:注册 2:登录 3:交易
  31067. in: query
  31068. name: agreementtype
  31069. type: integer
  31070. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  31071. in: query
  31072. name: isvalid
  31073. type: integer
  31074. - description: 协议编号(模糊匹配)
  31075. in: query
  31076. name: agreementno
  31077. type: string
  31078. - description: 协议名称(模糊匹配)
  31079. in: query
  31080. name: agreementname
  31081. type: string
  31082. produces:
  31083. - application/json
  31084. responses:
  31085. "200":
  31086. description: OK
  31087. schema:
  31088. items:
  31089. $ref: '#/definitions/models.QhjAgreementConfig'
  31090. type: array
  31091. "500":
  31092. description: Internal Server Error
  31093. schema:
  31094. $ref: '#/definitions/app.Response'
  31095. security:
  31096. - ApiKeyAuth: []
  31097. summary: 查询协议配置
  31098. tags:
  31099. - 大连千海金(协议和签约信息)
  31100. /QhjSys/QueryCustomerSignStatus:
  31101. get:
  31102. parameters:
  31103. - description: 客户ID
  31104. in: query
  31105. name: userid
  31106. type: integer
  31107. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  31108. in: query
  31109. name: nodetype
  31110. type: integer
  31111. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31112. in: query
  31113. name: goodsid
  31114. type: integer
  31115. - description: 创建交易日(yyyyMMdd)
  31116. in: query
  31117. name: tradedate
  31118. type: string
  31119. - description: 用户名称(模糊匹配)
  31120. in: query
  31121. name: username
  31122. type: string
  31123. produces:
  31124. - application/json
  31125. responses:
  31126. "200":
  31127. description: OK
  31128. schema:
  31129. items:
  31130. $ref: '#/definitions/models.QhjCustomerSignStatus'
  31131. type: array
  31132. "500":
  31133. description: Internal Server Error
  31134. schema:
  31135. $ref: '#/definitions/app.Response'
  31136. security:
  31137. - ApiKeyAuth: []
  31138. summary: 查询客户协议签约状态
  31139. tags:
  31140. - 大连千海金(协议和签约信息)
  31141. /QhjSys/QueryNodeAgreementConfig:
  31142. get:
  31143. parameters:
  31144. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  31145. in: query
  31146. name: configid
  31147. type: integer
  31148. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  31149. in: query
  31150. name: nodetype
  31151. type: integer
  31152. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31153. in: query
  31154. name: goodsid
  31155. type: integer
  31156. - description: 协议ID
  31157. in: query
  31158. name: agreementid
  31159. type: integer
  31160. - description: 协议类型 - 1:注册 2:登录 3:交易
  31161. in: query
  31162. name: agreementtype
  31163. type: integer
  31164. - description: 协议版本号
  31165. in: query
  31166. name: agreementversion
  31167. type: integer
  31168. - description: 协议编号(模糊匹配)
  31169. in: query
  31170. name: agreementno
  31171. type: string
  31172. - description: 协议名称(模糊匹配)
  31173. in: query
  31174. name: agreementname
  31175. type: string
  31176. produces:
  31177. - application/json
  31178. responses:
  31179. "200":
  31180. description: OK
  31181. schema:
  31182. items:
  31183. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  31184. type: array
  31185. "500":
  31186. description: Internal Server Error
  31187. schema:
  31188. $ref: '#/definitions/app.Response'
  31189. security:
  31190. - ApiKeyAuth: []
  31191. summary: 查询协议节点配置
  31192. tags:
  31193. - 大连千海金(协议和签约信息)
  31194. /QhjSys/QueryQhjCustomerSignLog:
  31195. get:
  31196. parameters:
  31197. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  31198. in: query
  31199. name: logid
  31200. type: integer
  31201. - description: 客户ID
  31202. in: query
  31203. name: userid
  31204. type: integer
  31205. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  31206. in: query
  31207. name: nodetype
  31208. type: integer
  31209. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31210. in: query
  31211. name: goodsid
  31212. type: integer
  31213. - description: 协议ID
  31214. in: query
  31215. name: agreementid
  31216. type: integer
  31217. - description: 用户名称(模糊匹配)
  31218. in: query
  31219. name: username
  31220. type: string
  31221. - description: 协议编号(模糊匹配)
  31222. in: query
  31223. name: agreementno
  31224. type: string
  31225. - description: 协议名称(模糊匹配)
  31226. in: query
  31227. name: agreementname
  31228. type: string
  31229. produces:
  31230. - application/json
  31231. responses:
  31232. "200":
  31233. description: OK
  31234. schema:
  31235. items:
  31236. $ref: '#/definitions/models.QhjCustomerSignLog'
  31237. type: array
  31238. "500":
  31239. description: Internal Server Error
  31240. schema:
  31241. $ref: '#/definitions/app.Response'
  31242. security:
  31243. - ApiKeyAuth: []
  31244. summary: 查询客户协议签约流水
  31245. tags:
  31246. - 大连千海金(协议和签约信息)
  31247. /QhjSys/QueryUserNodeCfgAndStatus:
  31248. get:
  31249. parameters:
  31250. - description: 客户ID
  31251. in: query
  31252. name: userid
  31253. type: integer
  31254. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  31255. in: query
  31256. name: configid
  31257. type: integer
  31258. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  31259. in: query
  31260. name: nodetype
  31261. type: string
  31262. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31263. in: query
  31264. name: goodsid
  31265. type: integer
  31266. - description: 协议ID
  31267. in: query
  31268. name: agreementid
  31269. type: integer
  31270. - description: 协议类型 - 1:注册 2:登录 3:交易
  31271. in: query
  31272. name: agreementtype
  31273. type: integer
  31274. - description: 协议版本号
  31275. in: query
  31276. name: agreementversion
  31277. type: integer
  31278. - description: 协议编号(模糊匹配)
  31279. in: query
  31280. name: agreementno
  31281. type: string
  31282. - description: 协议名称(模糊匹配)
  31283. in: query
  31284. name: agreementname
  31285. type: string
  31286. produces:
  31287. - application/json
  31288. responses:
  31289. "200":
  31290. description: OK
  31291. schema:
  31292. items:
  31293. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  31294. type: array
  31295. "500":
  31296. description: Internal Server Error
  31297. schema:
  31298. $ref: '#/definitions/app.Response'
  31299. security:
  31300. - ApiKeyAuth: []
  31301. summary: 查询用户协议节点配置和状态
  31302. tags:
  31303. - 大连千海金(协议和签约信息)
  31304. /Quote/QueryHistoryDatas:
  31305. get:
  31306. parameters:
  31307. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  31308. 日线 12:周线 13:月线 14:年线'
  31309. in: query
  31310. name: cycleType
  31311. required: true
  31312. type: integer
  31313. - description: 商品代码
  31314. in: query
  31315. name: goodsCode
  31316. required: true
  31317. type: string
  31318. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  31319. in: query
  31320. name: startTime
  31321. type: string
  31322. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  31323. in: query
  31324. name: endTime
  31325. type: string
  31326. - description: 条数
  31327. in: query
  31328. name: count
  31329. type: integer
  31330. - description: 是否按时间顺序排序(默认为时间倒序排序)
  31331. in: query
  31332. name: isAsc
  31333. type: boolean
  31334. produces:
  31335. - application/json
  31336. responses:
  31337. "200":
  31338. description: OK
  31339. schema:
  31340. $ref: '#/definitions/quote.HistoryData'
  31341. "500":
  31342. description: Internal Server Error
  31343. schema:
  31344. $ref: '#/definitions/app.Response'
  31345. security:
  31346. - ApiKeyAuth: []
  31347. summary: 查询行情历史数据
  31348. tags:
  31349. - 行情服务
  31350. /Quote/QueryHistoryTikDatas:
  31351. get:
  31352. parameters:
  31353. - description: 商品代码
  31354. in: query
  31355. name: goodsCode
  31356. required: true
  31357. type: string
  31358. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  31359. in: query
  31360. name: startTime
  31361. type: string
  31362. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  31363. in: query
  31364. name: endTime
  31365. type: string
  31366. - description: 条数
  31367. in: query
  31368. name: count
  31369. type: integer
  31370. - description: 是否按时间顺序排序(默认为时间倒序排序)
  31371. in: query
  31372. name: isAsc
  31373. type: boolean
  31374. produces:
  31375. - application/json
  31376. responses:
  31377. "200":
  31378. description: OK
  31379. schema:
  31380. $ref: '#/definitions/quote.HistoryTikData'
  31381. "500":
  31382. description: Internal Server Error
  31383. schema:
  31384. $ref: '#/definitions/app.Response'
  31385. security:
  31386. - ApiKeyAuth: []
  31387. summary: 查询行情Tik数据
  31388. tags:
  31389. - 行情服务
  31390. /Quote/QueryQuoteDay:
  31391. get:
  31392. parameters:
  31393. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  31394. in: query
  31395. name: goodsCodes
  31396. type: string
  31397. produces:
  31398. - application/json
  31399. responses:
  31400. "200":
  31401. description: OK
  31402. schema:
  31403. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  31404. "500":
  31405. description: Internal Server Error
  31406. schema:
  31407. $ref: '#/definitions/app.Response'
  31408. security:
  31409. - ApiKeyAuth: []
  31410. summary: 获取商品盘面信息
  31411. tags:
  31412. - 行情服务
  31413. /Quote/QueryTSData:
  31414. get:
  31415. parameters:
  31416. - description: 商品代码
  31417. in: query
  31418. name: goodsCode
  31419. required: true
  31420. type: string
  31421. produces:
  31422. - application/json
  31423. responses:
  31424. "200":
  31425. description: OK
  31426. schema:
  31427. $ref: '#/definitions/quote.QueryTSDataRsp'
  31428. "500":
  31429. description: Internal Server Error
  31430. schema:
  31431. $ref: '#/definitions/app.Response'
  31432. security:
  31433. - ApiKeyAuth: []
  31434. summary: 分时图数据查询
  31435. tags:
  31436. - 行情服务
  31437. /SZDZ/QueryConvertConfig:
  31438. get:
  31439. parameters:
  31440. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  31441. 6:交易转花生米(不设置)
  31442. in: query
  31443. name: convertType
  31444. type: integer
  31445. - description: 外部商品代码[JD\PD]
  31446. in: query
  31447. name: outerGoodsCode
  31448. type: string
  31449. - description: 内部商品ID列表[交易],格式:1,2,3
  31450. in: query
  31451. name: innerGoodsIDs
  31452. type: string
  31453. produces:
  31454. - application/json
  31455. responses:
  31456. "200":
  31457. description: OK
  31458. schema:
  31459. $ref: '#/definitions/models.Szdz3convertconfig'
  31460. "500":
  31461. description: Internal Server Error
  31462. schema:
  31463. $ref: '#/definitions/app.Response'
  31464. security:
  31465. - ApiKeyAuth: []
  31466. summary: 查询交易系统转换设置
  31467. tags:
  31468. - 定制【尚志大宗】
  31469. /SZDZ/QueryConvertLog:
  31470. get:
  31471. parameters:
  31472. - description: 资金账户 - 格式:1,2,3
  31473. in: query
  31474. name: accountID
  31475. required: true
  31476. type: string
  31477. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  31478. in: query
  31479. name: startDate
  31480. type: string
  31481. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  31482. in: query
  31483. name: endDate
  31484. type: string
  31485. produces:
  31486. - application/json
  31487. responses:
  31488. "200":
  31489. description: OK
  31490. schema:
  31491. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  31492. "500":
  31493. description: Internal Server Error
  31494. schema:
  31495. $ref: '#/definitions/app.Response'
  31496. security:
  31497. - ApiKeyAuth: []
  31498. summary: 交易系统转换流水查询
  31499. tags:
  31500. - 定制【尚志大宗】
  31501. /SZDZ/QueryGoodsPickup:
  31502. get:
  31503. parameters:
  31504. - description: 资金账户 - 格式:1,2,3
  31505. in: query
  31506. name: accountID
  31507. required: true
  31508. type: string
  31509. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  31510. in: query
  31511. name: takeOrderStatus
  31512. type: integer
  31513. produces:
  31514. - application/json
  31515. responses:
  31516. "200":
  31517. description: OK
  31518. schema:
  31519. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  31520. "500":
  31521. description: Internal Server Error
  31522. schema:
  31523. $ref: '#/definitions/app.Response'
  31524. security:
  31525. - ApiKeyAuth: []
  31526. summary: 商品提货单查询
  31527. tags:
  31528. - 定制【尚志大宗】
  31529. /SZDZ/QueryRecieptOrder:
  31530. get:
  31531. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  31532. parameters:
  31533. - description: 页码
  31534. in: query
  31535. name: page
  31536. type: integer
  31537. - description: 每页条数
  31538. in: query
  31539. name: pagesize
  31540. type: integer
  31541. - description: 商品ID
  31542. in: query
  31543. name: goodsID
  31544. required: true
  31545. type: integer
  31546. - description: 所属账户名称
  31547. in: query
  31548. name: accountName
  31549. type: string
  31550. - description: 市场ID
  31551. in: query
  31552. name: marketID
  31553. type: integer
  31554. - description: 方向 - 0:买 1:卖
  31555. in: query
  31556. name: buyorsell
  31557. required: true
  31558. type: integer
  31559. produces:
  31560. - application/json
  31561. responses:
  31562. "200":
  31563. description: OK
  31564. schema:
  31565. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  31566. "500":
  31567. description: Internal Server Error
  31568. schema:
  31569. $ref: '#/definitions/app.Response'
  31570. security:
  31571. - ApiKeyAuth: []
  31572. summary: 点选挂牌委托单据查询(摘牌大厅)
  31573. tags:
  31574. - 定制【尚志大宗】
  31575. /SZDZ/QuerySZDZTradePosition:
  31576. get:
  31577. parameters:
  31578. - description: 资金账户
  31579. in: query
  31580. name: accountID
  31581. required: true
  31582. type: integer
  31583. produces:
  31584. - application/json
  31585. responses:
  31586. "200":
  31587. description: OK
  31588. schema:
  31589. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  31590. "500":
  31591. description: Internal Server Error
  31592. schema:
  31593. $ref: '#/definitions/app.Response'
  31594. security:
  31595. - ApiKeyAuth: []
  31596. summary: 持仓汇总查询(尚志大宗)
  31597. tags:
  31598. - 定制【尚志大宗】
  31599. /SZDZ/SearchWhite:
  31600. get:
  31601. parameters:
  31602. - description: 用户ID
  31603. in: query
  31604. name: userID
  31605. required: true
  31606. type: integer
  31607. produces:
  31608. - application/json
  31609. responses:
  31610. "200":
  31611. description: OK
  31612. schema:
  31613. $ref: '#/definitions/models.Szdz3searchwhitelist'
  31614. "500":
  31615. description: Internal Server Error
  31616. schema:
  31617. $ref: '#/definitions/app.Response'
  31618. security:
  31619. - ApiKeyAuth: []
  31620. summary: 搜索白名单
  31621. tags:
  31622. - 定制【尚志大宗】
  31623. /Search/SearchGoodses:
  31624. get:
  31625. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  31626. parameters:
  31627. - description: 检索内容
  31628. in: query
  31629. name: content
  31630. required: true
  31631. type: string
  31632. - description: 交易模式,格式:1,2,3
  31633. in: query
  31634. name: tradeModes
  31635. type: string
  31636. produces:
  31637. - application/json
  31638. responses:
  31639. "200":
  31640. description: OK
  31641. schema:
  31642. $ref: '#/definitions/models.SearchGoods'
  31643. "500":
  31644. description: Internal Server Error
  31645. schema:
  31646. $ref: '#/definitions/app.Response'
  31647. summary: 检索商品信息
  31648. tags:
  31649. - 检索服务
  31650. /TaAccount/GetTaAccounts:
  31651. get:
  31652. parameters:
  31653. - description: 登录账户
  31654. in: query
  31655. name: loginID
  31656. required: true
  31657. type: integer
  31658. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  31659. in: query
  31660. name: taAccountType
  31661. type: integer
  31662. produces:
  31663. - application/json
  31664. responses:
  31665. "200":
  31666. description: OK
  31667. schema:
  31668. $ref: '#/definitions/models.Taaccount'
  31669. "500":
  31670. description: Internal Server Error
  31671. schema:
  31672. $ref: '#/definitions/app.Response'
  31673. security:
  31674. - ApiKeyAuth: []
  31675. summary: 获取资金账户信息
  31676. tags:
  31677. - 资金账户
  31678. /TaAccount/QueryAmountLog:
  31679. get:
  31680. parameters:
  31681. - description: 页码
  31682. in: query
  31683. name: page
  31684. type: integer
  31685. - description: 每页条数
  31686. in: query
  31687. name: pagesize
  31688. type: integer
  31689. - description: 资金账户 - 格式:1,2,3
  31690. in: query
  31691. name: accountID
  31692. required: true
  31693. type: string
  31694. - description: 资金操作类型 - 格式:1,2,3
  31695. in: query
  31696. name: OperateType
  31697. type: string
  31698. produces:
  31699. - application/json
  31700. responses:
  31701. "200":
  31702. description: OK
  31703. schema:
  31704. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  31705. "500":
  31706. description: Internal Server Error
  31707. schema:
  31708. $ref: '#/definitions/app.Response'
  31709. security:
  31710. - ApiKeyAuth: []
  31711. summary: 资金流水查询(当前)
  31712. tags:
  31713. - 资金账户
  31714. /TaAccount/QueryHisAmountLog:
  31715. get:
  31716. parameters:
  31717. - description: 页码
  31718. in: query
  31719. name: page
  31720. type: integer
  31721. - description: 每页条数
  31722. in: query
  31723. name: pagesize
  31724. type: integer
  31725. - description: 资金账户 - 格式:1,2,3
  31726. in: query
  31727. name: accountID
  31728. required: true
  31729. type: string
  31730. - description: 资金操作类型 - 格式:1,2,3
  31731. in: query
  31732. name: OperateType
  31733. type: string
  31734. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  31735. in: query
  31736. name: startDate
  31737. type: string
  31738. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  31739. in: query
  31740. name: endDate
  31741. type: string
  31742. produces:
  31743. - application/json
  31744. responses:
  31745. "200":
  31746. description: OK
  31747. schema:
  31748. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  31749. "500":
  31750. description: Internal Server Error
  31751. schema:
  31752. $ref: '#/definitions/app.Response'
  31753. security:
  31754. - ApiKeyAuth: []
  31755. summary: 资金流水查询(历史)
  31756. tags:
  31757. - 资金账户
  31758. /TaAccount/QueryRelatedTaAccount:
  31759. get:
  31760. parameters:
  31761. - description: 关联UserID
  31762. in: query
  31763. name: relateduserid
  31764. required: true
  31765. type: integer
  31766. produces:
  31767. - application/json
  31768. responses:
  31769. "200":
  31770. description: OK
  31771. schema:
  31772. items:
  31773. $ref: '#/definitions/models.RelatedTaAccount'
  31774. type: array
  31775. "500":
  31776. description: Internal Server Error
  31777. schema:
  31778. $ref: '#/definitions/app.Response'
  31779. security:
  31780. - ApiKeyAuth: []
  31781. summary: 查询关联资金账户信息
  31782. tags:
  31783. - 资金账户
  31784. /Tjmd/QueryQuoteGoodsList:
  31785. get:
  31786. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  31787. parameters:
  31788. - description: 用户类型
  31789. in: query
  31790. name: usertype
  31791. required: true
  31792. type: integer
  31793. - description: 市场id, 格式 1,2,3
  31794. in: query
  31795. name: marketids
  31796. type: string
  31797. - description: 商品组id
  31798. in: query
  31799. name: goodsgroupid
  31800. type: integer
  31801. - description: 商品id
  31802. in: query
  31803. name: goodsid
  31804. type: integer
  31805. produces:
  31806. - application/json
  31807. responses:
  31808. "200":
  31809. description: OK
  31810. schema:
  31811. items:
  31812. $ref: '#/definitions/models.TjmdQuoteGoods'
  31813. type: array
  31814. "500":
  31815. description: Internal Server Error
  31816. schema:
  31817. $ref: '#/definitions/app.Response'
  31818. security:
  31819. - ApiKeyAuth: []
  31820. summary: 查询掉期报价列表
  31821. tags:
  31822. - 天津麦顿
  31823. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  31824. get:
  31825. parameters:
  31826. - description: 成交单号
  31827. in: query
  31828. name: tradeid
  31829. required: true
  31830. type: string
  31831. produces:
  31832. - application/json
  31833. responses:
  31834. "200":
  31835. description: OK
  31836. schema:
  31837. items:
  31838. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  31839. type: array
  31840. "500":
  31841. description: Internal Server Error
  31842. schema:
  31843. $ref: '#/definitions/app.Response'
  31844. security:
  31845. - ApiKeyAuth: []
  31846. summary: 掉期商品订单详情(交易确认书)
  31847. tags:
  31848. - 天津麦顿
  31849. /Tjmd/QueryTjmdMarketSection:
  31850. get:
  31851. produces:
  31852. - application/json
  31853. responses:
  31854. "200":
  31855. description: OK
  31856. schema:
  31857. items:
  31858. $ref: '#/definitions/models.TjmdMarketSection'
  31859. type: array
  31860. "500":
  31861. description: Internal Server Error
  31862. schema:
  31863. $ref: '#/definitions/app.Response'
  31864. security:
  31865. - ApiKeyAuth: []
  31866. summary: 查询市场板块
  31867. tags:
  31868. - 天津麦顿
  31869. /Tjmd/QueryTjmdTodayAccountMargin:
  31870. get:
  31871. parameters:
  31872. - description: 市场id
  31873. in: query
  31874. name: marketid
  31875. type: string
  31876. - description: 商品id
  31877. in: query
  31878. name: goodsid
  31879. type: string
  31880. - description: 资金账号
  31881. in: query
  31882. name: accountid
  31883. type: string
  31884. produces:
  31885. - application/json
  31886. responses:
  31887. "200":
  31888. description: OK
  31889. schema:
  31890. items:
  31891. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  31892. type: array
  31893. "500":
  31894. description: Internal Server Error
  31895. schema:
  31896. $ref: '#/definitions/app.Response'
  31897. security:
  31898. - ApiKeyAuth: []
  31899. summary: 查询今日账户保证金配置
  31900. tags:
  31901. - 天津麦顿
  31902. /Tjmd/QueryTjmdTradeOrderDetail:
  31903. get:
  31904. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  31905. parameters:
  31906. - description: 页码
  31907. in: query
  31908. name: page
  31909. type: integer
  31910. - description: 每页条数
  31911. in: query
  31912. name: pagesize
  31913. type: integer
  31914. - description: 用户id
  31915. in: query
  31916. name: userid
  31917. required: true
  31918. type: integer
  31919. - description: 用户类型
  31920. in: query
  31921. name: usertype
  31922. required: true
  31923. type: integer
  31924. - description: 市场id, 格式 1,2,3
  31925. in: query
  31926. name: marketids
  31927. type: string
  31928. - description: 商品id
  31929. in: query
  31930. name: goodsid
  31931. required: true
  31932. type: integer
  31933. - description: 买卖方向 0-买 1-卖
  31934. in: query
  31935. name: buyorsell
  31936. required: true
  31937. type: integer
  31938. produces:
  31939. - application/json
  31940. responses:
  31941. "200":
  31942. description: OK
  31943. schema:
  31944. items:
  31945. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  31946. type: array
  31947. "500":
  31948. description: Internal Server Error
  31949. schema:
  31950. $ref: '#/definitions/app.Response'
  31951. security:
  31952. - ApiKeyAuth: []
  31953. summary: 查询掉期买卖大厅
  31954. tags:
  31955. - 天津麦顿
  31956. /Tjmd/QueryTjmdTransferApply:
  31957. get:
  31958. parameters:
  31959. - description: 类型 1-我的申请 2-对方申请
  31960. in: query
  31961. name: applytype
  31962. required: true
  31963. type: integer
  31964. - description: 市场id, 格式 1,2,3
  31965. in: query
  31966. name: marketids
  31967. type: string
  31968. - description: 资金账号, 格式 25000000001,25000000003
  31969. in: query
  31970. name: accountids
  31971. type: string
  31972. - description: 开始交易日(yyyymmdd)
  31973. in: query
  31974. name: begindate
  31975. type: string
  31976. - description: 结束交易日(yyyymmdd)
  31977. in: query
  31978. name: enddate
  31979. type: string
  31980. produces:
  31981. - application/json
  31982. responses:
  31983. "200":
  31984. description: OK
  31985. schema:
  31986. items:
  31987. $ref: '#/definitions/models.TjmdTransferApply'
  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. - 天津麦顿
  31998. /Trade/QueryRecieptOrder:
  31999. get:
  32000. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  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: goodsID
  32013. required: true
  32014. type: integer
  32015. - description: 所属账户名称
  32016. in: query
  32017. name: accountName
  32018. type: string
  32019. - description: 市场ID
  32020. in: query
  32021. name: marketID
  32022. type: integer
  32023. - description: 方向 - 0:买 1:卖
  32024. in: query
  32025. name: buyorsell
  32026. required: true
  32027. type: integer
  32028. produces:
  32029. - application/json
  32030. responses:
  32031. "200":
  32032. description: OK
  32033. schema:
  32034. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  32035. "500":
  32036. description: Internal Server Error
  32037. schema:
  32038. $ref: '#/definitions/app.Response'
  32039. security:
  32040. - ApiKeyAuth: []
  32041. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  32042. tags:
  32043. - 通用交易
  32044. /User/AddMessageBoard:
  32045. post:
  32046. parameters:
  32047. - description: 用户ID
  32048. in: query
  32049. name: userID
  32050. required: true
  32051. type: integer
  32052. - description: 留言信息
  32053. in: query
  32054. name: message
  32055. required: true
  32056. type: string
  32057. - description: 联系电话
  32058. in: query
  32059. name: contactNum
  32060. required: true
  32061. type: string
  32062. produces:
  32063. - application/json
  32064. responses:
  32065. "200":
  32066. description: OK
  32067. schema:
  32068. $ref: '#/definitions/app.Response'
  32069. "500":
  32070. description: Internal Server Error
  32071. schema:
  32072. $ref: '#/definitions/app.Response'
  32073. security:
  32074. - ApiKeyAuth: []
  32075. summary: 添加用户留言板信息
  32076. tags:
  32077. - 用户信息
  32078. /User/AddUserFavoriteGoods:
  32079. post:
  32080. parameters:
  32081. - description: 用户ID
  32082. in: query
  32083. name: userID
  32084. required: true
  32085. type: integer
  32086. - description: 商品ID
  32087. in: query
  32088. name: goodsID
  32089. required: true
  32090. type: integer
  32091. produces:
  32092. - application/json
  32093. responses:
  32094. "200":
  32095. description: OK
  32096. schema:
  32097. $ref: '#/definitions/app.Response'
  32098. "500":
  32099. description: Internal Server Error
  32100. schema:
  32101. $ref: '#/definitions/app.Response'
  32102. security:
  32103. - ApiKeyAuth: []
  32104. summary: 添加用户商品收藏信息
  32105. tags:
  32106. - 用户信息
  32107. /User/GetLoginID:
  32108. get:
  32109. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  32110. parameters:
  32111. - description: 登录代码
  32112. in: query
  32113. name: username
  32114. required: true
  32115. type: string
  32116. produces:
  32117. - application/json
  32118. responses:
  32119. "200":
  32120. description: OK
  32121. schema:
  32122. $ref: '#/definitions/app.Response'
  32123. "500":
  32124. description: Internal Server Error
  32125. schema:
  32126. $ref: '#/definitions/app.Response'
  32127. summary: 获取登录ID
  32128. tags:
  32129. - 用户信息
  32130. /User/GetUserAccount:
  32131. get:
  32132. parameters:
  32133. - description: 用户ID
  32134. in: query
  32135. name: userID
  32136. required: true
  32137. type: integer
  32138. produces:
  32139. - application/json
  32140. responses:
  32141. "200":
  32142. description: OK
  32143. schema:
  32144. $ref: '#/definitions/models.Useraccount'
  32145. "500":
  32146. description: Internal Server Error
  32147. schema:
  32148. $ref: '#/definitions/app.Response'
  32149. security:
  32150. - ApiKeyAuth: []
  32151. summary: 获取用户账号信息
  32152. tags:
  32153. - 用户信息
  32154. /User/GetUserAuthStatus:
  32155. get:
  32156. parameters:
  32157. - description: 用户ID
  32158. in: query
  32159. name: userID
  32160. required: true
  32161. type: integer
  32162. produces:
  32163. - application/json
  32164. responses:
  32165. "200":
  32166. description: OK
  32167. schema:
  32168. $ref: '#/definitions/app.Response'
  32169. "500":
  32170. description: Internal Server Error
  32171. schema:
  32172. $ref: '#/definitions/app.Response'
  32173. security:
  32174. - ApiKeyAuth: []
  32175. summary: 获取用户实名认证状态
  32176. tags:
  32177. - 用户信息
  32178. /User/LoginQuery:
  32179. get:
  32180. parameters:
  32181. - description: 登录账号
  32182. in: query
  32183. name: loginID
  32184. required: true
  32185. type: integer
  32186. produces:
  32187. - application/json
  32188. responses:
  32189. "200":
  32190. description: OK
  32191. schema:
  32192. $ref: '#/definitions/user.LoginQueryRsp'
  32193. "500":
  32194. description: Internal Server Error
  32195. schema:
  32196. $ref: '#/definitions/app.Response'
  32197. security:
  32198. - ApiKeyAuth: []
  32199. summary: 账户登录后信息查询
  32200. tags:
  32201. - 用户信息
  32202. /User/QueryMessageBoard:
  32203. get:
  32204. parameters:
  32205. - description: 用户ID
  32206. in: query
  32207. name: userID
  32208. required: true
  32209. type: integer
  32210. produces:
  32211. - application/json
  32212. responses:
  32213. "200":
  32214. description: OK
  32215. schema:
  32216. $ref: '#/definitions/models.Messageboard'
  32217. "500":
  32218. description: Internal Server Error
  32219. schema:
  32220. $ref: '#/definitions/app.Response'
  32221. security:
  32222. - ApiKeyAuth: []
  32223. summary: 获取用户留言板信息
  32224. tags:
  32225. - 用户信息
  32226. /User/QueryMyRefer:
  32227. get:
  32228. parameters:
  32229. - description: 用户ID
  32230. in: query
  32231. name: userid
  32232. required: true
  32233. type: integer
  32234. - description: 页码
  32235. in: query
  32236. name: page
  32237. type: integer
  32238. - description: 每页条数
  32239. in: query
  32240. name: pagesize
  32241. type: integer
  32242. produces:
  32243. - application/json
  32244. responses:
  32245. "200":
  32246. description: OK
  32247. schema:
  32248. items:
  32249. $ref: '#/definitions/models.MyRefer'
  32250. type: array
  32251. "500":
  32252. description: Internal Server Error
  32253. schema:
  32254. $ref: '#/definitions/app.Response'
  32255. security:
  32256. - ApiKeyAuth: []
  32257. - LoginID: []
  32258. - Group: []
  32259. summary: 查询我的推荐列表
  32260. tags:
  32261. - 用户信息
  32262. /User/QueryUserFavoriteGoodses:
  32263. get:
  32264. parameters:
  32265. - description: 用户ID
  32266. in: query
  32267. name: userID
  32268. required: true
  32269. type: integer
  32270. produces:
  32271. - application/json
  32272. responses:
  32273. "200":
  32274. description: OK
  32275. schema:
  32276. $ref: '#/definitions/models.Userfavoritegoods'
  32277. "500":
  32278. description: Internal Server Error
  32279. schema:
  32280. $ref: '#/definitions/app.Response'
  32281. security:
  32282. - ApiKeyAuth: []
  32283. summary: 获取用户商品收藏信息
  32284. tags:
  32285. - 用户信息
  32286. /User/QueryUserInfo:
  32287. get:
  32288. parameters:
  32289. - description: 用户ID
  32290. in: query
  32291. name: userID
  32292. required: true
  32293. type: integer
  32294. - description: 是否解密
  32295. in: query
  32296. name: isDecrypt
  32297. type: boolean
  32298. produces:
  32299. - application/json
  32300. responses:
  32301. "200":
  32302. description: OK
  32303. schema:
  32304. $ref: '#/definitions/models.Userinfo'
  32305. "500":
  32306. description: Internal Server Error
  32307. schema:
  32308. $ref: '#/definitions/app.Response'
  32309. security:
  32310. - ApiKeyAuth: []
  32311. summary: 获取用户信息
  32312. tags:
  32313. - 用户信息
  32314. /User/QueryUserReferNum:
  32315. get:
  32316. parameters:
  32317. - description: 用户ID
  32318. in: query
  32319. name: userID
  32320. required: true
  32321. type: integer
  32322. produces:
  32323. - application/json
  32324. responses:
  32325. "200":
  32326. description: OK
  32327. schema:
  32328. $ref: '#/definitions/app.Response'
  32329. "500":
  32330. description: Internal Server Error
  32331. schema:
  32332. $ref: '#/definitions/app.Response'
  32333. summary: 获取用户邀请码
  32334. tags:
  32335. - 用户信息
  32336. /User/RemoveUserFavoriteGoods:
  32337. post:
  32338. parameters:
  32339. - description: 用户ID
  32340. in: query
  32341. name: userID
  32342. required: true
  32343. type: integer
  32344. - description: 商品ID
  32345. in: query
  32346. name: goodsID
  32347. required: true
  32348. type: integer
  32349. produces:
  32350. - application/json
  32351. responses:
  32352. "200":
  32353. description: OK
  32354. schema:
  32355. $ref: '#/definitions/app.Response'
  32356. "500":
  32357. description: Internal Server Error
  32358. schema:
  32359. $ref: '#/definitions/app.Response'
  32360. security:
  32361. - ApiKeyAuth: []
  32362. summary: 移除用户商品收藏信息
  32363. tags:
  32364. - 用户信息
  32365. /User/UpdateUserAccountStatus:
  32366. post:
  32367. parameters:
  32368. - description: 用户ID
  32369. in: query
  32370. name: userID
  32371. required: true
  32372. type: integer
  32373. - description: 账户状态 - 4:正常 6:注销(停用)
  32374. in: query
  32375. name: accountStatus
  32376. required: true
  32377. type: integer
  32378. produces:
  32379. - application/json
  32380. responses:
  32381. "200":
  32382. description: OK
  32383. schema:
  32384. $ref: '#/definitions/app.Response'
  32385. "500":
  32386. description: Internal Server Error
  32387. schema:
  32388. $ref: '#/definitions/app.Response'
  32389. security:
  32390. - ApiKeyAuth: []
  32391. summary: 更新用户状态
  32392. tags:
  32393. - 用户信息
  32394. /WRTrade/GetAllDeliveryGoods:
  32395. get:
  32396. produces:
  32397. - application/json
  32398. responses:
  32399. "200":
  32400. description: OK
  32401. schema:
  32402. $ref: '#/definitions/app.Response'
  32403. "500":
  32404. description: Internal Server Error
  32405. schema:
  32406. $ref: '#/definitions/app.Response'
  32407. security:
  32408. - ApiKeyAuth: []
  32409. summary: 获取带仓单分类的种类信息
  32410. tags:
  32411. - 仓单贸易
  32412. - 仓单贸易
  32413. /WrTrade2/InsertXhcpSellBackApply:
  32414. post:
  32415. parameters:
  32416. - description: 回收申请
  32417. in: body
  32418. name: jsonBody
  32419. required: true
  32420. schema:
  32421. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  32422. produces:
  32423. - application/json
  32424. responses:
  32425. "200":
  32426. description: OK
  32427. schema:
  32428. $ref: '#/definitions/app.Response'
  32429. "500":
  32430. description: Internal Server Error
  32431. schema:
  32432. $ref: '#/definitions/app.Response'
  32433. security:
  32434. - ApiKeyAuth: []
  32435. summary: 新增回收申请(新会陈皮)
  32436. tags:
  32437. - 仓单贸易v2
  32438. /WrTrade2/QueryDeliveryGoodsSection:
  32439. get:
  32440. produces:
  32441. - application/json
  32442. responses:
  32443. "200":
  32444. description: OK
  32445. schema:
  32446. items:
  32447. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  32448. type: array
  32449. "500":
  32450. description: Internal Server Error
  32451. schema:
  32452. $ref: '#/definitions/app.Response'
  32453. security:
  32454. - ApiKeyAuth: []
  32455. summary: 查询板块(分类)
  32456. tags:
  32457. - 仓单贸易v2
  32458. /WrTrade2/QueryFaProductDetail:
  32459. get:
  32460. description: 页面 买卖大厅 -> 选择融资方案
  32461. parameters:
  32462. - description: 仓单要素id
  32463. in: query
  32464. name: wrfactortypeid
  32465. required: true
  32466. type: integer
  32467. produces:
  32468. - application/json
  32469. responses:
  32470. "200":
  32471. description: OK
  32472. schema:
  32473. items:
  32474. $ref: '#/definitions/models.WrFAProductDetail'
  32475. type: array
  32476. "500":
  32477. description: Internal Server Error
  32478. schema:
  32479. $ref: '#/definitions/app.Response'
  32480. security:
  32481. - ApiKeyAuth: []
  32482. summary: 查询融资产品列表
  32483. tags:
  32484. - 仓单贸易v2
  32485. /WrTrade2/QueryFilterItem:
  32486. get:
  32487. parameters:
  32488. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  32489. in: query
  32490. name: itype
  32491. required: true
  32492. type: string
  32493. produces:
  32494. - application/json
  32495. responses:
  32496. "200":
  32497. description: OK
  32498. schema:
  32499. items:
  32500. $ref: '#/definitions/models.WrFilterItem'
  32501. type: array
  32502. "500":
  32503. description: Internal Server Error
  32504. schema:
  32505. $ref: '#/definitions/app.Response'
  32506. security:
  32507. - ApiKeyAuth: []
  32508. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  32509. tags:
  32510. - 仓单贸易v2
  32511. /WrTrade2/QueryFtDeliveryGoods:
  32512. get:
  32513. produces:
  32514. - application/json
  32515. responses:
  32516. "200":
  32517. description: OK
  32518. schema:
  32519. items:
  32520. $ref: '#/definitions/models.WrFtDeliveryGoods'
  32521. type: array
  32522. "500":
  32523. description: Internal Server Error
  32524. schema:
  32525. $ref: '#/definitions/app.Response'
  32526. security:
  32527. - ApiKeyAuth: []
  32528. summary: 查询品种品类筛选框列表
  32529. tags:
  32530. - 仓单贸易v2
  32531. /WrTrade2/QueryHoldLB:
  32532. get:
  32533. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  32534. parameters:
  32535. - description: 资金账号
  32536. in: query
  32537. name: accountid
  32538. required: true
  32539. type: integer
  32540. - description: 仓库id
  32541. in: query
  32542. name: warehouseid
  32543. type: integer
  32544. - description: 品种id
  32545. in: query
  32546. name: deliverygoodsid
  32547. type: integer
  32548. - description: 品类id
  32549. in: query
  32550. name: wrstandardid
  32551. type: integer
  32552. - description: 仓单要素id
  32553. in: query
  32554. name: wrfactortypeid
  32555. type: integer
  32556. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  32557. in: query
  32558. name: dgitemname
  32559. type: string
  32560. produces:
  32561. - application/json
  32562. responses:
  32563. "200":
  32564. description: OK
  32565. schema:
  32566. items:
  32567. $ref: '#/definitions/models.WrHoldLB'
  32568. type: array
  32569. "500":
  32570. description: Internal Server Error
  32571. schema:
  32572. $ref: '#/definitions/app.Response'
  32573. security:
  32574. - ApiKeyAuth: []
  32575. summary: 查询仓单持有记录
  32576. tags:
  32577. - 仓单贸易v2
  32578. /WrTrade2/QueryOrderQuote:
  32579. get:
  32580. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  32581. 唯一确定1条记录
  32582. parameters:
  32583. - description: 页码
  32584. in: query
  32585. name: page
  32586. type: integer
  32587. - description: 每页条数
  32588. in: query
  32589. name: pagesize
  32590. type: integer
  32591. - description: 仓单贸易市场id
  32592. in: query
  32593. name: marketid
  32594. type: integer
  32595. - description: 价格方式 - 1:固定价 2-浮动价
  32596. in: query
  32597. name: wrpricetype
  32598. required: true
  32599. type: integer
  32600. - description: 0:仓单预售 1:仓单贸易
  32601. in: query
  32602. name: haswr
  32603. type: integer
  32604. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  32605. in: query
  32606. name: dgitemname
  32607. type: string
  32608. - description: 仓库id(筛选条件)
  32609. in: query
  32610. name: warehouseid
  32611. type: integer
  32612. - description: 品种id
  32613. in: query
  32614. name: deliverygoodsid
  32615. type: integer
  32616. - description: 品类id
  32617. in: query
  32618. name: wrstandardid
  32619. type: integer
  32620. - description: 品牌id(dgfactoryitemid)
  32621. in: query
  32622. name: brandid
  32623. type: integer
  32624. - description: 年份id(dgfactoryitemid)
  32625. in: query
  32626. name: yearsid
  32627. type: integer
  32628. - description: 仓单要素id
  32629. in: query
  32630. name: wrfactortypeid
  32631. type: integer
  32632. - description: 交收月(yyyy-mm) 仓单预售填写
  32633. in: query
  32634. name: deliverymonth
  32635. type: string
  32636. produces:
  32637. - application/json
  32638. responses:
  32639. "200":
  32640. description: OK
  32641. schema:
  32642. items:
  32643. $ref: '#/definitions/models.WrOrderQuote'
  32644. type: array
  32645. "500":
  32646. description: Internal Server Error
  32647. schema:
  32648. $ref: '#/definitions/app.Response'
  32649. security:
  32650. - ApiKeyAuth: []
  32651. summary: 查询大厅行情列表
  32652. tags:
  32653. - 仓单贸易v2
  32654. /WrTrade2/QueryOrderQuoteDetail:
  32655. get:
  32656. parameters:
  32657. - description: 页码
  32658. in: query
  32659. name: page
  32660. type: integer
  32661. - description: 每页条数
  32662. in: query
  32663. name: pagesize
  32664. type: integer
  32665. - description: 仓单贸易市场id
  32666. in: query
  32667. name: marketid
  32668. type: integer
  32669. - description: 价格方式 - 1:固定价 2-浮动价
  32670. in: query
  32671. name: wrpricetype
  32672. required: true
  32673. type: integer
  32674. - description: 0:仓单预售 1:仓单贸易
  32675. in: query
  32676. name: haswr
  32677. type: integer
  32678. - description: 仓单要素id
  32679. in: query
  32680. name: wrfactortypeid
  32681. required: true
  32682. type: integer
  32683. - description: 期货商品id(浮动价方式时填)
  32684. in: query
  32685. name: goodsid
  32686. type: integer
  32687. - description: 买卖方向 0-买 1-卖
  32688. in: query
  32689. name: buyorsell
  32690. required: true
  32691. type: integer
  32692. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  32693. in: query
  32694. name: deliverymonth
  32695. type: string
  32696. produces:
  32697. - application/json
  32698. responses:
  32699. "200":
  32700. description: OK
  32701. schema:
  32702. items:
  32703. $ref: '#/definitions/models.WrOrderQuoteDetail'
  32704. type: array
  32705. "500":
  32706. description: Internal Server Error
  32707. schema:
  32708. $ref: '#/definitions/app.Response'
  32709. security:
  32710. - ApiKeyAuth: []
  32711. summary: 查询买卖大厅
  32712. tags:
  32713. - 仓单贸易v2
  32714. /WrTrade2/QueryOrderQuoteMyq:
  32715. get:
  32716. parameters:
  32717. - description: 页码
  32718. in: query
  32719. name: page
  32720. type: integer
  32721. - description: 每页条数
  32722. in: query
  32723. name: pagesize
  32724. type: integer
  32725. - description: 用户id
  32726. in: query
  32727. name: userid
  32728. required: true
  32729. type: integer
  32730. - description: 仓单贸易市场id
  32731. in: query
  32732. name: marketid
  32733. type: integer
  32734. - description: 0:仓单预售 1:仓单贸易
  32735. in: query
  32736. name: haswr
  32737. type: integer
  32738. - description: 买卖方向 0-买 1-卖
  32739. in: query
  32740. name: buyorsell
  32741. required: true
  32742. type: integer
  32743. - description: 品种id
  32744. in: query
  32745. name: deliverygoodsid
  32746. type: integer
  32747. - description: 品类id
  32748. in: query
  32749. name: wrstandardid
  32750. type: integer
  32751. - description: 交收月(yyyy-mm) 仓单预售填写
  32752. in: query
  32753. name: deliverymonth
  32754. type: string
  32755. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  32756. in: query
  32757. name: dgitemname
  32758. type: string
  32759. produces:
  32760. - application/json
  32761. responses:
  32762. "200":
  32763. description: OK
  32764. schema:
  32765. items:
  32766. $ref: '#/definitions/models.WrQuoteOrderMyq'
  32767. type: array
  32768. "500":
  32769. description: Internal Server Error
  32770. schema:
  32771. $ref: '#/definitions/app.Response'
  32772. security:
  32773. - ApiKeyAuth: []
  32774. summary: 查询贸易圈挂牌大厅
  32775. tags:
  32776. - 仓单贸易v2
  32777. /WrTrade2/QueryPerformancePlan:
  32778. get:
  32779. parameters:
  32780. - description: 用户id
  32781. in: query
  32782. name: userid
  32783. required: true
  32784. type: integer
  32785. - description: 买卖方向 0-买 1-卖
  32786. in: query
  32787. name: buyorsell
  32788. required: true
  32789. type: integer
  32790. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  32791. 8:释放冻结失败 9:超时待处理 10:超时关闭
  32792. in: query
  32793. name: status
  32794. type: string
  32795. - description: 开始交易日(yyyymmdd)
  32796. in: query
  32797. name: begindate
  32798. type: string
  32799. - description: 结束交易日(yyyymmdd)
  32800. in: query
  32801. name: enddate
  32802. type: string
  32803. produces:
  32804. - application/json
  32805. responses:
  32806. "200":
  32807. description: OK
  32808. schema:
  32809. items:
  32810. $ref: '#/definitions/models.WrPerformancePlan'
  32811. type: array
  32812. "500":
  32813. description: Internal Server Error
  32814. schema:
  32815. $ref: '#/definitions/app.Response'
  32816. security:
  32817. - ApiKeyAuth: []
  32818. summary: 查询履约信息
  32819. tags:
  32820. - 仓单贸易v2
  32821. /WrTrade2/QueryPermancePlanTmp:
  32822. get:
  32823. description: |-
  32824. 返回指定用户的模板和公共模板(用户id为空)
  32825. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  32826. parameters:
  32827. - description: 用户id
  32828. in: query
  32829. name: userid
  32830. type: integer
  32831. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  32832. (无仓单) 5:挂牌期权 6:竞拍-降价式
  32833. in: query
  32834. name: tmptype
  32835. type: string
  32836. - description: 是否包含公共模板(用户id为空的) 1-包含
  32837. in: query
  32838. name: includepub
  32839. type: integer
  32840. - description: 市场id(天津麦顿指定此参数,其它不用)
  32841. in: query
  32842. name: marketid
  32843. type: integer
  32844. produces:
  32845. - application/json
  32846. responses:
  32847. "200":
  32848. description: OK
  32849. schema:
  32850. items:
  32851. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  32852. type: array
  32853. "500":
  32854. description: Internal Server Error
  32855. schema:
  32856. $ref: '#/definitions/app.Response'
  32857. security:
  32858. - ApiKeyAuth: []
  32859. summary: 查询履约模板
  32860. tags:
  32861. - 仓单贸易v2
  32862. /WrTrade2/QuerySiteColumnDetail:
  32863. get:
  32864. parameters:
  32865. - description: 页码
  32866. in: query
  32867. name: page
  32868. type: integer
  32869. - description: 每页条数
  32870. in: query
  32871. name: pagesize
  32872. type: integer
  32873. - description: 所属栏目id
  32874. in: query
  32875. name: columnid
  32876. type: integer
  32877. produces:
  32878. - application/json
  32879. responses:
  32880. "200":
  32881. description: OK
  32882. schema:
  32883. items:
  32884. $ref: '#/definitions/models.WrSiteColumnDetail'
  32885. type: array
  32886. "500":
  32887. description: Internal Server Error
  32888. schema:
  32889. $ref: '#/definitions/app.Response'
  32890. security:
  32891. - ApiKeyAuth: []
  32892. summary: 查询资讯
  32893. tags:
  32894. - 仓单贸易v2
  32895. /WrTrade2/QuerySpotGroupTradeSum:
  32896. get:
  32897. produces:
  32898. - application/json
  32899. responses:
  32900. "200":
  32901. description: OK
  32902. schema:
  32903. items:
  32904. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  32905. type: array
  32906. "500":
  32907. description: Internal Server Error
  32908. schema:
  32909. $ref: '#/definitions/app.Response'
  32910. security:
  32911. - ApiKeyAuth: []
  32912. summary: 查询指数
  32913. tags:
  32914. - 仓单贸易v2
  32915. /WrTrade2/QuerySpotGroupTradeSumDetail:
  32916. get:
  32917. description: 查询的结果将会按日期 从小到大 排序
  32918. parameters:
  32919. - description: 现货商品id
  32920. in: query
  32921. name: deliverygoodsid
  32922. required: true
  32923. type: integer
  32924. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  32925. in: query
  32926. name: lastnum
  32927. type: integer
  32928. produces:
  32929. - application/json
  32930. responses:
  32931. "200":
  32932. description: OK
  32933. schema:
  32934. items:
  32935. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  32936. type: array
  32937. "500":
  32938. description: Internal Server Error
  32939. schema:
  32940. $ref: '#/definitions/app.Response'
  32941. security:
  32942. - ApiKeyAuth: []
  32943. summary: 查询指数详细(价格走势图)
  32944. tags:
  32945. - 仓单贸易v2
  32946. /WrTrade2/QueryWrAverageTradePrice:
  32947. get:
  32948. parameters:
  32949. - description: 页码
  32950. in: query
  32951. name: page
  32952. type: integer
  32953. - description: 每页条数
  32954. in: query
  32955. name: pagesize
  32956. type: integer
  32957. - description: 0:仓单预售 1:仓单贸易
  32958. in: query
  32959. name: haswr
  32960. required: true
  32961. type: integer
  32962. - description: 仓单要素id
  32963. in: query
  32964. name: wrfactortypeid
  32965. required: true
  32966. type: integer
  32967. produces:
  32968. - application/json
  32969. responses:
  32970. "200":
  32971. description: OK
  32972. schema:
  32973. items:
  32974. $ref: '#/definitions/models.WrAverageTradePrice'
  32975. type: array
  32976. "500":
  32977. description: Internal Server Error
  32978. schema:
  32979. $ref: '#/definitions/app.Response'
  32980. security:
  32981. - ApiKeyAuth: []
  32982. summary: 查询成交价(历史走势)
  32983. tags:
  32984. - 仓单贸易v2
  32985. /WrTrade2/QueryWrBrandAndYears:
  32986. get:
  32987. produces:
  32988. - application/json
  32989. responses:
  32990. "200":
  32991. description: OK
  32992. schema:
  32993. items:
  32994. $ref: '#/definitions/models.WrBrandAndYears'
  32995. type: array
  32996. "500":
  32997. description: Internal Server Error
  32998. schema:
  32999. $ref: '#/definitions/app.Response'
  33000. security:
  33001. - ApiKeyAuth: []
  33002. summary: 查询品牌和年份
  33003. tags:
  33004. - 仓单贸易v2
  33005. /WrTrade2/QueryWrBsGoodsInfo:
  33006. get:
  33007. description: 合约交易/买卖大厅/详情
  33008. parameters:
  33009. - description: 商品id
  33010. in: query
  33011. name: goodsid
  33012. required: true
  33013. type: integer
  33014. produces:
  33015. - application/json
  33016. responses:
  33017. "200":
  33018. description: OK
  33019. schema:
  33020. items:
  33021. $ref: '#/definitions/models.WrBsGoodsInfo'
  33022. type: array
  33023. "500":
  33024. description: Internal Server Error
  33025. schema:
  33026. $ref: '#/definitions/app.Response'
  33027. security:
  33028. - ApiKeyAuth: []
  33029. summary: 查询合约交易买卖大厅详情
  33030. tags:
  33031. - 仓单贸易v2
  33032. /WrTrade2/QueryWrBuybackDetail:
  33033. get:
  33034. parameters:
  33035. - description: 融资合同id
  33036. in: query
  33037. name: scfcontractid
  33038. type: integer
  33039. produces:
  33040. - application/json
  33041. responses:
  33042. "200":
  33043. description: OK
  33044. schema:
  33045. items:
  33046. $ref: '#/definitions/models.WrBuybackDetail'
  33047. type: array
  33048. "500":
  33049. description: Internal Server Error
  33050. schema:
  33051. $ref: '#/definitions/app.Response'
  33052. security:
  33053. - ApiKeyAuth: []
  33054. summary: 查询仓单回购明细
  33055. tags:
  33056. - 仓单贸易v2
  33057. /WrTrade2/QueryWrClientAdSpaceConfig:
  33058. get:
  33059. produces:
  33060. - application/json
  33061. responses:
  33062. "200":
  33063. description: OK
  33064. schema:
  33065. items:
  33066. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  33067. type: array
  33068. "500":
  33069. description: Internal Server Error
  33070. schema:
  33071. $ref: '#/definitions/app.Response'
  33072. security:
  33073. - ApiKeyAuth: []
  33074. summary: 查询固定广告配置
  33075. tags:
  33076. - 仓单贸易v2
  33077. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  33078. get:
  33079. parameters:
  33080. - description: 资金账号
  33081. in: query
  33082. name: accountid
  33083. required: true
  33084. type: integer
  33085. - description: 商品id
  33086. in: query
  33087. name: goodsid
  33088. required: true
  33089. type: integer
  33090. produces:
  33091. - application/json
  33092. responses:
  33093. "200":
  33094. description: OK
  33095. schema:
  33096. items:
  33097. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  33098. type: array
  33099. "500":
  33100. description: Internal Server Error
  33101. schema:
  33102. $ref: '#/definitions/app.Response'
  33103. security:
  33104. - ApiKeyAuth: []
  33105. summary: 查询合约交收可点选仓单
  33106. tags:
  33107. - 仓单贸易v2
  33108. /WrTrade2/QueryWrDeliveryDetail:
  33109. get:
  33110. parameters:
  33111. - description: 用户id
  33112. in: query
  33113. name: userid
  33114. required: true
  33115. type: integer
  33116. - description: 资金账号id
  33117. in: query
  33118. name: accountid
  33119. type: integer
  33120. - description: 开始交易日(yyyymmdd)
  33121. in: query
  33122. name: begindate
  33123. type: string
  33124. - description: 结束交易日(yyyymmdd)
  33125. in: query
  33126. name: enddate
  33127. type: string
  33128. produces:
  33129. - application/json
  33130. responses:
  33131. "200":
  33132. description: OK
  33133. schema:
  33134. items:
  33135. $ref: '#/definitions/models.WrDeliveryDetail'
  33136. type: array
  33137. "500":
  33138. description: Internal Server Error
  33139. schema:
  33140. $ref: '#/definitions/app.Response'
  33141. security:
  33142. - ApiKeyAuth: []
  33143. summary: 查询交收
  33144. tags:
  33145. - 仓单贸易v2
  33146. /WrTrade2/QueryWrDraftUserInfo:
  33147. get:
  33148. parameters:
  33149. - description: 用户ID
  33150. in: query
  33151. name: userid
  33152. required: true
  33153. type: integer
  33154. - description: 用户状态 1:正常 2:注销
  33155. in: query
  33156. name: userstatus
  33157. type: integer
  33158. produces:
  33159. - application/json
  33160. responses:
  33161. "200":
  33162. description: OK
  33163. schema:
  33164. items:
  33165. $ref: '#/definitions/models.WrDraftUserInfo'
  33166. type: array
  33167. "500":
  33168. description: Internal Server Error
  33169. schema:
  33170. $ref: '#/definitions/app.Response'
  33171. security:
  33172. - ApiKeyAuth: []
  33173. summary: 查询实名认证信息
  33174. tags:
  33175. - 仓单贸易v2
  33176. /WrTrade2/QueryWrFactorTypeInfo:
  33177. get:
  33178. parameters:
  33179. - description: 仓单要素id
  33180. in: query
  33181. name: wrfactortypeid
  33182. required: true
  33183. type: integer
  33184. produces:
  33185. - application/json
  33186. responses:
  33187. "200":
  33188. description: OK
  33189. schema:
  33190. items:
  33191. $ref: '#/definitions/models.WrFactorTypeInfo'
  33192. type: array
  33193. "500":
  33194. description: Internal Server Error
  33195. schema:
  33196. $ref: '#/definitions/app.Response'
  33197. security:
  33198. - ApiKeyAuth: []
  33199. summary: 查询仓单要素详细信息
  33200. tags:
  33201. - 仓单贸易v2
  33202. /WrTrade2/QueryWrFactorTypeInfoEx:
  33203. get:
  33204. parameters:
  33205. - description: 仓单要素id
  33206. in: query
  33207. name: wrfactortypeid
  33208. required: true
  33209. type: integer
  33210. produces:
  33211. - application/json
  33212. responses:
  33213. "200":
  33214. description: OK
  33215. schema:
  33216. items:
  33217. $ref: '#/definitions/models.WrTypeItem'
  33218. type: array
  33219. "500":
  33220. description: Internal Server Error
  33221. schema:
  33222. $ref: '#/definitions/app.Response'
  33223. security:
  33224. - ApiKeyAuth: []
  33225. summary: 查询仓单要素详细信息列表项
  33226. tags:
  33227. - 仓单贸易v2
  33228. /WrTrade2/QueryWrFinanceBuyApply:
  33229. get:
  33230. description: 页面 融资信息+ / 申请单
  33231. parameters:
  33232. - description: 用户id
  33233. in: query
  33234. name: userid
  33235. required: true
  33236. type: integer
  33237. produces:
  33238. - application/json
  33239. responses:
  33240. "200":
  33241. description: OK
  33242. schema:
  33243. items:
  33244. $ref: '#/definitions/models.WrFinanceBuyApply'
  33245. type: array
  33246. "500":
  33247. description: Internal Server Error
  33248. schema:
  33249. $ref: '#/definitions/app.Response'
  33250. security:
  33251. - ApiKeyAuth: []
  33252. summary: 查询融资购买申请
  33253. tags:
  33254. - 仓单贸易v2
  33255. /WrTrade2/QueryWrFriendApply:
  33256. get:
  33257. parameters:
  33258. - description: 用户id
  33259. in: query
  33260. name: userid
  33261. required: true
  33262. type: integer
  33263. produces:
  33264. - application/json
  33265. responses:
  33266. "200":
  33267. description: OK
  33268. schema:
  33269. items:
  33270. $ref: '#/definitions/models.WrFriendApply'
  33271. type: array
  33272. "500":
  33273. description: Internal Server Error
  33274. schema:
  33275. $ref: '#/definitions/app.Response'
  33276. security:
  33277. - ApiKeyAuth: []
  33278. summary: 查询好友申请记录
  33279. tags:
  33280. - 仓单贸易v2
  33281. /WrTrade2/QueryWrGoodsInfo:
  33282. get:
  33283. parameters:
  33284. - description: 仓单贸易市场id
  33285. in: query
  33286. name: marketid
  33287. type: integer
  33288. - description: 0:仓单预售 1:仓单贸易
  33289. in: query
  33290. name: haswr
  33291. required: true
  33292. type: integer
  33293. - description: 仓单要素id
  33294. in: query
  33295. name: wrfactortypeid
  33296. required: true
  33297. type: integer
  33298. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  33299. in: query
  33300. name: tmplateid
  33301. type: integer
  33302. produces:
  33303. - application/json
  33304. responses:
  33305. "200":
  33306. description: OK
  33307. schema:
  33308. items:
  33309. $ref: '#/definitions/models.WrGoodsInfo'
  33310. type: array
  33311. "500":
  33312. description: Internal Server Error
  33313. schema:
  33314. $ref: '#/definitions/app.Response'
  33315. security:
  33316. - ApiKeyAuth: []
  33317. summary: 查询仓单商品信息
  33318. tags:
  33319. - 仓单贸易v2
  33320. /WrTrade2/QueryWrMarketTradeConfig:
  33321. get:
  33322. parameters:
  33323. - description: 市场id
  33324. in: query
  33325. name: marketid
  33326. type: integer
  33327. produces:
  33328. - application/json
  33329. responses:
  33330. "200":
  33331. description: OK
  33332. schema:
  33333. items:
  33334. $ref: '#/definitions/models.WrMarketTradeConfig'
  33335. type: array
  33336. "500":
  33337. description: Internal Server Error
  33338. schema:
  33339. $ref: '#/definitions/app.Response'
  33340. security:
  33341. - ApiKeyAuth: []
  33342. summary: 查询市场交易参数配置
  33343. tags:
  33344. - 仓单贸易v2
  33345. /WrTrade2/QueryWrOrderDetail:
  33346. get:
  33347. description: 页面 现货仓单 | 预售仓单 -> 委托单
  33348. parameters:
  33349. - description: 页码
  33350. in: query
  33351. name: page
  33352. type: integer
  33353. - description: 每页条数
  33354. in: query
  33355. name: pagesize
  33356. type: integer
  33357. - description: 用户id
  33358. in: query
  33359. name: userid
  33360. required: true
  33361. type: integer
  33362. - description: 仓单贸易市场id
  33363. in: query
  33364. name: marketid
  33365. type: integer
  33366. - description: 0:仓单预售 1:仓单贸易
  33367. in: query
  33368. name: haswr
  33369. required: true
  33370. type: integer
  33371. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  33372. in: query
  33373. name: bcancel
  33374. type: integer
  33375. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  33376. in: query
  33377. name: wrtradetype
  33378. type: integer
  33379. - description: 开始交易日(yyyymmdd)
  33380. in: query
  33381. name: begindate
  33382. type: string
  33383. - description: 结束交易日(yyyymmdd)
  33384. in: query
  33385. name: enddate
  33386. type: string
  33387. produces:
  33388. - application/json
  33389. responses:
  33390. "200":
  33391. description: OK
  33392. schema:
  33393. items:
  33394. $ref: '#/definitions/models.WrOrderDetail'
  33395. type: array
  33396. "500":
  33397. description: Internal Server Error
  33398. schema:
  33399. $ref: '#/definitions/app.Response'
  33400. security:
  33401. - ApiKeyAuth: []
  33402. summary: 查询仓单委托单
  33403. tags:
  33404. - 仓单贸易v2
  33405. /WrTrade2/QueryWrOutInApply:
  33406. get:
  33407. parameters:
  33408. - description: 页码
  33409. in: query
  33410. name: page
  33411. type: integer
  33412. - description: 每页条数
  33413. in: query
  33414. name: pagesize
  33415. type: integer
  33416. - description: 用户id
  33417. in: query
  33418. name: userid
  33419. required: true
  33420. type: integer
  33421. - description: 开始交易日(yyyymmdd)
  33422. in: query
  33423. name: begindate
  33424. type: string
  33425. - description: 结束交易日(yyyymmdd)
  33426. in: query
  33427. name: enddate
  33428. type: string
  33429. produces:
  33430. - application/json
  33431. responses:
  33432. "200":
  33433. description: OK
  33434. schema:
  33435. items:
  33436. $ref: '#/definitions/models.WrOutInApply'
  33437. type: array
  33438. "500":
  33439. description: Internal Server Error
  33440. schema:
  33441. $ref: '#/definitions/app.Response'
  33442. security:
  33443. - ApiKeyAuth: []
  33444. summary: 查询提货申请
  33445. tags:
  33446. - 仓单贸易v2
  33447. /WrTrade2/QueryWrPerformancePlanStep:
  33448. get:
  33449. parameters:
  33450. - description: 履约计划id(performanceplanid)
  33451. in: query
  33452. name: planid
  33453. required: true
  33454. type: integer
  33455. - description: 当前步骤id
  33456. in: query
  33457. name: curstepid
  33458. type: integer
  33459. produces:
  33460. - application/json
  33461. responses:
  33462. "200":
  33463. description: OK
  33464. schema:
  33465. items:
  33466. $ref: '#/definitions/models.WrPerformancePlanStep'
  33467. type: array
  33468. "500":
  33469. description: Internal Server Error
  33470. schema:
  33471. $ref: '#/definitions/app.Response'
  33472. security:
  33473. - ApiKeyAuth: []
  33474. summary: 查询履约信息详情
  33475. tags:
  33476. - 仓单贸易v2
  33477. /WrTrade2/QueryWrPerformanceStepType:
  33478. get:
  33479. produces:
  33480. - application/json
  33481. responses:
  33482. "200":
  33483. description: OK
  33484. schema:
  33485. items:
  33486. $ref: '#/definitions/models.WrPerformanceStepType'
  33487. type: array
  33488. "500":
  33489. description: Internal Server Error
  33490. schema:
  33491. $ref: '#/definitions/app.Response'
  33492. security:
  33493. - ApiKeyAuth: []
  33494. summary: 查询履约步骤枚举
  33495. tags:
  33496. - 仓单贸易v2
  33497. /WrTrade2/QueryWrPosition:
  33498. get:
  33499. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  33500. parameters:
  33501. - description: 用户id
  33502. in: query
  33503. name: userid
  33504. required: true
  33505. type: integer
  33506. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  33507. in: query
  33508. name: querytype
  33509. required: true
  33510. type: integer
  33511. - description: 0:仓单预售 1:仓单贸易
  33512. in: query
  33513. name: haswr
  33514. required: true
  33515. type: integer
  33516. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  33517. in: query
  33518. name: dgitemname
  33519. type: string
  33520. - description: 仓库id(筛选条件)
  33521. in: query
  33522. name: warehouseid
  33523. type: integer
  33524. - description: 品种id
  33525. in: query
  33526. name: deliverygoodsid
  33527. type: integer
  33528. - description: 品类id
  33529. in: query
  33530. name: wrstandardid
  33531. type: integer
  33532. produces:
  33533. - application/json
  33534. responses:
  33535. "200":
  33536. description: OK
  33537. schema:
  33538. items:
  33539. $ref: '#/definitions/models.WrPosition'
  33540. type: array
  33541. "500":
  33542. description: Internal Server Error
  33543. schema:
  33544. $ref: '#/definitions/app.Response'
  33545. security:
  33546. - ApiKeyAuth: []
  33547. summary: 查询现货(预售)仓单持仓
  33548. tags:
  33549. - 仓单贸易v2
  33550. /WrTrade2/QueryWrPreSaleInfo:
  33551. get:
  33552. parameters:
  33553. - description: 市场id
  33554. in: query
  33555. name: marketid
  33556. type: integer
  33557. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  33558. in: query
  33559. name: presalestatus
  33560. type: string
  33561. - description: 摇号标识 - 0:未摇号 1:已摇号
  33562. in: query
  33563. name: lotteryflag
  33564. type: integer
  33565. - description: 最近多少条记录(按创建时间倒序)
  33566. in: query
  33567. name: lastnum
  33568. type: integer
  33569. produces:
  33570. - application/json
  33571. responses:
  33572. "200":
  33573. description: OK
  33574. schema:
  33575. items:
  33576. $ref: '#/definitions/models.WrPreSaleInfo'
  33577. type: array
  33578. "500":
  33579. description: Internal Server Error
  33580. schema:
  33581. $ref: '#/definitions/app.Response'
  33582. security:
  33583. - ApiKeyAuth: []
  33584. summary: 查询新品发布
  33585. tags:
  33586. - 仓单贸易v2
  33587. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  33588. get:
  33589. parameters:
  33590. - description: 市场id
  33591. in: query
  33592. name: marketid
  33593. required: true
  33594. type: integer
  33595. - description: 现货商品id
  33596. in: query
  33597. name: wrstandardid
  33598. required: true
  33599. type: integer
  33600. - description: 开始交易日(yyyymmdd)
  33601. in: query
  33602. name: begindate
  33603. type: string
  33604. - description: 结束交易日(yyyymmdd)
  33605. in: query
  33606. name: enddate
  33607. type: string
  33608. - description: 最近多少条记录(按交易日倒序)
  33609. in: query
  33610. name: lastnum
  33611. type: integer
  33612. - description: 是否今日
  33613. in: query
  33614. name: istoday
  33615. type: boolean
  33616. produces:
  33617. - application/json
  33618. responses:
  33619. "200":
  33620. description: OK
  33621. schema:
  33622. items:
  33623. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  33624. type: array
  33625. "500":
  33626. description: Internal Server Error
  33627. schema:
  33628. $ref: '#/definitions/app.Response'
  33629. security:
  33630. - ApiKeyAuth: []
  33631. summary: 查询价格走势
  33632. tags:
  33633. - 仓单贸易v2
  33634. /WrTrade2/QueryWrScfContract:
  33635. get:
  33636. parameters:
  33637. - description: 用户id
  33638. in: query
  33639. name: userid
  33640. required: true
  33641. type: integer
  33642. - description: 融资合同id
  33643. in: query
  33644. name: scfcontractid
  33645. type: integer
  33646. produces:
  33647. - application/json
  33648. responses:
  33649. "200":
  33650. description: OK
  33651. schema:
  33652. items:
  33653. $ref: '#/definitions/models.WrScfContract'
  33654. type: array
  33655. "500":
  33656. description: Internal Server Error
  33657. schema:
  33658. $ref: '#/definitions/app.Response'
  33659. security:
  33660. - ApiKeyAuth: []
  33661. summary: 查询仓单贸易融资合同
  33662. tags:
  33663. - 仓单贸易v2
  33664. /WrTrade2/QueryWrScfContractInterest:
  33665. get:
  33666. parameters:
  33667. - description: 融资合同id
  33668. in: query
  33669. name: scfcontractid
  33670. type: integer
  33671. produces:
  33672. - application/json
  33673. responses:
  33674. "200":
  33675. description: OK
  33676. schema:
  33677. items:
  33678. $ref: '#/definitions/models.WrScfContractInterest'
  33679. type: array
  33680. "500":
  33681. description: Internal Server Error
  33682. schema:
  33683. $ref: '#/definitions/app.Response'
  33684. security:
  33685. - ApiKeyAuth: []
  33686. summary: 查询融资合同费用明细
  33687. tags:
  33688. - 仓单贸易v2
  33689. /WrTrade2/QueryWrSearchUser:
  33690. get:
  33691. parameters:
  33692. - description: 用户名称(模糊匹配)
  33693. in: query
  33694. name: username
  33695. required: true
  33696. type: string
  33697. produces:
  33698. - application/json
  33699. responses:
  33700. "200":
  33701. description: OK
  33702. schema:
  33703. items:
  33704. $ref: '#/definitions/models.WrSearchUser'
  33705. type: array
  33706. "500":
  33707. description: Internal Server Error
  33708. schema:
  33709. $ref: '#/definitions/app.Response'
  33710. security:
  33711. - ApiKeyAuth: []
  33712. summary: 查询用户
  33713. tags:
  33714. - 仓单贸易v2
  33715. /WrTrade2/QueryWrSpecialMatchOrder:
  33716. get:
  33717. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  33718. parameters:
  33719. - description: 页码
  33720. in: query
  33721. name: page
  33722. type: integer
  33723. - description: 每页条数
  33724. in: query
  33725. name: pagesize
  33726. type: integer
  33727. - description: 用户id
  33728. in: query
  33729. name: userid
  33730. required: true
  33731. type: integer
  33732. - description: 仓单贸易市场id
  33733. in: query
  33734. name: marketid
  33735. type: integer
  33736. - description: 0:仓单预售 1:仓单贸易
  33737. in: query
  33738. name: haswr
  33739. required: true
  33740. type: integer
  33741. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  33742. in: query
  33743. name: isspecified
  33744. type: integer
  33745. produces:
  33746. - application/json
  33747. responses:
  33748. "200":
  33749. description: OK
  33750. schema:
  33751. items:
  33752. $ref: '#/definitions/models.WrSpecialMatchOrder'
  33753. type: array
  33754. "500":
  33755. description: Internal Server Error
  33756. schema:
  33757. $ref: '#/definitions/app.Response'
  33758. security:
  33759. - ApiKeyAuth: []
  33760. summary: 查询指定成交
  33761. tags:
  33762. - 仓单贸易v2
  33763. /WrTrade2/QueryWrStandardFactoryItem:
  33764. get:
  33765. parameters:
  33766. - description: 品类id
  33767. in: query
  33768. name: wrstandardid
  33769. required: true
  33770. type: integer
  33771. produces:
  33772. - application/json
  33773. responses:
  33774. "200":
  33775. description: OK
  33776. schema:
  33777. items:
  33778. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  33779. type: array
  33780. "500":
  33781. description: Internal Server Error
  33782. schema:
  33783. $ref: '#/definitions/app.Response'
  33784. security:
  33785. - ApiKeyAuth: []
  33786. summary: 查询品类要素定义项
  33787. tags:
  33788. - 仓单贸易v2
  33789. /WrTrade2/QueryWrTradeBargainApply:
  33790. get:
  33791. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  33792. 议价->对方议价 填写matchuserid=登录用户id
  33793. parameters:
  33794. - description: 议价人id(摘牌方)
  33795. in: query
  33796. name: userid
  33797. type: integer
  33798. - description: 挂牌方id(查对方议价时,填写此项)
  33799. in: query
  33800. name: matchuserid
  33801. type: integer
  33802. - description: 关联委托单id
  33803. in: query
  33804. name: wrtradeorderid
  33805. type: integer
  33806. - description: 0:仓单预售 1:仓单贸易
  33807. in: query
  33808. name: haswr
  33809. required: true
  33810. type: integer
  33811. - description: 开始交易日(yyyymmdd)
  33812. in: query
  33813. name: begindate
  33814. type: string
  33815. - description: 结束交易日(yyyymmdd)
  33816. in: query
  33817. name: enddate
  33818. type: string
  33819. produces:
  33820. - application/json
  33821. responses:
  33822. "200":
  33823. description: OK
  33824. schema:
  33825. items:
  33826. $ref: '#/definitions/models.WRTradeBargainApply'
  33827. type: array
  33828. "500":
  33829. description: Internal Server Error
  33830. schema:
  33831. $ref: '#/definitions/app.Response'
  33832. security:
  33833. - ApiKeyAuth: []
  33834. summary: 查询议价单
  33835. tags:
  33836. - 仓单贸易v2
  33837. /WrTrade2/QueryWrTradeDetail:
  33838. get:
  33839. parameters:
  33840. - description: 页码
  33841. in: query
  33842. name: page
  33843. type: integer
  33844. - description: 每页条数
  33845. in: query
  33846. name: pagesize
  33847. type: integer
  33848. - description: 用户id
  33849. in: query
  33850. name: userid
  33851. required: true
  33852. type: integer
  33853. - description: 仓单贸易市场id
  33854. in: query
  33855. name: marketid
  33856. type: integer
  33857. - description: 0:仓单预售 1:仓单贸易
  33858. in: query
  33859. name: haswr
  33860. required: true
  33861. type: integer
  33862. - description: 开始交易日(yyyymmdd)
  33863. in: query
  33864. name: begindate
  33865. type: string
  33866. - description: 结束交易日(yyyymmdd)
  33867. in: query
  33868. name: enddate
  33869. type: string
  33870. produces:
  33871. - application/json
  33872. responses:
  33873. "200":
  33874. description: OK
  33875. schema:
  33876. items:
  33877. $ref: '#/definitions/models.WrTradeDetail'
  33878. type: array
  33879. "500":
  33880. description: Internal Server Error
  33881. schema:
  33882. $ref: '#/definitions/app.Response'
  33883. security:
  33884. - ApiKeyAuth: []
  33885. summary: 查询仓单成交明细
  33886. tags:
  33887. - 仓单贸易v2
  33888. /WrTrade2/QueryWrTradeOrderDetail:
  33889. get:
  33890. parameters:
  33891. - description: 页码
  33892. in: query
  33893. name: page
  33894. type: integer
  33895. - description: 每页条数
  33896. in: query
  33897. name: pagesize
  33898. type: integer
  33899. - description: 商品id
  33900. in: query
  33901. name: goodsid
  33902. required: true
  33903. type: integer
  33904. - description: 买卖方向 0-买 1-卖
  33905. in: query
  33906. name: buyorsell
  33907. required: true
  33908. type: integer
  33909. produces:
  33910. - application/json
  33911. responses:
  33912. "200":
  33913. description: OK
  33914. schema:
  33915. items:
  33916. $ref: '#/definitions/models.WrTradeOrderDetail'
  33917. type: array
  33918. "500":
  33919. description: Internal Server Error
  33920. schema:
  33921. $ref: '#/definitions/app.Response'
  33922. security:
  33923. - ApiKeyAuth: []
  33924. summary: 查询合约交易买卖大厅
  33925. tags:
  33926. - 仓单贸易v2
  33927. /WrTrade2/QueryWrTradeQuote:
  33928. get:
  33929. parameters:
  33930. - description: 现货商品id
  33931. in: query
  33932. name: wrstandardid
  33933. required: true
  33934. type: integer
  33935. - description: 开始日期(yyyymmdd)
  33936. in: query
  33937. name: begindate
  33938. required: true
  33939. type: string
  33940. - description: 结束日期(yyyymmdd)
  33941. in: query
  33942. name: enddate
  33943. required: true
  33944. type: string
  33945. - description: 市场id
  33946. in: query
  33947. name: marketid
  33948. type: integer
  33949. produces:
  33950. - application/json
  33951. responses:
  33952. "200":
  33953. description: OK
  33954. schema:
  33955. items:
  33956. $ref: '#/definitions/models.Wrtradetradequote'
  33957. type: array
  33958. "500":
  33959. description: Internal Server Error
  33960. schema:
  33961. $ref: '#/definitions/app.Response'
  33962. security:
  33963. - ApiKeyAuth: []
  33964. summary: 查询仓单贸易成交行情
  33965. tags:
  33966. - 仓单贸易v2
  33967. /WrTrade2/QueryWrUserFriend:
  33968. get:
  33969. parameters:
  33970. - description: 用户id
  33971. in: query
  33972. name: userid
  33973. required: true
  33974. type: integer
  33975. - description: 新朋友userid, 如果填写了此项则查找新朋友
  33976. in: query
  33977. name: newuserid
  33978. type: integer
  33979. produces:
  33980. - application/json
  33981. responses:
  33982. "200":
  33983. description: OK
  33984. schema:
  33985. items:
  33986. $ref: '#/definitions/models.WrUserFriend'
  33987. type: array
  33988. "500":
  33989. description: Internal Server Error
  33990. schema:
  33991. $ref: '#/definitions/app.Response'
  33992. security:
  33993. - ApiKeyAuth: []
  33994. summary: 查询我的朋友
  33995. tags:
  33996. - 仓单贸易v2
  33997. /WrTrade2/QueryWrUserReceiptInfo:
  33998. get:
  33999. parameters:
  34000. - description: 用户id
  34001. in: query
  34002. name: userid
  34003. type: integer
  34004. - description: 发票类型 - 1:个人 2:企业
  34005. in: query
  34006. name: receipttype
  34007. type: integer
  34008. produces:
  34009. - application/json
  34010. responses:
  34011. "200":
  34012. description: OK
  34013. schema:
  34014. items:
  34015. $ref: '#/definitions/models.WrUserReceiptInfo'
  34016. type: array
  34017. "500":
  34018. description: Internal Server Error
  34019. schema:
  34020. $ref: '#/definitions/app.Response'
  34021. security:
  34022. - ApiKeyAuth: []
  34023. summary: 查询发票信息
  34024. tags:
  34025. - 仓单贸易v2
  34026. /WrTrade2/QueryXhcpSellBackApply:
  34027. get:
  34028. parameters:
  34029. - description: 用户ID
  34030. in: query
  34031. name: userid
  34032. required: true
  34033. type: integer
  34034. produces:
  34035. - application/json
  34036. responses:
  34037. "200":
  34038. description: OK
  34039. schema:
  34040. items:
  34041. $ref: '#/definitions/models.Xhcpsellbackapply'
  34042. type: array
  34043. "500":
  34044. description: Internal Server Error
  34045. schema:
  34046. $ref: '#/definitions/app.Response'
  34047. security:
  34048. - ApiKeyAuth: []
  34049. summary: 查询我的回收申请(新会陈皮)
  34050. tags:
  34051. - 仓单贸易v2
  34052. /ZJ/GetBankTip:
  34053. get:
  34054. produces:
  34055. - application/json
  34056. responses:
  34057. "200":
  34058. description: OK
  34059. schema:
  34060. type: string
  34061. "500":
  34062. description: Internal Server Error
  34063. schema:
  34064. $ref: '#/definitions/app.Response'
  34065. summary: 获取中江网银端出入金提示信息
  34066. tags:
  34067. - 中江
  34068. /ZJ/GetCusBankChannels:
  34069. get:
  34070. produces:
  34071. - application/json
  34072. responses:
  34073. "200":
  34074. description: OK
  34075. schema:
  34076. items:
  34077. type: string
  34078. type: array
  34079. "500":
  34080. description: Internal Server Error
  34081. schema:
  34082. $ref: '#/definitions/app.Response'
  34083. summary: 获取中江出入金渠道显示列表
  34084. tags:
  34085. - 中江
  34086. securityDefinitions:
  34087. ApiKeyAuth:
  34088. in: header
  34089. name: Authorization
  34090. type: apiKey
  34091. Group:
  34092. in: header
  34093. name: Group
  34094. type: apiKey
  34095. LoginID:
  34096. in: header
  34097. name: LoginID
  34098. type: apiKey
  34099. swagger: "2.0"