swagger.yaml 947 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109
  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.THJSigninRsp:
  16718. properties:
  16719. signinstatus:
  16720. description: 状态操作标志 1-签到成功 2-当日已签到,不能重复签到
  16721. type: integer
  16722. type: object
  16723. models.Taaccount:
  16724. properties:
  16725. accountflag:
  16726. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  16727. type: integer
  16728. accountid:
  16729. description: 资金账户ID
  16730. type: integer
  16731. accountname:
  16732. description: 账户名称
  16733. type: string
  16734. balance:
  16735. description: 期初余额
  16736. type: number
  16737. capitalbalance:
  16738. description: 本金余额[外部子账户实际出入金余额]
  16739. type: number
  16740. changeflag:
  16741. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  16742. type: integer
  16743. changetime:
  16744. description: 账户状态变更时间
  16745. type: string
  16746. closepl:
  16747. description: 今日平仓盈亏
  16748. type: number
  16749. creditdecrease:
  16750. description: 今日授信减少
  16751. type: number
  16752. creditincrease:
  16753. description: 今日授信增加
  16754. type: number
  16755. curamount:
  16756. description: 总市值(从持仓中统计)
  16757. type: number
  16758. currencyid:
  16759. description: 货币ID
  16760. type: integer
  16761. currentbalance:
  16762. description: 期末余额
  16763. type: number
  16764. freezecharge:
  16765. description: 手续费冻结
  16766. type: number
  16767. freezemargin:
  16768. description: 冻结保证金
  16769. type: number
  16770. fromaccountid:
  16771. description: 所属上级账户
  16772. type: integer
  16773. inamount:
  16774. description: 今日入金金额(包括三方入金)
  16775. type: number
  16776. ismain:
  16777. description: 是否母账号 0:不是母账户 1:是母账户
  16778. type: integer
  16779. ismarketaccount:
  16780. description: 是否机构接单账号 0:不是 1:是
  16781. type: integer
  16782. isreckonaccount:
  16783. description: 是否机构分润账号 0:不是 1:是
  16784. type: integer
  16785. mortgagecredit:
  16786. description: 授信金额
  16787. type: number
  16788. orifreezecharge:
  16789. description: 期初手续费冻结
  16790. type: number
  16791. orifreezemargin:
  16792. description: 期初冻结保证金
  16793. type: number
  16794. orimortgagecredit:
  16795. description: 期初授信金额
  16796. type: number
  16797. oriothercredit:
  16798. description: 期初其它授信金额
  16799. type: number
  16800. oriotherfreezemargin:
  16801. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  16802. type: number
  16803. orioutamountfreeze:
  16804. description: 期初出金冻结
  16805. type: number
  16806. oriusedmargin:
  16807. description: 期初占用保证金
  16808. type: number
  16809. othercredit:
  16810. description: 其它授信金额
  16811. type: number
  16812. othercreditdecrease:
  16813. description: 今日其它授信减少
  16814. type: number
  16815. othercreditincrease:
  16816. description: 今日其它授信增加
  16817. type: number
  16818. otherfreezemargin:
  16819. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  16820. type: number
  16821. otherincome:
  16822. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  16823. type: number
  16824. otherpay:
  16825. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  16826. type: number
  16827. outamount:
  16828. description: 今日出金金额(包括三方出金)
  16829. type: number
  16830. outamountfreeze:
  16831. description: 出金冻结
  16832. type: number
  16833. outthreshold:
  16834. description: 出金阈值
  16835. type: number
  16836. parentaccountid:
  16837. description: 所属根账号
  16838. type: integer
  16839. paycharge:
  16840. description: 今日手续费支出
  16841. type: number
  16842. relatedaccountstatus:
  16843. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  16844. type: integer
  16845. relateduserid:
  16846. description: 关联用户
  16847. type: integer
  16848. remainamount:
  16849. description: 融资额(从融资合同中统计)
  16850. type: number
  16851. serivcegroup:
  16852. description: 服务分组
  16853. type: integer
  16854. signstatus:
  16855. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  16856. type: integer
  16857. sublevelpath:
  16858. description: 账号层级路径(逗号分隔,首尾加逗号)
  16859. type: string
  16860. taaccounttype:
  16861. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  16862. type: integer
  16863. thirdinamount:
  16864. description: 今日三方入金
  16865. type: number
  16866. thirdoutamount:
  16867. description: 今日三方出金
  16868. type: number
  16869. tradestatus:
  16870. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  16871. type: integer
  16872. tradestatuschangetime:
  16873. description: 激活时间
  16874. type: string
  16875. transferamount:
  16876. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  16877. type: number
  16878. usedmargin:
  16879. description: 占用保证金
  16880. type: number
  16881. userid:
  16882. description: 用户ID
  16883. type: integer
  16884. required:
  16885. - accountid
  16886. - userid
  16887. type: object
  16888. models.Tablecolumnconfig:
  16889. properties:
  16890. aligntype:
  16891. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  16892. type: integer
  16893. autoid:
  16894. description: AutoID
  16895. type: integer
  16896. columnfield:
  16897. description: 列字段
  16898. type: string
  16899. columntitle:
  16900. description: 列Title
  16901. type: string
  16902. columnwidth:
  16903. description: 列宽
  16904. type: string
  16905. fixed:
  16906. description: 固定类型 - 空 | left | right
  16907. type: string
  16908. formatterstring:
  16909. description: 格式化字符
  16910. type: string
  16911. formattertype:
  16912. description: 格式化类型
  16913. type: string
  16914. groupname:
  16915. description: 表头分组名称
  16916. type: string
  16917. ismerge:
  16918. description: 是否合并显示 - 0:不合并 1:合并
  16919. type: integer
  16920. isshow:
  16921. description: 是否显示 - 0:不显示 1:显示
  16922. type: integer
  16923. needsummary:
  16924. description: 是否需要汇总 - 0:不需要 1:需要
  16925. type: integer
  16926. orderindex:
  16927. description: 顺序
  16928. type: integer
  16929. remark:
  16930. description: 备注
  16931. type: string
  16932. summarytype:
  16933. description: 汇总类型 - 1:加总 2:最后一个
  16934. type: integer
  16935. tablekey:
  16936. description: 列表Key
  16937. type: string
  16938. required:
  16939. - autoid
  16940. type: object
  16941. models.TjmdHolderDetailTradeInfo:
  16942. properties:
  16943. agreeunit:
  16944. description: 合约乘数
  16945. type: number
  16946. buyaccountid:
  16947. description: 买方账户
  16948. type: string
  16949. buyusername:
  16950. description: 买方
  16951. type: string
  16952. delistingdate:
  16953. description: 最后结算日
  16954. type: string
  16955. expiredate:
  16956. description: 到期结算价定价日
  16957. type: string
  16958. exprieprice:
  16959. description: 到期清算价格
  16960. type: string
  16961. goodscode:
  16962. description: 商品代码
  16963. type: string
  16964. goodsid:
  16965. description: 商品ID
  16966. type: integer
  16967. goodsname:
  16968. description: 商品名称(交易标的)
  16969. type: string
  16970. lasttradedate:
  16971. description: 最后交易日
  16972. type: string
  16973. listingdate:
  16974. description: 开始交易日
  16975. type: string
  16976. openprice:
  16977. description: 成交价
  16978. type: number
  16979. openqty:
  16980. description: 交易数量
  16981. type: integer
  16982. sellaccountid:
  16983. description: 卖方账户
  16984. type: string
  16985. sellusername:
  16986. description: 卖方
  16987. type: string
  16988. tradeamount:
  16989. description: 初始名义价值
  16990. type: number
  16991. tradedate:
  16992. description: 成交日期
  16993. type: string
  16994. tradeid:
  16995. description: 成交编号
  16996. type: string
  16997. type: object
  16998. models.TjmdMarketSection:
  16999. properties:
  17000. marketsectionid:
  17001. description: 市场版块ID(SEQ_MARKETSECTION)
  17002. type: integer
  17003. marketsectionname:
  17004. description: 市场版块名称
  17005. type: string
  17006. mlist:
  17007. description: 市场列表(板块下面有多少个市场)
  17008. items:
  17009. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  17010. type: array
  17011. orderindex:
  17012. description: 排序
  17013. type: integer
  17014. pictureurl:
  17015. description: 图片url, 规格(90*90)
  17016. type: string
  17017. remark:
  17018. description: 备注
  17019. type: string
  17020. type: object
  17021. models.TjmdMarketSectionConfig:
  17022. properties:
  17023. auctionwrtype:
  17024. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  17025. type: integer
  17026. canacceptquote:
  17027. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  17028. type: integer
  17029. cangoodsexercise:
  17030. description: '[期权]是否可现货行权- 0:否 1:是'
  17031. type: integer
  17032. cangoodsexercisetype:
  17033. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  17034. type: integer
  17035. canmanualquotestrike:
  17036. description: 是否可手动报行权价- 0:否 1:是 [期权]
  17037. type: integer
  17038. canmutistage:
  17039. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  17040. type: integer
  17041. canpreexercise:
  17042. description: '[期权]是否可预申报- 0:否 1:是'
  17043. type: integer
  17044. clearinterval:
  17045. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  17046. type: integer
  17047. contracttmp:
  17048. description: 合同模板[荷兰式][竞价式][仓单贸易]
  17049. type: string
  17050. exchareaid:
  17051. description: 所属交易所,可以没有
  17052. type: integer
  17053. financemarketid:
  17054. description: 融资回购市场ID [仓单贸易]
  17055. type: integer
  17056. goodstype:
  17057. description: 商品类型 - 1:交易商品 2:仓单商品
  17058. type: integer
  17059. hasrebate:
  17060. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  17061. type: integer
  17062. hastradecredit:
  17063. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  17064. type: integer
  17065. haswr:
  17066. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  17067. type: integer
  17068. isdeductmargin:
  17069. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  17070. type: integer
  17071. isrecordsource:
  17072. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  17073. type: integer
  17074. isreleasemargin:
  17075. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  17076. type: integer
  17077. isupdatereckonprice:
  17078. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  17079. type: integer
  17080. listingmode:
  17081. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  17082. type: integer
  17083. marginformula:
  17084. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  17085. type: integer
  17086. marginformula2:
  17087. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  17088. type: integer
  17089. marketid:
  17090. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  17091. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  17092. type: integer
  17093. marketname:
  17094. description: 市场名称
  17095. type: string
  17096. marketsectionid:
  17097. description: 市场版块ID(SEQ_MARKETSECTION)
  17098. type: integer
  17099. marketserviceid:
  17100. description: 市场服务ID
  17101. type: integer
  17102. marketstatus:
  17103. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  17104. type: integer
  17105. markettype:
  17106. description: 市场类型- 1:非交易服务 2:交易服务
  17107. type: integer
  17108. matchermode:
  17109. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  17110. type: integer
  17111. nowrquotaflag:
  17112. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  17113. type: integer
  17114. openmethod:
  17115. description: 开盘模式 - 0 自动 1手动
  17116. type: integer
  17117. orderindex:
  17118. description: 排序
  17119. type: integer
  17120. otcuserid:
  17121. description: 场外期权做市商[场外期权]
  17122. type: integer
  17123. outersynctime:
  17124. description: 外部同步时间点(h24:mi:ss)[场外期权]
  17125. type: string
  17126. paylaterflag:
  17127. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  17128. type: integer
  17129. pendingflag:
  17130. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  17131. type: integer
  17132. pendingtime:
  17133. description: 待开市时间[通道交易-对冲](HH:mm)
  17134. type: string
  17135. performancetempid:
  17136. description: 履约计划模板ID - 作废
  17137. type: integer
  17138. premiumquotemode:
  17139. description: 权利金报价方式 - 1:自动 2:手动
  17140. type: integer
  17141. rebateratio:
  17142. description: 返利比率[竞价式]
  17143. type: number
  17144. reckonorder:
  17145. description: 结算顺序
  17146. type: integer
  17147. reckonpricealgorithm:
  17148. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  17149. 6.卖一价 7.买一卖一均价 8.外部结算价'
  17150. type: integer
  17151. reckonpriceparam:
  17152. description: 结算价参数
  17153. type: integer
  17154. reckontime:
  17155. description: 结算时间[通道交易-对冲](HH:mm)
  17156. type: string
  17157. roleprioritytype:
  17158. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  17159. type: integer
  17160. selllistingauditflag:
  17161. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  17162. type: integer
  17163. trademarkettype:
  17164. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  17165. type: integer
  17166. trademode:
  17167. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17168. 21:竞拍-大宗式 22:受托竞价
  17169. type: integer
  17170. tradeproperty:
  17171. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  17172. 8:场外期权
  17173. type: integer
  17174. tradetype:
  17175. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  17176. type: integer
  17177. updatereckonpriceinterval:
  17178. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  17179. type: integer
  17180. type: object
  17181. models.TjmdQuoteGoods:
  17182. properties:
  17183. buyqty:
  17184. description: 买量(暂不做, 无值, 保留字段)
  17185. type: number
  17186. decimalplace:
  17187. description: 报价小数位
  17188. type: integer
  17189. goodscode:
  17190. description: 合约代码
  17191. type: string
  17192. goodsgroupid:
  17193. description: 商品组ID(自增ID)
  17194. type: integer
  17195. goodsgroupname:
  17196. description: 商品组名称
  17197. type: string
  17198. goodsid:
  17199. description: 合约id
  17200. type: integer
  17201. goodsname:
  17202. description: 合约名称
  17203. type: string
  17204. refgoodscode:
  17205. description: 标的合约代码
  17206. type: string
  17207. refgoodsid:
  17208. description: 标的合约id
  17209. type: integer
  17210. refgoodsname:
  17211. description: 标的合约名称
  17212. type: string
  17213. sellqty:
  17214. description: 卖量(暂不做, 无值, 保留字段)
  17215. type: number
  17216. type: object
  17217. models.TjmdTodayAccountMargin:
  17218. properties:
  17219. accountid:
  17220. description: 账号ID
  17221. type: integer
  17222. goodsid:
  17223. description: 商品ID
  17224. type: integer
  17225. infoc:
  17226. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  17227. description: 配置参数
  17228. marketid:
  17229. description: 市场ID
  17230. type: integer
  17231. type: object
  17232. models.TjmdTradeOrderDetail:
  17233. properties:
  17234. buyorsell:
  17235. description: 买卖方向 0-买 1-卖
  17236. type: integer
  17237. goodsid:
  17238. description: 商品id
  17239. type: integer
  17240. marketmaxsub:
  17241. description: 市价最大偏移范围 [浮动价 - 点差]
  17242. type: number
  17243. orderid:
  17244. description: 委托单号
  17245. type: string
  17246. orderprice:
  17247. description: 期初均价
  17248. type: number
  17249. orderqty:
  17250. description: 委托数量
  17251. type: integer
  17252. pricemode:
  17253. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  17254. type: integer
  17255. userid:
  17256. description: 用户id
  17257. type: integer
  17258. username:
  17259. description: 用户名称(已脱敏)
  17260. type: string
  17261. type: object
  17262. models.TjmdTransferApply:
  17263. properties:
  17264. applyid:
  17265. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  17266. type: integer
  17267. applystatus:
  17268. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  17269. type: integer
  17270. applytime:
  17271. description: 申请时间(时间)
  17272. type: string
  17273. auditremark:
  17274. description: 审核备注(拒绝原因?)
  17275. type: string
  17276. begindate:
  17277. description: 开始交易日(yyyymmdd)
  17278. type: string
  17279. buyorsell:
  17280. description: 买卖 - 0:买 1:卖
  17281. type: integer
  17282. enddate:
  17283. description: 结束交易日(yyyymmdd)
  17284. type: string
  17285. goodscode:
  17286. description: 商品代码
  17287. type: string
  17288. goodsid:
  17289. description: 商品ID
  17290. type: integer
  17291. goodsname:
  17292. description: 商品名称
  17293. type: string
  17294. marketid:
  17295. description: 市场ID
  17296. type: integer
  17297. qty:
  17298. description: 期初均价
  17299. type: number
  17300. tradeid:
  17301. description: 成交单号(关联持仓)
  17302. type: string
  17303. transferamount:
  17304. description: 转让总金额(金额)
  17305. type: number
  17306. transferprice:
  17307. description: 转让价格(协议价格)
  17308. type: number
  17309. type: object
  17310. models.TradeHolderDetail:
  17311. properties:
  17312. accountid:
  17313. description: 账号ID
  17314. type: integer
  17315. agreeunit:
  17316. description: 合约乘数
  17317. type: number
  17318. buyorsell:
  17319. description: 方向 - 0:买 1:卖
  17320. type: integer
  17321. currencyid:
  17322. description: 商品币种id
  17323. type: integer
  17324. currencyname:
  17325. description: 币种名称
  17326. type: string
  17327. decimalplace:
  17328. description: 商品价格小数位
  17329. type: integer
  17330. enumdicname:
  17331. description: 商品单位名称
  17332. type: string
  17333. expirecycle:
  17334. description: 行权周期(天) - 1:滚动行权时填写
  17335. type: integer
  17336. expiredate:
  17337. description: 行权日(yyyyMMdd) - 到期日
  17338. type: string
  17339. expiretype:
  17340. description: 行权日类型 - 1:滚动行权 2:固定日行权
  17341. type: integer
  17342. freezeqty:
  17343. description: 期初均价
  17344. type: number
  17345. goodscode:
  17346. description: 商品代码
  17347. type: string
  17348. goodsid:
  17349. description: 商品ID
  17350. type: integer
  17351. goodsname:
  17352. description: 商品名称
  17353. type: string
  17354. goodunitid:
  17355. description: 商品单位id
  17356. type: integer
  17357. holderamount:
  17358. description: 持仓金额
  17359. type: number
  17360. holdercredit:
  17361. description: 持仓授信金额
  17362. type: number
  17363. holderdays:
  17364. description: 剩余冻结天数
  17365. type: integer
  17366. holderprice:
  17367. description: 持仓价格
  17368. type: number
  17369. holderqty:
  17370. description: 期初均价
  17371. type: number
  17372. isconfirmexercise:
  17373. description: 是否确认行权- 0:否 1:是
  17374. type: integer
  17375. ispreexercise:
  17376. description: 是否预申报- 0:否 1:是 2:不可行权
  17377. type: integer
  17378. marketid:
  17379. description: 市场id
  17380. type: integer
  17381. marketname:
  17382. description: 市场名称
  17383. type: string
  17384. openprice:
  17385. description: 建仓价格
  17386. type: number
  17387. openqty:
  17388. description: 期初均价
  17389. type: number
  17390. optiontype:
  17391. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17392. type: integer
  17393. preexerciseprice:
  17394. description: 预申报价格
  17395. type: number
  17396. premium:
  17397. description: 权利金
  17398. type: number
  17399. qtydecimalplace:
  17400. description: 商品成交量小数位
  17401. type: integer
  17402. refgoodscode:
  17403. description: 标的合约代码
  17404. type: string
  17405. refgoodsid:
  17406. description: 标的合约id
  17407. type: integer
  17408. releaseamount:
  17409. description: 释放持仓金额
  17410. type: number
  17411. releaseholdercredit:
  17412. description: 释放持仓授信金额
  17413. type: number
  17414. taname:
  17415. description: 资金账号名称
  17416. type: string
  17417. tradeamount:
  17418. description: 成交金额
  17419. type: number
  17420. tradedate:
  17421. description: 交易日(yyyyMMdd)
  17422. type: string
  17423. tradeid:
  17424. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17425. type: string
  17426. trademode:
  17427. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17428. 21:竞拍-大宗式 22:受托竞价 46:掉期
  17429. type: integer
  17430. tradeproperty:
  17431. description: 交易属性
  17432. type: integer
  17433. tradetime:
  17434. description: 交易时间
  17435. type: string
  17436. userid:
  17437. description: 用户id
  17438. type: integer
  17439. username:
  17440. description: 用户名称
  17441. type: string
  17442. type: object
  17443. models.Unlinkermcphedgeplan:
  17444. properties:
  17445. accountid:
  17446. description: 期货账户ID - 作废
  17447. type: integer
  17448. accountname:
  17449. description: 交易用户
  17450. type: string
  17451. applyid:
  17452. description: 申请人
  17453. type: integer
  17454. applysrc:
  17455. description: 申请来源 - 1:管理端 2:终端
  17456. type: integer
  17457. applytime:
  17458. description: 申请时间
  17459. type: string
  17460. areauserid:
  17461. description: '[企业ID]机构ID'
  17462. type: integer
  17463. auditid:
  17464. description: 审核人
  17465. type: integer
  17466. auditremark:
  17467. description: 审核备注
  17468. type: string
  17469. auditsrc:
  17470. description: 审核来源 - 1:管理端 2:终端
  17471. type: integer
  17472. audittime:
  17473. description: 审核时间
  17474. type: string
  17475. audittradedate:
  17476. description: 审核交易日(yyyyMMdd)
  17477. type: string
  17478. biztype:
  17479. description: 业务类型 - 1:套保
  17480. type: integer
  17481. contracttype:
  17482. description: 计划类型 - 1:采购 -1:销售
  17483. type: integer
  17484. convertfactor:
  17485. description: 标仓系数 - 作废
  17486. type: number
  17487. createtime:
  17488. description: 创建时间
  17489. type: string
  17490. currencyid:
  17491. description: 结算币种ID - 作废
  17492. type: integer
  17493. deliverygoodsid:
  17494. description: 现货品种ID
  17495. type: integer
  17496. enumdicname:
  17497. description: 结算币种
  17498. type: string
  17499. hedgeplanid:
  17500. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  17501. type: string
  17502. hedgeplanno:
  17503. description: '[计划编号]套保计划编号,模糊查询'
  17504. type: string
  17505. hedgeplanstatus:
  17506. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  17507. type: integer
  17508. isrelated:
  17509. description: 是否已关联计划项目 - 0:否 1:是
  17510. type: integer
  17511. planqty:
  17512. description: '[计划量]计划数量'
  17513. type: number
  17514. plantime:
  17515. description: 计划时间
  17516. type: string
  17517. producttype:
  17518. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  17519. type: integer
  17520. remark:
  17521. description: 备注
  17522. type: string
  17523. spotgoodsdesc:
  17524. description: 商品型号
  17525. type: string
  17526. tradedate:
  17527. description: 交易日(yyyyMMdd)
  17528. type: string
  17529. tradeuserid:
  17530. description: 交易用户ID
  17531. type: integer
  17532. updatetime:
  17533. description: 更新时间
  17534. type: string
  17535. wrstandardid:
  17536. description: 现货商品ID
  17537. type: integer
  17538. wrstandardname:
  17539. description: 现货商品,模糊查询
  17540. type: string
  17541. required:
  17542. - areauserid
  17543. type: object
  17544. models.UserCollectConfig:
  17545. properties:
  17546. accountstatus:
  17547. description: 账户状态 - 1:正常 2:停用 3:注销
  17548. type: integer
  17549. collectaccountname:
  17550. description: 收款人账户名称
  17551. type: string
  17552. collectaccountno:
  17553. description: 收款人账户
  17554. type: string
  17555. collectbankname:
  17556. description: 收款人开户行
  17557. type: string
  17558. collectbranchbankname:
  17559. description: 收款人开户支行
  17560. type: string
  17561. collectconfigid:
  17562. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  17563. type: string
  17564. remark:
  17565. description: 备注
  17566. type: string
  17567. userid:
  17568. description: 收款人用户ID
  17569. type: integer
  17570. type: object
  17571. models.UserReceiveInfo:
  17572. properties:
  17573. address:
  17574. description: 提货人详细地址
  17575. type: string
  17576. autoid:
  17577. description: AutoID
  17578. type: integer
  17579. cardnum:
  17580. description: 证件号码(加密存储)
  17581. type: string
  17582. cardtypeid:
  17583. description: 证件类型
  17584. type: integer
  17585. cityid:
  17586. description: 市
  17587. type: integer
  17588. cityname:
  17589. description: 城市名称
  17590. type: string
  17591. countryid:
  17592. description: 国家
  17593. type: integer
  17594. countryname:
  17595. description: 国家名称
  17596. type: string
  17597. districtid:
  17598. description: 地区
  17599. type: integer
  17600. districtname:
  17601. description: 地区名称
  17602. type: string
  17603. hasencrypt:
  17604. description: 数据是否已加密 - 0:未加密 1:已加密
  17605. type: integer
  17606. isdefault:
  17607. description: 是否默认地址 - 0:否 1:是
  17608. type: integer
  17609. phonenum:
  17610. description: 提货人联系方式(加密存储)
  17611. type: string
  17612. provinceid:
  17613. description: 省
  17614. type: integer
  17615. provincename:
  17616. description: 省名称
  17617. type: string
  17618. receivername:
  17619. description: 提货人姓名
  17620. type: string
  17621. takeremark:
  17622. description: 提货备注
  17623. type: string
  17624. userid:
  17625. description: 用户ID
  17626. type: integer
  17627. type: object
  17628. models.Useraccount:
  17629. properties:
  17630. accountname:
  17631. description: 账户名称(机构名称)
  17632. type: string
  17633. accountstatus:
  17634. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  17635. type: integer
  17636. applysrc:
  17637. description: 申请来源 - 1:管理端 2:终端
  17638. type: integer
  17639. auditremark:
  17640. description: 审核备注
  17641. type: string
  17642. auditsrc:
  17643. description: 审核来源 - 1:管理端 2:终端
  17644. type: integer
  17645. audittime:
  17646. description: 审核时间
  17647. type: string
  17648. audituserid:
  17649. description: 审核人
  17650. type: integer
  17651. broker:
  17652. description: 所属经纪人ID
  17653. type: integer
  17654. canceltime:
  17655. description: 销户时间
  17656. type: string
  17657. canceluserid:
  17658. description: 销户人
  17659. type: integer
  17660. canrecommend:
  17661. description: 是否可推荐 - 0:不可 1;可
  17662. type: integer
  17663. createtime:
  17664. description: 创建时间
  17665. type: string
  17666. creatorid:
  17667. description: 创建人
  17668. type: integer
  17669. curscore:
  17670. description: 积分
  17671. type: integer
  17672. hasauth:
  17673. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  17674. type: integer
  17675. isanonymous:
  17676. description: 是否匿名下单 - 0:否 1:是
  17677. type: integer
  17678. issigned:
  17679. description: 今日是否已签到
  17680. type: boolean
  17681. maxinvestornum:
  17682. description: 最大用户数(经纪会员下投资者个数)
  17683. type: integer
  17684. memberuserid:
  17685. description: 所属会员ID
  17686. type: integer
  17687. modifierid:
  17688. description: 修改人
  17689. type: integer
  17690. modifyremark:
  17691. description: 变更备注
  17692. type: string
  17693. modifystatus:
  17694. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  17695. type: integer
  17696. modifytime:
  17697. description: 修改时间
  17698. type: string
  17699. parenttopuser:
  17700. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  17701. type: string
  17702. parentuserid:
  17703. description: 所属机构ID
  17704. type: integer
  17705. reckonaccountid:
  17706. description: 默认结算资金账号ID(机构分润使用) 作废
  17707. type: integer
  17708. refercount:
  17709. description: 推荐总人数
  17710. type: integer
  17711. refereeuserid:
  17712. description: 推荐人ID
  17713. type: integer
  17714. refernum:
  17715. description: 推荐码
  17716. type: string
  17717. rootuserid:
  17718. description: 根用户ID
  17719. type: integer
  17720. subaccountlevel:
  17721. description: 子账户层数
  17722. type: integer
  17723. subarealevelpath:
  17724. description: 子机构层级路径(逗号分隔,首尾加逗号)
  17725. type: string
  17726. todayrefercount:
  17727. description: 今日推荐人数
  17728. type: integer
  17729. userid:
  17730. description: 用户ID
  17731. type: integer
  17732. usertype:
  17733. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  17734. type: integer
  17735. required:
  17736. - userid
  17737. type: object
  17738. models.Userfavoritegoods:
  17739. properties:
  17740. goodsid:
  17741. description: 商品ID
  17742. type: integer
  17743. required:
  17744. - goodsid
  17745. type: object
  17746. models.Userinfo:
  17747. properties:
  17748. address:
  17749. description: 地址
  17750. type: string
  17751. attachment1:
  17752. description: 附件1
  17753. type: string
  17754. attachment2:
  17755. description: 附件2
  17756. type: string
  17757. bankaccount:
  17758. description: 银行帐号 (加密存储)
  17759. type: string
  17760. bankaccountname:
  17761. description: 收款人名称
  17762. type: string
  17763. bankcardfrontphotourl:
  17764. description: 银行卡正面照地址
  17765. type: string
  17766. bankid:
  17767. description: 银行编码
  17768. type: string
  17769. bankname:
  17770. description: 银行名称
  17771. type: string
  17772. biznature:
  17773. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17774. type: integer
  17775. bizscope:
  17776. description: 企业经营范围(企业)
  17777. type: string
  17778. cardbackphotourl:
  17779. description: 证件背面图片地址
  17780. type: string
  17781. cardfrontphotourl:
  17782. description: 证件正面图片地址
  17783. type: string
  17784. cardnum:
  17785. description: 证件号码(加密存储)
  17786. type: string
  17787. cardtypeid:
  17788. description: 证件类型ID
  17789. type: integer
  17790. cityid:
  17791. description: 市
  17792. type: integer
  17793. company:
  17794. description: 公司(个人)
  17795. type: string
  17796. contactname:
  17797. description: 联系人
  17798. type: string
  17799. countryid:
  17800. description: 国家
  17801. type: integer
  17802. createtime:
  17803. description: 创建时间
  17804. type: string
  17805. creatorid:
  17806. description: 创建人
  17807. type: integer
  17808. customername:
  17809. description: 客户名称(企业名称)
  17810. type: string
  17811. districtid:
  17812. description: 地区
  17813. type: integer
  17814. email:
  17815. description: 邮件(加密存储)
  17816. type: string
  17817. fax:
  17818. description: 传真(加密存储)
  17819. type: string
  17820. halfbodyphotourl:
  17821. description: 半身照地址
  17822. type: string
  17823. hasencrypt:
  17824. description: 数据是否已加密 - 0:未加密 1:已加密
  17825. type: integer
  17826. headurl:
  17827. description: 头像地址
  17828. type: string
  17829. legalcardbackphotourl:
  17830. description: 法人身份证背面照地址
  17831. type: string
  17832. legalcardfrontphotourl:
  17833. description: 法人身份证正面照地址
  17834. type: string
  17835. legalpersonname:
  17836. description: 法人姓名(企业)
  17837. type: string
  17838. mobile:
  17839. description: 手机号码(加密存储)
  17840. type: string
  17841. mobile2:
  17842. description: 手机号码[明文-尚志]
  17843. type: string
  17844. modifierid:
  17845. description: 修改人
  17846. type: integer
  17847. modifiertime:
  17848. description: 修改时间
  17849. type: string
  17850. needinvoice:
  17851. description: 是否需要发票 - 0:不需要 1:需要
  17852. type: integer
  17853. nickname:
  17854. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17855. type: string
  17856. openmode:
  17857. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  17858. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  17859. type: integer
  17860. otherurl:
  17861. description: 其它图片地址[使用分号分隔]
  17862. type: string
  17863. postalcode:
  17864. description: 邮政编码
  17865. type: string
  17866. provinceid:
  17867. description: 省
  17868. type: integer
  17869. qq:
  17870. description: QQ(加密存储
  17871. type: string
  17872. remark:
  17873. description: 备注
  17874. type: string
  17875. sex:
  17876. description: '用户性别 0: 女 1: 男'
  17877. type: integer
  17878. signpdfurl:
  17879. description: 签约pdf文件
  17880. type: string
  17881. telphone:
  17882. description: 联系电话(加密存储)
  17883. type: string
  17884. userid:
  17885. description: 用户ID
  17886. type: integer
  17887. userinfotype:
  17888. description: 用户信息类型 - 1:个人 2:企业
  17889. type: integer
  17890. userstatus:
  17891. description: 用户状态 - 1:正常 2:注销
  17892. type: integer
  17893. usertype:
  17894. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  17895. type: integer
  17896. wechat:
  17897. description: 微信(加密存储)
  17898. type: string
  17899. wskhinfo:
  17900. description: 开户申请信息(JSON)
  17901. type: string
  17902. required:
  17903. - userid
  17904. type: object
  17905. models.WRPositionReport:
  17906. properties:
  17907. accountid:
  17908. description: 帐户ID
  17909. type: integer
  17910. brandid:
  17911. description: 品牌ID(1交割品种升贴水参数表 AutoID) - 作废
  17912. type: integer
  17913. buylistinglot:
  17914. description: 买挂牌宗数
  17915. type: integer
  17916. buytradeamount:
  17917. description: 购买金额
  17918. type: number
  17919. buytradelot:
  17920. description: 购买宗数
  17921. type: integer
  17922. buytradeqty:
  17923. description: 购买数量
  17924. type: number
  17925. creditcurqty:
  17926. description: 授信当前数量
  17927. type: integer
  17928. creditfreezeqty:
  17929. description: 授信冻结数量
  17930. type: integer
  17931. credittotalqty:
  17932. description: 授信总数量
  17933. type: integer
  17934. credittradeqty:
  17935. description: 授信成交数量
  17936. type: integer
  17937. decreaseqty:
  17938. description: 今日减少数量
  17939. type: integer
  17940. deliverygoodsid:
  17941. description: 交割商品ID
  17942. type: integer
  17943. deliverymonthid:
  17944. description: 月份ID(1交割品种升贴水参数表 AutoID) - 作废
  17945. type: integer
  17946. freezeqty:
  17947. description: 总冻结数量
  17948. type: integer
  17949. increaseqty:
  17950. description: 今日增加数量
  17951. type: integer
  17952. marketvalue:
  17953. description: 市值
  17954. type: number
  17955. pickupqty:
  17956. description: 今日提货数量
  17957. type: integer
  17958. qualityid:
  17959. description: 品质ID(1交割品种升贴水参数表 AutoID) - 作废
  17960. type: integer
  17961. reckondate:
  17962. description: 日照时期(yyyyMMdd)
  17963. type: string
  17964. relatedqty:
  17965. description: 关联数量
  17966. type: integer
  17967. selllistingamount:
  17968. description: 卖挂牌金额
  17969. type: number
  17970. selllistinglot:
  17971. description: 卖挂牌宗数
  17972. type: integer
  17973. selllistingqty:
  17974. description: 卖挂牌数量
  17975. type: number
  17976. selltradeamount:
  17977. description: 销售金额
  17978. type: number
  17979. selltradelot:
  17980. description: 销售宗数
  17981. type: integer
  17982. selltradeqty:
  17983. description: 销售数量
  17984. type: number
  17985. specid:
  17986. description: 规格ID(1交割品种升贴水参数表 AutoID) - 作废
  17987. type: integer
  17988. totalprice:
  17989. description: 销售金额(¥)
  17990. type: number
  17991. totalqty:
  17992. description: 总数量
  17993. type: integer
  17994. totalweight:
  17995. description: 销售重量(ct)
  17996. type: number
  17997. tradewrqty:
  17998. description: 订单仓单头寸总数量
  17999. type: integer
  18000. transfertradewrqty:
  18001. description: 今日转订单数量
  18002. type: integer
  18003. warehouseid:
  18004. description: 仓库ID(1交割品种升贴水参数表 AutoID) - 作废
  18005. type: integer
  18006. wrfactortypeid:
  18007. description: 仓单要素类型ID
  18008. type: integer
  18009. wrpositionid:
  18010. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  18011. type: integer
  18012. wrstandardcode:
  18013. description: 现货商品代码
  18014. type: string
  18015. wrstandardid:
  18016. description: 现货商品ID
  18017. type: integer
  18018. wruserid:
  18019. description: 持有人ID
  18020. type: integer
  18021. zscategory:
  18022. description: 商品分类
  18023. type: integer
  18024. zscategorydisplay:
  18025. type: string
  18026. zscurrencytype:
  18027. description: 商品币种
  18028. type: integer
  18029. zscurrencytypedisplay:
  18030. type: string
  18031. zscurrencytypedisplayunit:
  18032. type: string
  18033. type: object
  18034. models.WRSConverTDetail:
  18035. properties:
  18036. convertratio:
  18037. description: 套保系数
  18038. type: number
  18039. deliverygoodscode:
  18040. description: 现货商品代码
  18041. type: string
  18042. deliverygoodsid:
  18043. description: 现货品种ID
  18044. type: integer
  18045. deliverygoodsname:
  18046. description: 现货商品名称
  18047. type: string
  18048. enumdicname:
  18049. description: 单位名称
  18050. type: string
  18051. goodsunitid:
  18052. description: 套保品种单位id
  18053. type: integer
  18054. middlegoodscode:
  18055. description: 套保品种代码
  18056. type: string
  18057. middlegoodsid:
  18058. description: 套保品种ID
  18059. type: integer
  18060. middlegoodsname:
  18061. description: 套保品种名称
  18062. type: string
  18063. modifytime:
  18064. description: 修改时间
  18065. type: string
  18066. wrstandardid:
  18067. description: 品类ID
  18068. type: integer
  18069. type: object
  18070. models.WRStandardInfo:
  18071. properties:
  18072. areauserid:
  18073. description: 所属机构
  18074. type: integer
  18075. convertfactor:
  18076. description: 标仓系数
  18077. type: number
  18078. createtime:
  18079. description: 创建时间
  18080. type: string
  18081. creatorid:
  18082. description: 创建人
  18083. type: integer
  18084. deliverygoodsid:
  18085. description: 品种ID
  18086. type: integer
  18087. deliverygoodsname:
  18088. description: 交割商品名称
  18089. type: string
  18090. factoryitemjson:
  18091. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  18092. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  18093. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  18094. 逗号分隔'
  18095. type: string
  18096. isvalid:
  18097. description: 是否有效 - 0:无效 1:有效
  18098. type: integer
  18099. minivalue:
  18100. description: 最小变动值
  18101. type: integer
  18102. minivaluedp:
  18103. description: 最小变动值小数位
  18104. type: integer
  18105. realminivalue:
  18106. description: 实际最小变动值
  18107. type: integer
  18108. realminivaluedp:
  18109. description: 实际最小变动值小数位
  18110. type: integer
  18111. remark:
  18112. description: 备注
  18113. type: string
  18114. unitid:
  18115. description: 单位ID
  18116. type: integer
  18117. unitname:
  18118. description: 单位
  18119. type: string
  18120. updatetime:
  18121. description: 更新时间
  18122. type: string
  18123. updatorid:
  18124. description: 更新人
  18125. type: integer
  18126. wrsstatus:
  18127. description: 状态 - 作废 - 0:未激活 1:正常
  18128. type: integer
  18129. wrstandardcode:
  18130. description: 现货品类代码
  18131. type: string
  18132. wrstandardid:
  18133. description: 现货品类ID(SEQ_WRSTANDARD)
  18134. type: integer
  18135. wrstandardname:
  18136. description: 现货品类名称
  18137. type: string
  18138. required:
  18139. - wrstandardid
  18140. type: object
  18141. models.WRTradeBargainApply:
  18142. properties:
  18143. accountid:
  18144. description: 摘牌资金账号
  18145. type: integer
  18146. applyprice:
  18147. description: 申请价格(议价价格)
  18148. type: string
  18149. applyqty:
  18150. description: 摘牌数量(议价数量)
  18151. type: number
  18152. applyremark:
  18153. description: 申请备注
  18154. type: string
  18155. applystatus:
  18156. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  18157. type: integer
  18158. applytime:
  18159. description: 申请时间(议价时间)
  18160. type: string
  18161. begindate:
  18162. description: 开始交易日(yyyymmdd)
  18163. type: string
  18164. buyorsell:
  18165. description: 买卖(挂牌类型) - 0:买 1:卖
  18166. type: integer
  18167. confirmremark:
  18168. description: 确认备注
  18169. type: string
  18170. confirmtime:
  18171. description: 确认时间
  18172. type: string
  18173. confirmuserid:
  18174. description: 确认人
  18175. type: integer
  18176. deliverygoodscode:
  18177. description: 品种代码
  18178. type: string
  18179. deliverygoodsid:
  18180. description: 品种ID
  18181. type: integer
  18182. deliverygoodsname:
  18183. description: 品种名称
  18184. type: string
  18185. deliverymonth:
  18186. description: 交收月
  18187. type: string
  18188. enddate:
  18189. description: 结束交易日(yyyymmdd)
  18190. type: string
  18191. enumdicname:
  18192. description: 单位名称
  18193. type: string
  18194. fixedprice:
  18195. description: 期初均价
  18196. type: number
  18197. handlestatus:
  18198. description: 处理状态
  18199. type: integer
  18200. marginvalue:
  18201. description: 期初均价
  18202. type: number
  18203. marketid:
  18204. description: 市场ID
  18205. type: integer
  18206. matchaccountid:
  18207. description: 挂牌方资金账号
  18208. type: integer
  18209. matchuserid:
  18210. description: 挂牌方用户id
  18211. type: integer
  18212. matchusername:
  18213. description: 挂牌方用户名称(已脱敏)
  18214. type: string
  18215. minivalue:
  18216. description: 现货商品最小变动值
  18217. type: integer
  18218. optioncompare:
  18219. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18220. type: string
  18221. orderqty:
  18222. description: 挂牌数量
  18223. type: integer
  18224. refprice:
  18225. description: 参考价格
  18226. type: string
  18227. retcode:
  18228. description: 委托返回代码
  18229. type: integer
  18230. templatename:
  18231. description: 履约方式(履约模板名称)
  18232. type: string
  18233. tradedate:
  18234. description: 交易日(yyyyMMdd)
  18235. type: string
  18236. userid:
  18237. description: 摘牌人用户ID(议价人ID)
  18238. type: integer
  18239. username:
  18240. description: 议价人名字(已脱敏)
  18241. type: string
  18242. validtime:
  18243. description: 有效期限
  18244. type: string
  18245. warehouseid:
  18246. description: 仓库ID
  18247. type: integer
  18248. warehousename:
  18249. description: 仓库名称
  18250. type: string
  18251. wrbargainid:
  18252. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  18253. type: string
  18254. wrfactortypeid:
  18255. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18256. type: string
  18257. wrfactortypename:
  18258. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18259. type: string
  18260. wrstandardcode:
  18261. description: 现货商品代码
  18262. type: string
  18263. wrstandardid:
  18264. description: 现货商品ID
  18265. type: integer
  18266. wrstandardname:
  18267. description: 商品名称
  18268. type: string
  18269. wrtradeorderid:
  18270. description: 关联委托单ID
  18271. type: string
  18272. wrtypename:
  18273. description: 商品
  18274. type: string
  18275. type: object
  18276. models.Warehouseinfo:
  18277. properties:
  18278. address:
  18279. description: 详细地址
  18280. type: string
  18281. areauserid:
  18282. description: 所属机构
  18283. type: integer
  18284. autoid:
  18285. description: 自增ID
  18286. type: integer
  18287. cityid:
  18288. description: 市
  18289. type: integer
  18290. contactname:
  18291. description: 联系人
  18292. type: string
  18293. contactnum:
  18294. description: 联系电话
  18295. type: string
  18296. countryid:
  18297. description: 国家
  18298. type: integer
  18299. createtime:
  18300. description: 创建时间
  18301. type: string
  18302. districtid:
  18303. description: 区
  18304. type: integer
  18305. hasvideo:
  18306. description: 是否有视频 - 0:无 1:有
  18307. type: integer
  18308. provinceid:
  18309. description: 省
  18310. type: integer
  18311. remark:
  18312. description: 审核备注
  18313. type: string
  18314. videourl:
  18315. description: 视频地址
  18316. type: string
  18317. warehousecode:
  18318. description: 仓库代码
  18319. type: string
  18320. warehousename:
  18321. description: 仓库名称
  18322. type: string
  18323. warehousestatus:
  18324. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  18325. type: integer
  18326. warehousetype:
  18327. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  18328. type: integer
  18329. required:
  18330. - autoid
  18331. - warehousecode
  18332. type: object
  18333. models.WrAverageTradePrice:
  18334. properties:
  18335. averageprice:
  18336. description: 期初均价
  18337. type: number
  18338. tradedate:
  18339. description: 交易日yyyymm
  18340. type: string
  18341. type: object
  18342. models.WrBrandAndYears:
  18343. properties:
  18344. brandlst:
  18345. description: 品牌列表
  18346. items:
  18347. $ref: '#/definitions/models.DgFactoryItem'
  18348. type: array
  18349. yearslst:
  18350. description: 年份列表
  18351. items:
  18352. $ref: '#/definitions/models.DgFactoryItem'
  18353. type: array
  18354. type: object
  18355. models.WrBsGoodsInfo:
  18356. properties:
  18357. buyorsell:
  18358. description: 买卖方向 0-买 1-卖
  18359. type: integer
  18360. goodsid:
  18361. description: 交易合约ID
  18362. type: integer
  18363. lstitem:
  18364. description: 商品信息项
  18365. items:
  18366. $ref: '#/definitions/models.WrTypeItem'
  18367. type: array
  18368. lststep:
  18369. description: 履约规则
  18370. items:
  18371. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18372. type: array
  18373. type: object
  18374. models.WrBuybackDetail:
  18375. properties:
  18376. buybackamount:
  18377. description: 回购金额
  18378. type: number
  18379. buybackqty:
  18380. description: 回购数量
  18381. type: number
  18382. buybackreleasemargin:
  18383. description: 回购释放保证金
  18384. type: number
  18385. buybacktime:
  18386. description: 回购时间
  18387. type: string
  18388. errordesc:
  18389. description: 错误描述
  18390. type: string
  18391. handlestatus:
  18392. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  18393. type: integer
  18394. relatedwrid:
  18395. description: 关联仓单ID
  18396. type: integer
  18397. scfcontractid:
  18398. description: SCF合同ID
  18399. type: string
  18400. scfwrbuybackid:
  18401. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  18402. type: integer
  18403. tradedate:
  18404. description: 交易日(yyyyMMdd)
  18405. type: string
  18406. type: object
  18407. models.WrClientAdSpaceConfig:
  18408. properties:
  18409. adspaceid:
  18410. description: 广告位ID
  18411. type: integer
  18412. adspacename:
  18413. description: 广告位名称
  18414. type: string
  18415. adspacetype:
  18416. description: 广告位类型 - 1:固定广告位
  18417. type: integer
  18418. areauserid:
  18419. description: 所属机构ID
  18420. type: integer
  18421. createdate:
  18422. description: 创建时间
  18423. type: string
  18424. imagepath:
  18425. description: 图片
  18426. type: string
  18427. modifierid:
  18428. description: 操作人
  18429. type: integer
  18430. recsize:
  18431. description: 推荐尺寸
  18432. type: string
  18433. title:
  18434. description: 标题
  18435. type: string
  18436. updatedate:
  18437. description: 更新时间
  18438. type: string
  18439. urlcontent:
  18440. description: 链接(地址\商品ID\功能菜单Key\appid)
  18441. type: string
  18442. urltype:
  18443. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  18444. type: integer
  18445. type: object
  18446. models.WrDeliveryAvalidHoldLB:
  18447. properties:
  18448. accountid:
  18449. description: 资金账号
  18450. type: integer
  18451. avalidqty:
  18452. description: 数量(可点选数量)
  18453. type: number
  18454. deliverygoodsid:
  18455. description: 品种id
  18456. type: integer
  18457. enumdicname:
  18458. description: 单位名称
  18459. type: string
  18460. goodsid:
  18461. description: x合约商品id
  18462. type: integer
  18463. ladingbillid:
  18464. description: 提单id
  18465. type: string
  18466. pgoodscode:
  18467. description: p商品代码(点价合约)
  18468. type: string
  18469. pgoodsid:
  18470. description: p商品id(点价合约)
  18471. type: integer
  18472. pgoodsname:
  18473. description: p商品名称(点价合约)
  18474. type: string
  18475. pricemove:
  18476. description: 升贴水
  18477. type: number
  18478. subnum:
  18479. description: 提单子id
  18480. type: integer
  18481. userid:
  18482. description: 用户id
  18483. type: integer
  18484. username:
  18485. description: 仓单持有人
  18486. type: string
  18487. warehousecode:
  18488. description: 仓库代码
  18489. type: string
  18490. warehouseid:
  18491. description: 仓库id
  18492. type: integer
  18493. warehousename:
  18494. description: 仓库名称
  18495. type: string
  18496. wrfactortypeid:
  18497. description: 仓单要素id
  18498. type: string
  18499. wrstandardcode:
  18500. description: 品代码
  18501. type: string
  18502. wrstandardid:
  18503. description: 品类d
  18504. type: integer
  18505. wrstandardname:
  18506. description: 品类名称
  18507. type: string
  18508. wrtypename:
  18509. description: 商品
  18510. type: string
  18511. xgoodscode:
  18512. description: x合约代码
  18513. type: string
  18514. xgoodsname:
  18515. description: x合约名称
  18516. type: string
  18517. type: object
  18518. models.WrDeliveryDetail:
  18519. properties:
  18520. accountid:
  18521. description: 账号ID
  18522. type: integer
  18523. averageprice:
  18524. description: 期初均价
  18525. type: number
  18526. begindate:
  18527. description: 开始交易日(yyyymmdd)
  18528. type: string
  18529. buyorsell:
  18530. description: 方向 - 0:买 1:卖
  18531. type: integer
  18532. deliveryamount:
  18533. description: 货款金额(X总货款+P总货款)
  18534. type: number
  18535. deliveryid:
  18536. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  18537. type: string
  18538. deliveryorderid:
  18539. description: 申报单号
  18540. type: string
  18541. deliverypricemove:
  18542. description: 升贴水(升贴水总额)
  18543. type: number
  18544. deliveryqty:
  18545. description: 交收数量(点选数量)
  18546. type: number
  18547. deliverystatus:
  18548. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  18549. type: integer
  18550. deliverytime:
  18551. description: 交割时间
  18552. type: string
  18553. deliverytotalamount:
  18554. description: 交收金额
  18555. type: number
  18556. enddate:
  18557. description: 结束交易日(yyyymmdd)
  18558. type: string
  18559. enumdicname:
  18560. description: 单位名称
  18561. type: string
  18562. matchaccountid:
  18563. description: 对手账号ID
  18564. type: integer
  18565. matchusername:
  18566. description: 对手方名称(仓单持有人)
  18567. type: string
  18568. p1goodsremainamount:
  18569. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  18570. type: number
  18571. pdeliverycloseqty:
  18572. description: p合约平仓数量
  18573. type: number
  18574. pdeliveryprice:
  18575. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  18576. type: number
  18577. pgoodscode:
  18578. description: 商品代码
  18579. type: string
  18580. pgoodsid:
  18581. description: p点选合约id
  18582. type: integer
  18583. pgoodsname:
  18584. description: 商品名称
  18585. type: string
  18586. ppricemode:
  18587. description: 点价价格方式 - 1:商品价 2:固定值
  18588. type: integer
  18589. tradedate:
  18590. description: 交易日(yyyymmdd)
  18591. type: string
  18592. userid:
  18593. description: 用户id
  18594. type: integer
  18595. username:
  18596. description: 用户名称
  18597. type: string
  18598. warehousename:
  18599. description: 仓库名称
  18600. type: string
  18601. wrfactortypeid:
  18602. description: 仓单要素类型ID
  18603. type: string
  18604. wrtypename:
  18605. description: 商品
  18606. type: string
  18607. xdeliverycloseqty:
  18608. description: 合约数量
  18609. type: number
  18610. xgoodsamount:
  18611. description: 期初均价
  18612. type: number
  18613. xgoodscode:
  18614. description: 商品代码
  18615. type: string
  18616. xgoodsid:
  18617. description: x交易合约ID
  18618. type: integer
  18619. xgoodsname:
  18620. description: 商品名称
  18621. type: string
  18622. type: object
  18623. models.WrDeliveryGoodsSection:
  18624. properties:
  18625. dglst:
  18626. description: 板块商品列表
  18627. items:
  18628. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  18629. type: array
  18630. imagepath:
  18631. description: 图片地址
  18632. type: string
  18633. orderindex:
  18634. description: 排序
  18635. type: integer
  18636. sectionid:
  18637. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  18638. = 1的版块1 - 云融指数
  18639. type: integer
  18640. sectionname:
  18641. description: 版块名称
  18642. type: string
  18643. sectiontype:
  18644. description: 版块类型 - 1:指数版块 2:普通版块
  18645. type: integer
  18646. type: object
  18647. models.WrDeliveryGoodsSectionConfig:
  18648. properties:
  18649. deliverygoodscode:
  18650. description: 现货商品代码
  18651. type: string
  18652. deliverygoodsid:
  18653. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18654. type: integer
  18655. deliverygoodsname:
  18656. description: 现货商品名称
  18657. type: string
  18658. orderindex:
  18659. description: 排序
  18660. type: integer
  18661. type: object
  18662. models.WrDraftUserInfo:
  18663. properties:
  18664. address:
  18665. description: 地址
  18666. type: string
  18667. attachment1:
  18668. description: 附件1
  18669. type: string
  18670. attachment2:
  18671. description: 附件2
  18672. type: string
  18673. attachment3:
  18674. description: 附件3
  18675. type: string
  18676. attachment4:
  18677. description: 附件4
  18678. type: string
  18679. attachment5:
  18680. description: 附件5
  18681. type: string
  18682. bankaccount:
  18683. description: 银行帐号 (加密存储)
  18684. type: string
  18685. bankaccountname:
  18686. description: 收款人名称
  18687. type: string
  18688. bankcardfrontphotourl:
  18689. description: 银行卡正面照地址
  18690. type: string
  18691. bankid:
  18692. description: 银行编码
  18693. type: string
  18694. bankname:
  18695. description: 银行名称
  18696. type: string
  18697. birthday:
  18698. description: 生日(个人:年月日)
  18699. type: string
  18700. biznature:
  18701. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  18702. type: integer
  18703. bizscope:
  18704. description: 企业经营范围(企业)
  18705. type: string
  18706. biztype:
  18707. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  18708. type: integer
  18709. cardbackphotourl:
  18710. description: 证件背面图片地址
  18711. type: string
  18712. cardfrontphotourl:
  18713. description: 证件正面图片地址
  18714. type: string
  18715. cardnum:
  18716. description: 证件号码(加密存储)
  18717. type: string
  18718. cardtypeid:
  18719. description: 证件类型ID
  18720. type: integer
  18721. cityid:
  18722. description: 市
  18723. type: integer
  18724. company:
  18725. description: 公司(个人)
  18726. type: string
  18727. contactcardbackphotourl:
  18728. description: 联系人证件背面图片地址
  18729. type: string
  18730. contactcardfrontphotourl:
  18731. description: 联系人证件正面图片地址
  18732. type: string
  18733. contactname:
  18734. description: 联系人
  18735. type: string
  18736. countryid:
  18737. description: 国家
  18738. type: integer
  18739. createtime:
  18740. description: 创建时间
  18741. type: string
  18742. creatorid:
  18743. description: 创建人
  18744. type: integer
  18745. creditquota:
  18746. description: 授信额度(金瑞)
  18747. type: number
  18748. customername:
  18749. description: 客户名称(企业名称)
  18750. type: string
  18751. districtid:
  18752. description: 地区
  18753. type: integer
  18754. email:
  18755. description: 邮件(加密存储)
  18756. type: string
  18757. fax:
  18758. description: 传真(加密存储)
  18759. type: string
  18760. halfbodyphotourl:
  18761. description: 半身照地址
  18762. type: string
  18763. hasencrypt:
  18764. description: 数据是否已加密 - 0:未加密 1:已加密
  18765. type: integer
  18766. headurl:
  18767. description: 头像地址
  18768. type: string
  18769. legalcardbackphotourl:
  18770. description: 法人身份证背面照地址
  18771. type: string
  18772. legalcardfrontphotourl:
  18773. description: 法人身份证正面照地址
  18774. type: string
  18775. legalpersonname:
  18776. description: 法人姓名(企业)
  18777. type: string
  18778. mobile:
  18779. description: 手机号码(加密存储)
  18780. type: string
  18781. mobile2:
  18782. description: 手机号码[明文-尚志]
  18783. type: string
  18784. modifierid:
  18785. description: 修改人
  18786. type: integer
  18787. modifiertime:
  18788. description: 修改时间
  18789. type: string
  18790. needinvoice:
  18791. description: 是否需要发票 - 0:不需要 1:需要
  18792. type: integer
  18793. nickname:
  18794. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  18795. type: string
  18796. openmode:
  18797. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  18798. 6:苹果手机端注册 7:PC交易端注册"
  18799. type: integer
  18800. otherurl:
  18801. description: 其它图片地址[使用分号分隔]
  18802. type: string
  18803. postalcode:
  18804. description: 邮政编码
  18805. type: string
  18806. provinceid:
  18807. description: 省
  18808. type: integer
  18809. proxystatementurl:
  18810. description: 授权委托书
  18811. type: string
  18812. qq:
  18813. description: QQ(加密存储
  18814. type: string
  18815. remark:
  18816. description: 备注
  18817. type: string
  18818. sex:
  18819. description: '用户性别 0: 女 1: 男'
  18820. type: integer
  18821. signpdfurl:
  18822. description: 签约pdf文件
  18823. type: string
  18824. taxpayernum:
  18825. description: 纳税人识别号
  18826. type: string
  18827. telphone:
  18828. description: 联系电话(加密存储)
  18829. type: string
  18830. userid:
  18831. description: 用户ID
  18832. type: integer
  18833. userinfotype:
  18834. description: 用户信息类型 - 1:个人 2:企业
  18835. type: integer
  18836. userstatus:
  18837. description: 用户状态 - 1:正常 2:注销
  18838. type: integer
  18839. usertype:
  18840. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  18841. type: integer
  18842. wechat:
  18843. description: 微信(加密存储)
  18844. type: string
  18845. wskhinfo:
  18846. description: 开户申请信息(JSON)
  18847. type: string
  18848. type: object
  18849. models.WrFAProductDetail:
  18850. properties:
  18851. accountid:
  18852. description: 资金账号
  18853. type: integer
  18854. areauserid:
  18855. description: 金融机构ID
  18856. type: integer
  18857. financingdays:
  18858. description: 天数(天)
  18859. type: integer
  18860. interestminlen:
  18861. description: 最小起息天数
  18862. type: integer
  18863. interestrate:
  18864. description: 利率
  18865. type: number
  18866. interestratemode:
  18867. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18868. type: integer
  18869. interestsettlemode:
  18870. description: 结息方式 - 1:按日结息 3:按月结息
  18871. type: integer
  18872. interestsettlevalue:
  18873. description: 结息方式值
  18874. type: integer
  18875. isautoloan:
  18876. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  18877. type: integer
  18878. loantag:
  18879. description: '放款标识: "放款快" 或者为空'
  18880. type: string
  18881. marginratio:
  18882. description: 保证金比率质押率 - [仓单质押]
  18883. type: number
  18884. productdetailid:
  18885. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  18886. type: integer
  18887. productid:
  18888. description: 金融产品ID
  18889. type: integer
  18890. productname:
  18891. description: 产品名称
  18892. type: string
  18893. updatetime:
  18894. description: 更新时间
  18895. type: string
  18896. username:
  18897. description: 融出方
  18898. type: string
  18899. type: object
  18900. models.WrFactorTypeInfo:
  18901. properties:
  18902. deliverygoodscode:
  18903. description: 品种代码
  18904. type: string
  18905. deliverygoodsname:
  18906. description: 品种名称
  18907. type: string
  18908. dgfactoryitemid:
  18909. description: 选择项id
  18910. type: integer
  18911. dgfactoryitemtypeid:
  18912. description: 要素选择项ID (1-仓库 2-品牌)
  18913. type: integer
  18914. dgfactoryitemvalue:
  18915. description: 要素项值
  18916. type: string
  18917. itemtypename:
  18918. description: 要素项名称
  18919. type: string
  18920. optioncompare:
  18921. description: 选择比较串
  18922. type: string
  18923. warehouseid:
  18924. description: 仓库id
  18925. type: integer
  18926. wrfactortypeid:
  18927. description: 仓单要素ID
  18928. type: string
  18929. wrfactortypename:
  18930. description: 要素名称
  18931. type: string
  18932. wrfactortypename2:
  18933. description: 要素名称(不含仓库)
  18934. type: string
  18935. wrstandardcode:
  18936. description: 品类代码
  18937. type: string
  18938. wrstandardid:
  18939. description: 品类id
  18940. type: integer
  18941. wrstandardname:
  18942. description: 品类名称
  18943. type: string
  18944. type: object
  18945. models.WrFilterItem:
  18946. properties:
  18947. itemcode:
  18948. description: 代码
  18949. type: string
  18950. itemid:
  18951. description: 项id
  18952. type: integer
  18953. itemname:
  18954. description: 名称
  18955. type: string
  18956. itemtype:
  18957. description: 类型 1-品种 2-品类(商品) 3-仓库
  18958. type: integer
  18959. type: object
  18960. models.WrFinanceBuyApply:
  18961. properties:
  18962. applydate:
  18963. description: 申请时间
  18964. type: string
  18965. applystatus:
  18966. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  18967. type: integer
  18968. applyuserid:
  18969. description: 申请人
  18970. type: integer
  18971. auditdate:
  18972. description: 审核时间
  18973. type: string
  18974. auditremark:
  18975. description: 审核备注
  18976. type: string
  18977. audituserid:
  18978. description: 审核人
  18979. type: integer
  18980. buyaccountid:
  18981. description: 买方资金账号
  18982. type: integer
  18983. buyorsell:
  18984. description: 买卖 - 0:买 1:卖
  18985. type: integer
  18986. buyuserid:
  18987. description: 买方用户ID
  18988. type: integer
  18989. buyusername:
  18990. description: 买方名称
  18991. type: string
  18992. buywrtradeorderid:
  18993. description: 融资方买委托单ID
  18994. type: string
  18995. deliverygoodscode:
  18996. description: 品种代码
  18997. type: string
  18998. deliverygoodsid:
  18999. description: 品种ID
  19000. type: integer
  19001. deliverygoodsname:
  19002. description: 品种名称
  19003. type: string
  19004. deliverymonth:
  19005. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  19006. type: string
  19007. enumdicname:
  19008. description: 单位名称
  19009. type: string
  19010. financeaccountid:
  19011. description: 融资方资金帐户ID
  19012. type: integer
  19013. financeapplyid:
  19014. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19015. type: string
  19016. financeareauserid:
  19017. description: 融资方用户ID
  19018. type: string
  19019. financename:
  19020. description: 融出方名称
  19021. type: string
  19022. financetype:
  19023. description: 融资类型 1-融资回购
  19024. type: integer
  19025. financingdays:
  19026. description: 天数(天)
  19027. type: integer
  19028. freezebuymargin:
  19029. description: 冻结融资保证金(买方)
  19030. type: number
  19031. handleremark:
  19032. description: 处理备注
  19033. type: string
  19034. handlestatus:
  19035. description: 处理状态
  19036. type: integer
  19037. interestminlen:
  19038. description: 最小起息天数
  19039. type: integer
  19040. interestrate:
  19041. description: 利率
  19042. type: number
  19043. interestratemode:
  19044. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19045. type: integer
  19046. interestsettlemode:
  19047. description: 结息方式 - 1:按日结息 3:按月结息
  19048. type: integer
  19049. interestsettlevalue:
  19050. description: 结息方式值
  19051. type: integer
  19052. isautoloan:
  19053. description: 是否自动放款 - 0:手动 1:自动
  19054. type: integer
  19055. marginratio:
  19056. description: 保证金比率质押率 - [仓单质押]
  19057. type: number
  19058. marketid:
  19059. description: 市场ID
  19060. type: integer
  19061. minivalue:
  19062. description: 现货商品最小变动值
  19063. type: integer
  19064. optioncompare:
  19065. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19066. type: string
  19067. orderqty:
  19068. description: 委托数量(商品数量)
  19069. type: number
  19070. productdetailid:
  19071. description: 产品组合ID
  19072. type: integer
  19073. productid:
  19074. description: 金融产品ID
  19075. type: integer
  19076. productname:
  19077. description: 产品名称
  19078. type: string
  19079. remark:
  19080. description: 备注
  19081. type: string
  19082. scfcontractid:
  19083. description: 仓单回购合同ID
  19084. type: string
  19085. sellaccountid:
  19086. description: 卖方资金账号
  19087. type: integer
  19088. selluserid:
  19089. description: 卖方用户ID
  19090. type: integer
  19091. sellwrtradeorderid:
  19092. description: 卖方委托单ID
  19093. type: string
  19094. tradeamount:
  19095. description: 成交金额(借款金额)
  19096. type: number
  19097. tradedate:
  19098. description: 交易日(yyyyMMdd)
  19099. type: string
  19100. tradeprice:
  19101. description: 成交价格
  19102. type: number
  19103. warehouseid:
  19104. description: 仓库ID
  19105. type: integer
  19106. warehousename:
  19107. description: 仓库名称
  19108. type: string
  19109. wrfactortypeid:
  19110. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19111. type: string
  19112. wrfactortypename:
  19113. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19114. type: string
  19115. wrpricetype:
  19116. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  19117. type: integer
  19118. wrstandardcode:
  19119. description: 现货商品代码
  19120. type: string
  19121. wrstandardid:
  19122. description: 现货商品ID
  19123. type: integer
  19124. wrstandardname:
  19125. description: 商品名称
  19126. type: string
  19127. wrtypename:
  19128. description: 商品
  19129. type: string
  19130. type: object
  19131. models.WrFriendApply:
  19132. properties:
  19133. applicantid:
  19134. description: 申请人
  19135. type: integer
  19136. applyname:
  19137. description: 申请人名称
  19138. type: string
  19139. applysrc:
  19140. description: 申请来源 - 1:管理端 2:终端
  19141. type: integer
  19142. applystatus:
  19143. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19144. type: integer
  19145. applytime:
  19146. description: 申请时间
  19147. type: string
  19148. auditname:
  19149. description: 审核人名称
  19150. type: string
  19151. auditorid:
  19152. description: 审核人
  19153. type: integer
  19154. auditremark:
  19155. description: 审核备注
  19156. type: string
  19157. auditsrc:
  19158. description: 审核来源 - 1:管理端 2:终端
  19159. type: integer
  19160. audittime:
  19161. description: 审核时间
  19162. type: string
  19163. friendapplyid:
  19164. description: 申请ID(SEQ_FRIENDAPPLY)
  19165. type: string
  19166. friendname:
  19167. description: 好友名字(已脱敏)
  19168. type: string
  19169. frienduserid:
  19170. description: 好友用户ID
  19171. type: string
  19172. remark:
  19173. description: 备注
  19174. type: string
  19175. userid:
  19176. description: 申请人用户ID
  19177. type: integer
  19178. type: object
  19179. models.WrFtDeliveryGoods:
  19180. properties:
  19181. deliverygoodscode:
  19182. description: 品种代码
  19183. type: string
  19184. deliverygoodsid:
  19185. description: 品种ID
  19186. type: integer
  19187. deliverygoodsname:
  19188. description: 品种名称
  19189. type: string
  19190. wdlst:
  19191. description: 商品列表
  19192. items:
  19193. $ref: '#/definitions/models.WrFtWrstandard'
  19194. type: array
  19195. type: object
  19196. models.WrFtWrstandard:
  19197. properties:
  19198. enumdicname:
  19199. description: 单位名称
  19200. type: string
  19201. minivalue:
  19202. description: 最小变动值
  19203. type: integer
  19204. wrstandardcode:
  19205. description: 现货商品代码
  19206. type: string
  19207. wrstandardid:
  19208. description: 现货商品ID
  19209. type: integer
  19210. wrstandardname:
  19211. description: 商品名称
  19212. type: string
  19213. type: object
  19214. models.WrGoodsInfo:
  19215. properties:
  19216. haswr:
  19217. description: 0:仓单预售 1:仓单贸易
  19218. type: integer
  19219. lstitem:
  19220. description: 商品信息项
  19221. items:
  19222. $ref: '#/definitions/models.WrTypeItem'
  19223. type: array
  19224. lststep:
  19225. description: 履约规则
  19226. items:
  19227. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19228. type: array
  19229. marketid:
  19230. description: 市场id
  19231. type: integer
  19232. type: object
  19233. models.WrGoodsPerformanceStep:
  19234. properties:
  19235. autoid:
  19236. description: AutoID
  19237. type: integer
  19238. isauto:
  19239. description: 是否自动 - 0:不自动 1:自动
  19240. type: integer
  19241. remark:
  19242. description: 备注
  19243. type: string
  19244. stepdate:
  19245. description: 天数信息(T+N)
  19246. type: string
  19247. stepdays:
  19248. description: 距离上一步天数
  19249. type: integer
  19250. stepindex:
  19251. description: 步骤序号
  19252. type: integer
  19253. stepinfo:
  19254. description: 步骤信息(步骤名称+步骤值)
  19255. type: string
  19256. steptypeid:
  19257. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19258. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19259. type: integer
  19260. steptypename:
  19261. description: 步骤名称
  19262. type: string
  19263. stepvalue:
  19264. description: 期初均价
  19265. type: number
  19266. templateid:
  19267. description: 履约计划模板ID
  19268. type: integer
  19269. type: object
  19270. models.WrHoldLB:
  19271. properties:
  19272. accountid:
  19273. description: 持有人帐户ID
  19274. type: integer
  19275. bannerpicurl:
  19276. description: Banner图
  19277. type: string
  19278. createtime:
  19279. description: 创建时间(过户时间)
  19280. type: string
  19281. deliverygoodscode:
  19282. description: 品种代码
  19283. type: string
  19284. deliverygoodsid:
  19285. description: 品种ID
  19286. type: integer
  19287. deliverygoodsname:
  19288. description: 品种名称
  19289. type: string
  19290. enableqty:
  19291. description: 可用数量
  19292. type: number
  19293. enumdicname:
  19294. description: 单位名称
  19295. type: string
  19296. freezerqty:
  19297. description: 冻结数量
  19298. type: number
  19299. ladingbillid:
  19300. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  19301. type: string
  19302. minivalue:
  19303. description: 现货商品最小变动值
  19304. type: integer
  19305. optioncompare:
  19306. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19307. type: string
  19308. parentsubnum:
  19309. description: 拆分父子单号
  19310. type: integer
  19311. pledgeqty:
  19312. description: 质押数量
  19313. type: number
  19314. qty:
  19315. description: 数量
  19316. type: number
  19317. subnum:
  19318. description: 提单子单号
  19319. type: integer
  19320. thumurls:
  19321. description: 缩略图
  19322. type: string
  19323. tradedate:
  19324. description: 交易日(yyyyMMdd)
  19325. type: string
  19326. userid:
  19327. description: 持有人ID
  19328. type: integer
  19329. warehouseid:
  19330. description: 仓库ID
  19331. type: integer
  19332. warehousename:
  19333. description: 仓库名称
  19334. type: string
  19335. wrfactortypeid:
  19336. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19337. type: string
  19338. wrfactortypename:
  19339. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19340. type: string
  19341. wrholdeno:
  19342. description: 仓单编号
  19343. type: string
  19344. wrid:
  19345. description: 仓单变更ID
  19346. type: string
  19347. wrstandardcode:
  19348. description: 现货商品代码
  19349. type: string
  19350. wrstandardid:
  19351. description: 现货商品ID
  19352. type: integer
  19353. wrstandardname:
  19354. description: 商品名称
  19355. type: string
  19356. wrtypename:
  19357. description: 商品
  19358. type: string
  19359. type: object
  19360. models.WrMarketTradeConfig:
  19361. properties:
  19362. basisdownratio:
  19363. description: 浮动价基差下限比例(仓单贸易)
  19364. type: number
  19365. basisupratio:
  19366. description: 浮动价基差上限比例(仓单贸易)
  19367. type: number
  19368. buychargealgorithm:
  19369. description: 买方手续费收取方式 1:比率 2:固定
  19370. type: integer
  19371. buychargealgorithm2:
  19372. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  19373. type: integer
  19374. buychargealgorithmvalue:
  19375. description: 买方手续费设置值(交易所部分)
  19376. type: number
  19377. buychargealgorithmvalue2:
  19378. description: 买方手续费设置值(会员部分)
  19379. type: number
  19380. buychargealgorithmvalue3:
  19381. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  19382. type: number
  19383. buychargealgorithmvalue4:
  19384. description: 回购买方手续费设置值(会员部分) --77:现货商城
  19385. type: number
  19386. buyfirstmarginalgorithm:
  19387. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  19388. type: integer
  19389. buyfirstmarginvalue:
  19390. description: 买方出价保证金设置值 - [竞拍]
  19391. type: number
  19392. buymarginalgorithm:
  19393. description: 买方保证金方式 - 1:比率 2:固定
  19394. type: integer
  19395. buymarginvalue:
  19396. description: 买方保证金设置值
  19397. type: number
  19398. buyreleaseratio:
  19399. description: 买方释放比率[2:分步履约]
  19400. type: number
  19401. executemode:
  19402. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  19403. type: integer
  19404. executeside:
  19405. description: 执行方[2:分步履约] - 1:买方 2:卖方
  19406. type: integer
  19407. failedchargealgorithm:
  19408. description: 流拍手续费收取方式 1:比率 2:固定
  19409. type: integer
  19410. failedchargevalue:
  19411. description: 流拍手续费设置值
  19412. type: number
  19413. failedchargevalue2:
  19414. description: 流拍卖方手续费设置值
  19415. type: number
  19416. holddays:
  19417. description: 合同期限[2:分步履约]
  19418. type: integer
  19419. listingmode:
  19420. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  19421. type: integer
  19422. marketid:
  19423. description: 市场ID-仓单贸易、竞拍、预售
  19424. type: integer
  19425. minqty:
  19426. description: 最小执行量[2:分步履约]
  19427. type: number
  19428. modifierid:
  19429. description: 修改人
  19430. type: integer
  19431. nowrquotaflag:
  19432. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  19433. type: integer
  19434. performancetempid:
  19435. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  19436. 立即执行(-1)
  19437. type: integer
  19438. performancetempid2:
  19439. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  19440. 立即执行
  19441. type: integer
  19442. performancetempid2s:
  19443. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  19444. - 履约方式: 立即执行
  19445. type: string
  19446. performancetempids:
  19447. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  19448. - 履约方式: 立即执行(-1)
  19449. type: string
  19450. performanceway:
  19451. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  19452. type: integer
  19453. sellchargealgorithm:
  19454. description: 卖方手续费收取方式 1:比率 2:固定
  19455. type: integer
  19456. sellchargealgorithm2:
  19457. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  19458. type: integer
  19459. sellchargealgorithmvalue:
  19460. description: 卖方手续费设置值(交易所部分)
  19461. type: number
  19462. sellchargealgorithmvalue2:
  19463. description: 卖方手续费设置值(会员部分)
  19464. type: number
  19465. sellchargealgorithmvalue3:
  19466. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  19467. type: number
  19468. sellchargealgorithmvalue4:
  19469. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  19470. type: number
  19471. sellmarginalgorithm:
  19472. description: 卖方保证金方式 - 1:比率 2:固定
  19473. type: integer
  19474. sellmarginvalue:
  19475. description: 卖方保证金设置值
  19476. type: number
  19477. sellmarginvalue2:
  19478. description: 卖方保证金设置值(无仓单)
  19479. type: number
  19480. sellreleaseratio:
  19481. description: 卖方释放比率[2:分步履约]
  19482. type: number
  19483. updatetime:
  19484. description: 更新时间
  19485. type: string
  19486. type: object
  19487. models.WrOrderDetail:
  19488. properties:
  19489. accountid:
  19490. description: 交易账号(资金账号)
  19491. type: integer
  19492. allfriendsflag:
  19493. description: 是否全好友可见 - 0:否 1:是
  19494. type: integer
  19495. amount:
  19496. description: 期初均价
  19497. type: number
  19498. bannerpicurl:
  19499. description: Banner图
  19500. type: string
  19501. begindate:
  19502. description: 开始交易日(yyyymmdd)
  19503. type: string
  19504. buyorsell:
  19505. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19506. type: integer
  19507. canbargain:
  19508. description: 是否可议价 - 0:不可 1:可
  19509. type: integer
  19510. cancelqty:
  19511. description: 撤销数量
  19512. type: number
  19513. canpart:
  19514. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  19515. type: integer
  19516. delistminqty:
  19517. description: 起摘数量
  19518. type: integer
  19519. deliverygoodscode:
  19520. description: 品种代码
  19521. type: string
  19522. deliverygoodsid:
  19523. description: 品种ID
  19524. type: integer
  19525. deliverygoodsname:
  19526. description: 品种名称
  19527. type: string
  19528. deliverymonth:
  19529. description: 交收月
  19530. type: string
  19531. enddate:
  19532. description: 结束交易日(yyyymmdd)
  19533. type: string
  19534. enumdicname:
  19535. description: 单位名称
  19536. type: string
  19537. fixedprice:
  19538. description: 固定价格 - [挂牌]
  19539. type: number
  19540. freezecharge:
  19541. description: 期初均价
  19542. type: number
  19543. freezemargin:
  19544. description: 期初均价
  19545. type: number
  19546. futupricemove:
  19547. description: 期货升贴水
  19548. type: number
  19549. futushow:
  19550. description: 期货合约/升贴水
  19551. type: string
  19552. goodscode:
  19553. description: 期货合约
  19554. type: string
  19555. goodsid:
  19556. description: 期货商品id
  19557. type: integer
  19558. goodsname:
  19559. description: 商品名称
  19560. type: string
  19561. haswr:
  19562. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19563. type: integer
  19564. isspecified:
  19565. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  19566. type: integer
  19567. ladingbillid:
  19568. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  19569. type: string
  19570. marginvalue:
  19571. description: 期初均价
  19572. type: number
  19573. marketid:
  19574. description: 市场ID
  19575. type: integer
  19576. matchusername:
  19577. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  19578. type: string
  19579. minivalue:
  19580. description: 现货商品最小变动值
  19581. type: integer
  19582. optioncompare:
  19583. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19584. type: string
  19585. orderqty:
  19586. description: 委托数量
  19587. type: number
  19588. ordertime:
  19589. description: 委托时间(挂牌时间)
  19590. type: string
  19591. performancetemplateid:
  19592. description: 履约模板id
  19593. type: integer
  19594. pricemove:
  19595. description: 升贴水(浮动价时填写) - [挂牌]
  19596. type: number
  19597. taname:
  19598. description: 交易用户名称(资金账号名称)
  19599. type: string
  19600. thumurls:
  19601. description: 缩略图
  19602. type: string
  19603. tradedate:
  19604. description: 交易日(yyyyMMdd)
  19605. type: string
  19606. tradeprice:
  19607. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  19608. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  19609. type: number
  19610. tradeqty:
  19611. description: 成交数量
  19612. type: number
  19613. userid:
  19614. description: 用户ID
  19615. type: integer
  19616. validtime:
  19617. description: 挂牌有效期
  19618. type: string
  19619. validtype:
  19620. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  19621. type: integer
  19622. warehouseid:
  19623. description: 仓库ID
  19624. type: integer
  19625. warehousename:
  19626. description: 仓库名称
  19627. type: string
  19628. wrfactortypeid:
  19629. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19630. type: string
  19631. wrfactortypename:
  19632. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19633. type: string
  19634. wrpricetype:
  19635. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19636. type: integer
  19637. wrstandardcode:
  19638. description: 现货商品代码
  19639. type: string
  19640. wrstandardid:
  19641. description: 现货商品ID
  19642. type: integer
  19643. wrstandardname:
  19644. description: 商品名称
  19645. type: string
  19646. wrtradeorderid:
  19647. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19648. type: string
  19649. wrtradeorderstatus:
  19650. 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:撤单解冻贷款失败
  19651. type: integer
  19652. wrtradetype:
  19653. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19654. type: integer
  19655. wrtypename:
  19656. description: 商品
  19657. type: string
  19658. type: object
  19659. models.WrOrderQuote:
  19660. properties:
  19661. bannerpicurl:
  19662. description: Banner图
  19663. type: string
  19664. buyprice:
  19665. description: 买价
  19666. type: number
  19667. buypricemove:
  19668. description: 买升贴水(基差)
  19669. type: number
  19670. buyqty:
  19671. description: 买量
  19672. type: number
  19673. deliverygoodscode:
  19674. description: 品种代码
  19675. type: string
  19676. deliverygoodsid:
  19677. description: 品种id
  19678. type: integer
  19679. deliverygoodsname:
  19680. description: 品种名称
  19681. type: string
  19682. deliverymonth:
  19683. description: 交收月
  19684. type: string
  19685. enumdicname:
  19686. description: 单位名称
  19687. type: string
  19688. goodscode:
  19689. description: 商品合约(浮动价列表才有)
  19690. type: string
  19691. goodsid:
  19692. description: 商品id(浮动价列表才有)
  19693. type: integer
  19694. minivalue:
  19695. description: 现货商品最小变动值
  19696. type: integer
  19697. pictureurls:
  19698. description: 详情图片(逗号分隔)
  19699. type: string
  19700. sellprice:
  19701. description: 卖价
  19702. type: number
  19703. sellpricemove:
  19704. description: 卖升贴水(基差)
  19705. type: number
  19706. sellqty:
  19707. description: 卖量
  19708. type: number
  19709. thumurls:
  19710. description: 缩略图片(1:1)(逗号分隔)
  19711. type: string
  19712. warehousecode:
  19713. description: 仓库代码
  19714. type: string
  19715. warehouseid:
  19716. description: 仓库id
  19717. type: integer
  19718. warehousename:
  19719. description: 仓库名称
  19720. type: string
  19721. wrfactortypeid:
  19722. description: 仓单要素id
  19723. type: string
  19724. wrfactortypename:
  19725. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19726. type: string
  19727. wrgoodsname:
  19728. description: 商品(商品名称+仓库要素名称 拼接)
  19729. type: string
  19730. wrstandardcode:
  19731. description: 商品代码
  19732. type: string
  19733. wrstandardid:
  19734. description: 商品id
  19735. type: integer
  19736. wrstandardname:
  19737. description: 商品名称
  19738. type: string
  19739. type: object
  19740. models.WrOrderQuoteDetail:
  19741. properties:
  19742. buyorsell:
  19743. description: 买卖 - 0:买 1:卖
  19744. type: integer
  19745. delistminqty:
  19746. description: 期初均价
  19747. type: number
  19748. deliverymonth:
  19749. description: 交收月
  19750. type: string
  19751. enumdicname:
  19752. description: 单位名称
  19753. type: string
  19754. fixedprice:
  19755. description: 买(卖)价
  19756. type: number
  19757. marketid:
  19758. description: 市场id
  19759. type: integer
  19760. minivalue:
  19761. description: 现货商品最小变动值
  19762. type: integer
  19763. orderqty:
  19764. description: 买(卖)量(=委托量-成交量)
  19765. type: number
  19766. ordertime:
  19767. description: 委托时间
  19768. type: string
  19769. pricemove:
  19770. description: 买(卖)升贴水- 基差
  19771. type: number
  19772. userid:
  19773. description: 购买方(销售方)用户ID
  19774. type: integer
  19775. username:
  19776. description: 购买方(销售方)
  19777. type: string
  19778. wrtradeorderid:
  19779. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19780. type: string
  19781. type: object
  19782. models.WrOutInApply:
  19783. properties:
  19784. applyid:
  19785. description: 申请单id
  19786. type: string
  19787. applystatus:
  19788. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  19789. 8:已撤销
  19790. type: integer
  19791. applytime:
  19792. description: 申请时间
  19793. type: string
  19794. applytype:
  19795. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  19796. type: integer
  19797. bannerpicurl:
  19798. description: Banner图
  19799. type: string
  19800. begindate:
  19801. description: 开始交易日(yyyymmdd)
  19802. type: string
  19803. deliverygoodscode:
  19804. description: 品种代码
  19805. type: string
  19806. deliverygoodsid:
  19807. description: 品种ID
  19808. type: integer
  19809. deliverygoodsname:
  19810. description: 品种名称
  19811. type: string
  19812. enddate:
  19813. description: 结束交易日(yyyymmdd)
  19814. type: string
  19815. enumdicname:
  19816. description: 单位名称
  19817. type: string
  19818. expresscompany:
  19819. description: 物流公司
  19820. type: string
  19821. expressnum:
  19822. description: 物流单号
  19823. type: string
  19824. minivalue:
  19825. description: 现货商品最小变动值
  19826. type: integer
  19827. optioncompare:
  19828. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19829. type: string
  19830. qty:
  19831. description: 数量
  19832. type: integer
  19833. userid:
  19834. description: 用户id
  19835. type: integer
  19836. warehouseid:
  19837. description: 仓库ID
  19838. type: integer
  19839. warehousename:
  19840. description: 仓库名称
  19841. type: string
  19842. wrfactortypeid:
  19843. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19844. type: string
  19845. wrfactortypename:
  19846. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19847. type: string
  19848. wrstandardcode:
  19849. description: 现货商品代码
  19850. type: string
  19851. wrstandardid:
  19852. description: 现货商品ID
  19853. type: integer
  19854. wrstandardname:
  19855. description: 商品名称
  19856. type: string
  19857. wrtypename:
  19858. description: 商品
  19859. type: string
  19860. type: object
  19861. models.WrPerformancePlan:
  19862. properties:
  19863. activatemonth:
  19864. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  19865. type: string
  19866. amount:
  19867. description: 履约金额(总金额)
  19868. type: number
  19869. begindate:
  19870. description: 开始交易日(yyyymmdd)
  19871. type: string
  19872. buyaccountid:
  19873. description: 买方账号
  19874. type: integer
  19875. buyerfreezeamount:
  19876. description: 履约冻结(买履约)
  19877. type: number
  19878. buyerfreezeamountremain:
  19879. description: 履约冻结剩余(买履约)
  19880. type: number
  19881. buyorsell:
  19882. description: 买卖方向 0-买 1-卖
  19883. type: integer
  19884. buypaidamount:
  19885. description: 买方已冻/已扣金额 (已付金额)
  19886. type: number
  19887. buyusername:
  19888. description: 买方名字
  19889. type: string
  19890. contractid:
  19891. description: 合同ID
  19892. type: integer
  19893. createtime:
  19894. description: 创建时间
  19895. type: string
  19896. creatorid:
  19897. description: 创建人
  19898. type: integer
  19899. curstepdeadline:
  19900. description: 当前步骤到期时间
  19901. type: string
  19902. curstepid:
  19903. description: 当前步骤ID
  19904. type: string
  19905. curstepname:
  19906. description: 当前步骤名称
  19907. type: string
  19908. deliverygoodscode:
  19909. description: 品种代码
  19910. type: string
  19911. deliverygoodsid:
  19912. description: 品种ID
  19913. type: integer
  19914. deliverygoodsname:
  19915. description: 品种名称
  19916. type: string
  19917. enddate:
  19918. description: 结束交易日(yyyymmdd)
  19919. type: string
  19920. enumdicname:
  19921. description: 单位名称
  19922. type: string
  19923. expressfee:
  19924. description: 运费
  19925. type: number
  19926. expressfeeconfirmed:
  19927. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  19928. type: integer
  19929. hasovershort:
  19930. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  19931. type: integer
  19932. haswr:
  19933. description: 类型 0-仓单预售 1-仓单贸易
  19934. type: integer
  19935. marketid:
  19936. description: 市场ID
  19937. type: integer
  19938. middleaccountid:
  19939. description: 中间商资金账号ID
  19940. type: integer
  19941. middleuserid:
  19942. description: 中间商用户ID
  19943. type: integer
  19944. minivalue:
  19945. description: 现货商品最小变动值
  19946. type: integer
  19947. optioncompare:
  19948. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19949. type: string
  19950. overshortamount:
  19951. description: 溢短金额
  19952. type: number
  19953. overshortqty:
  19954. description: 溢短数量
  19955. type: number
  19956. paymenttype:
  19957. description: 付款方式 - 1:冻结 2:扣款
  19958. type: integer
  19959. performanceplanid:
  19960. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  19961. type: string
  19962. performancestatus:
  19963. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  19964. 9:超时待处理 10:超时关闭
  19965. type: integer
  19966. performancetype:
  19967. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  19968. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  19969. type: integer
  19970. qty:
  19971. description: 履约数量
  19972. type: number
  19973. relatedorderid:
  19974. description: 关联单号(履约类型的关联单号)
  19975. type: string
  19976. remark:
  19977. description: 备注
  19978. type: string
  19979. sellaccountid:
  19980. description: 卖方账号
  19981. type: integer
  19982. sellerfreezeamount:
  19983. description: 履约冻结(卖履约)
  19984. type: number
  19985. sellerfreezeamountremain:
  19986. description: 履约冻结剩余(卖履约)
  19987. type: number
  19988. sellreceivedamount:
  19989. description: 卖方已收金额
  19990. type: number
  19991. sellusername:
  19992. description: 卖方名字
  19993. type: string
  19994. shipremark:
  19995. description: 发货备注[物流单号]
  19996. type: string
  19997. starttime:
  19998. description: 开始时间
  19999. type: string
  20000. steptypeid:
  20001. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  20002. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  20003. type: integer
  20004. typename:
  20005. description: 履约类型 名称
  20006. type: string
  20007. unpaidamount:
  20008. description: 期初均价
  20009. type: number
  20010. userid:
  20011. description: 用户id
  20012. type: integer
  20013. warehouseid:
  20014. description: 仓库ID
  20015. type: integer
  20016. warehousename:
  20017. description: 仓库名称
  20018. type: string
  20019. wrfactortypeid:
  20020. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20021. type: string
  20022. wrfactortypename:
  20023. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20024. type: string
  20025. wrstandardcode:
  20026. description: 现货商品代码
  20027. type: string
  20028. wrstandardid:
  20029. description: 现货商品ID
  20030. type: integer
  20031. wrstandardname:
  20032. description: 商品名称
  20033. type: string
  20034. wrtransferuserid:
  20035. description: 仓单受让用户
  20036. type: integer
  20037. wrtypename:
  20038. description: 商品
  20039. type: string
  20040. required:
  20041. - userid
  20042. type: object
  20043. models.WrPerformancePlanStep:
  20044. properties:
  20045. delaydays:
  20046. description: 延期申请天数
  20047. type: integer
  20048. deliverygoodscode:
  20049. description: 品种代码
  20050. type: string
  20051. deliverygoodsid:
  20052. description: 品种ID
  20053. type: integer
  20054. deliverygoodsname:
  20055. description: 品种名称
  20056. type: string
  20057. endtime:
  20058. description: 结束日期
  20059. type: string
  20060. enumdicname:
  20061. description: 单位名称
  20062. type: string
  20063. executeside:
  20064. description: 步骤执行方 - 1:买方 2:卖方
  20065. type: integer
  20066. handlestatus:
  20067. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  20068. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  20069. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  20070. type: integer
  20071. isauto:
  20072. description: 是否自动 - 0:不自动 1:自动
  20073. type: integer
  20074. islastreceivestep:
  20075. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  20076. type: integer
  20077. minivalue:
  20078. description: 现货商品最小变动值
  20079. type: integer
  20080. optioncompare:
  20081. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20082. type: string
  20083. overdays:
  20084. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  20085. type: integer
  20086. performancestepid:
  20087. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  20088. type: string
  20089. planid:
  20090. description: 所属履约计划ID
  20091. type: string
  20092. realamount:
  20093. description: 实际完成金额
  20094. type: number
  20095. relatedorderid:
  20096. description: 关联单号
  20097. type: string
  20098. remaindays:
  20099. description: 剩余天数
  20100. type: integer
  20101. remark:
  20102. description: 错误备注
  20103. type: string
  20104. starttime:
  20105. description: 开始日期
  20106. type: string
  20107. stepamount:
  20108. description: 步骤金额
  20109. type: number
  20110. stepdays:
  20111. description: 距离上一步天数(分钟)
  20112. type: integer
  20113. stepindex:
  20114. description: 步骤序号
  20115. type: integer
  20116. steplanchtype:
  20117. description: 步骤启动类型 - 1:系统自动 2:手动
  20118. type: integer
  20119. stepremark:
  20120. description: 步骤备注
  20121. type: string
  20122. stepstatus:
  20123. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  20124. type: integer
  20125. steptypeid:
  20126. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  20127. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  20128. type: integer
  20129. steptypename:
  20130. description: 步骤名称
  20131. type: string
  20132. stepvalue:
  20133. description: 步骤值
  20134. type: number
  20135. warehouseid:
  20136. description: 仓库ID
  20137. type: integer
  20138. warehousename:
  20139. description: 仓库名称
  20140. type: string
  20141. wrfactortypeid:
  20142. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20143. type: string
  20144. wrfactortypename:
  20145. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20146. type: string
  20147. wrstandardcode:
  20148. description: 现货商品代码
  20149. type: string
  20150. wrstandardid:
  20151. description: 现货商品ID
  20152. type: integer
  20153. wrstandardname:
  20154. description: 商品名称
  20155. type: string
  20156. wrtypename:
  20157. description: 商品
  20158. type: string
  20159. type: object
  20160. models.WrPerformanceStepType:
  20161. properties:
  20162. canauto:
  20163. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  20164. type: integer
  20165. steptypeid:
  20166. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  20167. type: integer
  20168. steptypename:
  20169. description: 步骤类型名称
  20170. type: string
  20171. type: object
  20172. models.WrPerformanceTemplateEx:
  20173. properties:
  20174. autoid:
  20175. description: AutoID 模板id
  20176. type: integer
  20177. createtime:
  20178. description: 创建时间
  20179. type: string
  20180. creatorid:
  20181. description: 创建人
  20182. type: integer
  20183. lstStep:
  20184. description: 步骤信息列表
  20185. items:
  20186. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  20187. type: array
  20188. paymenttype:
  20189. description: 支付方式 - 1:冻结 2:扣款
  20190. type: integer
  20191. takemode:
  20192. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  20193. type: integer
  20194. templatename:
  20195. description: 模板名称
  20196. type: string
  20197. templatetype:
  20198. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  20199. (无仓单) 5:挂牌期权 6:竞拍-降价式
  20200. type: integer
  20201. userid:
  20202. description: 所属用户
  20203. type: integer
  20204. type: object
  20205. models.WrPosition:
  20206. properties:
  20207. accountid:
  20208. description: 帐户ID
  20209. type: integer
  20210. buyexcuteqty:
  20211. description: 采购履约中数量
  20212. type: number
  20213. creditcurqty:
  20214. description: 授信当前数量(预售仓单:预售当前量)
  20215. type: number
  20216. creditenableqty:
  20217. description: '授信可用数量(预售仓单: 可用数量)'
  20218. type: number
  20219. creditfreezeqty:
  20220. description: '授信冻结数量(预售仓单: 当前数量)'
  20221. type: number
  20222. credittotalqty:
  20223. description: 授信总数量(预售仓单:预售总量)
  20224. type: number
  20225. credittradeqty:
  20226. description: 授信成交数量(预售仓单:成交总量)
  20227. type: number
  20228. deliverygoodscode:
  20229. description: 品种代码
  20230. type: string
  20231. deliverygoodsid:
  20232. description: 品种ID
  20233. type: integer
  20234. deliverygoodsname:
  20235. description: 品种名称
  20236. type: string
  20237. enalbeqty:
  20238. description: 可用数量
  20239. type: number
  20240. enumdicname:
  20241. description: 单位名称
  20242. type: string
  20243. freezeqty:
  20244. description: 总冻结数量
  20245. type: number
  20246. haswr:
  20247. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20248. type: integer
  20249. minivalue:
  20250. description: 现货商品最小变动值
  20251. type: integer
  20252. modifytime:
  20253. description: 修改时间(过户时间)
  20254. type: string
  20255. optioncompare:
  20256. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20257. type: string
  20258. pledgeqty:
  20259. description: 质押数量
  20260. type: number
  20261. querytype:
  20262. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  20263. type: integer
  20264. sellexcuteqty:
  20265. description: 销售履约中数量
  20266. type: number
  20267. totalqty:
  20268. description: 总数量(库存数量)
  20269. type: number
  20270. warehouseid:
  20271. description: 仓库ID
  20272. type: integer
  20273. warehousename:
  20274. description: 仓库名称
  20275. type: string
  20276. wrfactortypeid:
  20277. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20278. type: string
  20279. wrfactortypename:
  20280. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20281. type: string
  20282. wrpositionid:
  20283. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  20284. type: string
  20285. wrpositionno:
  20286. description: 仓单编号
  20287. type: string
  20288. wrstandardcode:
  20289. description: 现货商品代码
  20290. type: string
  20291. wrstandardid:
  20292. description: 现货商品ID
  20293. type: integer
  20294. wrstandardname:
  20295. description: 商品名称
  20296. type: string
  20297. wrtypename:
  20298. description: 商品
  20299. type: string
  20300. wruserid:
  20301. description: 持有人ID
  20302. type: integer
  20303. type: object
  20304. models.WrPreSaleInfo:
  20305. properties:
  20306. bannerpicurl:
  20307. description: Banner图
  20308. type: string
  20309. baseqty:
  20310. description: 中签基数
  20311. type: number
  20312. createtime:
  20313. description: 创建时间
  20314. type: string
  20315. deliverygoodsid:
  20316. description: 现货品种ID
  20317. type: integer
  20318. enddate:
  20319. description: 预售结束日期
  20320. type: string
  20321. enumdicname:
  20322. description: 单位名称
  20323. type: string
  20324. lotteryflag:
  20325. description: 摇号标识 - 0:未摇号 1:已摇号
  20326. type: integer
  20327. lotteryqty:
  20328. description: 摇号总量
  20329. type: number
  20330. luckyqty:
  20331. description: 已中签量
  20332. type: number
  20333. marketid:
  20334. description: 市场ID
  20335. type: integer
  20336. maxbuyqty:
  20337. description: 单人最大申购量
  20338. type: number
  20339. maxluckyqty:
  20340. description: 单人最大中签量
  20341. type: number
  20342. pictureurls:
  20343. description: 详情图片(逗号分隔)
  20344. type: string
  20345. placeqty:
  20346. description: 已配售量
  20347. type: number
  20348. presaleapplyid:
  20349. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  20350. example: "0"
  20351. type: string
  20352. presaleqty:
  20353. description: 预售总量
  20354. type: number
  20355. presalestatus:
  20356. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  20357. type: integer
  20358. sellaccountid:
  20359. description: 发行方资金账户ID
  20360. type: integer
  20361. selluserid:
  20362. description: 发行方用户ID
  20363. type: integer
  20364. sellwrtradeorderid:
  20365. description: 发行方卖委托单ID
  20366. type: string
  20367. startdate:
  20368. description: 预售开始日期
  20369. type: string
  20370. takestartdate:
  20371. description: 提货开始日期
  20372. type: string
  20373. thumurls:
  20374. description: 缩略图片(1:1)(逗号分隔)
  20375. type: string
  20376. tradedate:
  20377. description: 交易日
  20378. type: string
  20379. unitid:
  20380. description: 单位ID
  20381. type: integer
  20382. unitprice:
  20383. description: 商品单价
  20384. type: number
  20385. username:
  20386. description: 发行方用户名称
  20387. type: string
  20388. warehousecode:
  20389. description: 仓库代码(仓库简称)
  20390. type: string
  20391. warehouseid:
  20392. description: 仓库ID
  20393. type: integer
  20394. warehousename:
  20395. description: 仓库名称
  20396. type: string
  20397. wrfactortypeid:
  20398. description: 仓单要素类型ID - 根据现货商品\仓库生成
  20399. example: "0"
  20400. type: string
  20401. wrstandardid:
  20402. description: 现货商品ID
  20403. type: integer
  20404. wrstandardname:
  20405. description: 现货商品名称
  20406. type: string
  20407. type: object
  20408. models.WrQuoteOrderMyq:
  20409. properties:
  20410. buyorsell:
  20411. description: 买卖 - 0:买 1:卖
  20412. type: integer
  20413. canbargain:
  20414. description: 是否可议价 - 0:不可 1:可
  20415. type: integer
  20416. canpart:
  20417. description: 是否允许部份摘牌 - 0:不允许 1:允许
  20418. type: integer
  20419. delistminqty:
  20420. description: 期初均价
  20421. type: number
  20422. deliverygoodscode:
  20423. description: 品种代码
  20424. type: string
  20425. deliverygoodsid:
  20426. description: 品种ID
  20427. type: integer
  20428. deliverygoodsname:
  20429. description: 品种名称
  20430. type: string
  20431. deliverymonth:
  20432. description: 交收月
  20433. type: string
  20434. enumdicname:
  20435. description: 单位名称
  20436. type: string
  20437. fixedprice:
  20438. description: 买(卖)价
  20439. type: number
  20440. goodscode:
  20441. description: 商品合约代码
  20442. type: string
  20443. marginflag:
  20444. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  20445. type: integer
  20446. marginvalue:
  20447. description: 保证金设置值
  20448. type: number
  20449. minivalue:
  20450. description: 现货商品最小变动值
  20451. type: integer
  20452. orderqty:
  20453. description: 买(卖)量(=委托量-成交量)
  20454. type: number
  20455. ordertime:
  20456. description: 委托时间
  20457. type: string
  20458. performancetemplateid:
  20459. description: 履约模板id
  20460. type: integer
  20461. pricemove:
  20462. description: 买(卖)升贴水- 基差
  20463. type: number
  20464. templatename:
  20465. description: 履约模板名称
  20466. type: string
  20467. userid:
  20468. description: 购买方(销售方)用户ID
  20469. type: integer
  20470. username:
  20471. description: 购买方(销售方)
  20472. type: string
  20473. validtime:
  20474. description: 有效期限
  20475. type: string
  20476. validtype:
  20477. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  20478. type: integer
  20479. warehousename:
  20480. description: 仓库名称
  20481. type: string
  20482. wrfactortypeid:
  20483. description: 仓单要素id
  20484. type: string
  20485. wrstandardcode:
  20486. description: 现货商品代码
  20487. type: string
  20488. wrstandardid:
  20489. description: 现货商品ID
  20490. type: integer
  20491. wrstandardname:
  20492. description: 商品名称
  20493. type: string
  20494. wrtradeorderid:
  20495. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20496. type: string
  20497. wrtypename:
  20498. description: 商品
  20499. type: string
  20500. type: object
  20501. models.WrReckonSpotGoodsTradeSum:
  20502. properties:
  20503. begindate:
  20504. description: 开始日期(结果含开始日期) yyyymmdd
  20505. type: string
  20506. enddate:
  20507. description: 结束日期(结果含结束日期) yyyymmdd
  20508. type: string
  20509. istoday:
  20510. description: 是否当日
  20511. type: boolean
  20512. marketid:
  20513. description: 市场ID
  20514. type: integer
  20515. price:
  20516. description: 价格 = 日成交金额 / 日成交数量
  20517. type: string
  20518. reckondate:
  20519. description: 日期 格式 yyyymmdd
  20520. type: string
  20521. tradeamount:
  20522. description: 期初均价
  20523. type: number
  20524. tradeqty:
  20525. description: 期初均价
  20526. type: number
  20527. wrstandardid:
  20528. description: 现货商品ID
  20529. type: integer
  20530. type: object
  20531. models.WrScfContract:
  20532. properties:
  20533. borroweruserid:
  20534. description: 借款用户ID
  20535. type: integer
  20536. buybackwrpositionqty:
  20537. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  20538. type: number
  20539. closeinterest:
  20540. description: 已结利息 -> 已结费用
  20541. type: number
  20542. currisklevel:
  20543. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  20544. type: integer
  20545. deadline:
  20546. description: 截止日期(yyyyMMdd) -> 借款到期时间
  20547. type: string
  20548. deliverygoodscode:
  20549. description: 品种代码
  20550. type: string
  20551. deliverygoodsid:
  20552. description: 品种ID
  20553. type: integer
  20554. deliverygoodsname:
  20555. description: 品种名称
  20556. type: string
  20557. enumdicname:
  20558. description: 单位名称
  20559. type: string
  20560. financingdays:
  20561. description: 天数(天)
  20562. type: integer
  20563. initmargin:
  20564. description: 保证金 - [仓单回购]
  20565. type: number
  20566. interestamount:
  20567. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  20568. type: number
  20569. interestdebt:
  20570. description: 利息欠款(记录负数) -> 费用欠款
  20571. type: number
  20572. interestminlen:
  20573. description: 最小起息天数
  20574. type: integer
  20575. interestrate:
  20576. description: 利率
  20577. type: number
  20578. interestratemode:
  20579. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  20580. type: integer
  20581. interestsettlemode:
  20582. description: 结息方式 - 1:按日结息 3:按月结息
  20583. type: integer
  20584. interestsettlevalue:
  20585. description: 结息方式值
  20586. type: integer
  20587. isautoloan:
  20588. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  20589. type: integer
  20590. lastcloseinterestday:
  20591. description: 最近结息日(yyyyMMdd)
  20592. type: string
  20593. lenderamount:
  20594. description: 贷款金额 -> 借款金额
  20595. type: number
  20596. lenderuserid:
  20597. description: 贷款方用户ID -> 融出方用户ID
  20598. type: integer
  20599. lenderusername:
  20600. description: 融出方
  20601. type: string
  20602. marginratio:
  20603. description: 保证金比率质押率 - [仓单质押]
  20604. type: number
  20605. marketid:
  20606. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  20607. type: integer
  20608. minivalue:
  20609. description: 现货商品最小变动值
  20610. type: integer
  20611. optioncompare:
  20612. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20613. type: string
  20614. pricemove:
  20615. description: 估值升贴水值
  20616. type: number
  20617. productdetailid:
  20618. description: 产品组合ID
  20619. type: integer
  20620. productid:
  20621. description: 金融产品ID
  20622. type: integer
  20623. productname:
  20624. description: 产品名称
  20625. type: string
  20626. remainamount:
  20627. description: 合同剩余金额 -> 剩余金额
  20628. type: number
  20629. remainwrpositionqty:
  20630. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  20631. type: number
  20632. remark:
  20633. description: 备注
  20634. type: string
  20635. scfcontractid:
  20636. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  20637. type: string
  20638. scfcontractstatus:
  20639. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  20640. 9:违约结束 10:已注销 11:已关闭 99:未提交
  20641. type: integer
  20642. scfcontracttype:
  20643. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  20644. type: integer
  20645. startinterestday:
  20646. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  20647. type: string
  20648. totalinterest:
  20649. description: 已计利息 -> 已计费用
  20650. type: number
  20651. unpaidinterest:
  20652. description: 期初均价
  20653. type: number
  20654. updatetime:
  20655. description: 更新时间
  20656. type: string
  20657. warehouseid:
  20658. description: 仓库ID
  20659. type: integer
  20660. warehousename:
  20661. description: 仓库名称
  20662. type: string
  20663. wrfactortypeid:
  20664. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20665. type: string
  20666. wrfactortypename:
  20667. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20668. type: string
  20669. wrqty:
  20670. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  20671. type: number
  20672. wrstandardcode:
  20673. description: 现货商品代码
  20674. type: string
  20675. wrstandardid:
  20676. description: 现货商品ID
  20677. type: integer
  20678. wrstandardname:
  20679. description: 商品名称
  20680. type: string
  20681. wrtypename:
  20682. description: 商品
  20683. type: string
  20684. type: object
  20685. models.WrScfContractInterest:
  20686. properties:
  20687. closeinterest:
  20688. description: 已结利息
  20689. type: number
  20690. closeintereststatus:
  20691. description: 结息状态 - 1:未结 2:已结
  20692. type: integer
  20693. closetime:
  20694. description: 结息时间
  20695. type: string
  20696. closetradedate:
  20697. description: 结息交易日
  20698. type: string
  20699. creatorid:
  20700. description: 操作人ID
  20701. type: integer
  20702. dayrate:
  20703. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  20704. type: number
  20705. interest:
  20706. description: 利息
  20707. type: number
  20708. interestamount:
  20709. description: 计息金额
  20710. type: number
  20711. interestday:
  20712. description: 计息日(yyyyMMdd)
  20713. type: string
  20714. scfcontractid:
  20715. description: SCF合同ID
  20716. type: string
  20717. scfcontractinterestid:
  20718. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  20719. type: integer
  20720. updatetime:
  20721. description: 更新时间
  20722. type: string
  20723. type: object
  20724. models.WrSearchUser:
  20725. properties:
  20726. userid:
  20727. description: 用户ID
  20728. type: integer
  20729. username:
  20730. description: 用户名称(已脱敏)
  20731. type: string
  20732. username2:
  20733. description: 用户名称(未脱敏)
  20734. type: string
  20735. usertype:
  20736. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  20737. type: integer
  20738. required:
  20739. - username
  20740. type: object
  20741. models.WrSiteColumnDetail:
  20742. properties:
  20743. brief:
  20744. description: 简介
  20745. type: string
  20746. context:
  20747. description: 内容
  20748. type: string
  20749. coverimage:
  20750. description: 封面图片
  20751. type: string
  20752. creaedate:
  20753. description: 创建时间
  20754. type: string
  20755. id:
  20756. description: ID(SEQ_SITE_COLUMNDETAIL)
  20757. type: integer
  20758. istop:
  20759. description: 是否置顶 - 0:不置 1:置顶
  20760. type: integer
  20761. publishdate:
  20762. description: 发布日期
  20763. type: string
  20764. title:
  20765. description: 标题
  20766. type: string
  20767. updatedate:
  20768. description: 修改时间
  20769. type: string
  20770. type: object
  20771. models.WrSpecialMatchOrder:
  20772. properties:
  20773. amount:
  20774. description: 金额 = 数量 * 价格
  20775. type: number
  20776. buyorsell:
  20777. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  20778. type: integer
  20779. cancelqty:
  20780. description: 撤销数量
  20781. type: number
  20782. deliverygoodscode:
  20783. description: 品种代码
  20784. type: string
  20785. deliverygoodsid:
  20786. description: 品种ID
  20787. type: integer
  20788. deliverygoodsname:
  20789. description: 品种名称
  20790. type: string
  20791. enumdicname:
  20792. description: 单位名称
  20793. type: string
  20794. fixedprice:
  20795. description: 固定价格(价格)
  20796. type: number
  20797. haswr:
  20798. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20799. type: integer
  20800. isspecified:
  20801. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  20802. type: integer
  20803. marketid:
  20804. description: 市场ID
  20805. type: integer
  20806. matchuserid:
  20807. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  20808. type: integer
  20809. matchusername:
  20810. description: 指定方
  20811. type: string
  20812. minivalue:
  20813. description: 现货商品最小变动值
  20814. type: integer
  20815. optioncompare:
  20816. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20817. type: string
  20818. orderqty:
  20819. description: 委托数量
  20820. type: number
  20821. ordertime:
  20822. description: 委托时间
  20823. type: string
  20824. pricemove:
  20825. description: 升贴水(浮动价时填写) - [挂牌]
  20826. type: number
  20827. tradedate:
  20828. description: 交易日(yyyyMMdd)
  20829. type: string
  20830. tradeprice:
  20831. description: 成交价格
  20832. type: number
  20833. tradeqty:
  20834. description: 成交数量
  20835. type: number
  20836. userid:
  20837. description: 用户ID
  20838. type: integer
  20839. username:
  20840. description: 发起方
  20841. type: string
  20842. warehouseid:
  20843. description: 仓库ID
  20844. type: integer
  20845. warehousename:
  20846. description: 仓库名称
  20847. type: string
  20848. wrfactortypeid:
  20849. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20850. type: string
  20851. wrfactortypename:
  20852. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20853. type: string
  20854. wrpricetype:
  20855. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  20856. type: integer
  20857. wrstandardcode:
  20858. description: 现货商品代码
  20859. type: string
  20860. wrstandardid:
  20861. description: 现货商品ID
  20862. type: integer
  20863. wrstandardname:
  20864. description: 商品名称
  20865. type: string
  20866. wrtradeorderid:
  20867. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20868. type: string
  20869. wrtradeorderstatus:
  20870. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  20871. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  20872. type: integer
  20873. wrtradetype:
  20874. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  20875. type: integer
  20876. wrtypename:
  20877. description: 商品
  20878. type: string
  20879. type: object
  20880. models.WrSpotGroupTradeSum:
  20881. properties:
  20882. deliverygoodscode:
  20883. description: 现货品种代码
  20884. type: string
  20885. deliverygoodsid:
  20886. description: 现货品种ID(SEQ_DELIVERYGOODS)
  20887. type: integer
  20888. deliverygoodsname:
  20889. description: 现货品种名称
  20890. type: string
  20891. lastavgprice:
  20892. description: 上上个交易日价格(前2天价格)
  20893. type: string
  20894. lastreckondate:
  20895. description: 上上个交易日(前2天交易日)
  20896. type: string
  20897. reckondate:
  20898. description: 上个交易日(前1天交易日)
  20899. type: string
  20900. todayavgprice:
  20901. description: 上个交易日价格(前1天价格)
  20902. type: string
  20903. updown:
  20904. description: 涨跌
  20905. type: string
  20906. updownratio:
  20907. description: 涨幅(已格式化, 直接显示即可)
  20908. type: string
  20909. type: object
  20910. models.WrSpotGroupTradeSumDetail:
  20911. properties:
  20912. deliverygoodsid:
  20913. description: 现货商品id
  20914. type: integer
  20915. price:
  20916. description: 价格
  20917. type: number
  20918. reckondate:
  20919. description: 日期(yyymmdd, 如:20211031)
  20920. type: string
  20921. type: object
  20922. models.WrSpotGroupTradeSumEx:
  20923. properties:
  20924. lst:
  20925. description: 指数列表
  20926. items:
  20927. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  20928. type: array
  20929. prereckondate:
  20930. description: 上上个交易日(yyymmdd)
  20931. type: string
  20932. reckondate:
  20933. description: 上个交易日(yyyymmdd)
  20934. type: string
  20935. type: object
  20936. models.WrStandardFactoryItem:
  20937. properties:
  20938. dgfactoryitemid:
  20939. description: 选择项id
  20940. type: integer
  20941. dgfactoryitemvalue:
  20942. description: 要素项值
  20943. type: string
  20944. warehouseid:
  20945. description: 仓库id
  20946. type: integer
  20947. type: object
  20948. models.WrStandardFactoryItemEx:
  20949. properties:
  20950. dgfactoryitemtypeid:
  20951. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  20952. type: integer
  20953. itemlst:
  20954. description: 要素项列表
  20955. items:
  20956. $ref: '#/definitions/models.WrStandardFactoryItem'
  20957. type: array
  20958. itemtypename:
  20959. description: 要素项类型名称
  20960. type: string
  20961. wrstandardid:
  20962. description: 品类
  20963. type: integer
  20964. type: object
  20965. models.WrTradeDetail:
  20966. properties:
  20967. accountid:
  20968. description: 资金账号
  20969. type: integer
  20970. bannerpicurl:
  20971. description: Banner图
  20972. type: string
  20973. begindate:
  20974. description: 开始交易日(yyyymmdd)
  20975. type: string
  20976. buyorsell:
  20977. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  20978. type: integer
  20979. chargevalue:
  20980. description: 手续费
  20981. type: number
  20982. deliverygoodscode:
  20983. description: 品种代码
  20984. type: string
  20985. deliverygoodsid:
  20986. description: 品种ID
  20987. type: integer
  20988. deliverygoodsname:
  20989. description: 品种名称
  20990. type: string
  20991. deliverymonth:
  20992. description: 交收月
  20993. type: string
  20994. enddate:
  20995. description: 结束交易日(yyyymmdd)
  20996. type: string
  20997. enumdicname:
  20998. description: 单位名称
  20999. type: string
  21000. haswr:
  21001. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  21002. type: integer
  21003. marketid:
  21004. description: 市场ID
  21005. type: integer
  21006. matchaccountid:
  21007. description: 对手账号
  21008. type: integer
  21009. matchusername:
  21010. description: 对手方
  21011. type: string
  21012. minivalue:
  21013. description: 现货商品最小变动值
  21014. type: integer
  21015. optioncompare:
  21016. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21017. type: string
  21018. thumurls:
  21019. description: 缩略图
  21020. type: string
  21021. tradedate:
  21022. description: 交易日(yyyyMMdd)
  21023. type: string
  21024. tradeprice:
  21025. description: 成交价格
  21026. type: number
  21027. tradeqty:
  21028. description: 成交数量
  21029. type: number
  21030. tradetime:
  21031. description: 成交时间
  21032. type: string
  21033. userid:
  21034. description: 用户ID
  21035. type: integer
  21036. warehouseid:
  21037. description: 仓库ID
  21038. type: integer
  21039. warehousename:
  21040. description: 仓库名称
  21041. type: string
  21042. wrfactortypeid:
  21043. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21044. type: string
  21045. wrfactortypename:
  21046. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21047. type: string
  21048. wrstandardcode:
  21049. description: 现货商品代码
  21050. type: string
  21051. wrstandardid:
  21052. description: 现货商品ID
  21053. type: integer
  21054. wrstandardname:
  21055. description: 商品名称
  21056. type: string
  21057. wrtradedetailid:
  21058. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  21059. type: string
  21060. wrtradetype:
  21061. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  21062. type: integer
  21063. wrtypename:
  21064. description: 商品
  21065. type: string
  21066. type: object
  21067. models.WrTradeOrderDetail:
  21068. properties:
  21069. buyorsell:
  21070. description: 买卖方向 0-买 1-卖
  21071. type: integer
  21072. goodsid:
  21073. description: 商品id
  21074. type: integer
  21075. orderid:
  21076. description: 委托单号
  21077. type: string
  21078. orderprice:
  21079. description: 期初均价
  21080. type: number
  21081. orderqty:
  21082. description: 委托数量
  21083. type: integer
  21084. userid:
  21085. description: 用户id
  21086. type: integer
  21087. username:
  21088. description: 用户名称(已脱敏)
  21089. type: string
  21090. type: object
  21091. models.WrTypeItem:
  21092. properties:
  21093. name:
  21094. description: 名称
  21095. type: string
  21096. value:
  21097. description: 值
  21098. type: string
  21099. type: object
  21100. models.WrUserFriend:
  21101. properties:
  21102. friendname:
  21103. description: 朋友名称(已脱敏)
  21104. type: string
  21105. frienduserid:
  21106. description: 朋友id
  21107. type: integer
  21108. isfriend:
  21109. description: 是否好友 0-不是 1-是
  21110. type: integer
  21111. userid:
  21112. description: 用户id
  21113. type: integer
  21114. type: object
  21115. models.WrUserReceiptInfo:
  21116. properties:
  21117. address:
  21118. description: 地址[发票类型:企业]
  21119. type: string
  21120. autoid:
  21121. description: AutoID
  21122. type: integer
  21123. contactinfo:
  21124. description: 联系方式
  21125. type: string
  21126. idnum:
  21127. description: 身份证号码[发票类型:个人]
  21128. type: string
  21129. isdefault:
  21130. description: 是否默认地址 - 0:否 1:是
  21131. type: integer
  21132. receiptaccount:
  21133. description: 发票帐号[发票类型:企业]
  21134. type: string
  21135. receiptbank:
  21136. description: 发票开户行[发票类型:企业]
  21137. type: string
  21138. receipttype:
  21139. description: 发票类型 - 1:个人 2:企业
  21140. type: integer
  21141. taxpayerid:
  21142. description: 纳税人识别号
  21143. type: string
  21144. userid:
  21145. description: 用户ID
  21146. type: integer
  21147. username:
  21148. description: 户名(个人姓名或企业名称)
  21149. type: string
  21150. type: object
  21151. models.Wrtradetradequote:
  21152. properties:
  21153. buyaccountid:
  21154. description: 买方账号ID
  21155. type: integer
  21156. buychargevalue:
  21157. description: 买方手续费
  21158. type: number
  21159. buyuserid:
  21160. description: 买方用户ID
  21161. type: integer
  21162. deliverygoodsid:
  21163. description: 现货品种ID
  21164. type: integer
  21165. exchangerate:
  21166. description: 汇率
  21167. type: number
  21168. marketid:
  21169. description: 市场ID
  21170. type: integer
  21171. oritradeamount:
  21172. description: 成交金额[商品币种]
  21173. type: number
  21174. performanceplanid:
  21175. description: 履约计划ID/合同ID
  21176. type: integer
  21177. sellaccountid:
  21178. description: 卖方账号ID
  21179. type: integer
  21180. sellchargevalue:
  21181. description: 卖方手续费
  21182. type: number
  21183. selluserid:
  21184. description: 卖方用户ID
  21185. type: integer
  21186. tradeamount:
  21187. description: 成交金额
  21188. type: number
  21189. tradedate:
  21190. description: 交易日(yyyyMMdd)
  21191. type: string
  21192. tradeprice:
  21193. description: 成交价格
  21194. type: number
  21195. tradeqty:
  21196. description: 成交数量
  21197. type: integer
  21198. tradetime:
  21199. description: 成交时间
  21200. type: string
  21201. wrfactortypeid:
  21202. description: 仓单要素类型ID
  21203. type: integer
  21204. wrstandardid:
  21205. description: 现货商品ID
  21206. type: integer
  21207. wrtradedetailid:
  21208. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  21209. type: integer
  21210. type: object
  21211. models.XHBRAND:
  21212. properties:
  21213. brandid:
  21214. description: 品牌id
  21215. type: integer
  21216. brandname:
  21217. description: 品牌名称
  21218. type: string
  21219. isvalid:
  21220. description: 是否有效 0-无效 1-有效
  21221. type: integer
  21222. type: object
  21223. models.XHDeliveryGoods:
  21224. properties:
  21225. areauserid:
  21226. description: 所属机构
  21227. type: integer
  21228. bdlst:
  21229. description: 品牌列表
  21230. items:
  21231. $ref: '#/definitions/models.XHBRAND'
  21232. type: array
  21233. deliverygoodscode:
  21234. description: 现货品种代码
  21235. type: string
  21236. deliverygoodsid:
  21237. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21238. type: integer
  21239. deliverygoodsname:
  21240. description: 现货品种名称
  21241. type: string
  21242. dgstatus:
  21243. description: 品种状态 - 作废 - 0:未激活 1:正常
  21244. type: integer
  21245. filterSubEmpty:
  21246. description: 过滤下级为空的
  21247. type: integer
  21248. isvalid:
  21249. description: 是否有效 - 0:无效 1:有效
  21250. type: integer
  21251. remark:
  21252. description: 备注
  21253. type: string
  21254. unitid:
  21255. description: 单位id(目前看,数据库中是空值)
  21256. type: integer
  21257. wdlst:
  21258. description: 品类(现货商品)列表
  21259. items:
  21260. $ref: '#/definitions/models.XHWrstandard'
  21261. type: array
  21262. type: object
  21263. models.XHMiddleGoods:
  21264. properties:
  21265. GPLST:
  21266. description: 期货品种列表
  21267. items:
  21268. $ref: '#/definitions/models.TBGoodsGroup'
  21269. type: array
  21270. convertratio:
  21271. description: 拆算系数
  21272. type: number
  21273. costratio:
  21274. description: 成本权重
  21275. type: number
  21276. deliverygoodsid:
  21277. description: 现货商品id
  21278. type: integer
  21279. enumdicname:
  21280. description: 单位名称
  21281. type: string
  21282. middlegoodscode:
  21283. description: 套保品种代码
  21284. type: string
  21285. middlegoodsid:
  21286. description: 套保品种id
  21287. type: integer
  21288. middlegoodsname:
  21289. description: 套保品种名称
  21290. type: string
  21291. unitid:
  21292. description: 单位id
  21293. type: integer
  21294. type: object
  21295. models.XHWrstandard:
  21296. properties:
  21297. bannerpicurl:
  21298. description: banner图
  21299. type: string
  21300. deliverygoodsid:
  21301. description: 品种ID
  21302. type: integer
  21303. enumdicname:
  21304. description: 单位名称
  21305. type: string
  21306. mglst:
  21307. description: 套保品列表
  21308. items:
  21309. $ref: '#/definitions/models.XHMiddleGoods'
  21310. type: array
  21311. pictureurls:
  21312. description: 详情图片(逗号分隔)
  21313. type: string
  21314. thumurls:
  21315. description: 缩略图片(1:1)(逗号分隔)
  21316. type: string
  21317. unitid:
  21318. description: 单位id
  21319. type: integer
  21320. vatrate:
  21321. description: 增值税率
  21322. type: number
  21323. wrstandardcode:
  21324. description: 现货商品代码
  21325. type: string
  21326. wrstandardid:
  21327. description: 现货商品ID(SEQ_WRSTANDARD)
  21328. type: integer
  21329. wrstandardname:
  21330. description: 现货商品名称
  21331. type: string
  21332. type: object
  21333. models.XhcpSellBackApplyEx:
  21334. properties:
  21335. applyremark:
  21336. description: 申请备注
  21337. type: string
  21338. expirytype:
  21339. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  21340. type: integer
  21341. goodsspec:
  21342. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  21343. type: integer
  21344. holeflag:
  21345. description: 是否破洞[原封] - 1:无破洞 2:破洞
  21346. type: integer
  21347. isunopened:
  21348. description: 是否原封 - 1:否 2:是
  21349. type: integer
  21350. mpflag:
  21351. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  21352. type: integer
  21353. openflag:
  21354. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  21355. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  21356. type: integer
  21357. phonenum:
  21358. description: 联系电话
  21359. type: string
  21360. userid:
  21361. description: 所属用户ID
  21362. type: integer
  21363. zpflag:
  21364. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  21365. type: integer
  21366. required:
  21367. - userid
  21368. type: object
  21369. models.Xhcpsellbackapply:
  21370. properties:
  21371. applyid:
  21372. description: 申请人
  21373. type: integer
  21374. applyremark:
  21375. description: 申请备注
  21376. type: string
  21377. applysrc:
  21378. description: 申请来源 - 1:管理端 2:终端
  21379. type: integer
  21380. applystatus:
  21381. description: 申请状态 - 1:待确认 2:已处理
  21382. type: integer
  21383. applytime:
  21384. description: 申请时间
  21385. type: string
  21386. auditremark:
  21387. description: 审核备注
  21388. type: string
  21389. auditsrc:
  21390. description: 审核来源 - 1:管理端 2:终端
  21391. type: integer
  21392. expirytype:
  21393. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  21394. type: integer
  21395. goodsspec:
  21396. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  21397. type: integer
  21398. holeflag:
  21399. description: 是否破洞[原封] - 1:无破洞 2:破洞
  21400. type: integer
  21401. isunopened:
  21402. description: 是否原封 - 1:否 2:是
  21403. type: integer
  21404. mpflag:
  21405. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  21406. type: integer
  21407. openflag:
  21408. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  21409. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  21410. type: integer
  21411. phonenum:
  21412. description: 联系电话
  21413. type: string
  21414. sellbackapplyid:
  21415. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  21416. type: string
  21417. userid:
  21418. description: 所属用户ID
  21419. type: integer
  21420. zpflag:
  21421. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  21422. type: integer
  21423. required:
  21424. - userid
  21425. type: object
  21426. order.QueryHisTradeDetailRsp:
  21427. properties:
  21428. accountid:
  21429. description: 账户ID[报价币种]
  21430. type: integer
  21431. advanceratio:
  21432. description: 首付比率
  21433. type: number
  21434. buildtype:
  21435. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  21436. type: integer
  21437. buyorsell:
  21438. description: 方向 - 0:买 1:卖
  21439. type: integer
  21440. charge:
  21441. description: 手续费
  21442. type: number
  21443. closecharge:
  21444. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21445. type: number
  21446. closeexchagechargevalue:
  21447. description: 平仓交易所手续费设置值
  21448. type: number
  21449. closefeealgorithm:
  21450. description: 平仓手续费收取方式 1:比率 2:固定
  21451. type: integer
  21452. closememberchargevalue:
  21453. description: 平仓会员手续费设置值
  21454. type: number
  21455. closepl:
  21456. description: 平仓盈亏
  21457. type: number
  21458. closepl2:
  21459. description: 平仓盈亏[逐笔]
  21460. type: number
  21461. closeqty:
  21462. description: 平仓数量(先建后平操作 需要记录)
  21463. type: number
  21464. creditamount:
  21465. description: 授信金额
  21466. type: number
  21467. decimalplace:
  21468. description: 商品报价小数位
  21469. type: integer
  21470. enumdicname:
  21471. description: 单位名称
  21472. type: string
  21473. gcaccountid:
  21474. description: 账户ID[合约币种]
  21475. type: integer
  21476. goodscode:
  21477. description: 商品代码
  21478. type: string
  21479. goodsid:
  21480. description: 商品ID
  21481. type: integer
  21482. goodsname:
  21483. description: 商品名称
  21484. type: string
  21485. goodunitid:
  21486. description: 商品单位id
  21487. type: integer
  21488. histradedate:
  21489. description: 历史交易日
  21490. type: string
  21491. intclosepl:
  21492. description: 整型盈亏(用于交易结算试算平衡-收益权)
  21493. type: integer
  21494. isconfirmexercise:
  21495. description: 是否确认行权- 0:否 1:是
  21496. type: integer
  21497. ismain:
  21498. description: 是否主单 - 0:不是 1:是
  21499. type: integer
  21500. ispreexercise:
  21501. description: 是否预申报- 0:否 1:是
  21502. type: integer
  21503. isreckoned:
  21504. description: 是否结算 - 0:未结算 1:已结算
  21505. type: integer
  21506. isvaliddata:
  21507. description: 是否有效 - 0:无效 1:有效
  21508. type: integer
  21509. listingselecttype:
  21510. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21511. type: integer
  21512. marketid:
  21513. description: 市场ID
  21514. type: integer
  21515. marketname:
  21516. description: 市场名称
  21517. type: string
  21518. matchaccountid:
  21519. description: 对手账号id
  21520. type: integer
  21521. memberuserid:
  21522. description: 会员id 个人投资者 需要填写
  21523. type: integer
  21524. opencharge:
  21525. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21526. type: number
  21527. openexchagechargevalue:
  21528. description: 建仓交易所手续费设置值
  21529. type: number
  21530. openfeealgorithm:
  21531. description: 建仓手续费收取方式 1:比率 2:固定
  21532. type: integer
  21533. openmemberchargevalue:
  21534. description: 建仓会员手续费设置值
  21535. type: number
  21536. openqty:
  21537. description: 开仓数量(先建后平操作 需要记录)
  21538. type: number
  21539. optiontype:
  21540. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21541. type: integer
  21542. orderid:
  21543. description: 委托单号
  21544. type: string
  21545. payamount:
  21546. description: 支付金额(付款金额)
  21547. type: number
  21548. performanceplanid:
  21549. description: 履约计划ID[期权]
  21550. type: integer
  21551. performancestatus:
  21552. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  21553. type: integer
  21554. preexerciseprice:
  21555. description: 预申报价格
  21556. type: number
  21557. premium:
  21558. description: 权利金 - [持仓单的权利金]
  21559. type: number
  21560. qtydecimalplace:
  21561. description: 商品报价小数位
  21562. type: integer
  21563. recvamount:
  21564. description: 到账金额 = 成交金额 - 手续费
  21565. type: number
  21566. relatedouttradeid:
  21567. description: 关联外部成交单ID
  21568. type: integer
  21569. status:
  21570. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  21571. type: integer
  21572. totalamount:
  21573. description: 订单总额 = 成交金额 + 手续费
  21574. type: number
  21575. tradeamount:
  21576. description: 成交金额[账户币种,用于所有权]
  21577. type: number
  21578. tradedate:
  21579. description: 交易日(yyyyMMdd)
  21580. type: string
  21581. tradeid:
  21582. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21583. type: string
  21584. trademode:
  21585. description: 交易模式
  21586. type: integer
  21587. tradeprice:
  21588. description: 成交价格
  21589. type: number
  21590. tradeproperty:
  21591. description: 交易属性
  21592. type: integer
  21593. tradeqty:
  21594. description: 成交数量
  21595. type: number
  21596. tradetime:
  21597. description: 成交时间
  21598. type: string
  21599. tradetype:
  21600. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  21601. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  21602. type: integer
  21603. required:
  21604. - accountid
  21605. - buyorsell
  21606. - goodsid
  21607. - histradedate
  21608. - marketid
  21609. - memberuserid
  21610. - orderid
  21611. - tradeamount
  21612. - tradedate
  21613. - tradeid
  21614. - tradeprice
  21615. - tradeqty
  21616. - tradetime
  21617. type: object
  21618. order.QueryHisTradeOrderDetailRsp:
  21619. properties:
  21620. accountid:
  21621. description: 账户ID[报价币种]
  21622. type: integer
  21623. buildtype:
  21624. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  21625. type: integer
  21626. buyorsell:
  21627. description: 买卖 - 0:买 1:卖
  21628. type: integer
  21629. cancelorderid:
  21630. description: 撤单单号(撤单时填写)
  21631. type: string
  21632. cancelqty:
  21633. description: 撤单数量
  21634. type: number
  21635. clientordertime:
  21636. description: 客户端委托时间
  21637. type: string
  21638. clientticket:
  21639. description: 客户端流水号
  21640. type: string
  21641. clienttype:
  21642. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  21643. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  21644. type: integer
  21645. closeexchagechargevalue:
  21646. description: 平仓交易所手续费设置值
  21647. type: number
  21648. closefeealgorithm:
  21649. description: 平仓手续费收取方式 1:比率 2:固定
  21650. type: integer
  21651. closefreezecharge:
  21652. description: 平仓冻结手续费(先建后平操作,需要记录)
  21653. type: number
  21654. closememberchargevalue:
  21655. description: 平仓会员手续费设置值
  21656. type: number
  21657. closeqty:
  21658. description: 平仓数量(先建后平操作 需要记录)
  21659. type: number
  21660. closetradeqty:
  21661. description: 平仓成交数量(先建后平操作,需要记录)
  21662. type: number
  21663. closeunfreezecharge:
  21664. description: 平仓解冻手续费(先建后平操作,需要记录)
  21665. type: number
  21666. decimalplace:
  21667. description: 商品报价小数位
  21668. type: integer
  21669. delistingtype:
  21670. description: 摘牌类型 - 1:价格最优 2:点选成交
  21671. type: integer
  21672. enumdicname:
  21673. description: 单位名称
  21674. type: string
  21675. freezecharge:
  21676. description: 冻结手续费
  21677. type: number
  21678. freezemargin:
  21679. description: 冻结保证金(冻结交易金额)
  21680. type: number
  21681. gcaccountid:
  21682. description: 账户ID[合约币种]
  21683. type: integer
  21684. goodscode:
  21685. description: 商品代码
  21686. type: string
  21687. goodsid:
  21688. description: 商品ID
  21689. type: integer
  21690. goodsname:
  21691. description: 商品名称
  21692. type: string
  21693. goodunitid:
  21694. description: 商品单位id
  21695. type: integer
  21696. histradedate:
  21697. description: 历史交易日
  21698. type: string
  21699. isconfirmexercise:
  21700. description: 是否确认行权- 0:否 1:是
  21701. type: integer
  21702. ispreexercise:
  21703. description: 是否预申报- 0:否 1:是
  21704. type: integer
  21705. isvaliddata:
  21706. description: 是否有效 - 0:无效 1:有效
  21707. type: integer
  21708. listingselecttype:
  21709. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21710. type: integer
  21711. marginalgorithm:
  21712. description: 保证金收取方式 1:比率 2:固定
  21713. type: integer
  21714. marginvalue:
  21715. description: 即市保证金设置值
  21716. type: number
  21717. marketid:
  21718. description: 市场ID
  21719. type: integer
  21720. marketmaxsub:
  21721. description: 市价最大偏移范围
  21722. type: number
  21723. marketname:
  21724. description: 市场名称
  21725. type: string
  21726. memberuserid:
  21727. description: 所属会员UserID
  21728. type: integer
  21729. openexchagechargevalue:
  21730. description: 建仓交易所手续费设置值
  21731. type: number
  21732. openfeealgorithm:
  21733. description: 建仓手续费收取方式 1:比率 2:固定
  21734. type: integer
  21735. openfreezecharge:
  21736. description: 开仓冻结手续费(先建后平操作,需要记录)
  21737. type: number
  21738. openmemberchargevalue:
  21739. description: 建仓会员手续费设置值
  21740. type: number
  21741. openqty:
  21742. description: 开仓数量(先建后平操作,需要记录)
  21743. type: number
  21744. opentradeqty:
  21745. description: 开仓成交数量(先建后平操作,需要记录)
  21746. type: number
  21747. openunfreezecharge:
  21748. description: 开仓解冻手续费(先建后平操作,需要记录)
  21749. type: number
  21750. operatetype:
  21751. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  21752. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  21753. 15:管理端协议转让
  21754. type: integer
  21755. operatorid:
  21756. description: 登录账号(LoginID)
  21757. type: integer
  21758. optiontype:
  21759. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21760. type: integer
  21761. orderid:
  21762. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21763. type: string
  21764. orderprice:
  21765. description: 委托价格
  21766. type: number
  21767. orderqty:
  21768. description: 委托数量
  21769. type: number
  21770. ordersrc:
  21771. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  21772. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  21773. type: integer
  21774. orderstatus:
  21775. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  21776. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  21777. 16:成交失败违约(荷兰式竞拍专用)
  21778. type: integer
  21779. ordertime:
  21780. description: 委托时间
  21781. type: string
  21782. preexerciseprice:
  21783. description: 预申报价格
  21784. type: number
  21785. premium:
  21786. description: 权利金
  21787. type: number
  21788. preorderid:
  21789. description: 关联预埋单号(止盈止损单时填写)
  21790. type: string
  21791. pricemode:
  21792. description: '取价方式 - 1:市价 2: 限价'
  21793. type: integer
  21794. qtydecimalplace:
  21795. description: 成交量小数位
  21796. type: integer
  21797. quoteid:
  21798. description: 报价单ID
  21799. type: integer
  21800. relatedid:
  21801. description: 关联单号(交割单)
  21802. type: string
  21803. retcode:
  21804. description: 错误代码
  21805. type: integer
  21806. sessionid:
  21807. description: 会话ID
  21808. type: integer
  21809. tradedate:
  21810. description: 交易日(yyyyMMdd)
  21811. type: string
  21812. trademode:
  21813. description: 交易模式
  21814. type: integer
  21815. tradeproperty:
  21816. description: 交易属性
  21817. type: integer
  21818. tradeqty:
  21819. description: 成交数量
  21820. type: number
  21821. unfreezecharge:
  21822. description: 解冻手续费
  21823. type: number
  21824. unfreezemargin:
  21825. description: 解冻保证金
  21826. type: number
  21827. updatetime:
  21828. description: 更新时间
  21829. type: string
  21830. uuid:
  21831. description: 发起端唯一id
  21832. type: string
  21833. validtime:
  21834. description: 有效期限
  21835. type: string
  21836. validtype:
  21837. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  21838. type: integer
  21839. volumetype:
  21840. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  21841. type: integer
  21842. required:
  21843. - accountid
  21844. - buildtype
  21845. - buyorsell
  21846. - goodsid
  21847. - histradedate
  21848. - marketid
  21849. - memberuserid
  21850. - operatetype
  21851. - orderid
  21852. - orderqty
  21853. - ordertime
  21854. - pricemode
  21855. - tradedate
  21856. - validtype
  21857. type: object
  21858. order.QueryTradeDetailRsp:
  21859. properties:
  21860. accountid:
  21861. description: 账户ID[报价币种]
  21862. type: integer
  21863. advanceratio:
  21864. description: 首付比率
  21865. type: number
  21866. buildtype:
  21867. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  21868. type: integer
  21869. buyorsell:
  21870. description: 方向 - 0:买 1:卖
  21871. type: integer
  21872. charge:
  21873. description: 手续费
  21874. type: number
  21875. closecharge:
  21876. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21877. type: number
  21878. closeexchagechargevalue:
  21879. description: 平仓交易所手续费设置值
  21880. type: number
  21881. closefeealgorithm:
  21882. description: 平仓手续费收取方式 1:比率 2:固定
  21883. type: integer
  21884. closememberchargevalue:
  21885. description: 平仓会员手续费设置值
  21886. type: number
  21887. closepl:
  21888. description: 平仓盈亏
  21889. type: number
  21890. closepl2:
  21891. description: 平仓盈亏[逐笔]
  21892. type: number
  21893. closeqty:
  21894. description: 平仓数量(先建后平操作 需要记录)
  21895. type: number
  21896. creditamount:
  21897. description: 授信金额
  21898. type: number
  21899. decimalplace:
  21900. description: 商品报价小数位
  21901. type: integer
  21902. enumdicname:
  21903. description: 单位名称
  21904. type: string
  21905. gcaccountid:
  21906. description: 账户ID[合约币种]
  21907. type: integer
  21908. goodscode:
  21909. description: 商品代码
  21910. type: string
  21911. goodsid:
  21912. description: 商品ID
  21913. type: integer
  21914. goodsname:
  21915. description: 商品名称
  21916. type: string
  21917. goodunitid:
  21918. description: 商品单位id
  21919. type: integer
  21920. intclosepl:
  21921. description: 整型盈亏(用于交易结算试算平衡-收益权)
  21922. type: integer
  21923. isconfirmexercise:
  21924. description: 是否确认行权- 0:否 1:是
  21925. type: integer
  21926. ismain:
  21927. description: 是否主单 - 0:不是 1:是
  21928. type: integer
  21929. ispreexercise:
  21930. description: 是否预申报- 0:否 1:是
  21931. type: integer
  21932. isreckoned:
  21933. description: 是否结算 - 0:未结算 1:已结算
  21934. type: integer
  21935. listingselecttype:
  21936. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21937. type: integer
  21938. marketid:
  21939. description: 市场ID
  21940. type: integer
  21941. marketname:
  21942. description: 市场名称
  21943. type: string
  21944. matchaccountid:
  21945. description: 对手账号id
  21946. type: integer
  21947. memberuserid:
  21948. description: 会员id 个人投资者 需要填写
  21949. type: integer
  21950. opencharge:
  21951. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21952. type: number
  21953. openexchagechargevalue:
  21954. description: 建仓交易所手续费设置值
  21955. type: number
  21956. openfeealgorithm:
  21957. description: 建仓手续费收取方式 1:比率 2:固定
  21958. type: integer
  21959. openmemberchargevalue:
  21960. description: 建仓会员手续费设置值
  21961. type: number
  21962. openqty:
  21963. description: 开仓数量(先建后平操作 需要记录)
  21964. type: number
  21965. optiontype:
  21966. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21967. type: integer
  21968. orderid:
  21969. description: 委托单号
  21970. type: string
  21971. payamount:
  21972. description: 支付金额(付款金额)
  21973. type: number
  21974. performanceplanid:
  21975. description: 履约计划ID[期权]
  21976. type: integer
  21977. performancestatus:
  21978. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  21979. type: integer
  21980. preexerciseprice:
  21981. description: 预申报价格
  21982. type: number
  21983. premium:
  21984. description: 权利金 - [持仓单的权利金]
  21985. type: number
  21986. qtydecimalplace:
  21987. description: 商品报价小数位
  21988. type: integer
  21989. recvamount:
  21990. description: 到账金额 = 成交金额 - 手续费
  21991. type: number
  21992. relatedouttradeid:
  21993. description: 关联外部成交单ID
  21994. type: integer
  21995. status:
  21996. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  21997. type: integer
  21998. totalamount:
  21999. description: 订单总额 = 成交金额 + 手续费
  22000. type: number
  22001. tradeamount:
  22002. description: 成交金额[账户币种,用于所有权]
  22003. type: number
  22004. tradedate:
  22005. description: 交易日(yyyyMMdd)
  22006. type: string
  22007. tradeid:
  22008. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22009. type: string
  22010. trademode:
  22011. description: 交易模式
  22012. type: integer
  22013. tradeprice:
  22014. description: 成交价格
  22015. type: number
  22016. tradeproperty:
  22017. description: 交易属性
  22018. type: integer
  22019. tradeqty:
  22020. description: 成交数量
  22021. type: number
  22022. tradetime:
  22023. description: 成交时间
  22024. type: string
  22025. tradetype:
  22026. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  22027. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  22028. type: integer
  22029. required:
  22030. - accountid
  22031. - buyorsell
  22032. - goodsid
  22033. - marketid
  22034. - memberuserid
  22035. - orderid
  22036. - tradeamount
  22037. - tradedate
  22038. - tradeid
  22039. - tradeprice
  22040. - tradeqty
  22041. - tradetime
  22042. type: object
  22043. order.QueryTradeOrderDetailRsp:
  22044. properties:
  22045. accountid:
  22046. description: 账户ID[报价币种]
  22047. type: integer
  22048. buildtype:
  22049. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  22050. type: integer
  22051. buyorsell:
  22052. description: 买卖 - 0:买 1:卖
  22053. type: integer
  22054. cancelorderid:
  22055. description: 撤单单号(撤单时填写)
  22056. type: string
  22057. cancelqty:
  22058. description: 撤单数量
  22059. type: number
  22060. clienttype:
  22061. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  22062. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  22063. type: integer
  22064. closefreezecharge:
  22065. description: 平仓冻结手续费(先建后平操作,需要记录)
  22066. type: number
  22067. closeqty:
  22068. description: 平仓数量(先建后平操作 需要记录)
  22069. type: number
  22070. closetradeqty:
  22071. description: 平仓成交数量(先建后平操作,需要记录)
  22072. type: number
  22073. closeunfreezecharge:
  22074. description: 平仓解冻手续费(先建后平操作,需要记录)
  22075. type: number
  22076. decimalplace:
  22077. description: 商品报价小数位
  22078. type: integer
  22079. delistingtype:
  22080. description: 摘牌类型 - 1:价格最优 2:点选成交
  22081. type: integer
  22082. enableqty:
  22083. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  22084. type: number
  22085. enumdicname:
  22086. description: 单位名称
  22087. type: string
  22088. freezecharge:
  22089. description: 冻结手续费
  22090. type: number
  22091. freezemargin:
  22092. description: 冻结保证金(冻结交易金额)
  22093. type: number
  22094. goodscode:
  22095. description: 商品代码
  22096. type: string
  22097. goodsid:
  22098. description: 商品ID
  22099. type: integer
  22100. goodsname:
  22101. description: 商品名称
  22102. type: string
  22103. goodunitid:
  22104. description: 商品单位id
  22105. type: integer
  22106. listingselecttype:
  22107. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22108. type: integer
  22109. marketid:
  22110. description: 市场ID
  22111. type: integer
  22112. marketname:
  22113. description: 市场名称
  22114. type: string
  22115. openfreezecharge:
  22116. description: 开仓冻结手续费(先建后平操作,需要记录)
  22117. type: number
  22118. openqty:
  22119. description: 开仓数量(先建后平操作,需要记录)
  22120. type: number
  22121. opentradeqty:
  22122. description: 开仓成交数量(先建后平操作,需要记录)
  22123. type: number
  22124. openunfreezecharge:
  22125. description: 开仓解冻手续费(先建后平操作,需要记录)
  22126. type: number
  22127. operatetype:
  22128. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  22129. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  22130. 15:管理端协议转让
  22131. type: integer
  22132. operatorid:
  22133. description: 登录账号(LoginID)
  22134. type: integer
  22135. orderid:
  22136. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22137. type: string
  22138. orderprice:
  22139. description: 委托价格
  22140. type: number
  22141. orderqty:
  22142. description: 委托数量
  22143. type: number
  22144. ordersrc:
  22145. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  22146. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  22147. type: integer
  22148. orderstatus:
  22149. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  22150. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  22151. 16:成交失败违约(荷兰式竞拍专用)
  22152. type: integer
  22153. ordertime:
  22154. description: 委托时间
  22155. type: string
  22156. preorderid:
  22157. description: 关联预埋单号(止盈止损单时填写)
  22158. type: string
  22159. pricemode:
  22160. description: '取价方式 - 1:市价 2: 限价'
  22161. type: integer
  22162. qtydecimalplace:
  22163. description: 商品报价小数位
  22164. type: integer
  22165. relatedid:
  22166. description: 关联单号(交割单)
  22167. type: string
  22168. tradedate:
  22169. description: 交易日(yyyyMMdd)
  22170. type: string
  22171. trademode:
  22172. description: 交易模式
  22173. type: integer
  22174. tradeqty:
  22175. description: 成交数量
  22176. type: number
  22177. unfreezecharge:
  22178. description: 解冻手续费
  22179. type: number
  22180. unfreezemargin:
  22181. description: 解冻保证金
  22182. type: number
  22183. validtime:
  22184. description: 有效期限
  22185. type: string
  22186. validtype:
  22187. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  22188. type: integer
  22189. volumetype:
  22190. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  22191. type: integer
  22192. required:
  22193. - accountid
  22194. - buildtype
  22195. - buyorsell
  22196. - goodsid
  22197. - marketid
  22198. - operatetype
  22199. - orderqty
  22200. - ordertime
  22201. - pricemode
  22202. - tradedate
  22203. - validtype
  22204. type: object
  22205. order.QueryTradePositionRsp:
  22206. properties:
  22207. accountid:
  22208. description: 资金账户
  22209. type: integer
  22210. agreeunit:
  22211. description: 合约单位
  22212. type: number
  22213. averageprice:
  22214. description: 持仓均价
  22215. type: number
  22216. buyorsell:
  22217. description: 方向 - 0:买 1:卖
  22218. type: integer
  22219. closetotalqty:
  22220. description: 平仓总数量
  22221. type: number
  22222. curholderamount:
  22223. description: 当前持仓总金额[商品币种]
  22224. type: number
  22225. curpositionqty:
  22226. description: 当前持仓总数量
  22227. type: number
  22228. currencyid:
  22229. description: 报价货币ID
  22230. type: integer
  22231. curtdposition:
  22232. description: 期末今日头寸
  22233. type: number
  22234. decimalplace:
  22235. description: 报价小数位
  22236. type: integer
  22237. enableqty:
  22238. description: 可用量
  22239. type: number
  22240. fretdposition:
  22241. description: 冻结今日头寸
  22242. type: number
  22243. frozenqty:
  22244. description: 持仓冻结数量
  22245. type: number
  22246. goodscode:
  22247. description: 商品代码
  22248. type: string
  22249. goodsid:
  22250. description: 商品Id
  22251. type: integer
  22252. goodsname:
  22253. description: 商品名称
  22254. type: string
  22255. goodunit:
  22256. description: 报价单位
  22257. type: string
  22258. goodunitid:
  22259. description: 报价单位ID
  22260. type: integer
  22261. holderamount:
  22262. description: 期初持仓总金额[商品币种]
  22263. type: number
  22264. lastprice:
  22265. description: 最新价
  22266. type: number
  22267. marketamount:
  22268. description: 市值
  22269. type: number
  22270. marketid:
  22271. description: 所属市场ID
  22272. type: integer
  22273. openreqqty:
  22274. description: 开仓申请数量(用于比较最大持仓数量)
  22275. type: number
  22276. opentotalqty:
  22277. description: 开仓总数量
  22278. type: number
  22279. otherfrozenqty:
  22280. description: 持仓其他冻结数量(交割冻结)
  22281. type: number
  22282. positionpl:
  22283. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  22284. * 合约单位
  22285. type: number
  22286. positionplrate:
  22287. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  22288. type: number
  22289. positionqty:
  22290. description: 期初持仓数量
  22291. type: number
  22292. qtydecimalplace:
  22293. description: 成交量小数位
  22294. type: integer
  22295. refgoodscode:
  22296. description: 参考商品代码
  22297. type: string
  22298. refgoodsid:
  22299. description: 参考商品ID
  22300. type: integer
  22301. tnqty:
  22302. description: T+N冻结总量
  22303. type: number
  22304. tnusedqty:
  22305. description: T+N使用量(可以使用T+N的冻结数量)
  22306. type: number
  22307. trademode:
  22308. description: 交易模式
  22309. type: integer
  22310. tradeproperty:
  22311. description: 交易属性
  22312. type: integer
  22313. usedmargin:
  22314. description: 占用保证金[商品币种]
  22315. type: number
  22316. required:
  22317. - goodsid
  22318. type: object
  22319. pb.GoodsMarginCfgStruct:
  22320. properties:
  22321. CustomerTypeID:
  22322. description: 投资者客户类型
  22323. type: integer
  22324. GoodsID:
  22325. description: 商品ID
  22326. type: integer
  22327. IsDefault:
  22328. description: 是否默认标志位
  22329. type: integer
  22330. LockMarginValue:
  22331. description: 锁仓保证金
  22332. type: number
  22333. MarginAlgorithm:
  22334. description: 保证金计算方式
  22335. type: integer
  22336. MarketMarginValue:
  22337. description: 即市保证金值
  22338. type: number
  22339. RealMarginAlgorithm:
  22340. description: 实付保证金计算方式
  22341. type: integer
  22342. RealMarginValue:
  22343. description: 实付比例
  22344. type: number
  22345. ReckonMarginValue:
  22346. description: 结算保证金值
  22347. type: number
  22348. type: object
  22349. quote.HistoryData:
  22350. properties:
  22351. c:
  22352. description: 收盘价
  22353. type: number
  22354. f:
  22355. description: 是否补充数据
  22356. type: boolean
  22357. h:
  22358. description: 最高价
  22359. type: number
  22360. hv:
  22361. description: 持仓量
  22362. type: integer
  22363. l:
  22364. description: 最低价
  22365. type: number
  22366. o:
  22367. description: 开盘价
  22368. type: number
  22369. s:
  22370. description: 结算价,日线周期(包括)以上才有
  22371. type: number
  22372. ts:
  22373. description: 时间
  22374. type: string
  22375. tt:
  22376. description: 总金额
  22377. type: number
  22378. tv:
  22379. description: 总量(成交量)
  22380. type: integer
  22381. type: object
  22382. quote.HistoryTikData:
  22383. properties:
  22384. AV:
  22385. description: 卖量
  22386. type: integer
  22387. Ask:
  22388. description: 卖价
  22389. type: number
  22390. BV:
  22391. description: 买量
  22392. type: integer
  22393. Bid:
  22394. description: 买价
  22395. type: number
  22396. HI:
  22397. description: 单笔持仓
  22398. type: integer
  22399. HV:
  22400. description: 持仓量
  22401. type: integer
  22402. PE:
  22403. description: 现价
  22404. type: number
  22405. TDR:
  22406. description: 交易方向,0:买 1:卖
  22407. type: integer
  22408. TK:
  22409. description: 交易类型
  22410. type: integer
  22411. TS:
  22412. description: 行情时间文本
  22413. type: string
  22414. TT:
  22415. description: 现金额
  22416. type: number
  22417. Vol:
  22418. description: 现量
  22419. type: integer
  22420. type: object
  22421. quote.QueryQuoteDayRsp:
  22422. properties:
  22423. ask:
  22424. description: 卖1
  22425. type: number
  22426. ask2:
  22427. description: 卖2
  22428. type: number
  22429. ask3:
  22430. description: 卖3
  22431. type: number
  22432. ask4:
  22433. description: 卖4
  22434. type: number
  22435. ask5:
  22436. description: 卖5
  22437. type: number
  22438. ask6:
  22439. description: 卖6
  22440. type: number
  22441. ask7:
  22442. description: 卖7
  22443. type: number
  22444. ask8:
  22445. description: 卖8
  22446. type: number
  22447. ask9:
  22448. description: 卖9
  22449. type: number
  22450. ask10:
  22451. description: 卖10
  22452. type: number
  22453. askorderid:
  22454. description: 卖单号1
  22455. type: integer
  22456. askorderid2:
  22457. description: 卖单号2
  22458. type: integer
  22459. askorderid3:
  22460. description: 卖单号3
  22461. type: integer
  22462. askorderid4:
  22463. description: 卖单号4
  22464. type: integer
  22465. askorderid5:
  22466. description: 卖单号5
  22467. type: integer
  22468. askordervolume:
  22469. description: 卖单量1
  22470. type: integer
  22471. askordervolume2:
  22472. description: 卖单量2
  22473. type: integer
  22474. askordervolume3:
  22475. description: 卖单量3
  22476. type: integer
  22477. askordervolume4:
  22478. description: 卖单量4
  22479. type: integer
  22480. askordervolume5:
  22481. description: 卖单量5
  22482. type: integer
  22483. askordervolume6:
  22484. description: 卖单量6
  22485. type: integer
  22486. askordervolume7:
  22487. description: 卖单量7
  22488. type: integer
  22489. askordervolume8:
  22490. description: 卖单量8
  22491. type: integer
  22492. askordervolume9:
  22493. description: 卖单量9
  22494. type: integer
  22495. askordervolume10:
  22496. description: 卖单量10
  22497. type: integer
  22498. askqueueinfo:
  22499. description: 大利市卖港股用
  22500. type: string
  22501. askvolume:
  22502. description: 卖量1
  22503. type: integer
  22504. askvolume2:
  22505. description: 卖量2
  22506. type: integer
  22507. askvolume3:
  22508. description: 卖量3
  22509. type: integer
  22510. askvolume4:
  22511. description: 卖量4
  22512. type: integer
  22513. askvolume5:
  22514. description: 卖量5
  22515. type: integer
  22516. askvolume6:
  22517. description: 卖量6
  22518. type: integer
  22519. askvolume7:
  22520. description: 卖量7
  22521. type: integer
  22522. askvolume8:
  22523. description: 卖量8
  22524. type: integer
  22525. askvolume9:
  22526. description: 卖量9
  22527. type: integer
  22528. askvolume10:
  22529. description: 卖量10
  22530. type: integer
  22531. averageprice:
  22532. description: 均价
  22533. type: number
  22534. bid:
  22535. description: 买1
  22536. type: number
  22537. bid2:
  22538. description: 买2
  22539. type: number
  22540. bid3:
  22541. description: 买3
  22542. type: number
  22543. bid4:
  22544. description: 买4
  22545. type: number
  22546. bid5:
  22547. description: 买5
  22548. type: number
  22549. bid6:
  22550. description: 买6
  22551. type: number
  22552. bid7:
  22553. description: 买7
  22554. type: number
  22555. bid8:
  22556. description: 买8
  22557. type: number
  22558. bid9:
  22559. description: 买9
  22560. type: number
  22561. bid10:
  22562. description: 买10
  22563. type: number
  22564. bidorderid:
  22565. description: 买单号1
  22566. type: integer
  22567. bidorderid2:
  22568. description: 买单号2
  22569. type: integer
  22570. bidorderid3:
  22571. description: 买单号3
  22572. type: integer
  22573. bidorderid4:
  22574. description: 买单号4
  22575. type: integer
  22576. bidorderid5:
  22577. description: 买单号5
  22578. type: integer
  22579. bidordervolume:
  22580. description: 买单量1
  22581. type: integer
  22582. bidordervolume2:
  22583. description: 买单量2
  22584. type: integer
  22585. bidordervolume3:
  22586. description: 买单量3
  22587. type: integer
  22588. bidordervolume4:
  22589. description: 买单量4
  22590. type: integer
  22591. bidordervolume5:
  22592. description: 买单量5
  22593. type: integer
  22594. bidordervolume6:
  22595. description: 买单量6
  22596. type: integer
  22597. bidordervolume7:
  22598. description: 买单量7
  22599. type: integer
  22600. bidordervolume8:
  22601. description: 买单量8
  22602. type: integer
  22603. bidordervolume9:
  22604. description: 买单量9
  22605. type: integer
  22606. bidordervolume10:
  22607. description: 买单量10
  22608. type: integer
  22609. bidqueueinfo:
  22610. description: 大利市买港股用
  22611. type: string
  22612. bidvolume:
  22613. description: 买量1
  22614. type: integer
  22615. bidvolume2:
  22616. description: 买量2
  22617. type: integer
  22618. bidvolume3:
  22619. description: 买量3
  22620. type: integer
  22621. bidvolume4:
  22622. description: 买量4
  22623. type: integer
  22624. bidvolume5:
  22625. description: 买量5
  22626. type: integer
  22627. bidvolume6:
  22628. description: 买量6
  22629. type: integer
  22630. bidvolume7:
  22631. description: 买量7
  22632. type: integer
  22633. bidvolume8:
  22634. description: 买量8
  22635. type: integer
  22636. bidvolume9:
  22637. description: 买量9
  22638. type: integer
  22639. bidvolume10:
  22640. description: 买量10
  22641. type: integer
  22642. calloptionpremiums:
  22643. description: 认购期权1
  22644. type: integer
  22645. calloptionpremiums2:
  22646. description: 认购期权2
  22647. type: integer
  22648. calloptionpremiums3:
  22649. description: 认购期权3
  22650. type: integer
  22651. calloptionpremiums4:
  22652. description: 认购期权4
  22653. type: integer
  22654. calloptionpremiums5:
  22655. description: 认购期权5
  22656. type: integer
  22657. cleartime:
  22658. description: 清盘时间
  22659. type: integer
  22660. exchangecode:
  22661. description: 交易所代码
  22662. type: integer
  22663. exchangedate:
  22664. description: 交易日
  22665. type: integer
  22666. goodscode:
  22667. description: 商品代码
  22668. type: string
  22669. grepmarketprice:
  22670. description: 暗盘价 港股专用
  22671. type: number
  22672. highest:
  22673. description: 最高价
  22674. type: number
  22675. holdincrement:
  22676. description: 单笔持仓
  22677. type: integer
  22678. holdvolume:
  22679. description: 持仓
  22680. type: integer
  22681. iep:
  22682. description: 平衡价 港股专用
  22683. type: number
  22684. iev:
  22685. description: 平衡量 港股专用
  22686. type: number
  22687. inventory:
  22688. description: 库存
  22689. type: integer
  22690. iscleared:
  22691. description: 是否清盘标志
  22692. type: integer
  22693. issettled:
  22694. description: 是否结算标志
  22695. type: integer
  22696. last:
  22697. description: 最新价
  22698. type: number
  22699. lastlot:
  22700. description: 最新成交手数
  22701. type: integer
  22702. lasttime:
  22703. description: 行情时间(只有现价变化行情时间才变化)
  22704. type: string
  22705. lastturnover:
  22706. description: 最新成交金额
  22707. type: number
  22708. lastvolume:
  22709. description: 最新成交量
  22710. type: integer
  22711. limitdown:
  22712. description: 跌停价
  22713. type: number
  22714. limitup:
  22715. description: 涨停价
  22716. type: number
  22717. lowest:
  22718. description: 最低价
  22719. type: number
  22720. nontotalholdervolume:
  22721. description: 非交易持仓量
  22722. type: integer
  22723. nontotallot:
  22724. description: 非交易总手数
  22725. type: integer
  22726. nontotalturnover:
  22727. description: 非交易总金额
  22728. type: integer
  22729. nontotalvolume:
  22730. description: 非交易总量
  22731. type: integer
  22732. opened:
  22733. description: 开盘价
  22734. type: number
  22735. opentime:
  22736. description: 开盘时间
  22737. type: string
  22738. orderid:
  22739. description: 序号
  22740. type: integer
  22741. preclose:
  22742. description: 昨收
  22743. type: number
  22744. preholdvolume:
  22745. description: 昨持仓
  22746. type: integer
  22747. presettle:
  22748. description: 昨结价
  22749. type: number
  22750. publictradetype:
  22751. description: 公共交易标志类型 港股专用
  22752. type: string
  22753. putoptionpremiums:
  22754. description: 认沽期权1
  22755. type: integer
  22756. putoptionpremiums2:
  22757. description: 认沽期权2
  22758. type: integer
  22759. putoptionpremiums3:
  22760. description: 认沽期权3
  22761. type: integer
  22762. putoptionpremiums4:
  22763. description: 认沽期权4
  22764. type: integer
  22765. putoptionpremiums5:
  22766. description: 认沽期权5
  22767. type: integer
  22768. settle:
  22769. description: 结算价
  22770. type: number
  22771. strikeprice:
  22772. description: 发行价
  22773. type: number
  22774. totalaskvolume:
  22775. description: 内盘
  22776. type: integer
  22777. totalbidvolume:
  22778. description: 外盘
  22779. type: integer
  22780. totallot:
  22781. description: 总手数
  22782. type: integer
  22783. totalturnover:
  22784. description: 总金额
  22785. type: number
  22786. totalvolume:
  22787. description: 总量
  22788. type: integer
  22789. utclasttime:
  22790. description: utc的行情时间
  22791. type: string
  22792. type: object
  22793. quote.QueryTSDataRsp:
  22794. properties:
  22795. Count:
  22796. description: 交易日应有数据个数
  22797. type: integer
  22798. decimalPlace:
  22799. description: 小数位
  22800. type: integer
  22801. endTime:
  22802. description: 结束时间
  22803. type: string
  22804. goodsCode:
  22805. description: 商品代码
  22806. type: string
  22807. historyDatas:
  22808. description: 历史数据
  22809. items:
  22810. $ref: '#/definitions/quote.HistoryData'
  22811. type: array
  22812. outGoodsCode:
  22813. description: 外部商品代码
  22814. type: string
  22815. preSettle:
  22816. description: 昨结价
  22817. type: number
  22818. runSteps:
  22819. description: 交易日开休市计划
  22820. items:
  22821. $ref: '#/definitions/quote.TSDataRunStep'
  22822. type: array
  22823. startTime:
  22824. description: 开始时间
  22825. type: string
  22826. tradeDate:
  22827. description: 交易日
  22828. type: string
  22829. type: object
  22830. quote.TSDataRunStep:
  22831. properties:
  22832. end:
  22833. description: 真实结束时间
  22834. type: string
  22835. endflag:
  22836. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  22837. type: integer
  22838. endtime:
  22839. description: 结束时间(HH:mm)
  22840. type: string
  22841. endweekday:
  22842. description: 结束周几
  22843. type: integer
  22844. groupid:
  22845. description: 分组ID
  22846. type: integer
  22847. runstep:
  22848. description: 运行阶段 - 2:连续交易
  22849. type: integer
  22850. sectionid:
  22851. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  22852. 结束时间=结算时间 结束周几=结算周几
  22853. type: integer
  22854. start:
  22855. description: 真实开始时间
  22856. type: string
  22857. startflag:
  22858. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  22859. type: integer
  22860. starttime:
  22861. description: 起始时间(HH:mm)
  22862. type: string
  22863. startweekday:
  22864. description: 起始周几
  22865. type: integer
  22866. tradeweekday:
  22867. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  22868. type: integer
  22869. type: object
  22870. szdz.QueryConvertLogRsp:
  22871. properties:
  22872. accountid:
  22873. description: 资金账户ID
  22874. type: integer
  22875. clientticket:
  22876. description: 客户端流水号
  22877. type: string
  22878. converttype:
  22879. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  22880. type: integer
  22881. createtime:
  22882. description: 记账时间
  22883. type: string
  22884. daymaxvalue:
  22885. description: 配置当日最大转入限制
  22886. type: number
  22887. daymaxvalue2:
  22888. description: 配置当日最大转入限制(转入)
  22889. type: number
  22890. goodscode:
  22891. description: 商品代码
  22892. type: string
  22893. goodsname:
  22894. description: 商品名称
  22895. type: string
  22896. handlestatus:
  22897. description: 处理状态
  22898. type: integer
  22899. innergoodsid:
  22900. description: 内部商品ID
  22901. type: integer
  22902. inratio:
  22903. description: 配置转入比值
  22904. type: integer
  22905. invalue:
  22906. description: 目标值
  22907. type: number
  22908. logid:
  22909. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22910. type: integer
  22911. mobile:
  22912. description: 手机号码(加密存储)
  22913. type: string
  22914. outergoodscode:
  22915. description: 外部商品代码[JD\PD]
  22916. type: string
  22917. outratio:
  22918. description: 配置转出比值
  22919. type: integer
  22920. outvalue:
  22921. description: 源值
  22922. type: number
  22923. pddecimalplace:
  22924. description: PD小数位
  22925. type: integer
  22926. qty:
  22927. description: 数量
  22928. type: string
  22929. remark:
  22930. description: 备注
  22931. type: string
  22932. sessionid:
  22933. description: 会话ID
  22934. type: integer
  22935. timemaxvalue:
  22936. description: 配置单次最大转入限制
  22937. type: number
  22938. timemaxvalue2:
  22939. description: 配置单次最大转入限制(转入)
  22940. type: number
  22941. timeminvalue:
  22942. description: 配置单次最小数量限制
  22943. type: number
  22944. timeminvalue2:
  22945. description: 配置单次最小数量限制(转入)
  22946. type: number
  22947. tradedate:
  22948. description: 交易日(yyyyMMdd)
  22949. type: string
  22950. userid:
  22951. description: 用户ID
  22952. type: integer
  22953. required:
  22954. - logid
  22955. type: object
  22956. szdz.QueryGoodsPickupRsp:
  22957. properties:
  22958. accountid:
  22959. description: 账户ID
  22960. type: integer
  22961. address:
  22962. description: 提货人详细地址
  22963. type: string
  22964. auditer:
  22965. description: 审核人
  22966. type: integer
  22967. audittime:
  22968. description: 审核时间
  22969. type: string
  22970. cardnum:
  22971. description: 提货人证件号码
  22972. type: string
  22973. cardtypeid:
  22974. description: 提货人证件类型
  22975. type: integer
  22976. checkremark:
  22977. description: 审核备注
  22978. type: string
  22979. goodscode:
  22980. description: 商品代码
  22981. type: string
  22982. goodsid:
  22983. description: 商品ID
  22984. type: integer
  22985. goodsname:
  22986. description: 商品名称
  22987. type: string
  22988. handlestatus:
  22989. description: 处理状态
  22990. type: integer
  22991. marketid:
  22992. description: 市场ID
  22993. type: integer
  22994. phonenum:
  22995. description: 提货人联系方式
  22996. type: string
  22997. qty:
  22998. description: 提货数量
  22999. type: number
  23000. recivername:
  23001. description: 提货人姓名
  23002. type: string
  23003. reqtime:
  23004. description: 更新时间
  23005. type: string
  23006. takemode:
  23007. description: 提货方式 - 2:自提 3:配送
  23008. type: integer
  23009. takeorderid:
  23010. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  23011. type: string
  23012. takeorderstatus:
  23013. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23014. type: integer
  23015. takeremark:
  23016. description: 提货备注
  23017. type: string
  23018. tradedate:
  23019. description: 交易日(yyyyMMdd)
  23020. type: string
  23021. userid:
  23022. description: 用户ID
  23023. type: integer
  23024. required:
  23025. - takeorderid
  23026. type: object
  23027. szdz.QueryRecieptOrderRsp:
  23028. properties:
  23029. accountName:
  23030. description: 所属账号名称(已脱敏)
  23031. type: string
  23032. accountid:
  23033. description: 资金账号
  23034. type: integer
  23035. buyorsell:
  23036. description: 方向 - 0:买 1:卖
  23037. type: integer
  23038. enableqty:
  23039. description: 可摘数量
  23040. type: integer
  23041. goodscode:
  23042. description: 商品代码
  23043. type: string
  23044. goodsid:
  23045. description: 商品ID
  23046. type: integer
  23047. goodsname:
  23048. description: 商品名称
  23049. type: string
  23050. orderid:
  23051. description: 委托单号
  23052. type: string
  23053. orderprice:
  23054. description: 委托价格
  23055. type: number
  23056. ordertime:
  23057. description: 委托时间
  23058. type: string
  23059. tradedate:
  23060. description: 交易日(yyyyMMdd)
  23061. type: string
  23062. required:
  23063. - ordertime
  23064. type: object
  23065. szdz.QuerySZDZTradePositionRsp:
  23066. properties:
  23067. accountid:
  23068. description: 账号Id
  23069. type: integer
  23070. agreeunit:
  23071. description: 合约单位
  23072. type: number
  23073. averageprice:
  23074. description: 持仓均价
  23075. type: number
  23076. buyorsell:
  23077. description: 方向 - 0:买 1:卖
  23078. type: integer
  23079. closetotalqty:
  23080. description: 平仓总数量
  23081. type: integer
  23082. curholderamount:
  23083. description: 当前持仓总金额
  23084. type: number
  23085. curpositionqty:
  23086. description: 当前持仓总数量
  23087. type: integer
  23088. currencyid:
  23089. description: 报价货币ID
  23090. type: integer
  23091. curtdposition:
  23092. description: 期末今日头寸
  23093. type: integer
  23094. decimalplace:
  23095. description: 报价小数位
  23096. type: integer
  23097. enableqty:
  23098. description: 可用量
  23099. type: integer
  23100. fretdposition:
  23101. description: 冻结今日头寸
  23102. type: integer
  23103. frozenqty:
  23104. description: 持仓冻结数量
  23105. type: integer
  23106. goodscode:
  23107. description: 商品代码(内部)
  23108. type: string
  23109. goodsid:
  23110. description: 商品Id
  23111. type: integer
  23112. goodsname:
  23113. description: 商品名称
  23114. type: string
  23115. goodunit:
  23116. description: 报价单位
  23117. type: string
  23118. goodunitid:
  23119. description: 报价单位ID
  23120. type: integer
  23121. holderamount:
  23122. description: 期初持仓总金额
  23123. type: number
  23124. marketid:
  23125. description: 市场ID
  23126. type: integer
  23127. openreqqty:
  23128. description: 开仓申请数量
  23129. type: integer
  23130. opentotalqty:
  23131. description: 开仓总数量
  23132. type: integer
  23133. otherfrozenqty:
  23134. description: 持仓其他冻结数量(交割冻结)
  23135. type: integer
  23136. positionqty:
  23137. description: 期初持仓数量
  23138. type: integer
  23139. szdz3freezqty:
  23140. description: 尚志大宗转换冻结总数量
  23141. type: integer
  23142. tnqty:
  23143. description: T+N冻结总量
  23144. type: integer
  23145. tnusedqty:
  23146. description: T+N使用量
  23147. type: integer
  23148. trademode:
  23149. description: 交易模式
  23150. type: integer
  23151. usedmargin:
  23152. description: 占用保证金
  23153. type: number
  23154. type: object
  23155. taaccount.QueryAmountLogRsp:
  23156. properties:
  23157. OPERATETYPENAME:
  23158. description: 资金操作类型名称
  23159. type: string
  23160. accountid:
  23161. description: 资金账户ID
  23162. type: integer
  23163. agoodscode:
  23164. description: 竞拍商品代码
  23165. type: string
  23166. agoodsname:
  23167. description: 竞拍商品名称
  23168. type: string
  23169. amount:
  23170. description: 资金金额
  23171. type: number
  23172. amountadjusttype:
  23173. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  23174. type: integer
  23175. autoid:
  23176. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  23177. type: integer
  23178. balance:
  23179. description: 期初余额
  23180. type: number
  23181. businesscode:
  23182. description: 业务编号
  23183. type: integer
  23184. createtime:
  23185. description: 发生时间
  23186. type: string
  23187. currencyid:
  23188. description: 币种ID
  23189. type: integer
  23190. currentbalance:
  23191. description: 期末余额(变动后金额)
  23192. type: number
  23193. dgoodscode:
  23194. description: 交割商品代码
  23195. type: string
  23196. dgoodsname:
  23197. description: 交割商品名称
  23198. type: string
  23199. goodscode:
  23200. description: 商品代码
  23201. type: string
  23202. goodsid:
  23203. description: 商品ID
  23204. type: integer
  23205. goodsname:
  23206. description: 商品名称
  23207. type: string
  23208. marketid:
  23209. description: 市场ID
  23210. type: integer
  23211. marketname:
  23212. description: 市场名称
  23213. type: string
  23214. moneyticket:
  23215. description: 资金流水号:银行端流水号
  23216. type: integer
  23217. operatetype:
  23218. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  23219. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  23220. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  23221. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  23222. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  23223. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  23224. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  23225. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  23226. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  23227. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  23228. type: integer
  23229. relationorderid:
  23230. description: 关联单号
  23231. type: string
  23232. remark:
  23233. description: 备注
  23234. type: string
  23235. trademode:
  23236. description: 交易模式
  23237. type: integer
  23238. required:
  23239. - accountid
  23240. - amount
  23241. - amountadjusttype
  23242. - autoid
  23243. - balance
  23244. - createtime
  23245. - currentbalance
  23246. - operatetype
  23247. type: object
  23248. taaccount.QueryHisAmountLogRsp:
  23249. properties:
  23250. OPERATETYPENAME:
  23251. description: 资金操作类型名称
  23252. type: string
  23253. accountid:
  23254. description: 资金账户ID
  23255. type: integer
  23256. agoodscode:
  23257. description: 竞拍商品代码
  23258. type: string
  23259. agoodsname:
  23260. description: 竞拍商品名称
  23261. type: string
  23262. amount:
  23263. description: 资金金额
  23264. type: number
  23265. amountadjusttype:
  23266. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  23267. type: integer
  23268. autoid:
  23269. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  23270. type: integer
  23271. balance:
  23272. description: 期初余额
  23273. type: number
  23274. businesscode:
  23275. description: 业务编号
  23276. type: integer
  23277. createtime:
  23278. description: 发生时间
  23279. type: string
  23280. currencyid:
  23281. description: 币种ID
  23282. type: integer
  23283. currentbalance:
  23284. description: 期末余额(变动后金额)
  23285. type: number
  23286. dgoodscode:
  23287. description: 交割商品代码
  23288. type: string
  23289. dgoodsname:
  23290. description: 交割商品名称
  23291. type: string
  23292. goodscode:
  23293. description: 商品代码
  23294. type: string
  23295. goodsid:
  23296. description: 商品ID
  23297. type: integer
  23298. goodsname:
  23299. description: 商品名称
  23300. type: string
  23301. histradedate:
  23302. description: 历史交易日
  23303. type: string
  23304. isvaliddata:
  23305. description: 是否有效 - 0:无效 1:有效
  23306. type: integer
  23307. marketid:
  23308. description: 市场ID
  23309. type: integer
  23310. marketname:
  23311. description: 市场名称
  23312. type: string
  23313. moneyticket:
  23314. description: 资金流水号:银行端流水号
  23315. type: integer
  23316. operatetype:
  23317. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  23318. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  23319. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  23320. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  23321. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  23322. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  23323. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  23324. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  23325. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  23326. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  23327. type: integer
  23328. relationorderid:
  23329. description: 关联单号
  23330. type: string
  23331. remark:
  23332. description: 备注
  23333. type: string
  23334. trademode:
  23335. description: 交易模式
  23336. type: integer
  23337. required:
  23338. - accountid
  23339. - amount
  23340. - amountadjusttype
  23341. - autoid
  23342. - balance
  23343. - createtime
  23344. - currentbalance
  23345. - histradedate
  23346. - operatetype
  23347. type: object
  23348. trade.QueryRecieptOrderRsp:
  23349. properties:
  23350. accountName:
  23351. description: 所属账号名称(已脱敏)
  23352. type: string
  23353. accountid:
  23354. description: 资金账号
  23355. type: integer
  23356. buyorsell:
  23357. description: 方向 - 0:买 1:卖
  23358. type: integer
  23359. enableqty:
  23360. description: 可摘数量
  23361. type: integer
  23362. goodscode:
  23363. description: 商品代码
  23364. type: string
  23365. goodsid:
  23366. description: 商品ID
  23367. type: integer
  23368. goodsname:
  23369. description: 商品名称
  23370. type: string
  23371. orderid:
  23372. description: 委托单号
  23373. type: string
  23374. orderprice:
  23375. description: 委托价格
  23376. type: number
  23377. ordertime:
  23378. description: 委托时间
  23379. type: string
  23380. tradedate:
  23381. description: 交易日(yyyyMMdd)
  23382. type: string
  23383. required:
  23384. - ordertime
  23385. type: object
  23386. user.LoginQueryRsp:
  23387. properties:
  23388. areaRoles:
  23389. description: 所属角色信息
  23390. items:
  23391. $ref: '#/definitions/models.Arearole'
  23392. type: array
  23393. exchangeRateConfigs:
  23394. description: 汇率信息
  23395. items:
  23396. $ref: '#/definitions/models.Exchangerateconfig'
  23397. type: array
  23398. externalExchanges:
  23399. description: 外部交易所
  23400. items:
  23401. $ref: '#/definitions/models.Externalexchange'
  23402. type: array
  23403. goodsgroups:
  23404. description: 商品组
  23405. items:
  23406. $ref: '#/definitions/models.Goodsgroup'
  23407. type: array
  23408. loginAccount:
  23409. $ref: '#/definitions/models.Loginaccount'
  23410. description: 登录账号
  23411. markets:
  23412. description: 市场
  23413. items:
  23414. $ref: '#/definitions/models.Market'
  23415. type: array
  23416. systemParams:
  23417. description: 系统参数
  23418. items:
  23419. $ref: '#/definitions/models.Systemparam'
  23420. type: array
  23421. userAccount:
  23422. $ref: '#/definitions/models.Useraccount'
  23423. description: 用户账号
  23424. userInfo:
  23425. $ref: '#/definitions/models.Userinfo'
  23426. description: 用户信息
  23427. username:
  23428. description: 用户姓名
  23429. type: string
  23430. type: object
  23431. info:
  23432. contact: {}
  23433. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  23434. termsOfService: http://www.muchinfo.cn
  23435. title: MTP2.0 查询服务 API
  23436. version: "1.0"
  23437. paths:
  23438. /CPTrade/QueryCPTradeMyBidInfos:
  23439. get:
  23440. parameters:
  23441. - description: 资金账户
  23442. in: query
  23443. name: accountid
  23444. required: true
  23445. type: integer
  23446. - description: 预售市场ID
  23447. in: query
  23448. name: marketid
  23449. type: integer
  23450. - description: 预售商品ID
  23451. in: query
  23452. name: goodsid
  23453. type: integer
  23454. produces:
  23455. - application/json
  23456. responses:
  23457. "200":
  23458. description: OK
  23459. schema:
  23460. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  23461. "500":
  23462. description: Internal Server Error
  23463. schema:
  23464. $ref: '#/definitions/app.Response'
  23465. security:
  23466. - ApiKeyAuth: []
  23467. summary: 查询产能预售我的出价信息
  23468. tags:
  23469. - 产能预售
  23470. /CPTrade/QueryCPTradeOrderDetail:
  23471. get:
  23472. parameters:
  23473. - description: 预售商品ID
  23474. in: query
  23475. name: goodsid
  23476. type: integer
  23477. - description: 预售市场ID
  23478. in: query
  23479. name: marketid
  23480. type: integer
  23481. - description: 预售商品ID列表 - 格式:1,2,3
  23482. in: query
  23483. name: goodsids
  23484. type: string
  23485. produces:
  23486. - application/json
  23487. responses:
  23488. "200":
  23489. description: OK
  23490. schema:
  23491. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  23492. "500":
  23493. description: Internal Server Error
  23494. schema:
  23495. $ref: '#/definitions/app.Response'
  23496. security:
  23497. - ApiKeyAuth: []
  23498. summary: 查询产能预售委托单信息
  23499. tags:
  23500. - 产能预售
  23501. /CPTrade/QueryMyCPTradeGoods:
  23502. get:
  23503. parameters:
  23504. - description: 资金账户
  23505. in: query
  23506. name: accountid
  23507. required: true
  23508. type: integer
  23509. produces:
  23510. - application/json
  23511. responses:
  23512. "200":
  23513. description: OK
  23514. schema:
  23515. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  23516. "500":
  23517. description: Internal Server Error
  23518. schema:
  23519. $ref: '#/definitions/app.Response'
  23520. security:
  23521. - ApiKeyAuth: []
  23522. summary: 查询我的预售信息
  23523. tags:
  23524. - 产能预售
  23525. /CPTrade/QueryPositionCancel:
  23526. get:
  23527. parameters:
  23528. - description: 账户ID
  23529. in: query
  23530. name: userid
  23531. required: true
  23532. type: integer
  23533. - description: 注销ID
  23534. in: query
  23535. name: cancelid
  23536. type: integer
  23537. - description: 资金账户ID
  23538. in: query
  23539. name: accountid
  23540. type: integer
  23541. produces:
  23542. - application/json
  23543. responses:
  23544. "200":
  23545. description: OK
  23546. schema:
  23547. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  23548. "500":
  23549. description: Internal Server Error
  23550. schema:
  23551. $ref: '#/definitions/app.Response'
  23552. security:
  23553. - ApiKeyAuth: []
  23554. summary: 查询远期订单注销申请信息
  23555. tags:
  23556. - 产能预售
  23557. /CPTrade/QueryPreasleApply:
  23558. get:
  23559. parameters:
  23560. - description: 账户ID
  23561. in: query
  23562. name: userid
  23563. required: true
  23564. type: integer
  23565. - description: 申请ID
  23566. in: query
  23567. name: applyid
  23568. type: integer
  23569. - description: 资金账户ID
  23570. in: query
  23571. name: accountid
  23572. type: integer
  23573. produces:
  23574. - application/json
  23575. responses:
  23576. "200":
  23577. description: OK
  23578. schema:
  23579. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  23580. "500":
  23581. description: Internal Server Error
  23582. schema:
  23583. $ref: '#/definitions/app.Response'
  23584. security:
  23585. - ApiKeyAuth: []
  23586. summary: 查询产能预售申请信息
  23587. tags:
  23588. - 产能预售
  23589. /CPTrade/QueryPresaleGoodsEx:
  23590. get:
  23591. parameters:
  23592. - description: 预售商品ID
  23593. in: query
  23594. name: goodsid
  23595. type: integer
  23596. - description: 预售市场ID
  23597. in: query
  23598. name: marketid
  23599. type: integer
  23600. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  23601. in: query
  23602. name: presalemode
  23603. type: integer
  23604. - description: 预售商品ID列表 - 格式:1,2,3
  23605. in: query
  23606. name: goodsids
  23607. type: string
  23608. - description: 预售商品代码
  23609. in: query
  23610. name: goodscode
  23611. type: string
  23612. produces:
  23613. - application/json
  23614. responses:
  23615. "200":
  23616. description: OK
  23617. schema:
  23618. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  23619. "500":
  23620. description: Internal Server Error
  23621. schema:
  23622. $ref: '#/definitions/app.Response'
  23623. security:
  23624. - ApiKeyAuth: []
  23625. summary: 查询产能预售商品扩展信息
  23626. tags:
  23627. - 产能预售
  23628. /CPTrade/QueryUserGoodsData:
  23629. get:
  23630. parameters:
  23631. - description: 资金账户ID
  23632. in: query
  23633. name: accountid
  23634. required: true
  23635. type: integer
  23636. produces:
  23637. - application/json
  23638. responses:
  23639. "200":
  23640. description: OK
  23641. schema:
  23642. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  23643. "500":
  23644. description: Internal Server Error
  23645. schema:
  23646. $ref: '#/definitions/app.Response'
  23647. security:
  23648. - ApiKeyAuth: []
  23649. summary: 查询远期订单信息
  23650. tags:
  23651. - 产能预售
  23652. /Common/DeleteNewFuncmenu:
  23653. delete:
  23654. consumes:
  23655. - application/json
  23656. parameters:
  23657. - description: 菜单表数据,只需要resourcecode字段即可
  23658. in: body
  23659. name: data
  23660. required: true
  23661. schema:
  23662. $ref: '#/definitions/models.NewFuncmenulist'
  23663. produces:
  23664. - application/json
  23665. responses:
  23666. "200":
  23667. description: OK
  23668. schema:
  23669. $ref: '#/definitions/app.Response'
  23670. "500":
  23671. description: Internal Server Error
  23672. schema:
  23673. $ref: '#/definitions/app.Response'
  23674. security:
  23675. - ApiKeyAuth: []
  23676. summary: 删除菜单表数据
  23677. tags:
  23678. - 通用服务
  23679. /Common/FindNewFuncmenu:
  23680. get:
  23681. parameters:
  23682. - description: 资源代码
  23683. in: query
  23684. name: resourcecode
  23685. type: string
  23686. - description: 上级资源代码
  23687. in: query
  23688. name: parentcode
  23689. type: string
  23690. - description: 资源名(Title), 模糊查询
  23691. in: query
  23692. name: resourcename
  23693. type: string
  23694. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  23695. in: query
  23696. name: menutype
  23697. type: string
  23698. produces:
  23699. - application/json
  23700. responses:
  23701. "200":
  23702. description: OK
  23703. schema:
  23704. items:
  23705. $ref: '#/definitions/models.NewFuncmenulist'
  23706. type: array
  23707. "500":
  23708. description: Internal Server Error
  23709. schema:
  23710. $ref: '#/definitions/app.Response'
  23711. security:
  23712. - ApiKeyAuth: []
  23713. summary: 获取菜单表数据
  23714. tags:
  23715. - 通用服务
  23716. /Common/GetAllEnums:
  23717. get:
  23718. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  23719. parameters:
  23720. - description: 起始自增ID
  23721. in: query
  23722. name: autoid
  23723. type: integer
  23724. produces:
  23725. - application/json
  23726. responses:
  23727. "200":
  23728. description: OK
  23729. schema:
  23730. $ref: '#/definitions/models.Enumdicitem'
  23731. "500":
  23732. description: Internal Server Error
  23733. schema:
  23734. $ref: '#/definitions/app.Response'
  23735. summary: 获取所有枚举信息
  23736. tags:
  23737. - 通用服务
  23738. /Common/GetClientMenus:
  23739. get:
  23740. parameters:
  23741. - description: 登录账号
  23742. in: query
  23743. name: loginID
  23744. required: true
  23745. type: integer
  23746. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  23747. in: query
  23748. name: clientType
  23749. type: integer
  23750. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  23751. in: query
  23752. name: name
  23753. type: string
  23754. produces:
  23755. - application/json
  23756. responses:
  23757. "200":
  23758. description: OK
  23759. schema:
  23760. items:
  23761. $ref: '#/definitions/common.ClientMenu'
  23762. type: array
  23763. "500":
  23764. description: Internal Server Error
  23765. schema:
  23766. $ref: '#/definitions/app.Response'
  23767. security:
  23768. - ApiKeyAuth: []
  23769. summary: 获取交易端菜单
  23770. tags:
  23771. - 通用服务
  23772. /Common/GetClientNewFuncmenu:
  23773. get:
  23774. parameters:
  23775. - description: 登录账号
  23776. in: query
  23777. name: loginid
  23778. required: true
  23779. type: integer
  23780. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  23781. in: query
  23782. name: menutype
  23783. required: true
  23784. type: integer
  23785. produces:
  23786. - application/json
  23787. responses:
  23788. "200":
  23789. description: OK
  23790. schema:
  23791. items:
  23792. $ref: '#/definitions/models.NewFuncmenulist'
  23793. type: array
  23794. "500":
  23795. description: Internal Server Error
  23796. schema:
  23797. $ref: '#/definitions/app.Response'
  23798. security:
  23799. - ApiKeyAuth: []
  23800. summary: 获取终端菜单
  23801. tags:
  23802. - 通用服务
  23803. /Common/GetDivisions:
  23804. get:
  23805. produces:
  23806. - application/json
  23807. responses:
  23808. "200":
  23809. description: OK
  23810. schema:
  23811. $ref: '#/definitions/models.Division'
  23812. "500":
  23813. description: Internal Server Error
  23814. schema:
  23815. $ref: '#/definitions/app.Response'
  23816. summary: 查询区域信息
  23817. tags:
  23818. - 通用服务
  23819. /Common/GetPCWebMenus:
  23820. get:
  23821. parameters:
  23822. - description: 登录账号
  23823. in: query
  23824. name: loginID
  23825. required: true
  23826. type: integer
  23827. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  23828. in: query
  23829. name: name
  23830. type: string
  23831. produces:
  23832. - application/json
  23833. responses:
  23834. "200":
  23835. description: OK
  23836. schema:
  23837. items:
  23838. $ref: '#/definitions/common.PCWebMenu'
  23839. type: array
  23840. "500":
  23841. description: Internal Server Error
  23842. schema:
  23843. $ref: '#/definitions/app.Response'
  23844. security:
  23845. - ApiKeyAuth: []
  23846. summary: 获取PCWeb交易端菜单
  23847. tags:
  23848. - 通用服务
  23849. /Common/GetServerTime:
  23850. get:
  23851. produces:
  23852. - application/json
  23853. responses:
  23854. "200":
  23855. description: OK
  23856. schema:
  23857. $ref: '#/definitions/app.Response'
  23858. "500":
  23859. description: Internal Server Error
  23860. schema:
  23861. $ref: '#/definitions/app.Response'
  23862. summary: 获取服务器时间
  23863. tags:
  23864. - 通用服务
  23865. /Common/InsertNewFuncmenu:
  23866. post:
  23867. consumes:
  23868. - application/json
  23869. parameters:
  23870. - description: 菜单表数据
  23871. in: body
  23872. name: data
  23873. required: true
  23874. schema:
  23875. $ref: '#/definitions/models.NewFuncmenulist'
  23876. produces:
  23877. - application/json
  23878. responses:
  23879. "200":
  23880. description: OK
  23881. schema:
  23882. $ref: '#/definitions/app.Response'
  23883. "500":
  23884. description: Internal Server Error
  23885. schema:
  23886. $ref: '#/definitions/app.Response'
  23887. security:
  23888. - ApiKeyAuth: []
  23889. summary: 插入菜单表数据
  23890. tags:
  23891. - 通用服务
  23892. /Common/NoticeReaded:
  23893. post:
  23894. parameters:
  23895. - description: 登录账号
  23896. in: query
  23897. name: loginID
  23898. required: true
  23899. type: integer
  23900. - description: 通知公告ID
  23901. in: query
  23902. name: noticeID
  23903. required: true
  23904. type: integer
  23905. produces:
  23906. - application/json
  23907. responses:
  23908. "200":
  23909. description: OK
  23910. schema:
  23911. $ref: '#/definitions/app.Response'
  23912. "500":
  23913. description: Internal Server Error
  23914. schema:
  23915. $ref: '#/definitions/app.Response'
  23916. security:
  23917. - ApiKeyAuth: []
  23918. summary: 通知公告设置已读请求
  23919. tags:
  23920. - 通用服务
  23921. /Common/QueryErrorInfos:
  23922. get:
  23923. description: 如果传入rowNumber,则返回此rowNumber后的数据
  23924. parameters:
  23925. - description: 起始行号前索引
  23926. in: query
  23927. name: rowNumber
  23928. type: string
  23929. produces:
  23930. - application/json
  23931. responses:
  23932. "200":
  23933. description: OK
  23934. schema:
  23935. $ref: '#/definitions/models.QueryErrorInfosRsp'
  23936. "500":
  23937. description: Internal Server Error
  23938. schema:
  23939. $ref: '#/definitions/app.Response'
  23940. summary: 获取数据库错误信息
  23941. tags:
  23942. - 通用服务
  23943. /Common/QueryImageConfigs:
  23944. get:
  23945. parameters:
  23946. - description: 用户id
  23947. in: query
  23948. name: userId
  23949. type: integer
  23950. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  23951. in: query
  23952. name: imageType
  23953. type: integer
  23954. produces:
  23955. - application/json
  23956. responses:
  23957. "200":
  23958. description: OK
  23959. schema:
  23960. $ref: '#/definitions/common.QueryImageConfigsRsp'
  23961. "500":
  23962. description: Internal Server Error
  23963. schema:
  23964. $ref: '#/definitions/app.Response'
  23965. summary: 查询轮播图配置信息
  23966. tags:
  23967. - 通用服务
  23968. /Common/QueryNotice:
  23969. get:
  23970. parameters:
  23971. - description: 页码
  23972. in: query
  23973. name: page
  23974. type: integer
  23975. - description: 每页条数
  23976. in: query
  23977. name: pagesize
  23978. type: integer
  23979. - description: 登录账号
  23980. in: query
  23981. name: loginID
  23982. required: true
  23983. type: integer
  23984. - description: 消息类型 - 1:公告通知 2:系统消息
  23985. in: query
  23986. name: msgType
  23987. type: integer
  23988. - description: 是否只获取未读信息
  23989. in: query
  23990. name: onlyUnRead
  23991. type: boolean
  23992. - description: 自增ID,传入后会返回这个ID后面的记录
  23993. in: query
  23994. name: lastID
  23995. type: integer
  23996. produces:
  23997. - application/json
  23998. responses:
  23999. "200":
  24000. description: OK
  24001. schema:
  24002. $ref: '#/definitions/common.QueryNoticeRsp'
  24003. "500":
  24004. description: Internal Server Error
  24005. schema:
  24006. $ref: '#/definitions/app.Response'
  24007. security:
  24008. - ApiKeyAuth: []
  24009. summary: 通知公告系统消息查询
  24010. tags:
  24011. - 通用服务
  24012. /Common/QueryProvincesAndCities:
  24013. get:
  24014. parameters:
  24015. - description: 省ID
  24016. in: query
  24017. name: provinceID
  24018. type: integer
  24019. produces:
  24020. - application/json
  24021. responses:
  24022. "200":
  24023. description: OK
  24024. schema:
  24025. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  24026. "500":
  24027. description: Internal Server Error
  24028. schema:
  24029. $ref: '#/definitions/app.Response'
  24030. summary: 查询省市信息(不包括区)
  24031. tags:
  24032. - 通用服务
  24033. /Common/QueryRates:
  24034. get:
  24035. parameters:
  24036. - description: 页码
  24037. in: query
  24038. name: page
  24039. type: integer
  24040. - description: 每页条数
  24041. in: query
  24042. name: pagesize
  24043. type: integer
  24044. - description: 源币种ID
  24045. in: query
  24046. name: oricurrencyid
  24047. type: integer
  24048. - description: 目标币种ID
  24049. in: query
  24050. name: descurrencyid
  24051. type: integer
  24052. produces:
  24053. - application/json
  24054. responses:
  24055. "200":
  24056. description: OK
  24057. schema:
  24058. items:
  24059. $ref: '#/definitions/models.Exchangerateconfig'
  24060. type: array
  24061. "500":
  24062. description: Internal Server Error
  24063. schema:
  24064. $ref: '#/definitions/app.Response'
  24065. security:
  24066. - ApiKeyAuth: []
  24067. - LoginID: []
  24068. - Group: []
  24069. summary: 查询汇率信息
  24070. tags:
  24071. - 通用服务
  24072. /Common/QueryTableDefine:
  24073. get:
  24074. parameters:
  24075. - description: 表key
  24076. in: query
  24077. name: tableKey
  24078. type: string
  24079. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  24080. in: query
  24081. name: tableType
  24082. type: integer
  24083. produces:
  24084. - application/json
  24085. responses:
  24086. "200":
  24087. description: OK
  24088. schema:
  24089. $ref: '#/definitions/common.QueryTableDefineRsp'
  24090. "500":
  24091. description: Internal Server Error
  24092. schema:
  24093. $ref: '#/definitions/app.Response'
  24094. summary: 查询交易端列表头信息
  24095. tags:
  24096. - 通用服务
  24097. /Common/QueryTraderMenu:
  24098. get:
  24099. parameters:
  24100. - description: 登录账号
  24101. in: query
  24102. name: loginid
  24103. required: true
  24104. type: integer
  24105. produces:
  24106. - application/json
  24107. responses:
  24108. "200":
  24109. description: OK
  24110. schema:
  24111. $ref: '#/definitions/common.QueryTraderMenuRsp'
  24112. "500":
  24113. description: Internal Server Error
  24114. schema:
  24115. $ref: '#/definitions/app.Response'
  24116. summary: 查询交易端菜单
  24117. tags:
  24118. - 通用服务
  24119. /Common/UpdateNewFuncmenu:
  24120. put:
  24121. consumes:
  24122. - application/json
  24123. parameters:
  24124. - description: 菜单表数据
  24125. in: body
  24126. name: data
  24127. required: true
  24128. schema:
  24129. $ref: '#/definitions/models.NewFuncmenulist'
  24130. produces:
  24131. - application/json
  24132. responses:
  24133. "200":
  24134. description: OK
  24135. schema:
  24136. $ref: '#/definitions/app.Response'
  24137. "500":
  24138. description: Internal Server Error
  24139. schema:
  24140. $ref: '#/definitions/app.Response'
  24141. security:
  24142. - ApiKeyAuth: []
  24143. summary: 更新菜单表数据
  24144. tags:
  24145. - 通用服务
  24146. /Delivery/QueryDeliveryRelation:
  24147. get:
  24148. parameters:
  24149. - description: 商品ID
  24150. in: query
  24151. name: goodsid
  24152. type: integer
  24153. - description: 品种ID
  24154. in: query
  24155. name: deliverygoodsid
  24156. type: integer
  24157. - description: 市场ID
  24158. in: query
  24159. name: marketid
  24160. type: integer
  24161. produces:
  24162. - application/json
  24163. responses:
  24164. "200":
  24165. description: OK
  24166. schema:
  24167. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  24168. "500":
  24169. description: Internal Server Error
  24170. schema:
  24171. $ref: '#/definitions/app.Response'
  24172. security:
  24173. - ApiKeyAuth: []
  24174. summary: 查询商品交割关系表
  24175. tags:
  24176. - 交割服务
  24177. /Ermcp/GetErmcpGoods:
  24178. get:
  24179. parameters:
  24180. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  24181. in: query
  24182. name: userid
  24183. type: integer
  24184. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24185. in: query
  24186. name: lastUpdateTime
  24187. type: string
  24188. produces:
  24189. - application/json
  24190. responses:
  24191. "200":
  24192. description: OK
  24193. schema:
  24194. $ref: '#/definitions/models.ErmcpGoods'
  24195. "500":
  24196. description: Internal Server Error
  24197. schema:
  24198. $ref: '#/definitions/app.Response'
  24199. security:
  24200. - ApiKeyAuth: []
  24201. summary: 查询企业风管期货商品信息
  24202. tags:
  24203. - 企业风险管理(app)
  24204. /Ermcp/GetErmcpGoodsSortByPosition:
  24205. get:
  24206. parameters:
  24207. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  24208. in: query
  24209. name: sortIndex
  24210. type: string
  24211. produces:
  24212. - application/json
  24213. responses:
  24214. "200":
  24215. description: OK
  24216. schema:
  24217. $ref: '#/definitions/models.Goodssortbypreposition'
  24218. "500":
  24219. description: Internal Server Error
  24220. schema:
  24221. $ref: '#/definitions/app.Response'
  24222. security:
  24223. - ApiKeyAuth: []
  24224. summary: 查询企业风管期货主力、次主力商品信息
  24225. tags:
  24226. - 企业风险管理(app)
  24227. /Ermcp/GetErmcpOutAccountStatus:
  24228. get:
  24229. parameters:
  24230. - description: 登录账号
  24231. in: query
  24232. name: loginID
  24233. required: true
  24234. type: integer
  24235. produces:
  24236. - application/json
  24237. responses:
  24238. "200":
  24239. description: OK
  24240. schema:
  24241. $ref: '#/definitions/models.Hedgemarketopenlog'
  24242. "500":
  24243. description: Internal Server Error
  24244. schema:
  24245. $ref: '#/definitions/app.Response'
  24246. security:
  24247. - ApiKeyAuth: []
  24248. summary: 获取目标登录账号当前对冲账号在线状态
  24249. tags:
  24250. - 企业风险管理(app)
  24251. /Ermcp/GetErmcpRoleFuncMenuLists:
  24252. get:
  24253. parameters:
  24254. - description: 登录账号
  24255. in: query
  24256. name: loginID
  24257. required: true
  24258. type: integer
  24259. produces:
  24260. - application/json
  24261. responses:
  24262. "200":
  24263. description: OK
  24264. schema:
  24265. $ref: '#/definitions/models.Funcmenulist'
  24266. "500":
  24267. description: Internal Server Error
  24268. schema:
  24269. $ref: '#/definitions/app.Response'
  24270. security:
  24271. - ApiKeyAuth: []
  24272. summary: 获取企业风管终端权限
  24273. tags:
  24274. - 企业风险管理(app)
  24275. /Ermcp/QueryAccMgrBizGroupSet:
  24276. get:
  24277. parameters:
  24278. - description: 用户ID
  24279. in: query
  24280. name: userid
  24281. required: true
  24282. type: integer
  24283. - description: 现货商品id
  24284. in: query
  24285. name: deliverygoodsid
  24286. type: integer
  24287. produces:
  24288. - application/json
  24289. responses:
  24290. "200":
  24291. description: OK
  24292. schema:
  24293. items:
  24294. $ref: '#/definitions/models.ErmcpBizGroupEx'
  24295. type: array
  24296. "500":
  24297. description: Internal Server Error
  24298. schema:
  24299. $ref: '#/definitions/app.Response'
  24300. security:
  24301. - ApiKeyAuth: []
  24302. summary: 查询业务类型分组(账户管理/账户设置)
  24303. tags:
  24304. - 企业风险管理(app)
  24305. /Ermcp/QueryAccMgrLoginUser:
  24306. get:
  24307. parameters:
  24308. - description: 用户ID
  24309. in: query
  24310. name: userid
  24311. required: true
  24312. type: integer
  24313. - description: 用户类型 2-机构 7-企业成员
  24314. in: query
  24315. name: usertype
  24316. type: integer
  24317. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  24318. in: query
  24319. name: querytype
  24320. required: true
  24321. type: integer
  24322. produces:
  24323. - application/json
  24324. responses:
  24325. "200":
  24326. description: OK
  24327. schema:
  24328. items:
  24329. $ref: '#/definitions/models.ErmcpLoginUserEx'
  24330. type: array
  24331. "500":
  24332. description: Internal Server Error
  24333. schema:
  24334. $ref: '#/definitions/app.Response'
  24335. security:
  24336. - ApiKeyAuth: []
  24337. summary: 查询账户管理登录账号(账户管理/登录账号)
  24338. tags:
  24339. - 企业风险管理(app)
  24340. /Ermcp/QueryAccMgrMainAccountInfo:
  24341. get:
  24342. parameters:
  24343. - description: 用户ID
  24344. in: query
  24345. name: userid
  24346. type: integer
  24347. - description: 主账号id
  24348. in: query
  24349. name: accountid
  24350. type: integer
  24351. produces:
  24352. - application/json
  24353. responses:
  24354. "200":
  24355. description: OK
  24356. schema:
  24357. items:
  24358. $ref: '#/definitions/models.MainAccountInfo'
  24359. type: array
  24360. "500":
  24361. description: Internal Server Error
  24362. schema:
  24363. $ref: '#/definitions/app.Response'
  24364. security:
  24365. - ApiKeyAuth: []
  24366. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  24367. tags:
  24368. - 企业风险管理(app)
  24369. /Ermcp/QueryAccMgrRole:
  24370. get:
  24371. parameters:
  24372. - description: 用户ID
  24373. in: query
  24374. name: userid
  24375. required: true
  24376. type: integer
  24377. produces:
  24378. - application/json
  24379. responses:
  24380. "200":
  24381. description: OK
  24382. schema:
  24383. items:
  24384. $ref: '#/definitions/models.ErmcpRole'
  24385. type: array
  24386. "500":
  24387. description: Internal Server Error
  24388. schema:
  24389. $ref: '#/definitions/app.Response'
  24390. security:
  24391. - ApiKeyAuth: []
  24392. summary: 查询账户管理角色设置(账户管理/角色设置)
  24393. tags:
  24394. - 企业风险管理(app)
  24395. /Ermcp/QueryAccMgrRoleMenu:
  24396. get:
  24397. parameters:
  24398. - description: 用户ID
  24399. in: query
  24400. name: userid
  24401. required: true
  24402. type: integer
  24403. - description: 角色id(可多个,逗号隔开)
  24404. in: query
  24405. name: roleid
  24406. type: string
  24407. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  24408. in: query
  24409. name: menutype
  24410. type: integer
  24411. produces:
  24412. - application/json
  24413. responses:
  24414. "200":
  24415. description: OK
  24416. schema:
  24417. items:
  24418. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  24419. type: array
  24420. "500":
  24421. description: Internal Server Error
  24422. schema:
  24423. $ref: '#/definitions/app.Response'
  24424. security:
  24425. - ApiKeyAuth: []
  24426. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  24427. tags:
  24428. - 企业风险管理(app)
  24429. /Ermcp/QueryAccMgrTaAccountInfo:
  24430. get:
  24431. parameters:
  24432. - description: 用户ID
  24433. in: query
  24434. name: userid
  24435. required: true
  24436. type: integer
  24437. - description: 账号id
  24438. in: query
  24439. name: accountid
  24440. type: integer
  24441. produces:
  24442. - application/json
  24443. responses:
  24444. "200":
  24445. description: OK
  24446. schema:
  24447. items:
  24448. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  24449. type: array
  24450. "500":
  24451. description: Internal Server Error
  24452. schema:
  24453. $ref: '#/definitions/app.Response'
  24454. security:
  24455. - ApiKeyAuth: []
  24456. summary: 查询账户管理授信(账户管理/账户设置/授信)
  24457. tags:
  24458. - 企业风险管理(app)
  24459. /Ermcp/QueryAccMgrTaaccount:
  24460. get:
  24461. parameters:
  24462. - description: 用户ID
  24463. in: query
  24464. name: userid
  24465. required: true
  24466. type: integer
  24467. produces:
  24468. - application/json
  24469. responses:
  24470. "200":
  24471. description: OK
  24472. schema:
  24473. items:
  24474. $ref: '#/definitions/models.ErmcpTaAccountEx'
  24475. type: array
  24476. "500":
  24477. description: Internal Server Error
  24478. schema:
  24479. $ref: '#/definitions/app.Response'
  24480. security:
  24481. - ApiKeyAuth: []
  24482. summary: 查询账户管理期货账号(账户管理/期货账号)
  24483. tags:
  24484. - 企业风险管理(app)
  24485. /Ermcp/QueryAvaildGoodsGroup:
  24486. get:
  24487. parameters:
  24488. - description: 所属机构ID
  24489. in: query
  24490. name: userid
  24491. required: true
  24492. type: integer
  24493. produces:
  24494. - application/json
  24495. responses:
  24496. "200":
  24497. description: OK
  24498. schema:
  24499. items:
  24500. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  24501. type: array
  24502. "500":
  24503. description: Internal Server Error
  24504. schema:
  24505. $ref: '#/definitions/app.Response'
  24506. security:
  24507. - ApiKeyAuth: []
  24508. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  24509. tags:
  24510. - 企业风险管理(app)
  24511. /Ermcp/QueryBusinessDj:
  24512. get:
  24513. parameters:
  24514. - description: 用户ID
  24515. in: query
  24516. name: UserId
  24517. required: true
  24518. type: integer
  24519. - description: 用户类型 2-机构 7-企业成员
  24520. in: query
  24521. name: usertype
  24522. type: integer
  24523. - description: 现货合同ID, 不填则查所有
  24524. in: query
  24525. name: relatedid
  24526. type: string
  24527. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24528. in: query
  24529. name: applystatus
  24530. type: string
  24531. produces:
  24532. - application/json
  24533. responses:
  24534. "200":
  24535. description: OK
  24536. schema:
  24537. items:
  24538. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  24539. type: array
  24540. "500":
  24541. description: Internal Server Error
  24542. schema:
  24543. $ref: '#/definitions/app.Response'
  24544. security:
  24545. - ApiKeyAuth: []
  24546. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  24547. tags:
  24548. - 企业风险管理(app)
  24549. /Ermcp/QueryBusinessFp:
  24550. get:
  24551. parameters:
  24552. - description: 用户ID
  24553. in: query
  24554. name: UserId
  24555. required: true
  24556. type: integer
  24557. - description: 用户类型 2-机构 7-企业成员
  24558. in: query
  24559. name: usertype
  24560. type: integer
  24561. - description: 现货合同ID, 不填则查所有
  24562. in: query
  24563. name: relatedid
  24564. type: string
  24565. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24566. in: query
  24567. name: applystatus
  24568. type: string
  24569. produces:
  24570. - application/json
  24571. responses:
  24572. "200":
  24573. description: OK
  24574. schema:
  24575. items:
  24576. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  24577. type: array
  24578. "500":
  24579. description: Internal Server Error
  24580. schema:
  24581. $ref: '#/definitions/app.Response'
  24582. security:
  24583. - ApiKeyAuth: []
  24584. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  24585. tags:
  24586. - 企业风险管理(app)
  24587. /Ermcp/QueryBusinessJs:
  24588. get:
  24589. parameters:
  24590. - description: 用户ID
  24591. in: query
  24592. name: UserId
  24593. required: true
  24594. type: integer
  24595. - description: 用户类型 2-机构 7-企业成员
  24596. in: query
  24597. name: usertype
  24598. type: integer
  24599. - description: 现货合同ID, 不填则查所有
  24600. in: query
  24601. name: relatedid
  24602. type: string
  24603. - description: 操作申请id
  24604. in: query
  24605. name: operateapplyid
  24606. type: string
  24607. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24608. in: query
  24609. name: applystatus
  24610. type: string
  24611. produces:
  24612. - application/json
  24613. responses:
  24614. "200":
  24615. description: OK
  24616. schema:
  24617. items:
  24618. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  24619. type: array
  24620. "500":
  24621. description: Internal Server Error
  24622. schema:
  24623. $ref: '#/definitions/app.Response'
  24624. security:
  24625. - ApiKeyAuth: []
  24626. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  24627. tags:
  24628. - 企业风险管理(app)
  24629. /Ermcp/QueryBusinessJsEx:
  24630. get:
  24631. parameters:
  24632. - description: 用户ID
  24633. in: query
  24634. name: UserId
  24635. required: true
  24636. type: integer
  24637. - description: 用户类型 2-机构 7-企业成员
  24638. in: query
  24639. name: usertype
  24640. type: integer
  24641. - description: 现货合同ID, 不填则查所有
  24642. in: query
  24643. name: relatedid
  24644. type: string
  24645. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24646. in: query
  24647. name: applystatus
  24648. type: string
  24649. produces:
  24650. - application/json
  24651. responses:
  24652. "200":
  24653. description: OK
  24654. schema:
  24655. items:
  24656. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  24657. type: array
  24658. "500":
  24659. description: Internal Server Error
  24660. schema:
  24661. $ref: '#/definitions/app.Response'
  24662. security:
  24663. - ApiKeyAuth: []
  24664. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  24665. tags:
  24666. - 企业风险管理(app)
  24667. /Ermcp/QueryBusinessKx:
  24668. get:
  24669. parameters:
  24670. - description: 用户ID
  24671. in: query
  24672. name: UserId
  24673. required: true
  24674. type: integer
  24675. - description: 用户类型 2-机构 7-企业成员
  24676. in: query
  24677. name: usertype
  24678. type: integer
  24679. - description: 现货合同ID, 不填则查所有
  24680. in: query
  24681. name: relatedid
  24682. type: string
  24683. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24684. in: query
  24685. name: applystatus
  24686. type: string
  24687. produces:
  24688. - application/json
  24689. responses:
  24690. "200":
  24691. description: OK
  24692. schema:
  24693. items:
  24694. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  24695. type: array
  24696. "500":
  24697. description: Internal Server Error
  24698. schema:
  24699. $ref: '#/definitions/app.Response'
  24700. security:
  24701. - ApiKeyAuth: []
  24702. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  24703. tags:
  24704. - 企业风险管理(app)
  24705. /Ermcp/QueryChangeLog:
  24706. get:
  24707. parameters:
  24708. - description: 合同ID
  24709. in: query
  24710. name: RelatedId
  24711. required: true
  24712. type: string
  24713. produces:
  24714. - application/json
  24715. responses:
  24716. "200":
  24717. description: OK
  24718. schema:
  24719. items:
  24720. $ref: '#/definitions/ermcp.QryOPLogRsp'
  24721. type: array
  24722. "500":
  24723. description: Internal Server Error
  24724. schema:
  24725. $ref: '#/definitions/app.Response'
  24726. security:
  24727. - ApiKeyAuth: []
  24728. summary: 查询变更记录
  24729. tags:
  24730. - 企业风险管理(app)
  24731. /Ermcp/QueryErmcpHisOrderDetails:
  24732. get:
  24733. parameters:
  24734. - description: 资金账户ID
  24735. in: query
  24736. name: accountID
  24737. required: true
  24738. type: integer
  24739. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24740. in: query
  24741. name: startDate
  24742. type: string
  24743. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24744. in: query
  24745. name: endDate
  24746. type: string
  24747. produces:
  24748. - application/json
  24749. responses:
  24750. "200":
  24751. description: OK
  24752. schema:
  24753. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  24754. "500":
  24755. description: Internal Server Error
  24756. schema:
  24757. $ref: '#/definitions/app.Response'
  24758. security:
  24759. - ApiKeyAuth: []
  24760. summary: 获取企业风管期货历史委托单信息
  24761. tags:
  24762. - 企业风险管理(app)
  24763. /Ermcp/QueryErmcpHisTradeDetails:
  24764. get:
  24765. parameters:
  24766. - description: 资金账户ID
  24767. in: query
  24768. name: accountID
  24769. required: true
  24770. type: integer
  24771. - description: 商品ID
  24772. in: query
  24773. name: goodsID
  24774. type: integer
  24775. - description: 买卖方向,0:买 1:卖
  24776. in: query
  24777. name: buyOrSell
  24778. type: integer
  24779. - description: 关联委托单号
  24780. in: query
  24781. name: orderID
  24782. type: integer
  24783. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24784. in: query
  24785. name: startDate
  24786. type: string
  24787. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24788. in: query
  24789. name: endDate
  24790. type: string
  24791. produces:
  24792. - application/json
  24793. responses:
  24794. "200":
  24795. description: OK
  24796. schema:
  24797. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  24798. "500":
  24799. description: Internal Server Error
  24800. schema:
  24801. $ref: '#/definitions/app.Response'
  24802. security:
  24803. - ApiKeyAuth: []
  24804. summary: 获取企业风管期货历史成交单信息
  24805. tags:
  24806. - 企业风险管理(app)
  24807. /Ermcp/QueryErmcpInnerHolderDetails:
  24808. get:
  24809. parameters:
  24810. - description: 资金账户ID
  24811. in: query
  24812. name: accountID
  24813. required: true
  24814. type: integer
  24815. - description: 商品ID
  24816. in: query
  24817. name: goodsID
  24818. type: integer
  24819. - description: 买卖方向,0:买 1:卖
  24820. in: query
  24821. name: buyOrSell
  24822. type: integer
  24823. produces:
  24824. - application/json
  24825. responses:
  24826. "200":
  24827. description: OK
  24828. schema:
  24829. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  24830. "500":
  24831. description: Internal Server Error
  24832. schema:
  24833. $ref: '#/definitions/app.Response'
  24834. security:
  24835. - ApiKeyAuth: []
  24836. summary: 获取企业风管期货内部持仓单信息
  24837. tags:
  24838. - 企业风险管理(app)
  24839. /Ermcp/QueryErmcpOrderDetails:
  24840. get:
  24841. parameters:
  24842. - description: 资金账户ID
  24843. in: query
  24844. name: accountID
  24845. required: true
  24846. type: integer
  24847. produces:
  24848. - application/json
  24849. responses:
  24850. "200":
  24851. description: OK
  24852. schema:
  24853. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  24854. "500":
  24855. description: Internal Server Error
  24856. schema:
  24857. $ref: '#/definitions/app.Response'
  24858. security:
  24859. - ApiKeyAuth: []
  24860. summary: 获取企业风管期货委托单信息
  24861. tags:
  24862. - 企业风险管理(app)
  24863. /Ermcp/QueryErmcpTradeDetails:
  24864. get:
  24865. parameters:
  24866. - description: 资金账户ID
  24867. in: query
  24868. name: accountID
  24869. required: true
  24870. type: integer
  24871. - description: 商品ID
  24872. in: query
  24873. name: goodsID
  24874. type: integer
  24875. - description: 买卖方向,0:买 1:卖
  24876. in: query
  24877. name: buyOrSell
  24878. type: integer
  24879. - description: 关联委托单号
  24880. in: query
  24881. name: orderID
  24882. type: integer
  24883. produces:
  24884. - application/json
  24885. responses:
  24886. "200":
  24887. description: OK
  24888. schema:
  24889. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  24890. "500":
  24891. description: Internal Server Error
  24892. schema:
  24893. $ref: '#/definitions/app.Response'
  24894. security:
  24895. - ApiKeyAuth: []
  24896. summary: 获取企业风管期货成交单信息
  24897. tags:
  24898. - 企业风险管理(app)
  24899. /Ermcp/QueryErmcpTradePosition:
  24900. get:
  24901. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  24902. parameters:
  24903. - description: 资金账户ID
  24904. in: query
  24905. name: accountID
  24906. required: true
  24907. type: integer
  24908. - description: 所属市场ID
  24909. in: query
  24910. name: marketID
  24911. type: integer
  24912. produces:
  24913. - application/json
  24914. responses:
  24915. "200":
  24916. description: OK
  24917. schema:
  24918. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  24919. "500":
  24920. description: Internal Server Error
  24921. schema:
  24922. $ref: '#/definitions/app.Response'
  24923. security:
  24924. - ApiKeyAuth: []
  24925. summary: 获取企业风管期货持仓头寸信息
  24926. tags:
  24927. - 企业风险管理(app)
  24928. /Ermcp/QueryExposureDetail:
  24929. get:
  24930. parameters:
  24931. - description: 所属机构ID
  24932. in: query
  24933. name: areaUserId
  24934. required: true
  24935. type: integer
  24936. - description: 套保商品
  24937. in: query
  24938. name: middleGoodsId
  24939. required: true
  24940. type: integer
  24941. produces:
  24942. - application/json
  24943. responses:
  24944. "200":
  24945. description: OK
  24946. schema:
  24947. items:
  24948. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  24949. type: array
  24950. "500":
  24951. description: Internal Server Error
  24952. schema:
  24953. $ref: '#/definitions/app.Response'
  24954. security:
  24955. - ApiKeyAuth: []
  24956. summary: 查询敞口现货明细
  24957. tags:
  24958. - 企业风险管理(app)
  24959. /Ermcp/QueryExposureGoods:
  24960. get:
  24961. parameters:
  24962. - description: 套保商品id
  24963. in: query
  24964. name: middlegoodsid
  24965. required: true
  24966. type: integer
  24967. produces:
  24968. - application/json
  24969. responses:
  24970. "200":
  24971. description: OK
  24972. schema:
  24973. items:
  24974. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  24975. type: array
  24976. "500":
  24977. description: Internal Server Error
  24978. schema:
  24979. $ref: '#/definitions/app.Response'
  24980. security:
  24981. - ApiKeyAuth: []
  24982. summary: 查询敞口主力合约
  24983. tags:
  24984. - 企业风险管理(app)
  24985. /Ermcp/QueryExposureHedgePosition:
  24986. get:
  24987. parameters:
  24988. - description: 用户id
  24989. in: query
  24990. name: userid
  24991. required: true
  24992. type: integer
  24993. produces:
  24994. - application/json
  24995. responses:
  24996. "200":
  24997. description: OK
  24998. schema:
  24999. items:
  25000. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  25001. type: array
  25002. "500":
  25003. description: Internal Server Error
  25004. schema:
  25005. $ref: '#/definitions/app.Response'
  25006. security:
  25007. - ApiKeyAuth: []
  25008. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  25009. tags:
  25010. - 企业风险管理(app)
  25011. /Ermcp/QueryExposureHedgePositionDetail:
  25012. get:
  25013. parameters:
  25014. - description: 所属机构ID
  25015. in: query
  25016. name: userid
  25017. required: true
  25018. type: integer
  25019. - description: 商品id
  25020. in: query
  25021. name: goodsId
  25022. required: true
  25023. type: integer
  25024. produces:
  25025. - application/json
  25026. responses:
  25027. "200":
  25028. description: OK
  25029. schema:
  25030. items:
  25031. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  25032. type: array
  25033. "500":
  25034. description: Internal Server Error
  25035. schema:
  25036. $ref: '#/definitions/app.Response'
  25037. security:
  25038. - ApiKeyAuth: []
  25039. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  25040. tags:
  25041. - 企业风险管理(app)
  25042. /Ermcp/QueryExposureSpot:
  25043. get:
  25044. parameters:
  25045. - description: 所属机构ID
  25046. in: query
  25047. name: areaUserId
  25048. required: true
  25049. type: integer
  25050. produces:
  25051. - application/json
  25052. responses:
  25053. "200":
  25054. description: OK
  25055. schema:
  25056. items:
  25057. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  25058. type: array
  25059. "500":
  25060. description: Internal Server Error
  25061. schema:
  25062. $ref: '#/definitions/app.Response'
  25063. security:
  25064. - ApiKeyAuth: []
  25065. summary: 查询敞口现货头寸(敞口/现货头寸)
  25066. tags:
  25067. - 企业风险管理(app)
  25068. /Ermcp/QueryExposureSpotDetail:
  25069. get:
  25070. parameters:
  25071. - description: 所属机构ID
  25072. in: query
  25073. name: areaUserId
  25074. required: true
  25075. type: integer
  25076. - description: 现货品种ID
  25077. in: query
  25078. name: wrstandardId
  25079. required: true
  25080. type: integer
  25081. produces:
  25082. - application/json
  25083. responses:
  25084. "200":
  25085. description: OK
  25086. schema:
  25087. items:
  25088. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  25089. type: array
  25090. "500":
  25091. description: Internal Server Error
  25092. schema:
  25093. $ref: '#/definitions/app.Response'
  25094. security:
  25095. - ApiKeyAuth: []
  25096. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  25097. tags:
  25098. - 企业风险管理(app)
  25099. /Ermcp/QueryFuturesCompany:
  25100. get:
  25101. produces:
  25102. - application/json
  25103. responses:
  25104. "200":
  25105. description: OK
  25106. schema:
  25107. items:
  25108. $ref: '#/definitions/models.ErmcpFuturesCompany'
  25109. type: array
  25110. "500":
  25111. description: Internal Server Error
  25112. schema:
  25113. $ref: '#/definitions/app.Response'
  25114. security:
  25115. - ApiKeyAuth: []
  25116. summary: 查询期货公司
  25117. tags:
  25118. - 企业风险管理(app)
  25119. /Ermcp/QueryGGConvertConfig:
  25120. get:
  25121. parameters:
  25122. - description: 品种id(不填则查所有)
  25123. in: query
  25124. name: goodsgroupid
  25125. type: integer
  25126. produces:
  25127. - application/json
  25128. responses:
  25129. "200":
  25130. description: OK
  25131. schema:
  25132. items:
  25133. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  25134. type: array
  25135. "500":
  25136. description: Internal Server Error
  25137. schema:
  25138. $ref: '#/definitions/app.Response'
  25139. security:
  25140. - ApiKeyAuth: []
  25141. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  25142. tags:
  25143. - 企业风险管理(app)
  25144. /Ermcp/QueryGoodsBrand:
  25145. get:
  25146. parameters:
  25147. - description: 用户ID
  25148. in: query
  25149. name: userid
  25150. required: true
  25151. type: integer
  25152. - description: 现货商品ID
  25153. in: query
  25154. name: wrstandardid
  25155. type: integer
  25156. produces:
  25157. - application/json
  25158. responses:
  25159. "200":
  25160. description: OK
  25161. schema:
  25162. items:
  25163. $ref: '#/definitions/models.ErmcpGoodsBrand'
  25164. type: array
  25165. "500":
  25166. description: Internal Server Error
  25167. schema:
  25168. $ref: '#/definitions/app.Response'
  25169. security:
  25170. - ApiKeyAuth: []
  25171. summary: 查询商品品牌
  25172. tags:
  25173. - 企业风险管理(app)
  25174. /Ermcp/QueryGoodsModel:
  25175. get:
  25176. parameters:
  25177. - description: 用户ID
  25178. in: query
  25179. name: userid
  25180. required: true
  25181. type: integer
  25182. produces:
  25183. - application/json
  25184. responses:
  25185. "200":
  25186. description: OK
  25187. schema:
  25188. items:
  25189. $ref: '#/definitions/models.ErmcpGoodsModel'
  25190. type: array
  25191. "500":
  25192. description: Internal Server Error
  25193. schema:
  25194. $ref: '#/definitions/app.Response'
  25195. security:
  25196. - ApiKeyAuth: []
  25197. summary: 查询商品型号
  25198. tags:
  25199. - 企业风险管理(app)
  25200. /Ermcp/QueryHisExposure:
  25201. get:
  25202. parameters:
  25203. - description: 用户id
  25204. in: query
  25205. name: userid
  25206. required: true
  25207. type: integer
  25208. - description: 每个品种记录数
  25209. in: query
  25210. name: lastNum
  25211. required: true
  25212. type: integer
  25213. produces:
  25214. - application/json
  25215. responses:
  25216. "200":
  25217. description: OK
  25218. schema:
  25219. items:
  25220. $ref: '#/definitions/ermcp.HisExposureRsp'
  25221. type: array
  25222. "500":
  25223. description: Internal Server Error
  25224. schema:
  25225. $ref: '#/definitions/app.Response'
  25226. security:
  25227. - ApiKeyAuth: []
  25228. summary: 查询历史敞口(菜单:敞口/历史敞口)
  25229. tags:
  25230. - 企业风险管理(app)
  25231. /Ermcp/QueryMiddleGoods:
  25232. get:
  25233. parameters:
  25234. - description: 所属机构ID
  25235. in: query
  25236. name: userid
  25237. required: true
  25238. type: integer
  25239. - description: 状态 0-停用 1-正常
  25240. in: query
  25241. name: status
  25242. required: true
  25243. type: integer
  25244. produces:
  25245. - application/json
  25246. responses:
  25247. "200":
  25248. description: OK
  25249. schema:
  25250. items:
  25251. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  25252. type: array
  25253. "500":
  25254. description: Internal Server Error
  25255. schema:
  25256. $ref: '#/definitions/app.Response'
  25257. security:
  25258. - ApiKeyAuth: []
  25259. summary: 查询套保品种(菜单:套保品种)
  25260. tags:
  25261. - 企业风险管理(app)
  25262. /Ermcp/QueryMiddleGoodsChangeLog:
  25263. get:
  25264. parameters:
  25265. - description: 所属机构ID
  25266. in: query
  25267. name: userid
  25268. required: true
  25269. type: integer
  25270. - description: 套保品种id
  25271. in: query
  25272. name: middlegoodsid
  25273. required: true
  25274. type: integer
  25275. produces:
  25276. - application/json
  25277. responses:
  25278. "200":
  25279. description: OK
  25280. schema:
  25281. items:
  25282. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  25283. type: array
  25284. "500":
  25285. description: Internal Server Error
  25286. schema:
  25287. $ref: '#/definitions/app.Response'
  25288. security:
  25289. - ApiKeyAuth: []
  25290. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  25291. tags:
  25292. - 企业风险管理(app)
  25293. /Ermcp/QueryMiddleGoodsDetail:
  25294. get:
  25295. parameters:
  25296. - description: 所属机构ID
  25297. in: query
  25298. name: userid
  25299. required: true
  25300. type: integer
  25301. - description: 套保品种id
  25302. in: query
  25303. name: middlegoodsid
  25304. type: integer
  25305. produces:
  25306. - application/json
  25307. responses:
  25308. "200":
  25309. description: OK
  25310. schema:
  25311. items:
  25312. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  25313. type: array
  25314. "500":
  25315. description: Internal Server Error
  25316. schema:
  25317. $ref: '#/definitions/app.Response'
  25318. security:
  25319. - ApiKeyAuth: []
  25320. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  25321. tags:
  25322. - 企业风险管理(app)
  25323. /Ermcp/QueryPendingAuditInfo:
  25324. get:
  25325. parameters:
  25326. - description: 用户ID
  25327. in: query
  25328. name: UserId
  25329. required: true
  25330. type: integer
  25331. produces:
  25332. - application/json
  25333. responses:
  25334. "200":
  25335. description: OK
  25336. schema:
  25337. items:
  25338. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  25339. type: array
  25340. "500":
  25341. description: Internal Server Error
  25342. schema:
  25343. $ref: '#/definitions/app.Response'
  25344. security:
  25345. - ApiKeyAuth: []
  25346. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  25347. tags:
  25348. - 企业风险管理(app)
  25349. /Ermcp/QueryRealtimeExposure:
  25350. get:
  25351. parameters:
  25352. - description: 所属机构ID
  25353. in: query
  25354. name: userid
  25355. required: true
  25356. type: integer
  25357. produces:
  25358. - application/json
  25359. responses:
  25360. "200":
  25361. description: OK
  25362. schema:
  25363. items:
  25364. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  25365. type: array
  25366. "500":
  25367. description: Internal Server Error
  25368. schema:
  25369. $ref: '#/definitions/app.Response'
  25370. security:
  25371. - ApiKeyAuth: []
  25372. summary: 查询实时敞口
  25373. tags:
  25374. - 企业风险管理(app)
  25375. /Ermcp/QueryRealtimeExposurePosition:
  25376. get:
  25377. parameters:
  25378. - description: 用户id
  25379. in: query
  25380. name: userid
  25381. required: true
  25382. type: integer
  25383. - description: 套保商品ID
  25384. in: query
  25385. name: middleGoodsId
  25386. required: true
  25387. type: integer
  25388. produces:
  25389. - application/json
  25390. responses:
  25391. "200":
  25392. description: OK
  25393. schema:
  25394. items:
  25395. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  25396. type: array
  25397. "500":
  25398. description: Internal Server Error
  25399. schema:
  25400. $ref: '#/definitions/app.Response'
  25401. security:
  25402. - ApiKeyAuth: []
  25403. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  25404. tags:
  25405. - 企业风险管理(app)
  25406. /Ermcp/QueryRoleMenu:
  25407. get:
  25408. parameters:
  25409. - description: 登录ID
  25410. in: query
  25411. name: loginid
  25412. required: true
  25413. type: integer
  25414. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  25415. in: query
  25416. name: menutype
  25417. type: integer
  25418. produces:
  25419. - application/json
  25420. responses:
  25421. "200":
  25422. description: OK
  25423. schema:
  25424. items:
  25425. $ref: '#/definitions/models.RoleMenu'
  25426. type: array
  25427. "500":
  25428. description: Internal Server Error
  25429. schema:
  25430. $ref: '#/definitions/app.Response'
  25431. security:
  25432. - ApiKeyAuth: []
  25433. summary: 查询角色菜单和权限
  25434. tags:
  25435. - 企业风险管理(app)
  25436. /Ermcp/QueryTradeConfigTMP:
  25437. get:
  25438. parameters:
  25439. - description: 所属机构id
  25440. in: query
  25441. name: areauserid
  25442. type: integer
  25443. produces:
  25444. - application/json
  25445. responses:
  25446. "200":
  25447. description: OK
  25448. schema:
  25449. items:
  25450. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  25451. type: array
  25452. "500":
  25453. description: Internal Server Error
  25454. schema:
  25455. $ref: '#/definitions/app.Response'
  25456. security:
  25457. - ApiKeyAuth: []
  25458. summary: 查询交易模板配置
  25459. tags:
  25460. - 企业风险管理(app)
  25461. /Ermcp/QueryUserInfo:
  25462. get:
  25463. parameters:
  25464. - description: 所属机构用户ID
  25465. in: query
  25466. name: MemberUserID
  25467. required: true
  25468. type: integer
  25469. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  25470. in: query
  25471. name: queryType
  25472. required: true
  25473. type: integer
  25474. produces:
  25475. - application/json
  25476. responses:
  25477. "200":
  25478. description: OK
  25479. schema:
  25480. items:
  25481. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  25482. type: array
  25483. "500":
  25484. description: Internal Server Error
  25485. schema:
  25486. $ref: '#/definitions/app.Response'
  25487. security:
  25488. - ApiKeyAuth: []
  25489. summary: 查询客户资料
  25490. tags:
  25491. - 企业风险管理(app)
  25492. /Ermcp/QueryWarehouseInfo:
  25493. get:
  25494. parameters:
  25495. - description: 用户ID
  25496. in: query
  25497. name: userid
  25498. required: true
  25499. type: integer
  25500. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  25501. in: query
  25502. name: status
  25503. type: string
  25504. produces:
  25505. - application/json
  25506. responses:
  25507. "200":
  25508. description: OK
  25509. schema:
  25510. items:
  25511. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  25512. type: array
  25513. "500":
  25514. description: Internal Server Error
  25515. schema:
  25516. $ref: '#/definitions/app.Response'
  25517. security:
  25518. - ApiKeyAuth: []
  25519. summary: 查询仓库信息
  25520. tags:
  25521. - 企业风险管理(app)
  25522. /Ermcp3/QryAreaExpourseContractDetail:
  25523. get:
  25524. parameters:
  25525. - description: 用户ID
  25526. in: query
  25527. name: userid
  25528. required: true
  25529. type: integer
  25530. - description: 套保商品id
  25531. in: query
  25532. name: middlegoodsid
  25533. required: true
  25534. type: integer
  25535. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25536. in: query
  25537. name: cycletype
  25538. required: true
  25539. type: integer
  25540. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25541. 全(0)【原值】
  25542. in: query
  25543. name: cycletime
  25544. required: true
  25545. type: string
  25546. produces:
  25547. - application/json
  25548. responses:
  25549. "200":
  25550. description: OK
  25551. schema:
  25552. items:
  25553. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  25554. type: array
  25555. "500":
  25556. description: Internal Server Error
  25557. schema:
  25558. $ref: '#/definitions/app.Response'
  25559. security:
  25560. - ApiKeyAuth: []
  25561. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  25562. tags:
  25563. - 企业风险管理v3(app)
  25564. /Ermcp3/QryAreaExpourseFutuDetail:
  25565. get:
  25566. parameters:
  25567. - description: 用户ID
  25568. in: query
  25569. name: userid
  25570. required: true
  25571. type: integer
  25572. - description: 套保商品id
  25573. in: query
  25574. name: middlegoodsid
  25575. required: true
  25576. type: integer
  25577. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25578. in: query
  25579. name: cycletype
  25580. required: true
  25581. type: integer
  25582. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25583. 全(0)【原值】
  25584. in: query
  25585. name: cycletime
  25586. required: true
  25587. type: string
  25588. produces:
  25589. - application/json
  25590. responses:
  25591. "200":
  25592. description: OK
  25593. schema:
  25594. items:
  25595. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  25596. type: array
  25597. "500":
  25598. description: Internal Server Error
  25599. schema:
  25600. $ref: '#/definitions/app.Response'
  25601. security:
  25602. - ApiKeyAuth: []
  25603. summary: 查询敞口期货明细(敞口报表/期货明细)
  25604. tags:
  25605. - 企业风险管理v3(app)
  25606. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  25607. get:
  25608. parameters:
  25609. - description: 用户ID
  25610. in: query
  25611. name: userid
  25612. required: true
  25613. type: integer
  25614. - description: 套保商品id
  25615. in: query
  25616. name: middlegoodsid
  25617. required: true
  25618. type: integer
  25619. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25620. in: query
  25621. name: cycletype
  25622. required: true
  25623. type: integer
  25624. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25625. 全(0)【原值】
  25626. in: query
  25627. name: cycletime
  25628. required: true
  25629. type: string
  25630. produces:
  25631. - application/json
  25632. responses:
  25633. "200":
  25634. description: OK
  25635. schema:
  25636. items:
  25637. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  25638. type: array
  25639. "500":
  25640. description: Internal Server Error
  25641. schema:
  25642. $ref: '#/definitions/app.Response'
  25643. security:
  25644. - ApiKeyAuth: []
  25645. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  25646. tags:
  25647. - 企业风险管理v3(app)
  25648. /Ermcp3/QryAreaExpourseParamChLogDetail:
  25649. get:
  25650. parameters:
  25651. - description: 用户ID
  25652. in: query
  25653. name: userid
  25654. required: true
  25655. type: integer
  25656. - description: 套保商品id
  25657. in: query
  25658. name: middlegoodsid
  25659. required: true
  25660. type: integer
  25661. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25662. in: query
  25663. name: cycletype
  25664. required: true
  25665. type: integer
  25666. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25667. 全(0)【原值】
  25668. in: query
  25669. name: cycletime
  25670. required: true
  25671. type: string
  25672. produces:
  25673. - application/json
  25674. responses:
  25675. "200":
  25676. description: OK
  25677. schema:
  25678. items:
  25679. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  25680. type: array
  25681. "500":
  25682. description: Internal Server Error
  25683. schema:
  25684. $ref: '#/definitions/app.Response'
  25685. security:
  25686. - ApiKeyAuth: []
  25687. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  25688. tags:
  25689. - 企业风险管理v3(app)
  25690. /Ermcp3/QryAreaExpourseReport:
  25691. get:
  25692. parameters:
  25693. - description: 用户ID
  25694. in: query
  25695. name: userid
  25696. required: true
  25697. type: integer
  25698. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  25699. in: query
  25700. name: querytype
  25701. required: true
  25702. type: integer
  25703. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25704. in: query
  25705. name: cycletype
  25706. required: true
  25707. type: integer
  25708. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25709. 全(0)【原值】
  25710. in: query
  25711. name: cycletime
  25712. required: true
  25713. type: string
  25714. produces:
  25715. - application/json
  25716. responses:
  25717. "200":
  25718. description: OK
  25719. schema:
  25720. items:
  25721. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  25722. type: array
  25723. "500":
  25724. description: Internal Server Error
  25725. schema:
  25726. $ref: '#/definitions/app.Response'
  25727. security:
  25728. - ApiKeyAuth: []
  25729. summary: 查询敞口报表
  25730. tags:
  25731. - 企业风险管理v3(app)
  25732. /Ermcp3/QryAreaSpotplReport:
  25733. get:
  25734. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  25735. parameters:
  25736. - description: 用户ID
  25737. in: query
  25738. name: userid
  25739. required: true
  25740. type: integer
  25741. - description: 查询类型 1-报表 2-报表明细
  25742. in: query
  25743. name: querytype
  25744. required: true
  25745. type: integer
  25746. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25747. in: query
  25748. name: cycletype
  25749. required: true
  25750. type: integer
  25751. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25752. 全(0)【原值】
  25753. in: query
  25754. name: cycletime
  25755. required: true
  25756. type: string
  25757. - description: 现货品种id(明细必填)
  25758. in: query
  25759. name: deliverygoodsid
  25760. type: integer
  25761. - description: 币种id(明细必填)
  25762. in: query
  25763. name: currencyid
  25764. type: integer
  25765. - description: 日/周/月报表汇总维度 1:品种+品类
  25766. in: query
  25767. name: sumflag
  25768. type: integer
  25769. produces:
  25770. - application/json
  25771. responses:
  25772. "200":
  25773. description: OK
  25774. schema:
  25775. items:
  25776. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  25777. type: array
  25778. "500":
  25779. description: Internal Server Error
  25780. schema:
  25781. $ref: '#/definitions/app.Response'
  25782. security:
  25783. - ApiKeyAuth: []
  25784. summary: 查询现货报表
  25785. tags:
  25786. - 企业风险管理v3(app)
  25787. /Ermcp3/QryAreaStockReport:
  25788. get:
  25789. parameters:
  25790. - description: 用户ID
  25791. in: query
  25792. name: userid
  25793. required: true
  25794. type: integer
  25795. - description: 查询类型 1-报表 2-报表明细
  25796. in: query
  25797. name: querytype
  25798. required: true
  25799. type: integer
  25800. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25801. in: query
  25802. name: cycletype
  25803. required: true
  25804. type: integer
  25805. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25806. 全(0)【原值】
  25807. in: query
  25808. name: cycletime
  25809. required: true
  25810. type: string
  25811. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  25812. in: query
  25813. name: sumfields
  25814. type: string
  25815. - description: 品种ID
  25816. in: query
  25817. name: deliverygoodsid
  25818. type: integer
  25819. - description: 品类ID
  25820. in: query
  25821. name: wrstandardid
  25822. type: integer
  25823. - description: 品牌ID
  25824. in: query
  25825. name: spotgoodsbrandid
  25826. type: integer
  25827. - description: 仓库ID
  25828. in: query
  25829. name: warehouseinfoid
  25830. type: integer
  25831. produces:
  25832. - application/json
  25833. responses:
  25834. "200":
  25835. description: OK
  25836. schema:
  25837. items:
  25838. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  25839. type: array
  25840. "500":
  25841. description: Internal Server Error
  25842. schema:
  25843. $ref: '#/definitions/app.Response'
  25844. security:
  25845. - ApiKeyAuth: []
  25846. summary: 查询库存报表
  25847. tags:
  25848. - 企业风险管理v3(app)
  25849. /Ermcp3/QryAreaSumPL:
  25850. get:
  25851. parameters:
  25852. - description: 用户ID
  25853. in: query
  25854. name: userid
  25855. required: true
  25856. type: integer
  25857. - description: 查询类型 1-报表 2-报表明细
  25858. in: query
  25859. name: querytype
  25860. required: true
  25861. type: integer
  25862. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25863. in: query
  25864. name: cycletype
  25865. required: true
  25866. type: integer
  25867. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25868. 全(0)【原值】
  25869. in: query
  25870. name: cycletime
  25871. required: true
  25872. type: string
  25873. - description: 币种id(明细必填)
  25874. in: query
  25875. name: currencyid
  25876. type: integer
  25877. - description: 套保品种ID, 查询类型为2时起效
  25878. in: query
  25879. name: middlegoodsid
  25880. type: integer
  25881. produces:
  25882. - application/json
  25883. responses:
  25884. "200":
  25885. description: OK
  25886. schema:
  25887. items:
  25888. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  25889. type: array
  25890. "500":
  25891. description: Internal Server Error
  25892. schema:
  25893. $ref: '#/definitions/app.Response'
  25894. security:
  25895. - ApiKeyAuth: []
  25896. summary: 查询汇总损益表
  25897. tags:
  25898. - 企业风险管理v3(app)
  25899. /Ermcp3/QryFinanceReport:
  25900. get:
  25901. parameters:
  25902. - description: 用户ID
  25903. in: query
  25904. name: userid
  25905. required: true
  25906. type: integer
  25907. - description: 查询类型 1-报表 2-报表明细
  25908. in: query
  25909. name: querytype
  25910. required: true
  25911. type: integer
  25912. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25913. in: query
  25914. name: cycletype
  25915. required: true
  25916. type: integer
  25917. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25918. 全(0)【原值】
  25919. in: query
  25920. name: cycletime
  25921. required: true
  25922. type: string
  25923. - description: 币种id(报表明细必填)
  25924. in: query
  25925. name: currencyid
  25926. type: integer
  25927. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  25928. in: query
  25929. name: sumfields
  25930. type: string
  25931. produces:
  25932. - application/json
  25933. responses:
  25934. "200":
  25935. description: OK
  25936. schema:
  25937. items:
  25938. $ref: '#/definitions/models.Ermcp3FinanceReport'
  25939. type: array
  25940. "500":
  25941. description: Internal Server Error
  25942. schema:
  25943. $ref: '#/definitions/app.Response'
  25944. security:
  25945. - ApiKeyAuth: []
  25946. summary: 查询财务报表
  25947. tags:
  25948. - 企业风险管理v3(app)
  25949. /Ermcp3/QrySCMiddleGoodsReport:
  25950. get:
  25951. parameters:
  25952. - description: 用户ID
  25953. in: query
  25954. name: userid
  25955. required: true
  25956. type: integer
  25957. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25958. in: query
  25959. name: cycletype
  25960. required: true
  25961. type: integer
  25962. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25963. 全(0)【原值】
  25964. in: query
  25965. name: cycletime
  25966. required: true
  25967. type: string
  25968. - description: 合同id
  25969. in: query
  25970. name: spotcontractid
  25971. type: integer
  25972. - description: 套保品种id
  25973. in: query
  25974. name: middlegoodsid
  25975. type: integer
  25976. - description: 现货品种id
  25977. in: query
  25978. name: deliverygoodsid
  25979. type: integer
  25980. - description: 现货商品id
  25981. in: query
  25982. name: wrstandardid
  25983. type: integer
  25984. - description: 合同编号(模糊匹配)
  25985. in: query
  25986. name: contractno
  25987. type: string
  25988. produces:
  25989. - application/json
  25990. responses:
  25991. "200":
  25992. description: OK
  25993. schema:
  25994. items:
  25995. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  25996. type: array
  25997. "500":
  25998. description: Internal Server Error
  25999. schema:
  26000. $ref: '#/definitions/app.Response'
  26001. security:
  26002. - ApiKeyAuth: []
  26003. summary: 查询定价报表
  26004. tags:
  26005. - 企业风险管理v3(app)
  26006. /Ermcp3/QryTaFutureDataReport:
  26007. get:
  26008. parameters:
  26009. - description: 用户ID
  26010. in: query
  26011. name: userid
  26012. required: true
  26013. type: integer
  26014. - description: 查询类型 1-报表 2-报表明细
  26015. in: query
  26016. name: querytype
  26017. required: true
  26018. type: integer
  26019. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26020. in: query
  26021. name: cycletype
  26022. required: true
  26023. type: integer
  26024. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26025. 全(0)【原值】
  26026. in: query
  26027. name: cycletime
  26028. required: true
  26029. type: string
  26030. - description: 币种id(查明细必填)
  26031. in: query
  26032. name: currencyid
  26033. type: integer
  26034. - description: 品种id(查明细必填)
  26035. in: query
  26036. name: goodsgroupid
  26037. type: integer
  26038. - description: 商品id(查明细必填)
  26039. in: query
  26040. name: goodsid
  26041. type: integer
  26042. - description: 买卖方向(查明细必填)
  26043. in: query
  26044. name: buyorsell
  26045. type: integer
  26046. produces:
  26047. - application/json
  26048. responses:
  26049. "200":
  26050. description: OK
  26051. schema:
  26052. items:
  26053. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  26054. type: array
  26055. "500":
  26056. description: Internal Server Error
  26057. schema:
  26058. $ref: '#/definitions/app.Response'
  26059. security:
  26060. - ApiKeyAuth: []
  26061. summary: 查询期货报表
  26062. tags:
  26063. - 企业风险管理v3(app)
  26064. /Ermcp3/QueryAreaStock:
  26065. get:
  26066. parameters:
  26067. - description: 用户ID
  26068. in: query
  26069. name: userid
  26070. required: true
  26071. type: integer
  26072. produces:
  26073. - application/json
  26074. responses:
  26075. "200":
  26076. description: OK
  26077. schema:
  26078. items:
  26079. $ref: '#/definitions/models.Ermcp3AreaStock'
  26080. type: array
  26081. "500":
  26082. description: Internal Server Error
  26083. schema:
  26084. $ref: '#/definitions/app.Response'
  26085. security:
  26086. - ApiKeyAuth: []
  26087. summary: 查询机构库存(库存管理/当前库存)
  26088. tags:
  26089. - 企业风险管理v3(app)
  26090. /Ermcp3/QueryAreaStockApply:
  26091. get:
  26092. parameters:
  26093. - description: 用户ID
  26094. in: query
  26095. name: userid
  26096. required: true
  26097. type: integer
  26098. - description: 用户类型 2-机构 7-企业成员
  26099. in: query
  26100. name: usertype
  26101. type: integer
  26102. - description: 现货商品ID
  26103. in: query
  26104. name: deliverygoodsid
  26105. type: integer
  26106. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  26107. in: query
  26108. name: inouttype
  26109. type: string
  26110. - description: 合同ID
  26111. in: query
  26112. name: spotcontractid
  26113. type: integer
  26114. - description: 品类ID
  26115. in: query
  26116. name: wrstandardid
  26117. type: integer
  26118. - description: 品牌ID
  26119. in: query
  26120. name: spotgoodsbrandid
  26121. type: integer
  26122. - description: 仓库ID
  26123. in: query
  26124. name: warehouseinfoid
  26125. type: integer
  26126. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26127. in: query
  26128. name: applystatus
  26129. type: string
  26130. produces:
  26131. - application/json
  26132. responses:
  26133. "200":
  26134. description: OK
  26135. schema:
  26136. items:
  26137. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  26138. type: array
  26139. "500":
  26140. description: Internal Server Error
  26141. schema:
  26142. $ref: '#/definitions/app.Response'
  26143. security:
  26144. - ApiKeyAuth: []
  26145. summary: 查询库存申请(出入库记录|库存审核)
  26146. tags:
  26147. - 企业风险管理v3(app)
  26148. /Ermcp3/QueryAreaStockApplySum:
  26149. get:
  26150. parameters:
  26151. - description: 合同ID
  26152. in: query
  26153. name: spotcontractid
  26154. required: true
  26155. type: integer
  26156. produces:
  26157. - application/json
  26158. responses:
  26159. "200":
  26160. description: OK
  26161. schema:
  26162. items:
  26163. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  26164. type: array
  26165. "500":
  26166. description: Internal Server Error
  26167. schema:
  26168. $ref: '#/definitions/app.Response'
  26169. security:
  26170. - ApiKeyAuth: []
  26171. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  26172. tags:
  26173. - 企业风险管理v3(app)
  26174. /Ermcp3/QueryDGFactoryItem:
  26175. get:
  26176. parameters:
  26177. - description: 用户id
  26178. in: query
  26179. name: userid
  26180. type: integer
  26181. - description: 用户类型 2-机构 7-企业成员
  26182. in: query
  26183. name: usertype
  26184. type: integer
  26185. - description: 选择项ID(SEQ_DGFACTORYITEM)
  26186. in: query
  26187. name: dgfactoryitemid
  26188. type: integer
  26189. - description: 现货品种ID
  26190. in: query
  26191. name: deliverygoodsid
  26192. type: integer
  26193. - description: 要素项类型
  26194. in: query
  26195. name: dgfactoryitemtypeid
  26196. type: integer
  26197. - description: 顺序
  26198. in: query
  26199. name: orderindex
  26200. type: integer
  26201. produces:
  26202. - application/json
  26203. responses:
  26204. "200":
  26205. description: OK
  26206. schema:
  26207. items:
  26208. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  26209. type: array
  26210. "500":
  26211. description: Internal Server Error
  26212. schema:
  26213. $ref: '#/definitions/app.Response'
  26214. security:
  26215. - ApiKeyAuth: []
  26216. summary: 查询品种要素定义项
  26217. tags:
  26218. - 企业风险管理v3(app)
  26219. /Ermcp3/QueryDeliveryGoods:
  26220. get:
  26221. parameters:
  26222. - description: 用户id
  26223. in: query
  26224. name: userid
  26225. required: true
  26226. type: integer
  26227. - description: 用户类型 2-机构 7-企业成员
  26228. in: query
  26229. name: usertype
  26230. type: integer
  26231. - description: 排除已配置的业务类型商品 1-套保 2-套利
  26232. in: query
  26233. name: excludecfg
  26234. type: integer
  26235. produces:
  26236. - application/json
  26237. responses:
  26238. "200":
  26239. description: OK
  26240. schema:
  26241. items:
  26242. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  26243. type: array
  26244. "500":
  26245. description: Internal Server Error
  26246. schema:
  26247. $ref: '#/definitions/app.Response'
  26248. security:
  26249. - ApiKeyAuth: []
  26250. summary: 查询现货商品
  26251. tags:
  26252. - 企业风险管理v3(app)
  26253. /Ermcp3/QueryDeliveryGoodsDetail:
  26254. get:
  26255. parameters:
  26256. - description: 用户id
  26257. in: query
  26258. name: userid
  26259. required: true
  26260. type: integer
  26261. - description: 用户类型 2-机构 7-企业成员
  26262. in: query
  26263. name: usertype
  26264. type: integer
  26265. - description: 现货商品id
  26266. in: query
  26267. name: deliverygoodsid
  26268. type: integer
  26269. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  26270. in: query
  26271. name: filtersubempty
  26272. type: integer
  26273. produces:
  26274. - application/json
  26275. responses:
  26276. "200":
  26277. description: OK
  26278. schema:
  26279. items:
  26280. $ref: '#/definitions/models.XHDeliveryGoods'
  26281. type: array
  26282. "500":
  26283. description: Internal Server Error
  26284. schema:
  26285. $ref: '#/definitions/app.Response'
  26286. security:
  26287. - ApiKeyAuth: []
  26288. summary: 查询现货商品详情
  26289. tags:
  26290. - 企业风险管理v3(app)
  26291. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  26292. get:
  26293. parameters:
  26294. - description: 合同id
  26295. in: query
  26296. name: spotcontractid
  26297. required: true
  26298. type: string
  26299. produces:
  26300. - application/json
  26301. responses:
  26302. "200":
  26303. description: OK
  26304. schema:
  26305. items:
  26306. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  26307. type: array
  26308. "500":
  26309. description: Internal Server Error
  26310. schema:
  26311. $ref: '#/definitions/app.Response'
  26312. security:
  26313. - ApiKeyAuth: []
  26314. summary: 查询现货合同期现配置信息
  26315. tags:
  26316. - 企业风险管理v3(app)
  26317. /Ermcp3/QueryExposureDetail:
  26318. get:
  26319. parameters:
  26320. - description: 用户id
  26321. in: query
  26322. name: userid
  26323. required: true
  26324. type: integer
  26325. - description: 用户类型 2-机构 7-企业成员
  26326. in: query
  26327. name: usertype
  26328. type: integer
  26329. - description: 套保商品
  26330. in: query
  26331. name: middlegoodsid
  26332. required: true
  26333. type: integer
  26334. produces:
  26335. - application/json
  26336. responses:
  26337. "200":
  26338. description: OK
  26339. schema:
  26340. items:
  26341. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  26342. type: array
  26343. "500":
  26344. description: Internal Server Error
  26345. schema:
  26346. $ref: '#/definitions/app.Response'
  26347. security:
  26348. - ApiKeyAuth: []
  26349. summary: 查询敞口现货明细
  26350. tags:
  26351. - 企业风险管理v3(app)
  26352. /Ermcp3/QueryExposureSpot:
  26353. get:
  26354. parameters:
  26355. - description: 用户id
  26356. in: query
  26357. name: userid
  26358. required: true
  26359. type: integer
  26360. - description: 用户类型 2-机构 7-企业成员
  26361. in: query
  26362. name: usertype
  26363. type: integer
  26364. produces:
  26365. - application/json
  26366. responses:
  26367. "200":
  26368. description: OK
  26369. schema:
  26370. items:
  26371. $ref: '#/definitions/models.Ermcp3AreaSpot'
  26372. type: array
  26373. "500":
  26374. description: Internal Server Error
  26375. schema:
  26376. $ref: '#/definitions/app.Response'
  26377. security:
  26378. - ApiKeyAuth: []
  26379. summary: 查询敞口现货头寸(敞口/现货头寸)
  26380. tags:
  26381. - 企业风险管理v3(app)
  26382. /Ermcp3/QueryExposureSpotDetail:
  26383. get:
  26384. parameters:
  26385. - description: 用户id
  26386. in: query
  26387. name: userid
  26388. required: true
  26389. type: integer
  26390. - description: 用户类型 2-机构 7-企业成员
  26391. in: query
  26392. name: usertype
  26393. type: integer
  26394. - description: 现货商品ID
  26395. in: query
  26396. name: wrstandardid
  26397. required: true
  26398. type: integer
  26399. produces:
  26400. - application/json
  26401. responses:
  26402. "200":
  26403. description: OK
  26404. schema:
  26405. items:
  26406. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  26407. type: array
  26408. "500":
  26409. description: Internal Server Error
  26410. schema:
  26411. $ref: '#/definitions/app.Response'
  26412. security:
  26413. - ApiKeyAuth: []
  26414. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  26415. tags:
  26416. - 企业风险管理v3(app)
  26417. /Ermcp3/QueryGoodsGroup:
  26418. get:
  26419. parameters:
  26420. - description: 用户id
  26421. in: query
  26422. name: userid
  26423. required: true
  26424. type: integer
  26425. - description: 用户类型 2-机构 7-企业成员
  26426. in: query
  26427. name: usertype
  26428. type: integer
  26429. - description: 排除套保品中已关联的商品组 1-排除
  26430. in: query
  26431. name: excludecfg
  26432. type: integer
  26433. produces:
  26434. - application/json
  26435. responses:
  26436. "200":
  26437. description: OK
  26438. schema:
  26439. items:
  26440. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  26441. type: array
  26442. "500":
  26443. description: Internal Server Error
  26444. schema:
  26445. $ref: '#/definitions/app.Response'
  26446. security:
  26447. - ApiKeyAuth: []
  26448. summary: 查询期货商品组
  26449. tags:
  26450. - 企业风险管理v3(app)
  26451. /Ermcp3/QueryGoodsWrstandard:
  26452. get:
  26453. parameters:
  26454. - description: 用户id
  26455. in: query
  26456. name: userid
  26457. required: true
  26458. type: integer
  26459. - description: 用户类型 2-机构 7-企业成员
  26460. in: query
  26461. name: usertype
  26462. type: integer
  26463. - description: 现货商品id
  26464. in: query
  26465. name: deliverygoodsid
  26466. type: integer
  26467. produces:
  26468. - application/json
  26469. responses:
  26470. "200":
  26471. description: OK
  26472. schema:
  26473. items:
  26474. $ref: '#/definitions/models.Ermcp3Wrstandard'
  26475. type: array
  26476. "500":
  26477. description: Internal Server Error
  26478. schema:
  26479. $ref: '#/definitions/app.Response'
  26480. security:
  26481. - ApiKeyAuth: []
  26482. summary: 查询商品品类
  26483. tags:
  26484. - 企业风险管理v3(app)
  26485. /Ermcp3/QueryGoodsbrand:
  26486. get:
  26487. parameters:
  26488. - description: 用户id
  26489. in: query
  26490. name: userid
  26491. required: true
  26492. type: integer
  26493. - description: 用户类型 2-机构 7-企业成员
  26494. in: query
  26495. name: usertype
  26496. type: integer
  26497. produces:
  26498. - application/json
  26499. responses:
  26500. "200":
  26501. description: OK
  26502. schema:
  26503. items:
  26504. $ref: '#/definitions/models.Ermcp3Brand'
  26505. type: array
  26506. "500":
  26507. description: Internal Server Error
  26508. schema:
  26509. $ref: '#/definitions/app.Response'
  26510. security:
  26511. - ApiKeyAuth: []
  26512. summary: 查询商品品牌
  26513. tags:
  26514. - 企业风险管理v3(app)
  26515. /Ermcp3/QueryHPMiddleGoods:
  26516. get:
  26517. parameters:
  26518. - description: 用户ID(填登录用户的userid)
  26519. in: query
  26520. name: userid
  26521. required: true
  26522. type: integer
  26523. - description: 买卖方向 0-买 1-卖
  26524. in: query
  26525. name: buyorsell
  26526. required: true
  26527. type: integer
  26528. - description: 商品组id
  26529. in: query
  26530. name: goodsgroupid
  26531. required: true
  26532. type: integer
  26533. - description: 套保计划编号(模糊匹配)
  26534. in: query
  26535. name: hedgeplanno
  26536. type: string
  26537. - description: 现货商品名称(模糊匹配)
  26538. in: query
  26539. name: wrstandardname
  26540. type: string
  26541. produces:
  26542. - application/json
  26543. responses:
  26544. "200":
  26545. description: OK
  26546. schema:
  26547. items:
  26548. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  26549. type: array
  26550. "500":
  26551. description: Internal Server Error
  26552. schema:
  26553. $ref: '#/definitions/app.Response'
  26554. security:
  26555. - ApiKeyAuth: []
  26556. summary: 查询可关联套保计划
  26557. tags:
  26558. - 企业风险管理v3(app)
  26559. /Ermcp3/QueryHedgePlan:
  26560. get:
  26561. parameters:
  26562. - description: 用户ID
  26563. in: query
  26564. name: userid
  26565. required: true
  26566. type: integer
  26567. - description: 用户类型 2-机构 7-企业成员
  26568. in: query
  26569. name: usertype
  26570. type: integer
  26571. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26572. in: query
  26573. name: hedgeplanstatus
  26574. required: true
  26575. type: string
  26576. produces:
  26577. - application/json
  26578. responses:
  26579. "200":
  26580. description: OK
  26581. schema:
  26582. items:
  26583. $ref: '#/definitions/models.Ermcp3HedgePlan'
  26584. type: array
  26585. "500":
  26586. description: Internal Server Error
  26587. schema:
  26588. $ref: '#/definitions/app.Response'
  26589. security:
  26590. - ApiKeyAuth: []
  26591. summary: 查询套保计划
  26592. tags:
  26593. - 企业风险管理v3(app)
  26594. /Ermcp3/QueryInnerTradeLink:
  26595. get:
  26596. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  26597. parameters:
  26598. - description: 外部成交单号
  26599. in: query
  26600. name: outtradeid
  26601. required: true
  26602. type: integer
  26603. produces:
  26604. - application/json
  26605. responses:
  26606. "200":
  26607. description: OK
  26608. schema:
  26609. items:
  26610. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  26611. type: array
  26612. "500":
  26613. description: Internal Server Error
  26614. schema:
  26615. $ref: '#/definitions/app.Response'
  26616. security:
  26617. - ApiKeyAuth: []
  26618. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  26619. tags:
  26620. - 企业风险管理v3(app)
  26621. /Ermcp3/QueryMiddleGoodsDetail:
  26622. get:
  26623. parameters:
  26624. - description: 用户id
  26625. in: query
  26626. name: userid
  26627. required: true
  26628. type: integer
  26629. - description: 用户类型 2-机构 7-企业成员
  26630. in: query
  26631. name: usertype
  26632. type: integer
  26633. - description: 套保品种id
  26634. in: query
  26635. name: middlegoodsid
  26636. type: integer
  26637. produces:
  26638. - application/json
  26639. responses:
  26640. "200":
  26641. description: OK
  26642. schema:
  26643. items:
  26644. $ref: '#/definitions/models.TBMiddleGoods'
  26645. type: array
  26646. "500":
  26647. description: Internal Server Error
  26648. schema:
  26649. $ref: '#/definitions/app.Response'
  26650. security:
  26651. - ApiKeyAuth: []
  26652. summary: 查询套保品种详情(套保品种/商品详情)
  26653. tags:
  26654. - 企业风险管理v3(app)
  26655. /Ermcp3/QueryOutTradeLink:
  26656. get:
  26657. description: 页面 app 现货->期现关联->外部成交单关联
  26658. parameters:
  26659. - description: 用户ID(填登录用户的userid)
  26660. in: query
  26661. name: userid
  26662. required: true
  26663. type: integer
  26664. - description: 外部订单号(模糊匹配)
  26665. in: query
  26666. name: outtradeid
  26667. type: string
  26668. - description: 合约名称/代码(模糊匹配)
  26669. in: query
  26670. name: goodsname
  26671. type: string
  26672. - description: 关联状态 0-未关联 1-已关联
  26673. in: query
  26674. name: hasinnerorder
  26675. type: integer
  26676. produces:
  26677. - application/json
  26678. responses:
  26679. "200":
  26680. description: OK
  26681. schema:
  26682. items:
  26683. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  26684. type: array
  26685. "500":
  26686. description: Internal Server Error
  26687. schema:
  26688. $ref: '#/definitions/app.Response'
  26689. security:
  26690. - ApiKeyAuth: []
  26691. summary: 查询外部成交单关联
  26692. tags:
  26693. - 企业风险管理v3(app)
  26694. /Ermcp3/QueryPaAreaAuditCfg:
  26695. get:
  26696. parameters:
  26697. - description: 用户id
  26698. in: query
  26699. name: userid
  26700. required: true
  26701. type: integer
  26702. produces:
  26703. - application/json
  26704. responses:
  26705. "200":
  26706. description: OK
  26707. schema:
  26708. items:
  26709. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  26710. type: array
  26711. "500":
  26712. description: Internal Server Error
  26713. schema:
  26714. $ref: '#/definitions/app.Response'
  26715. security:
  26716. - ApiKeyAuth: []
  26717. summary: 查询审核设置
  26718. tags:
  26719. - 企业风险管理v3(app)
  26720. /Ermcp3/QueryPaAreaSubject:
  26721. get:
  26722. parameters:
  26723. - description: 用户id
  26724. in: query
  26725. name: userid
  26726. required: true
  26727. type: integer
  26728. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  26729. in: query
  26730. name: subjectid
  26731. type: integer
  26732. - description: 主体类型 - 1:交易主体 2:业务部门
  26733. in: query
  26734. name: subjecttype
  26735. type: integer
  26736. - description: '主体状态 - 1:正常 2: 停用'
  26737. in: query
  26738. name: subjectstatus
  26739. type: integer
  26740. produces:
  26741. - application/json
  26742. responses:
  26743. "200":
  26744. description: OK
  26745. schema:
  26746. items:
  26747. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  26748. type: array
  26749. "500":
  26750. description: Internal Server Error
  26751. schema:
  26752. $ref: '#/definitions/app.Response'
  26753. security:
  26754. - ApiKeyAuth: []
  26755. summary: 查询交易主体
  26756. tags:
  26757. - 企业风险管理v3(app)
  26758. /Ermcp3/QueryPaTradeLink:
  26759. get:
  26760. description: 页面 app 现货->期现关联->期现单据关联
  26761. parameters:
  26762. - description: 用户ID
  26763. in: query
  26764. name: userid
  26765. required: true
  26766. type: integer
  26767. produces:
  26768. - application/json
  26769. responses:
  26770. "200":
  26771. description: OK
  26772. schema:
  26773. items:
  26774. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  26775. type: array
  26776. "500":
  26777. description: Internal Server Error
  26778. schema:
  26779. $ref: '#/definitions/app.Response'
  26780. security:
  26781. - ApiKeyAuth: []
  26782. summary: 查询期现单据关联
  26783. tags:
  26784. - 企业风险管理v3(app)
  26785. /Ermcp3/QueryPaTradeLinkDetail:
  26786. get:
  26787. description: 页面 app 现货->期现关联->关联记录
  26788. parameters:
  26789. - description: 用户ID(填登录用户的userid)
  26790. in: query
  26791. name: userid
  26792. required: true
  26793. type: integer
  26794. - description: 关联状态 1:成功 2:失败 3:解绑
  26795. in: query
  26796. name: linkstatus
  26797. type: integer
  26798. - description: 期货订单号(模糊匹配)
  26799. in: query
  26800. name: tradeid
  26801. type: string
  26802. - description: 现货编号(模糊匹配)
  26803. in: query
  26804. name: contractno
  26805. type: string
  26806. - description: 期货账户(模糊匹配)
  26807. in: query
  26808. name: taname
  26809. type: string
  26810. produces:
  26811. - application/json
  26812. responses:
  26813. "200":
  26814. description: OK
  26815. schema:
  26816. items:
  26817. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  26818. type: array
  26819. "500":
  26820. description: Internal Server Error
  26821. schema:
  26822. $ref: '#/definitions/app.Response'
  26823. security:
  26824. - ApiKeyAuth: []
  26825. summary: 查询期现关联记录
  26826. tags:
  26827. - 企业风险管理v3(app)
  26828. /Ermcp3/QueryParamChangeApp:
  26829. get:
  26830. description: |-
  26831. 原型页面:
  26832. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  26833. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  26834. parameters:
  26835. - description: 用户ID
  26836. in: query
  26837. name: userid
  26838. required: true
  26839. type: integer
  26840. - description: 现货品种id
  26841. in: query
  26842. name: deliverygoodsid
  26843. type: integer
  26844. - description: 现货商品id
  26845. in: query
  26846. name: wrstandardid
  26847. type: integer
  26848. - description: 套保商品id
  26849. in: query
  26850. name: middlegoodsid
  26851. type: integer
  26852. - description: 操作类型 1:新增 2:修改
  26853. in: query
  26854. name: operatetype
  26855. type: integer
  26856. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  26857. in: query
  26858. name: paramchangetype
  26859. type: integer
  26860. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26861. in: query
  26862. name: ftstatus
  26863. type: string
  26864. produces:
  26865. - application/json
  26866. responses:
  26867. "200":
  26868. description: OK
  26869. schema:
  26870. items:
  26871. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  26872. type: array
  26873. "500":
  26874. description: Internal Server Error
  26875. schema:
  26876. $ref: '#/definitions/app.Response'
  26877. security:
  26878. - ApiKeyAuth: []
  26879. summary: 查询现货商品参数变更申请(流水)
  26880. tags:
  26881. - 企业风险管理v3(app)
  26882. /Ermcp3/QueryRootUserAccount:
  26883. get:
  26884. parameters:
  26885. - description: 用户ID
  26886. in: query
  26887. name: userid
  26888. required: true
  26889. type: integer
  26890. produces:
  26891. - application/json
  26892. responses:
  26893. "200":
  26894. description: OK
  26895. schema:
  26896. items:
  26897. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  26898. type: array
  26899. "500":
  26900. description: Internal Server Error
  26901. schema:
  26902. $ref: '#/definitions/app.Response'
  26903. security:
  26904. - ApiKeyAuth: []
  26905. summary: 查询顶级用户信息
  26906. tags:
  26907. - 企业风险管理v3(app)
  26908. /Ermcp3/QuerySCMiddleGoods:
  26909. get:
  26910. description: |-
  26911. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  26912. 现货编号 即 合同编号
  26913. parameters:
  26914. - description: 用户ID(填登录用户的userid)
  26915. in: query
  26916. name: userid
  26917. required: true
  26918. type: integer
  26919. - description: 买卖方向 0-买 1-卖
  26920. in: query
  26921. name: buyorsell
  26922. required: true
  26923. type: integer
  26924. - description: 商品组id
  26925. in: query
  26926. name: goodsgroupid
  26927. required: true
  26928. type: integer
  26929. - description: 业务类型 1:套保 2:套利
  26930. in: query
  26931. name: biztype
  26932. type: integer
  26933. - description: 现货编号(模糊匹配)
  26934. in: query
  26935. name: contractno
  26936. type: string
  26937. - description: 对手方(模糊匹配)
  26938. in: query
  26939. name: customername
  26940. type: string
  26941. - description: 现货商品名称(模糊匹配)
  26942. in: query
  26943. name: wrstandardname
  26944. type: string
  26945. produces:
  26946. - application/json
  26947. responses:
  26948. "200":
  26949. description: OK
  26950. schema:
  26951. items:
  26952. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  26953. type: array
  26954. "500":
  26955. description: Internal Server Error
  26956. schema:
  26957. $ref: '#/definitions/app.Response'
  26958. security:
  26959. - ApiKeyAuth: []
  26960. summary: 查询现货订单
  26961. tags:
  26962. - 企业风险管理v3(app)
  26963. /Ermcp3/QuerySpotContract:
  26964. get:
  26965. parameters:
  26966. - description: 用户id(当指定contractid, userid可不填)
  26967. in: query
  26968. name: userid
  26969. required: true
  26970. type: integer
  26971. - description: 用户类型 2-机构 7-企业成员
  26972. in: query
  26973. name: usertype
  26974. type: integer
  26975. - description: 合同类型 1-采购, -1-销售
  26976. in: query
  26977. name: contracttype
  26978. type: integer
  26979. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  26980. in: query
  26981. name: querytype
  26982. type: string
  26983. - description: 合同ID(SpotContractId)
  26984. in: query
  26985. name: contractid
  26986. type: string
  26987. - description: 合同编号(模糊匹配)
  26988. in: query
  26989. name: contractno
  26990. type: string
  26991. - description: 商品名称(模糊匹配)
  26992. in: query
  26993. name: wrstandardname
  26994. type: string
  26995. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  26996. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26997. in: query
  26998. name: status
  26999. type: string
  27000. - description: 是否只查今日的合同 1-查今日合同
  27001. in: query
  27002. name: istoday
  27003. type: integer
  27004. produces:
  27005. - application/json
  27006. responses:
  27007. "200":
  27008. description: OK
  27009. schema:
  27010. items:
  27011. $ref: '#/definitions/models.Ermcp3Contract'
  27012. type: array
  27013. "500":
  27014. description: Internal Server Error
  27015. schema:
  27016. $ref: '#/definitions/app.Response'
  27017. security:
  27018. - ApiKeyAuth: []
  27019. summary: 查询现货合同
  27020. tags:
  27021. - 企业风险管理v3(app)
  27022. /Ermcp3/QuerySpotContractBS:
  27023. get:
  27024. parameters:
  27025. - description: 用户id
  27026. in: query
  27027. name: userid
  27028. required: true
  27029. type: integer
  27030. - description: 用户类型 2-机构 7-企业成员
  27031. in: query
  27032. name: usertype
  27033. type: integer
  27034. - description: 合同类型 1-采购, -1-销售
  27035. in: query
  27036. name: contracttype
  27037. required: true
  27038. type: integer
  27039. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  27040. in: query
  27041. name: querytype
  27042. type: integer
  27043. - description: 合同ID(SpotContractId)
  27044. in: query
  27045. name: contractid
  27046. type: string
  27047. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  27048. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27049. in: query
  27050. name: status
  27051. type: string
  27052. - description: 是否只查今日的合同 1-查今日合同
  27053. in: query
  27054. name: istoday
  27055. type: integer
  27056. produces:
  27057. - application/json
  27058. responses:
  27059. "200":
  27060. description: OK
  27061. schema:
  27062. items:
  27063. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  27064. type: array
  27065. "500":
  27066. description: Internal Server Error
  27067. schema:
  27068. $ref: '#/definitions/app.Response'
  27069. security:
  27070. - ApiKeyAuth: []
  27071. summary: 查询合同(采购/销售)
  27072. tags:
  27073. - 企业风险管理v3(app)
  27074. /Ermcp3/QuerySpotGoodsPrice:
  27075. get:
  27076. parameters:
  27077. - description: 用户ID
  27078. in: query
  27079. name: userid
  27080. required: true
  27081. type: integer
  27082. produces:
  27083. - application/json
  27084. responses:
  27085. "200":
  27086. description: OK
  27087. schema:
  27088. items:
  27089. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  27090. type: array
  27091. "500":
  27092. description: Internal Server Error
  27093. schema:
  27094. $ref: '#/definitions/app.Response'
  27095. security:
  27096. - ApiKeyAuth: []
  27097. summary: 查询现货市价(现货市价)
  27098. tags:
  27099. - 企业风险管理v3(app)
  27100. /Ermcp3/QuerySpotGoodsPriceLog:
  27101. get:
  27102. parameters:
  27103. - description: 用户ID
  27104. in: query
  27105. name: userid
  27106. required: true
  27107. type: integer
  27108. - description: 现货商品ID
  27109. in: query
  27110. name: deliverygoodsid
  27111. required: true
  27112. type: integer
  27113. - description: 品牌ID
  27114. in: query
  27115. name: brandid
  27116. type: integer
  27117. - description: 品类ID
  27118. in: query
  27119. name: wrstandardid
  27120. type: integer
  27121. produces:
  27122. - application/json
  27123. responses:
  27124. "200":
  27125. description: OK
  27126. schema:
  27127. items:
  27128. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  27129. type: array
  27130. "500":
  27131. description: Internal Server Error
  27132. schema:
  27133. $ref: '#/definitions/app.Response'
  27134. security:
  27135. - ApiKeyAuth: []
  27136. summary: 查询现货市价详情(现货市价/详情)
  27137. tags:
  27138. - 企业风险管理v3(app)
  27139. /Ermcp3/QuerySubTaaccount:
  27140. get:
  27141. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  27142. parameters:
  27143. - description: 母账号id
  27144. in: query
  27145. name: parentaccountid
  27146. type: integer
  27147. - description: 母账号代码
  27148. in: query
  27149. name: parentaccountcode
  27150. type: string
  27151. produces:
  27152. - application/json
  27153. responses:
  27154. "200":
  27155. description: OK
  27156. schema:
  27157. items:
  27158. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  27159. type: array
  27160. "500":
  27161. description: Internal Server Error
  27162. schema:
  27163. $ref: '#/definitions/app.Response'
  27164. security:
  27165. - ApiKeyAuth: []
  27166. summary: 查询期货子账户
  27167. tags:
  27168. - 企业风险管理v3(app)
  27169. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  27170. get:
  27171. parameters:
  27172. - description: 套期项目ID
  27173. in: query
  27174. name: hedgeditemid
  27175. required: true
  27176. type: integer
  27177. produces:
  27178. - application/json
  27179. responses:
  27180. "200":
  27181. description: OK
  27182. schema:
  27183. items:
  27184. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  27185. type: array
  27186. "500":
  27187. description: Internal Server Error
  27188. schema:
  27189. $ref: '#/definitions/app.Response'
  27190. security:
  27191. - ApiKeyAuth: []
  27192. summary: 现货成交明细查询
  27193. tags:
  27194. - 企业风险管理v8
  27195. /Ermcp8/QueryERMCP2HedgedItemspot:
  27196. get:
  27197. parameters:
  27198. - description: 套期项目ID
  27199. in: query
  27200. name: hedgeditemid
  27201. required: true
  27202. type: integer
  27203. produces:
  27204. - application/json
  27205. responses:
  27206. "200":
  27207. description: OK
  27208. schema:
  27209. items:
  27210. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  27211. type: array
  27212. "500":
  27213. description: Internal Server Error
  27214. schema:
  27215. $ref: '#/definitions/app.Response'
  27216. security:
  27217. - ApiKeyAuth: []
  27218. summary: 套期计划明细查询
  27219. tags:
  27220. - 企业风险管理v8
  27221. /Ermcp8/QueryERMCPJRLinkPos:
  27222. get:
  27223. parameters:
  27224. - description: 套期项目ID
  27225. in: query
  27226. name: hedgeditemid
  27227. required: true
  27228. type: integer
  27229. produces:
  27230. - application/json
  27231. responses:
  27232. "200":
  27233. description: OK
  27234. schema:
  27235. items:
  27236. $ref: '#/definitions/models.Ermcpjrlinkpos'
  27237. type: array
  27238. "500":
  27239. description: Internal Server Error
  27240. schema:
  27241. $ref: '#/definitions/app.Response'
  27242. security:
  27243. - ApiKeyAuth: []
  27244. summary: 期货持仓明细查询
  27245. tags:
  27246. - 企业风险管理v8
  27247. /Ermcp8/QueryERMCPPatradeLinkDetail:
  27248. get:
  27249. parameters:
  27250. - description: 套期项目ID
  27251. in: query
  27252. name: hedgeditemid
  27253. required: true
  27254. type: integer
  27255. produces:
  27256. - application/json
  27257. responses:
  27258. "200":
  27259. description: OK
  27260. schema:
  27261. items:
  27262. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  27263. type: array
  27264. "500":
  27265. description: Internal Server Error
  27266. schema:
  27267. $ref: '#/definitions/app.Response'
  27268. security:
  27269. - ApiKeyAuth: []
  27270. summary: 期货成交单明细查询
  27271. tags:
  27272. - 企业风险管理v8
  27273. /Ermcp8/QueryErmcp2AreaExposure:
  27274. get:
  27275. parameters:
  27276. - description: 用户ID
  27277. in: query
  27278. name: userid
  27279. required: true
  27280. type: string
  27281. produces:
  27282. - application/json
  27283. responses:
  27284. "200":
  27285. description: OK
  27286. schema:
  27287. items:
  27288. $ref: '#/definitions/models.Ermcp2AreaExposure'
  27289. type: array
  27290. "500":
  27291. description: Internal Server Error
  27292. schema:
  27293. $ref: '#/definitions/app.Response'
  27294. security:
  27295. - ApiKeyAuth: []
  27296. summary: 企业敞口查询
  27297. tags:
  27298. - 企业风险管理v8
  27299. /Ermcp8/QueryErmcp2HedgedItem:
  27300. get:
  27301. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  27302. parameters:
  27303. - description: 用户ID
  27304. in: query
  27305. name: userid
  27306. required: true
  27307. type: string
  27308. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  27309. in: query
  27310. name: hedgedtype
  27311. type: integer
  27312. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27313. in: query
  27314. name: hedgeditemstatus
  27315. type: integer
  27316. produces:
  27317. - application/json
  27318. responses:
  27319. "200":
  27320. description: OK
  27321. schema:
  27322. items:
  27323. $ref: '#/definitions/models.Ermcp2hedgeditem'
  27324. type: array
  27325. "500":
  27326. description: Internal Server Error
  27327. schema:
  27328. $ref: '#/definitions/app.Response'
  27329. security:
  27330. - ApiKeyAuth: []
  27331. summary: 查询被套期项目信息
  27332. tags:
  27333. - 企业风险管理v8
  27334. /Ermcp8/QueryErmcp2HedgedItemLink:
  27335. get:
  27336. parameters:
  27337. - description: 现货合同ID
  27338. in: query
  27339. name: spotcontractid
  27340. required: true
  27341. type: integer
  27342. produces:
  27343. - application/json
  27344. responses:
  27345. "200":
  27346. description: OK
  27347. schema:
  27348. items:
  27349. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  27350. type: array
  27351. "500":
  27352. description: Internal Server Error
  27353. schema:
  27354. $ref: '#/definitions/app.Response'
  27355. security:
  27356. - ApiKeyAuth: []
  27357. summary: 现货合同关联被套期项目查询
  27358. tags:
  27359. - 企业风险管理v8
  27360. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  27361. get:
  27362. parameters:
  27363. - description: 用户ID
  27364. in: query
  27365. name: userid
  27366. required: true
  27367. type: integer
  27368. - description: 套保品种ID
  27369. in: query
  27370. name: middlegoodsid
  27371. required: true
  27372. type: integer
  27373. produces:
  27374. - application/json
  27375. responses:
  27376. "200":
  27377. description: OK
  27378. schema:
  27379. items:
  27380. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  27381. type: array
  27382. "500":
  27383. description: Internal Server Error
  27384. schema:
  27385. $ref: '#/definitions/app.Response'
  27386. security:
  27387. - ApiKeyAuth: []
  27388. summary: 敞口明细 - 计划变动明细
  27389. tags:
  27390. - 企业风险管理v8
  27391. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  27392. get:
  27393. parameters:
  27394. - description: 用户ID
  27395. in: query
  27396. name: userid
  27397. required: true
  27398. type: integer
  27399. - description: 套保品种ID
  27400. in: query
  27401. name: middlegoodsid
  27402. required: true
  27403. type: integer
  27404. produces:
  27405. - application/json
  27406. responses:
  27407. "200":
  27408. description: OK
  27409. schema:
  27410. items:
  27411. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  27412. type: array
  27413. "500":
  27414. description: Internal Server Error
  27415. schema:
  27416. $ref: '#/definitions/app.Response'
  27417. security:
  27418. - ApiKeyAuth: []
  27419. summary: 敞口明细 - 现货变动明细查询
  27420. tags:
  27421. - 企业风险管理v8
  27422. /Ermcp8/QueryErmcp8EnableHedgeditem:
  27423. get:
  27424. parameters:
  27425. - description: 用户ID
  27426. in: query
  27427. name: userid
  27428. required: true
  27429. type: integer
  27430. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  27431. in: query
  27432. name: spottype
  27433. required: true
  27434. type: integer
  27435. - description: 现货商品ID
  27436. in: query
  27437. name: wrstandardid
  27438. type: integer
  27439. produces:
  27440. - application/json
  27441. responses:
  27442. "200":
  27443. description: OK
  27444. schema:
  27445. items:
  27446. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  27447. type: array
  27448. "500":
  27449. description: Internal Server Error
  27450. schema:
  27451. $ref: '#/definitions/app.Response'
  27452. security:
  27453. - ApiKeyAuth: []
  27454. summary: 可关联项目查询
  27455. tags:
  27456. - 企业风险管理v8
  27457. /Ermcp8/QueryErmcp8HedgeditemReport:
  27458. get:
  27459. parameters:
  27460. - description: 用户ID
  27461. in: query
  27462. name: userid
  27463. required: true
  27464. type: integer
  27465. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27466. in: query
  27467. name: cycletype
  27468. type: integer
  27469. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  27470. 全(0)【原值】
  27471. in: query
  27472. name: cycletime
  27473. required: true
  27474. type: string
  27475. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  27476. in: query
  27477. name: hedgedtype
  27478. type: integer
  27479. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27480. in: query
  27481. name: hedgeditemstatus
  27482. type: integer
  27483. - description: 项目编号,模糊查询
  27484. in: query
  27485. name: hedgeditemnum
  27486. type: string
  27487. - description: 现货商品ID
  27488. in: query
  27489. name: wrstandardid
  27490. type: integer
  27491. produces:
  27492. - application/json
  27493. responses:
  27494. "200":
  27495. description: OK
  27496. schema:
  27497. items:
  27498. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  27499. type: array
  27500. "500":
  27501. description: Internal Server Error
  27502. schema:
  27503. $ref: '#/definitions/app.Response'
  27504. security:
  27505. - ApiKeyAuth: []
  27506. summary: 套期项目报表查询
  27507. tags:
  27508. - 企业风险管理v8
  27509. /Ermcp8/QueryErmcp8RunningHedgeditem:
  27510. get:
  27511. parameters:
  27512. - description: 用户ID
  27513. in: query
  27514. name: userid
  27515. required: true
  27516. type: string
  27517. produces:
  27518. - application/json
  27519. responses:
  27520. "200":
  27521. description: OK
  27522. schema:
  27523. items:
  27524. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  27525. type: array
  27526. "500":
  27527. description: Internal Server Error
  27528. schema:
  27529. $ref: '#/definitions/app.Response'
  27530. security:
  27531. - ApiKeyAuth: []
  27532. summary: 查询执行中项目查询信息
  27533. tags:
  27534. - 企业风险管理v8
  27535. /Ermcp8/QueryInternalEnableTradeDetail:
  27536. get:
  27537. parameters:
  27538. - description: 企业ID
  27539. in: query
  27540. name: areauserid
  27541. required: true
  27542. type: integer
  27543. - description: 期货合约ID
  27544. in: query
  27545. name: goodsid
  27546. required: true
  27547. type: integer
  27548. - description: 交易用户ID
  27549. in: query
  27550. name: tradeuserid
  27551. required: true
  27552. type: integer
  27553. produces:
  27554. - application/json
  27555. responses:
  27556. "200":
  27557. description: OK
  27558. schema:
  27559. items:
  27560. $ref: '#/definitions/models.InternalEnableTradeDetail'
  27561. type: array
  27562. "500":
  27563. description: Internal Server Error
  27564. schema:
  27565. $ref: '#/definitions/app.Response'
  27566. security:
  27567. - ApiKeyAuth: []
  27568. summary: 内部成交单可关联项目查询
  27569. tags:
  27570. - 企业风险管理v8
  27571. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  27572. get:
  27573. parameters:
  27574. - description: 用户编号
  27575. in: query
  27576. name: userid
  27577. required: true
  27578. type: integer
  27579. - description: 起始日期(格式yyyymmdd)
  27580. in: query
  27581. name: begindate
  27582. type: string
  27583. - description: 终止日期(格式yyyymmdd)
  27584. in: query
  27585. name: enddate
  27586. type: string
  27587. - description: 合约代码
  27588. in: query
  27589. name: goodscode
  27590. type: string
  27591. - description: 合约名称
  27592. in: query
  27593. name: goodsname
  27594. type: string
  27595. - description: 成交单号
  27596. in: query
  27597. name: tradeid
  27598. type: integer
  27599. - description: 方向 - 0:买 1:卖
  27600. in: query
  27601. name: buyorsell
  27602. type: integer
  27603. - description: 套期主体
  27604. in: query
  27605. name: accountname
  27606. type: string
  27607. produces:
  27608. - application/json
  27609. responses:
  27610. "200":
  27611. description: OK
  27612. schema:
  27613. items:
  27614. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  27615. type: array
  27616. "500":
  27617. description: Internal Server Error
  27618. schema:
  27619. $ref: '#/definitions/app.Response'
  27620. security:
  27621. - ApiKeyAuth: []
  27622. summary: 内部未关联成交单查询
  27623. tags:
  27624. - 企业风险管理v8
  27625. /Ermcp8/QueryMarketCalendar:
  27626. get:
  27627. parameters:
  27628. - description: 市场ID
  27629. in: query
  27630. name: marketid
  27631. type: integer
  27632. produces:
  27633. - application/json
  27634. responses:
  27635. "200":
  27636. description: OK
  27637. schema:
  27638. items:
  27639. $ref: '#/definitions/models.Marketcalendar'
  27640. type: array
  27641. "500":
  27642. description: Internal Server Error
  27643. schema:
  27644. $ref: '#/definitions/app.Response'
  27645. security:
  27646. - ApiKeyAuth: []
  27647. summary: 市场节假日查询
  27648. tags:
  27649. - 企业风险管理v8
  27650. /Ermcp8/QueryPatradeLinkDetail:
  27651. get:
  27652. parameters:
  27653. - description: 用户ID
  27654. in: query
  27655. name: userid
  27656. required: true
  27657. type: integer
  27658. - description: 套保品种ID
  27659. in: query
  27660. name: middlegoodsid
  27661. required: true
  27662. type: integer
  27663. produces:
  27664. - application/json
  27665. responses:
  27666. "200":
  27667. description: OK
  27668. schema:
  27669. items:
  27670. $ref: '#/definitions/models.Patradelinkdetail'
  27671. type: array
  27672. "500":
  27673. description: Internal Server Error
  27674. schema:
  27675. $ref: '#/definitions/app.Response'
  27676. security:
  27677. - ApiKeyAuth: []
  27678. summary: 敞口明细 - 期货变动明细
  27679. tags:
  27680. - 企业风险管理v8
  27681. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  27682. get:
  27683. parameters:
  27684. - description: 企业ID
  27685. in: query
  27686. name: areauserid
  27687. required: true
  27688. type: integer
  27689. - description: 计划类型 - 1:采购 -1:销售
  27690. in: query
  27691. name: contracttype
  27692. type: integer
  27693. - description: 计划编号,模糊查询
  27694. in: query
  27695. name: hedgeplanno
  27696. type: string
  27697. - description: 现货商品,模糊查询
  27698. in: query
  27699. name: wrstandardname
  27700. type: string
  27701. produces:
  27702. - application/json
  27703. responses:
  27704. "200":
  27705. description: OK
  27706. schema:
  27707. items:
  27708. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  27709. type: array
  27710. "500":
  27711. description: Internal Server Error
  27712. schema:
  27713. $ref: '#/definitions/app.Response'
  27714. security:
  27715. - ApiKeyAuth: []
  27716. summary: 未关联购销计划
  27717. tags:
  27718. - 企业风险管理v8
  27719. /Ermcp8/QueryUnLinkSpotContract:
  27720. get:
  27721. parameters:
  27722. - description: 用户ID
  27723. in: query
  27724. name: userid
  27725. required: true
  27726. type: integer
  27727. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  27728. in: query
  27729. name: pricetype
  27730. type: integer
  27731. - description: 合同编号, 模拟查询
  27732. in: query
  27733. name: contractno
  27734. type: string
  27735. - description: 对手方, 模拟查询
  27736. in: query
  27737. name: customername
  27738. type: string
  27739. - description: 项合同类型 - 1:采购 -1:销售
  27740. in: query
  27741. name: contracttype
  27742. type: integer
  27743. produces:
  27744. - application/json
  27745. responses:
  27746. "200":
  27747. description: OK
  27748. schema:
  27749. items:
  27750. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  27751. type: array
  27752. "500":
  27753. description: Internal Server Error
  27754. schema:
  27755. $ref: '#/definitions/app.Response'
  27756. security:
  27757. - ApiKeyAuth: []
  27758. summary: 未关联合同查询
  27759. tags:
  27760. - 企业风险管理v8
  27761. /Erms2/QueryArbitrageStrategy:
  27762. get:
  27763. parameters:
  27764. - description: 账户ID
  27765. in: query
  27766. name: userid
  27767. required: true
  27768. type: integer
  27769. - description: 商品组ID(品种ID)
  27770. in: query
  27771. name: goodsgroupid
  27772. type: string
  27773. produces:
  27774. - application/json
  27775. responses:
  27776. "200":
  27777. description: OK
  27778. schema:
  27779. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  27780. "500":
  27781. description: Internal Server Error
  27782. schema:
  27783. $ref: '#/definitions/app.Response'
  27784. security:
  27785. - ApiKeyAuth: []
  27786. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  27787. tags:
  27788. - 风险管理
  27789. /Erms2/QueryInnerTradeDetail:
  27790. get:
  27791. parameters:
  27792. - description: 资金账户
  27793. in: query
  27794. name: accountid
  27795. required: true
  27796. type: integer
  27797. produces:
  27798. - application/json
  27799. responses:
  27800. "200":
  27801. description: OK
  27802. schema:
  27803. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  27804. "500":
  27805. description: Internal Server Error
  27806. schema:
  27807. $ref: '#/definitions/app.Response'
  27808. security:
  27809. - ApiKeyAuth: []
  27810. summary: 查询内部成交单信息
  27811. tags:
  27812. - 风险管理
  27813. /Erms2/QuerySpotContract:
  27814. get:
  27815. parameters:
  27816. - description: 策略申请ID
  27817. in: query
  27818. name: asapplyid
  27819. required: true
  27820. type: integer
  27821. - description: 现货合同ID
  27822. in: query
  27823. name: spotcontractid
  27824. type: integer
  27825. produces:
  27826. - application/json
  27827. responses:
  27828. "200":
  27829. description: OK
  27830. schema:
  27831. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  27832. "500":
  27833. description: Internal Server Error
  27834. schema:
  27835. $ref: '#/definitions/app.Response'
  27836. security:
  27837. - ApiKeyAuth: []
  27838. summary: 查询现货合同表信息(指定策略ID、未结束的)
  27839. tags:
  27840. - 风险管理
  27841. /Erms3/AddErms2ASApply:
  27842. post:
  27843. parameters:
  27844. - description: 申请参数
  27845. in: body
  27846. name: jsonBody
  27847. required: true
  27848. schema:
  27849. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  27850. produces:
  27851. - application/json
  27852. responses:
  27853. "200":
  27854. description: OK
  27855. schema:
  27856. $ref: '#/definitions/app.Response'
  27857. "500":
  27858. description: Internal Server Error
  27859. schema:
  27860. $ref: '#/definitions/app.Response'
  27861. security:
  27862. - ApiKeyAuth: []
  27863. summary: 新增期现套利业务申请
  27864. tags:
  27865. - 风险管理v3
  27866. /Erms3/AddErms2SpotTradeApply:
  27867. post:
  27868. parameters:
  27869. - description: 申请参数
  27870. in: body
  27871. name: jsonBody
  27872. required: true
  27873. schema:
  27874. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  27875. produces:
  27876. - application/json
  27877. responses:
  27878. "200":
  27879. description: OK
  27880. schema:
  27881. $ref: '#/definitions/app.Response'
  27882. "500":
  27883. description: Internal Server Error
  27884. schema:
  27885. $ref: '#/definitions/app.Response'
  27886. security:
  27887. - ApiKeyAuth: []
  27888. summary: 新增现货贸易业务申请
  27889. tags:
  27890. - 风险管理v3
  27891. /Erms3/AddSpotContractApply:
  27892. post:
  27893. parameters:
  27894. - description: 申请参数
  27895. in: body
  27896. name: jsonBody
  27897. required: true
  27898. schema:
  27899. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  27900. produces:
  27901. - application/json
  27902. responses:
  27903. "200":
  27904. description: OK
  27905. schema:
  27906. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  27907. "500":
  27908. description: Internal Server Error
  27909. schema:
  27910. $ref: '#/definitions/app.Response'
  27911. security:
  27912. - ApiKeyAuth: []
  27913. summary: 新增现货合同申请
  27914. tags:
  27915. - 风险管理v3
  27916. /Erms3/AddUserInfoApply:
  27917. post:
  27918. parameters:
  27919. - description: 用户信息
  27920. in: body
  27921. name: jsonBody
  27922. required: true
  27923. schema:
  27924. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  27925. produces:
  27926. - application/json
  27927. responses:
  27928. "200":
  27929. description: OK
  27930. schema:
  27931. $ref: '#/definitions/app.Response'
  27932. "500":
  27933. description: Internal Server Error
  27934. schema:
  27935. $ref: '#/definitions/app.Response'
  27936. security:
  27937. - ApiKeyAuth: []
  27938. summary: 新增客户申请
  27939. tags:
  27940. - 风险管理v3
  27941. /Erms3/DeleteUserInfoApply:
  27942. get:
  27943. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  27944. parameters:
  27945. - description: 用户ID
  27946. in: query
  27947. name: userID
  27948. required: true
  27949. type: integer
  27950. produces:
  27951. - application/json
  27952. responses:
  27953. "200":
  27954. description: OK
  27955. schema:
  27956. $ref: '#/definitions/app.Response'
  27957. "500":
  27958. description: Internal Server Error
  27959. schema:
  27960. $ref: '#/definitions/app.Response'
  27961. security:
  27962. - ApiKeyAuth: []
  27963. summary: 删除客户申请
  27964. tags:
  27965. - 风险管理v3
  27966. /Erms3/ModifyUserInfoApply:
  27967. post:
  27968. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  27969. int, "userstate": 2 }'
  27970. parameters:
  27971. - description: 用户信息
  27972. in: body
  27973. name: jsonBody
  27974. required: true
  27975. schema:
  27976. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  27977. produces:
  27978. - application/json
  27979. responses:
  27980. "200":
  27981. description: OK
  27982. schema:
  27983. $ref: '#/definitions/app.Response'
  27984. "500":
  27985. description: Internal Server Error
  27986. schema:
  27987. $ref: '#/definitions/app.Response'
  27988. security:
  27989. - ApiKeyAuth: []
  27990. summary: 修改客户申请
  27991. tags:
  27992. - 风险管理v3
  27993. /Erms3/QueryBusinessInfo:
  27994. get:
  27995. parameters:
  27996. - description: 资金账号ID列表,用逗号分隔
  27997. in: query
  27998. name: accountids
  27999. required: true
  28000. type: string
  28001. - description: 状态,0为未结束 1为已结束
  28002. in: query
  28003. name: status
  28004. required: true
  28005. type: integer
  28006. produces:
  28007. - application/json
  28008. responses:
  28009. "200":
  28010. description: OK
  28011. schema:
  28012. items:
  28013. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  28014. type: array
  28015. "500":
  28016. description: Internal Server Error
  28017. schema:
  28018. $ref: '#/definitions/app.Response'
  28019. security:
  28020. - ApiKeyAuth: []
  28021. summary: 查询业务表单数据
  28022. tags:
  28023. - 风险管理v3
  28024. /Erms3/QueryPendingAuditContract:
  28025. get:
  28026. parameters:
  28027. - description: 资金账号ID列表,逗号隔开
  28028. in: query
  28029. name: accountids
  28030. required: true
  28031. type: string
  28032. - description: 合同类型 1-采购 -1-销售
  28033. in: query
  28034. name: contracttype
  28035. required: true
  28036. type: integer
  28037. - description: 合同模式 1-普通 2-回购
  28038. in: query
  28039. name: contractmode
  28040. required: true
  28041. type: integer
  28042. produces:
  28043. - application/json
  28044. responses:
  28045. "200":
  28046. description: OK
  28047. schema:
  28048. items:
  28049. $ref: '#/definitions/erms3.QryAuditContractRsp'
  28050. type: array
  28051. "500":
  28052. description: Internal Server Error
  28053. schema:
  28054. $ref: '#/definitions/app.Response'
  28055. security:
  28056. - ApiKeyAuth: []
  28057. summary: 查询待审核合同
  28058. tags:
  28059. - 风险管理v3
  28060. /Erms3/QueryPendingBusiness:
  28061. get:
  28062. parameters:
  28063. - description: 资金账号ID列表,逗号隔开
  28064. in: query
  28065. name: accountids
  28066. required: true
  28067. type: string
  28068. produces:
  28069. - application/json
  28070. responses:
  28071. "200":
  28072. description: OK
  28073. schema:
  28074. items:
  28075. $ref: '#/definitions/erms3.QryPendingBizRsp'
  28076. type: array
  28077. "500":
  28078. description: Internal Server Error
  28079. schema:
  28080. $ref: '#/definitions/app.Response'
  28081. security:
  28082. - ApiKeyAuth: []
  28083. summary: 查询待审核基差贸易业务
  28084. tags:
  28085. - 风险管理v3
  28086. /Erms3/QuerySpotContractAppleForm:
  28087. get:
  28088. parameters:
  28089. - description: 登录账号
  28090. in: query
  28091. name: loginID
  28092. required: true
  28093. type: integer
  28094. produces:
  28095. - application/json
  28096. responses:
  28097. "200":
  28098. description: OK
  28099. schema:
  28100. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  28101. "500":
  28102. description: Internal Server Error
  28103. schema:
  28104. $ref: '#/definitions/app.Response'
  28105. security:
  28106. - ApiKeyAuth: []
  28107. summary: 查询合同申请表单数据
  28108. tags:
  28109. - 风险管理v3
  28110. /Erms3/QuerySpotContractDetail:
  28111. get:
  28112. parameters:
  28113. - description: 资金账号ID列表,用逗号分隔
  28114. in: query
  28115. name: accountids
  28116. required: true
  28117. type: string
  28118. - description: 合同类型,1为采购合同 -1为销售合同
  28119. in: query
  28120. name: contracttype
  28121. required: true
  28122. type: integer
  28123. - description: 合同模式,1为普通合同 2为回购销售合同
  28124. in: query
  28125. name: contractmode
  28126. required: true
  28127. type: integer
  28128. - description: 状态,0为履约中 1为已完成
  28129. in: query
  28130. name: status
  28131. required: true
  28132. type: integer
  28133. produces:
  28134. - application/json
  28135. responses:
  28136. "200":
  28137. description: OK
  28138. schema:
  28139. items:
  28140. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  28141. type: array
  28142. "500":
  28143. description: Internal Server Error
  28144. schema:
  28145. $ref: '#/definitions/app.Response'
  28146. security:
  28147. - ApiKeyAuth: []
  28148. summary: 查询合同详细信息
  28149. tags:
  28150. - 风险管理v3
  28151. /Erms3/QueryUserInfoApplies:
  28152. get:
  28153. parameters:
  28154. - description: 页码
  28155. in: query
  28156. name: page
  28157. type: integer
  28158. - description: 每页条数
  28159. in: query
  28160. name: pagesize
  28161. type: integer
  28162. - description: 客户名称,支持模糊查询
  28163. in: query
  28164. name: userName
  28165. type: string
  28166. produces:
  28167. - application/json
  28168. responses:
  28169. "200":
  28170. description: OK
  28171. schema:
  28172. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  28173. "500":
  28174. description: Internal Server Error
  28175. schema:
  28176. $ref: '#/definitions/app.Response'
  28177. security:
  28178. - ApiKeyAuth: []
  28179. summary: 客户申请信息查询
  28180. tags:
  28181. - 风险管理v3
  28182. /Erms3/QueryUserInfos:
  28183. get:
  28184. parameters:
  28185. - description: 页码
  28186. in: query
  28187. name: page
  28188. type: integer
  28189. - description: 每页条数
  28190. in: query
  28191. name: pagesize
  28192. type: integer
  28193. - description: 客户名称,支持模糊查询
  28194. in: query
  28195. name: userName
  28196. type: string
  28197. produces:
  28198. - application/json
  28199. responses:
  28200. "200":
  28201. description: OK
  28202. schema:
  28203. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  28204. "500":
  28205. description: Internal Server Error
  28206. schema:
  28207. $ref: '#/definitions/app.Response'
  28208. security:
  28209. - ApiKeyAuth: []
  28210. summary: 客户信息查询
  28211. tags:
  28212. - 风险管理v3
  28213. /Ferroalloy/GetSpotGoodsPrice:
  28214. get:
  28215. parameters:
  28216. - description: 页码
  28217. in: query
  28218. name: page
  28219. type: integer
  28220. - description: 每页条数
  28221. in: query
  28222. name: pagesize
  28223. type: integer
  28224. produces:
  28225. - application/json
  28226. responses:
  28227. "200":
  28228. description: OK
  28229. schema:
  28230. items:
  28231. $ref: '#/definitions/models.GErmcpspotgoodsprice'
  28232. type: array
  28233. "500":
  28234. description: Internal Server Error
  28235. schema:
  28236. $ref: '#/definitions/app.Response'
  28237. security:
  28238. - ApiKeyAuth: []
  28239. summary: 获取现货行情
  28240. tags:
  28241. - 铁合金
  28242. /Ferroalloy/QueryMyRefer:
  28243. get:
  28244. parameters:
  28245. - description: 用户ID
  28246. in: query
  28247. name: userid
  28248. required: true
  28249. type: integer
  28250. - description: 页码
  28251. in: query
  28252. name: page
  28253. type: integer
  28254. - description: 每页条数
  28255. in: query
  28256. name: pagesize
  28257. type: integer
  28258. produces:
  28259. - application/json
  28260. responses:
  28261. "200":
  28262. description: OK
  28263. schema:
  28264. items:
  28265. $ref: '#/definitions/models.MyRefer'
  28266. type: array
  28267. "500":
  28268. description: Internal Server Error
  28269. schema:
  28270. $ref: '#/definitions/app.Response'
  28271. security:
  28272. - ApiKeyAuth: []
  28273. summary: 查询我的推荐列表
  28274. tags:
  28275. - 铁合金
  28276. /Ferroalloy/Signin:
  28277. post:
  28278. parameters:
  28279. - description: 用户签到请求
  28280. in: body
  28281. name: jsonBody
  28282. required: true
  28283. schema:
  28284. $ref: '#/definitions/models.THJSigninReq'
  28285. produces:
  28286. - application/json
  28287. responses:
  28288. "200":
  28289. description: OK
  28290. schema:
  28291. $ref: '#/definitions/models.THJSigninRsp'
  28292. "500":
  28293. description: Internal Server Error
  28294. schema:
  28295. $ref: '#/definitions/app.Response'
  28296. security:
  28297. - ApiKeyAuth: []
  28298. summary: 用户签到
  28299. tags:
  28300. - 铁合金
  28301. /Guangzuan/GZBSFWOrderOperate:
  28302. get:
  28303. parameters:
  28304. - description: 单据ID
  28305. in: query
  28306. name: orderid
  28307. required: true
  28308. type: integer
  28309. produces:
  28310. - application/json
  28311. responses:
  28312. "200":
  28313. description: OK
  28314. schema:
  28315. items:
  28316. $ref: '#/definitions/models.Gzbsfworderoperate'
  28317. type: array
  28318. "500":
  28319. description: Internal Server Error
  28320. schema:
  28321. $ref: '#/definitions/app.Response'
  28322. security:
  28323. - ApiKeyAuth: []
  28324. - LoginID: []
  28325. - Group: []
  28326. summary: 保税服务单据操作信息
  28327. tags:
  28328. - 广钻
  28329. /Guangzuan/GetGoods:
  28330. get:
  28331. parameters:
  28332. - description: 商品编号
  28333. in: query
  28334. name: goodsno
  28335. required: true
  28336. type: string
  28337. produces:
  28338. - application/json
  28339. responses:
  28340. "200":
  28341. description: OK
  28342. schema:
  28343. $ref: '#/definitions/models.GZGoods'
  28344. "500":
  28345. description: Internal Server Error
  28346. schema:
  28347. $ref: '#/definitions/app.Response'
  28348. security:
  28349. - ApiKeyAuth: []
  28350. - LoginID: []
  28351. - Group: []
  28352. summary: 获取钻石详情
  28353. tags:
  28354. - 广钻
  28355. /Guangzuan/GzCertAddressConfig:
  28356. get:
  28357. produces:
  28358. - application/json
  28359. responses:
  28360. "200":
  28361. description: OK
  28362. schema:
  28363. items:
  28364. $ref: '#/definitions/models.Gzcertaddressconfig'
  28365. type: array
  28366. "500":
  28367. description: Internal Server Error
  28368. schema:
  28369. $ref: '#/definitions/app.Response'
  28370. security:
  28371. - ApiKeyAuth: []
  28372. - LoginID: []
  28373. - Group: []
  28374. summary: Rapaport最新报价表(广钻)
  28375. tags:
  28376. - 广钻
  28377. /Guangzuan/GzCertAddressParam:
  28378. get:
  28379. produces:
  28380. - application/json
  28381. responses:
  28382. "200":
  28383. description: OK
  28384. schema:
  28385. items:
  28386. $ref: '#/definitions/models.Gzcertaddressparam'
  28387. type: array
  28388. "500":
  28389. description: Internal Server Error
  28390. schema:
  28391. $ref: '#/definitions/app.Response'
  28392. security:
  28393. - ApiKeyAuth: []
  28394. - LoginID: []
  28395. - Group: []
  28396. summary: 钻石证书地址参数
  28397. tags:
  28398. - 广钻
  28399. /Guangzuan/HomeData:
  28400. get:
  28401. parameters:
  28402. - description: 用户ID
  28403. in: query
  28404. name: userid
  28405. required: true
  28406. type: integer
  28407. produces:
  28408. - application/json
  28409. responses:
  28410. "200":
  28411. description: OK
  28412. schema:
  28413. $ref: '#/definitions/models.GZHomeData'
  28414. "500":
  28415. description: Internal Server Error
  28416. schema:
  28417. $ref: '#/definitions/app.Response'
  28418. security:
  28419. - ApiKeyAuth: []
  28420. - LoginID: []
  28421. - Group: []
  28422. summary: 首页统计数据
  28423. tags:
  28424. - 广钻
  28425. /Guangzuan/PriceCalc:
  28426. get:
  28427. parameters:
  28428. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  28429. in: query
  28430. name: zsshape
  28431. required: true
  28432. type: integer
  28433. - description: 颜色(D-M)
  28434. in: query
  28435. name: zscolor
  28436. required: true
  28437. type: string
  28438. - description: 净度
  28439. in: query
  28440. name: zsclarity
  28441. required: true
  28442. type: string
  28443. - description: 重量
  28444. in: query
  28445. name: weight
  28446. required: true
  28447. type: number
  28448. - description: 汇率
  28449. in: query
  28450. name: rate
  28451. required: true
  28452. type: number
  28453. - description: 折扣(%), 方向(加:10, 减:-10 )
  28454. in: query
  28455. name: discount
  28456. type: number
  28457. produces:
  28458. - application/json
  28459. responses:
  28460. "200":
  28461. description: OK
  28462. schema:
  28463. items:
  28464. $ref: '#/definitions/models.Gzrapaportprice'
  28465. type: array
  28466. "500":
  28467. description: Internal Server Error
  28468. schema:
  28469. $ref: '#/definitions/app.Response'
  28470. security:
  28471. - ApiKeyAuth: []
  28472. - LoginID: []
  28473. - Group: []
  28474. summary: 钻石价格计算器
  28475. tags:
  28476. - 广钻
  28477. /Guangzuan/QueryBuyOrder:
  28478. get:
  28479. parameters:
  28480. - description: 页码
  28481. in: query
  28482. name: page
  28483. type: integer
  28484. - description: 每页条数
  28485. in: query
  28486. name: pagesize
  28487. type: integer
  28488. - description: 商品(查询字段-模糊查询)
  28489. in: query
  28490. name: zsallproperties
  28491. type: string
  28492. - description: 钻石分类, 格式:1,2,3
  28493. in: query
  28494. name: zscategorys
  28495. type: string
  28496. - description: 委托单号
  28497. in: query
  28498. name: wrtradeorderid
  28499. type: integer
  28500. - description: 买方(查询字段-模糊查询)
  28501. in: query
  28502. name: buyusername
  28503. type: string
  28504. produces:
  28505. - application/json
  28506. responses:
  28507. "200":
  28508. description: OK
  28509. schema:
  28510. items:
  28511. $ref: '#/definitions/models.BuyOrder'
  28512. type: array
  28513. "500":
  28514. description: Internal Server Error
  28515. schema:
  28516. $ref: '#/definitions/app.Response'
  28517. security:
  28518. - ApiKeyAuth: []
  28519. - LoginID: []
  28520. - Group: []
  28521. summary: 查询求购大厅委托单
  28522. tags:
  28523. - 广钻
  28524. /Guangzuan/QueryDiamond:
  28525. post:
  28526. parameters:
  28527. - description: 钻石搜索入参
  28528. in: body
  28529. name: data
  28530. required: true
  28531. schema:
  28532. $ref: '#/definitions/models.SellOrderQueryReq'
  28533. produces:
  28534. - application/json
  28535. responses:
  28536. "200":
  28537. description: OK
  28538. schema:
  28539. items:
  28540. $ref: '#/definitions/models.SellOrder'
  28541. type: array
  28542. "500":
  28543. description: Internal Server Error
  28544. schema:
  28545. $ref: '#/definitions/app.Response'
  28546. security:
  28547. - ApiKeyAuth: []
  28548. - LoginID: []
  28549. - Group: []
  28550. summary: 钻石搜索
  28551. tags:
  28552. - 广钻
  28553. /Guangzuan/QueryGZBSFWOrder:
  28554. get:
  28555. parameters:
  28556. - description: 用户ID
  28557. in: query
  28558. name: userid
  28559. required: true
  28560. type: integer
  28561. - description: 页码
  28562. in: query
  28563. name: page
  28564. type: integer
  28565. - description: 每页条数
  28566. in: query
  28567. name: pagesize
  28568. type: integer
  28569. produces:
  28570. - application/json
  28571. responses:
  28572. "200":
  28573. description: OK
  28574. schema:
  28575. items:
  28576. $ref: '#/definitions/models.GzbsfworderM'
  28577. type: array
  28578. "500":
  28579. description: Internal Server Error
  28580. schema:
  28581. $ref: '#/definitions/app.Response'
  28582. security:
  28583. - ApiKeyAuth: []
  28584. - LoginID: []
  28585. - Group: []
  28586. summary: 查询保税服务单据
  28587. tags:
  28588. - 广钻
  28589. /Guangzuan/QueryGZBSFWOrderDetail:
  28590. get:
  28591. parameters:
  28592. - description: 用户ID
  28593. in: query
  28594. name: userid
  28595. required: true
  28596. type: integer
  28597. - description: 单据ID
  28598. in: query
  28599. name: orderid
  28600. type: integer
  28601. - description: 页码
  28602. in: query
  28603. name: page
  28604. type: integer
  28605. - description: 每页条数
  28606. in: query
  28607. name: pagesize
  28608. type: integer
  28609. produces:
  28610. - application/json
  28611. responses:
  28612. "200":
  28613. description: OK
  28614. schema:
  28615. items:
  28616. $ref: '#/definitions/models.GzbsfworderdetailM'
  28617. type: array
  28618. "500":
  28619. description: Internal Server Error
  28620. schema:
  28621. $ref: '#/definitions/app.Response'
  28622. security:
  28623. - ApiKeyAuth: []
  28624. - LoginID: []
  28625. - Group: []
  28626. summary: 查询保税服务单据明细
  28627. tags:
  28628. - 广钻
  28629. /Guangzuan/QueryGZCJBSOrderFile:
  28630. get:
  28631. parameters:
  28632. - description: 单据ID
  28633. in: query
  28634. name: orderid
  28635. required: true
  28636. type: integer
  28637. - description: 页码
  28638. in: query
  28639. name: page
  28640. type: integer
  28641. - description: 每页条数
  28642. in: query
  28643. name: pagesize
  28644. type: integer
  28645. produces:
  28646. - application/json
  28647. responses:
  28648. "200":
  28649. description: OK
  28650. schema:
  28651. items:
  28652. $ref: '#/definitions/models.GzcjbsorderfileM'
  28653. type: array
  28654. "500":
  28655. description: Internal Server Error
  28656. schema:
  28657. $ref: '#/definitions/app.Response'
  28658. security:
  28659. - ApiKeyAuth: []
  28660. - LoginID: []
  28661. - Group: []
  28662. summary: 出境保税单据文件
  28663. tags:
  28664. - 广钻
  28665. /Guangzuan/QueryGZCJJCOrder:
  28666. get:
  28667. parameters:
  28668. - description: 用户ID
  28669. in: query
  28670. name: userid
  28671. required: true
  28672. type: integer
  28673. - description: 页码
  28674. in: query
  28675. name: page
  28676. type: integer
  28677. - description: 每页条数
  28678. in: query
  28679. name: pagesize
  28680. type: integer
  28681. produces:
  28682. - application/json
  28683. responses:
  28684. "200":
  28685. description: OK
  28686. schema:
  28687. items:
  28688. $ref: '#/definitions/models.GzcjjcorderM'
  28689. type: array
  28690. "500":
  28691. description: Internal Server Error
  28692. schema:
  28693. $ref: '#/definitions/app.Response'
  28694. security:
  28695. - ApiKeyAuth: []
  28696. - LoginID: []
  28697. - Group: []
  28698. summary: 查询出境检测单据
  28699. tags:
  28700. - 广钻
  28701. /Guangzuan/QueryGZCJJCOrderDetail:
  28702. get:
  28703. parameters:
  28704. - description: 用户ID
  28705. in: query
  28706. name: userid
  28707. required: true
  28708. type: integer
  28709. - description: 单据ID
  28710. in: query
  28711. name: orderid
  28712. type: integer
  28713. - description: 页码
  28714. in: query
  28715. name: page
  28716. type: integer
  28717. - description: 每页条数
  28718. in: query
  28719. name: pagesize
  28720. type: integer
  28721. produces:
  28722. - application/json
  28723. responses:
  28724. "200":
  28725. description: OK
  28726. schema:
  28727. items:
  28728. $ref: '#/definitions/models.GzcjjcorderdetailM'
  28729. type: array
  28730. "500":
  28731. description: Internal Server Error
  28732. schema:
  28733. $ref: '#/definitions/app.Response'
  28734. security:
  28735. - ApiKeyAuth: []
  28736. - LoginID: []
  28737. - Group: []
  28738. summary: 查询出境检测单据明细(批次信息)
  28739. tags:
  28740. - 广钻
  28741. /Guangzuan/QueryMemberReport:
  28742. get:
  28743. parameters:
  28744. - description: 用户ID
  28745. in: query
  28746. name: userid
  28747. required: true
  28748. type: integer
  28749. - description: 页码
  28750. in: query
  28751. name: page
  28752. type: integer
  28753. - description: 每页条数
  28754. in: query
  28755. name: pagesize
  28756. type: integer
  28757. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  28758. in: query
  28759. name: cycletype
  28760. type: string
  28761. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  28762. in: query
  28763. name: begindate
  28764. required: true
  28765. type: string
  28766. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  28767. in: query
  28768. name: enddate
  28769. required: true
  28770. type: string
  28771. produces:
  28772. - application/json
  28773. responses:
  28774. "200":
  28775. description: OK
  28776. schema:
  28777. items:
  28778. $ref: '#/definitions/models.Reckondaytaaccount'
  28779. type: array
  28780. "500":
  28781. description: Internal Server Error
  28782. schema:
  28783. $ref: '#/definitions/app.Response'
  28784. security:
  28785. - ApiKeyAuth: []
  28786. - LoginID: []
  28787. - Group: []
  28788. summary: 查询会员报表
  28789. tags:
  28790. - 广钻
  28791. /Guangzuan/QueryMyBargainApply:
  28792. get:
  28793. parameters:
  28794. - description: 用户ID
  28795. in: query
  28796. name: userid
  28797. required: true
  28798. type: integer
  28799. - description: 页码
  28800. in: query
  28801. name: page
  28802. type: integer
  28803. - description: 每页条数
  28804. in: query
  28805. name: pagesize
  28806. type: integer
  28807. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  28808. in: query
  28809. name: applystatus
  28810. type: integer
  28811. - description: 查询类型 - 0:我的询价 1:我订单的询价
  28812. in: query
  28813. name: type
  28814. type: integer
  28815. - description: 关联委托单ID
  28816. in: query
  28817. name: wrtradeorderid
  28818. type: string
  28819. produces:
  28820. - application/json
  28821. responses:
  28822. "200":
  28823. description: OK
  28824. schema:
  28825. items:
  28826. $ref: '#/definitions/models.MyBargainApply'
  28827. type: array
  28828. "500":
  28829. description: Internal Server Error
  28830. schema:
  28831. $ref: '#/definitions/app.Response'
  28832. security:
  28833. - ApiKeyAuth: []
  28834. - LoginID: []
  28835. - Group: []
  28836. summary: 查询询价-求购
  28837. tags:
  28838. - 广钻
  28839. /Guangzuan/QueryMyBuyOrder:
  28840. get:
  28841. parameters:
  28842. - description: 用户ID
  28843. in: query
  28844. name: userid
  28845. required: true
  28846. type: integer
  28847. - description: 页码
  28848. in: query
  28849. name: page
  28850. type: integer
  28851. - description: 每页条数
  28852. in: query
  28853. name: pagesize
  28854. type: integer
  28855. - description: 商品(查询字段-模糊查询)
  28856. in: query
  28857. name: zsallproperties
  28858. type: string
  28859. - description: 钻石分类, 格式:1,2,3
  28860. in: query
  28861. name: zscategorys
  28862. type: string
  28863. - description: 委托单号
  28864. in: query
  28865. name: wrtradeorderid
  28866. type: integer
  28867. - description: 是否历史查询
  28868. in: query
  28869. name: ishis
  28870. type: boolean
  28871. - description: 开始交易日(yyyymmdd)
  28872. in: query
  28873. name: begindate
  28874. type: string
  28875. - description: 结束交易日(yyyymmdd)
  28876. in: query
  28877. name: enddate
  28878. type: string
  28879. produces:
  28880. - application/json
  28881. responses:
  28882. "200":
  28883. description: OK
  28884. schema:
  28885. items:
  28886. $ref: '#/definitions/models.MyBuyOrder'
  28887. type: array
  28888. "500":
  28889. description: Internal Server Error
  28890. schema:
  28891. $ref: '#/definitions/app.Response'
  28892. security:
  28893. - ApiKeyAuth: []
  28894. - LoginID: []
  28895. - Group: []
  28896. summary: 查询我的求购
  28897. tags:
  28898. - 广钻
  28899. /Guangzuan/QueryMyDeListing:
  28900. get:
  28901. parameters:
  28902. - description: 用户ID
  28903. in: query
  28904. name: userid
  28905. required: true
  28906. type: integer
  28907. - description: 页码
  28908. in: query
  28909. name: page
  28910. type: integer
  28911. - description: 每页条数
  28912. in: query
  28913. name: pagesize
  28914. type: integer
  28915. - description: 商品(查询字段-模糊查询)
  28916. in: query
  28917. name: zsallproperties
  28918. type: string
  28919. - description: 钻石分类, 格式:1,2,3
  28920. in: query
  28921. name: zscategorys
  28922. type: string
  28923. - description: 成交单号
  28924. in: query
  28925. name: wrtradedetailid
  28926. type: integer
  28927. - description: 方向,0-购买 1-出售
  28928. in: query
  28929. name: buyorsell
  28930. type: integer
  28931. - description: 对手方(模糊匹配)
  28932. in: query
  28933. name: matchusername
  28934. type: string
  28935. - description: 开始交易日(yyyymmdd)
  28936. in: query
  28937. name: begindate
  28938. type: string
  28939. - description: 结束交易日(yyyymmdd)
  28940. in: query
  28941. name: enddate
  28942. type: string
  28943. produces:
  28944. - application/json
  28945. responses:
  28946. "200":
  28947. description: OK
  28948. schema:
  28949. items:
  28950. $ref: '#/definitions/models.MyDeListing'
  28951. type: array
  28952. "500":
  28953. description: Internal Server Error
  28954. schema:
  28955. $ref: '#/definitions/app.Response'
  28956. security:
  28957. - ApiKeyAuth: []
  28958. - LoginID: []
  28959. - Group: []
  28960. summary: 查询我的摘牌
  28961. tags:
  28962. - 广钻
  28963. /Guangzuan/QueryMyDelistingApply:
  28964. get:
  28965. parameters:
  28966. - description: 用户ID
  28967. in: query
  28968. name: userid
  28969. required: true
  28970. type: integer
  28971. - description: 页码
  28972. in: query
  28973. name: page
  28974. type: integer
  28975. - description: 每页条数
  28976. in: query
  28977. name: pagesize
  28978. type: integer
  28979. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  28980. in: query
  28981. name: applystatus
  28982. type: integer
  28983. - description: 查询类型 - 0:我的询价 1:我订单的询价
  28984. in: query
  28985. name: type
  28986. type: integer
  28987. - description: 买委托单ID
  28988. in: query
  28989. name: buywrtradeorderid
  28990. type: string
  28991. produces:
  28992. - application/json
  28993. responses:
  28994. "200":
  28995. description: OK
  28996. schema:
  28997. items:
  28998. $ref: '#/definitions/models.MyDelistingApply'
  28999. type: array
  29000. "500":
  29001. description: Internal Server Error
  29002. schema:
  29003. $ref: '#/definitions/app.Response'
  29004. security:
  29005. - ApiKeyAuth: []
  29006. - LoginID: []
  29007. - Group: []
  29008. summary: 查询询价-出售
  29009. tags:
  29010. - 广钻
  29011. /Guangzuan/QueryMyFavorite:
  29012. get:
  29013. parameters:
  29014. - description: 用户ID
  29015. in: query
  29016. name: userid
  29017. required: true
  29018. type: integer
  29019. - description: 页码
  29020. in: query
  29021. name: page
  29022. type: integer
  29023. - description: 每页条数
  29024. in: query
  29025. name: pagesize
  29026. type: integer
  29027. - description: 钻石分类, 格式:1,2,3
  29028. in: query
  29029. name: zscategorys
  29030. type: string
  29031. produces:
  29032. - application/json
  29033. responses:
  29034. "200":
  29035. description: OK
  29036. schema:
  29037. items:
  29038. $ref: '#/definitions/models.MyFavorite'
  29039. type: array
  29040. "500":
  29041. description: Internal Server Error
  29042. schema:
  29043. $ref: '#/definitions/app.Response'
  29044. security:
  29045. - ApiKeyAuth: []
  29046. - LoginID: []
  29047. - Group: []
  29048. summary: 查询我的收藏
  29049. tags:
  29050. - 广钻
  29051. /Guangzuan/QueryMyPerformanc:
  29052. get:
  29053. parameters:
  29054. - description: 用户ID
  29055. in: query
  29056. name: userid
  29057. required: true
  29058. type: integer
  29059. - description: 页码
  29060. in: query
  29061. name: page
  29062. type: integer
  29063. - description: 每页条数
  29064. in: query
  29065. name: pagesize
  29066. type: integer
  29067. - description: 商品(查询字段-模糊查询)
  29068. in: query
  29069. name: zsallproperties
  29070. type: string
  29071. - description: 方向,0-买 1-卖
  29072. in: query
  29073. name: buyorsell
  29074. type: integer
  29075. - description: 是否历史查询
  29076. in: query
  29077. name: ishis
  29078. type: boolean
  29079. - description: 开始交易日(yyyymmdd)
  29080. in: query
  29081. name: begindate
  29082. type: string
  29083. - description: 结束交易日(yyyymmdd)
  29084. in: query
  29085. name: enddate
  29086. type: string
  29087. produces:
  29088. - application/json
  29089. responses:
  29090. "200":
  29091. description: OK
  29092. schema:
  29093. items:
  29094. $ref: '#/definitions/models.MyPerformanc'
  29095. type: array
  29096. "500":
  29097. description: Internal Server Error
  29098. schema:
  29099. $ref: '#/definitions/app.Response'
  29100. security:
  29101. - ApiKeyAuth: []
  29102. - LoginID: []
  29103. - Group: []
  29104. summary: 查询我的履约
  29105. tags:
  29106. - 广钻
  29107. /Guangzuan/QueryMySellOrder:
  29108. get:
  29109. parameters:
  29110. - description: 用户ID
  29111. in: query
  29112. name: userid
  29113. required: true
  29114. type: integer
  29115. - description: 页码
  29116. in: query
  29117. name: page
  29118. type: integer
  29119. - description: 每页条数
  29120. in: query
  29121. name: pagesize
  29122. type: integer
  29123. - description: 商品(查询字段-模糊查询)
  29124. in: query
  29125. name: zsallproperties
  29126. type: string
  29127. - description: 钻石分类, 格式:1,2,3
  29128. in: query
  29129. name: zscategorys
  29130. type: string
  29131. - description: 委托单号
  29132. in: query
  29133. name: wrtradeorderid
  29134. type: integer
  29135. - description: 是否历史查询
  29136. in: query
  29137. name: ishis
  29138. type: boolean
  29139. - description: 开始交易日(yyyymmdd)
  29140. in: query
  29141. name: begindate
  29142. type: string
  29143. - description: 结束交易日(yyyymmdd)
  29144. in: query
  29145. name: enddate
  29146. type: string
  29147. produces:
  29148. - application/json
  29149. responses:
  29150. "200":
  29151. description: OK
  29152. schema:
  29153. items:
  29154. $ref: '#/definitions/models.MySellOrder'
  29155. type: array
  29156. "500":
  29157. description: Internal Server Error
  29158. schema:
  29159. $ref: '#/definitions/app.Response'
  29160. security:
  29161. - ApiKeyAuth: []
  29162. - LoginID: []
  29163. - Group: []
  29164. summary: 查询我的出售
  29165. tags:
  29166. - 广钻
  29167. /Guangzuan/QueryMyWRPosition:
  29168. get:
  29169. parameters:
  29170. - description: 页码
  29171. in: query
  29172. name: page
  29173. type: integer
  29174. - description: 每页条数
  29175. in: query
  29176. name: pagesize
  29177. type: integer
  29178. - description: 登录用户ID
  29179. in: query
  29180. name: wruserid
  29181. required: true
  29182. type: integer
  29183. - description: 商品(查询字段-模糊查询)
  29184. in: query
  29185. name: zsallproperties
  29186. type: string
  29187. - description: 钻石分类, 格式:1,2,3
  29188. in: query
  29189. name: zscategorys
  29190. type: string
  29191. - description: 仓库ID
  29192. in: query
  29193. name: warehouseid
  29194. type: integer
  29195. - description: 是否上架,0-全部 1-是 2-否
  29196. in: query
  29197. name: marketflag
  29198. type: integer
  29199. produces:
  29200. - application/json
  29201. responses:
  29202. "200":
  29203. description: OK
  29204. schema:
  29205. items:
  29206. $ref: '#/definitions/models.MyWRPosition'
  29207. type: array
  29208. "500":
  29209. description: Internal Server Error
  29210. schema:
  29211. $ref: '#/definitions/app.Response'
  29212. security:
  29213. - ApiKeyAuth: []
  29214. - LoginID: []
  29215. - Group: []
  29216. summary: 查询我的库存
  29217. tags:
  29218. - 广钻
  29219. /Guangzuan/QuerySellOrder:
  29220. get:
  29221. parameters:
  29222. - description: 页码
  29223. in: query
  29224. name: page
  29225. type: integer
  29226. - description: 每页条数
  29227. in: query
  29228. name: pagesize
  29229. type: integer
  29230. - description: 商品(查询字段-模糊查询)
  29231. in: query
  29232. name: zsallproperties
  29233. type: string
  29234. - description: 钻石分类, 格式:1,2,3
  29235. in: query
  29236. name: zscategorys
  29237. type: string
  29238. - description: 委托单号
  29239. in: query
  29240. name: wrtradeorderid
  29241. type: integer
  29242. - description: 卖方(查询字段-模糊查询)
  29243. in: query
  29244. name: buyusername
  29245. type: string
  29246. produces:
  29247. - application/json
  29248. responses:
  29249. "200":
  29250. description: OK
  29251. schema:
  29252. items:
  29253. $ref: '#/definitions/models.SellOrder'
  29254. type: array
  29255. "500":
  29256. description: Internal Server Error
  29257. schema:
  29258. $ref: '#/definitions/app.Response'
  29259. security:
  29260. - ApiKeyAuth: []
  29261. - LoginID: []
  29262. - Group: []
  29263. summary: 查询出售大厅委托单
  29264. tags:
  29265. - 广钻
  29266. /Guangzuan/QueryTradeReport:
  29267. get:
  29268. parameters:
  29269. - description: 用户ID
  29270. in: query
  29271. name: userid
  29272. required: true
  29273. type: integer
  29274. - description: 页码
  29275. in: query
  29276. name: page
  29277. type: integer
  29278. - description: 每页条数
  29279. in: query
  29280. name: pagesize
  29281. type: integer
  29282. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  29283. in: query
  29284. name: cycletype
  29285. type: string
  29286. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29287. in: query
  29288. name: begindate
  29289. required: true
  29290. type: string
  29291. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29292. in: query
  29293. name: enddate
  29294. required: true
  29295. type: string
  29296. - description: 商品分类
  29297. in: query
  29298. name: zscategory
  29299. type: integer
  29300. - description: 商品币种
  29301. in: query
  29302. name: zscurrencytype
  29303. type: integer
  29304. produces:
  29305. - application/json
  29306. responses:
  29307. "200":
  29308. description: OK
  29309. schema:
  29310. items:
  29311. $ref: '#/definitions/models.Reckongzmemtradesum'
  29312. type: array
  29313. "500":
  29314. description: Internal Server Error
  29315. schema:
  29316. $ref: '#/definitions/app.Response'
  29317. security:
  29318. - ApiKeyAuth: []
  29319. - LoginID: []
  29320. - Group: []
  29321. summary: 查询交易报表
  29322. tags:
  29323. - 广钻
  29324. /Guangzuan/QueryWRPositionReport:
  29325. get:
  29326. parameters:
  29327. - description: 用户ID
  29328. in: query
  29329. name: userid
  29330. required: true
  29331. type: integer
  29332. - description: 页码
  29333. in: query
  29334. name: page
  29335. type: integer
  29336. - description: 每页条数
  29337. in: query
  29338. name: pagesize
  29339. type: integer
  29340. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  29341. in: query
  29342. name: cycletype
  29343. type: string
  29344. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29345. in: query
  29346. name: begindate
  29347. required: true
  29348. type: string
  29349. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29350. in: query
  29351. name: enddate
  29352. required: true
  29353. type: string
  29354. - description: 商品分类
  29355. in: query
  29356. name: zscategory
  29357. type: integer
  29358. - description: 商品币种
  29359. in: query
  29360. name: zscurrencytype
  29361. type: integer
  29362. produces:
  29363. - application/json
  29364. responses:
  29365. "200":
  29366. description: OK
  29367. schema:
  29368. items:
  29369. $ref: '#/definitions/models.WRPositionReport'
  29370. type: array
  29371. "500":
  29372. description: Internal Server Error
  29373. schema:
  29374. $ref: '#/definitions/app.Response'
  29375. security:
  29376. - ApiKeyAuth: []
  29377. - LoginID: []
  29378. - Group: []
  29379. summary: 查询仓储报表
  29380. tags:
  29381. - 广钻
  29382. /Guangzuan/QueryWarehouseInfo:
  29383. get:
  29384. parameters:
  29385. - description: 页码
  29386. in: query
  29387. name: page
  29388. type: integer
  29389. - description: 每页条数
  29390. in: query
  29391. name: pagesize
  29392. type: integer
  29393. - description: 用户ID
  29394. in: query
  29395. name: userid
  29396. required: true
  29397. type: integer
  29398. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  29399. in: query
  29400. name: status
  29401. type: string
  29402. - description: 是返回交易所仓库
  29403. in: query
  29404. name: isincludeexchange
  29405. type: boolean
  29406. produces:
  29407. - application/json
  29408. responses:
  29409. "200":
  29410. description: OK
  29411. schema:
  29412. items:
  29413. $ref: '#/definitions/models.GZWarehouseinfo'
  29414. type: array
  29415. "500":
  29416. description: Internal Server Error
  29417. schema:
  29418. $ref: '#/definitions/app.Response'
  29419. security:
  29420. - ApiKeyAuth: []
  29421. - LoginID: []
  29422. - Group: []
  29423. summary: 查询仓库信息
  29424. tags:
  29425. - 广钻
  29426. /Market/GetAllExExchanges:
  29427. get:
  29428. produces:
  29429. - application/json
  29430. responses:
  29431. "200":
  29432. description: OK
  29433. schema:
  29434. $ref: '#/definitions/models.Goods'
  29435. "500":
  29436. description: Internal Server Error
  29437. schema:
  29438. $ref: '#/definitions/app.Response'
  29439. security:
  29440. - ApiKeyAuth: []
  29441. summary: 获取所有外部交易所信息
  29442. tags:
  29443. - 通用市场
  29444. /Market/QueryGoodsesByLoginID:
  29445. get:
  29446. parameters:
  29447. - description: 登录账号
  29448. in: query
  29449. name: loginID
  29450. required: true
  29451. type: integer
  29452. - description: 市场ID列表,格式:1,2,3
  29453. in: query
  29454. name: marketIDs
  29455. type: string
  29456. produces:
  29457. - application/json
  29458. responses:
  29459. "200":
  29460. description: OK
  29461. schema:
  29462. $ref: '#/definitions/models.Goods'
  29463. "500":
  29464. description: Internal Server Error
  29465. schema:
  29466. $ref: '#/definitions/app.Response'
  29467. security:
  29468. - ApiKeyAuth: []
  29469. summary: 获取登录账号有权限的商品信息
  29470. tags:
  29471. - 通用市场
  29472. /Market/QueryMarketRun:
  29473. get:
  29474. parameters:
  29475. - description: 市场ID,不传返回所有
  29476. in: query
  29477. name: marketID
  29478. type: integer
  29479. produces:
  29480. - application/json
  29481. responses:
  29482. "200":
  29483. description: OK
  29484. schema:
  29485. $ref: '#/definitions/models.Marketrun'
  29486. "500":
  29487. description: Internal Server Error
  29488. schema:
  29489. $ref: '#/definitions/app.Response'
  29490. security:
  29491. - ApiKeyAuth: []
  29492. summary: 查询市场运行信息
  29493. tags:
  29494. - 通用市场
  29495. /Market/QueryMarketsByLoginID:
  29496. get:
  29497. parameters:
  29498. - description: 登录账号
  29499. in: query
  29500. name: loginID
  29501. required: true
  29502. type: integer
  29503. produces:
  29504. - application/json
  29505. responses:
  29506. "200":
  29507. description: OK
  29508. schema:
  29509. $ref: '#/definitions/models.Market'
  29510. "500":
  29511. description: Internal Server Error
  29512. schema:
  29513. $ref: '#/definitions/app.Response'
  29514. security:
  29515. - ApiKeyAuth: []
  29516. summary: 获取登录账号有权限的市场信息
  29517. tags:
  29518. - 通用市场
  29519. /Order/QueryHisTradeDetail:
  29520. get:
  29521. parameters:
  29522. - description: 资金账户 - 格式:1,2,3
  29523. in: query
  29524. name: accountID
  29525. required: true
  29526. type: string
  29527. - description: 成交单号
  29528. in: query
  29529. name: tradeID
  29530. type: integer
  29531. - description: 委托单号
  29532. in: query
  29533. name: orderID
  29534. type: integer
  29535. - description: 商品ID
  29536. in: query
  29537. name: goodsID
  29538. type: integer
  29539. - description: 交易模式 - 格式:1,2,3
  29540. in: query
  29541. name: tradeMode
  29542. type: string
  29543. - description: 委托单据类型
  29544. in: query
  29545. name: buildType
  29546. type: integer
  29547. - description: 成交类别 - 格式:1,2,3
  29548. in: query
  29549. name: tradeType
  29550. type: string
  29551. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  29552. in: query
  29553. name: startDate
  29554. type: string
  29555. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  29556. in: query
  29557. name: endDate
  29558. type: string
  29559. produces:
  29560. - application/json
  29561. responses:
  29562. "200":
  29563. description: OK
  29564. schema:
  29565. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  29566. "500":
  29567. description: Internal Server Error
  29568. schema:
  29569. $ref: '#/definitions/app.Response'
  29570. security:
  29571. - ApiKeyAuth: []
  29572. summary: 历史成交单查询(合约市场)
  29573. tags:
  29574. - 通用单据
  29575. /Order/QueryHisTradeOrderDetail:
  29576. get:
  29577. parameters:
  29578. - description: 资金账户 - 格式:1,2,3
  29579. in: query
  29580. name: accountID
  29581. required: true
  29582. type: string
  29583. - description: 交易模式 - 格式:1,2,3
  29584. in: query
  29585. name: tradeMode
  29586. type: string
  29587. - description: 委托状态 - 格式:1,2,3
  29588. in: query
  29589. name: orderStatus
  29590. type: string
  29591. - description: 委托单号
  29592. in: query
  29593. name: orderID
  29594. type: integer
  29595. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  29596. in: query
  29597. name: startDate
  29598. type: string
  29599. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  29600. in: query
  29601. name: endDate
  29602. type: string
  29603. produces:
  29604. - application/json
  29605. responses:
  29606. "200":
  29607. description: OK
  29608. schema:
  29609. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  29610. "500":
  29611. description: Internal Server Error
  29612. schema:
  29613. $ref: '#/definitions/app.Response'
  29614. security:
  29615. - ApiKeyAuth: []
  29616. summary: 历史委托单查询请求(合约市场)
  29617. tags:
  29618. - 通用单据
  29619. /Order/QueryTradeDetail:
  29620. get:
  29621. parameters:
  29622. - description: 资金账户 - 格式:1,2,3
  29623. in: query
  29624. name: accountID
  29625. required: true
  29626. type: string
  29627. - description: 成交单号
  29628. in: query
  29629. name: tradeID
  29630. type: integer
  29631. - description: 委托单号
  29632. in: query
  29633. name: orderID
  29634. type: integer
  29635. - description: 交易模式 - 格式:1,2,3
  29636. in: query
  29637. name: tradeMode
  29638. type: string
  29639. - description: 委托单据类型
  29640. in: query
  29641. name: buildType
  29642. type: integer
  29643. - description: 成交类别 - 格式:1,2,3
  29644. in: query
  29645. name: tradeType
  29646. type: string
  29647. - description: 商品ID
  29648. in: query
  29649. name: goodsID
  29650. type: integer
  29651. produces:
  29652. - application/json
  29653. responses:
  29654. "200":
  29655. description: OK
  29656. schema:
  29657. $ref: '#/definitions/order.QueryTradeDetailRsp'
  29658. "500":
  29659. description: Internal Server Error
  29660. schema:
  29661. $ref: '#/definitions/app.Response'
  29662. security:
  29663. - ApiKeyAuth: []
  29664. summary: 成交单查询(合约市场)
  29665. tags:
  29666. - 通用单据
  29667. /Order/QueryTradeHolderDetail:
  29668. get:
  29669. parameters:
  29670. - description: 用户id
  29671. in: query
  29672. name: userid
  29673. type: integer
  29674. - description: 资金账号, 格式 1,2,3
  29675. in: query
  29676. name: accids
  29677. type: string
  29678. - description: 交易模式, 格式 1,2,3
  29679. in: query
  29680. name: trademodes
  29681. type: string
  29682. - description: 市场id, 格式 1,2,3
  29683. in: query
  29684. name: marketids
  29685. type: string
  29686. - description: 商品id
  29687. in: query
  29688. name: goodsid
  29689. type: integer
  29690. - description: 买卖方向 0-买 1-卖
  29691. in: query
  29692. name: buyorsell
  29693. type: integer
  29694. produces:
  29695. - application/json
  29696. responses:
  29697. "200":
  29698. description: OK
  29699. schema:
  29700. items:
  29701. $ref: '#/definitions/models.TradeHolderDetail'
  29702. type: array
  29703. "500":
  29704. description: Internal Server Error
  29705. schema:
  29706. $ref: '#/definitions/app.Response'
  29707. security:
  29708. - ApiKeyAuth: []
  29709. summary: 查询持仓明细
  29710. tags:
  29711. - 通用单据
  29712. /Order/QueryTradeOrderDetail:
  29713. get:
  29714. parameters:
  29715. - description: 资金账户 - 格式:1,2,3
  29716. in: query
  29717. name: accountID
  29718. required: true
  29719. type: string
  29720. - description: 交易模式 - 格式:1,2,3
  29721. in: query
  29722. name: tradeMode
  29723. type: string
  29724. - description: 委托状态 - 格式:1,2,3
  29725. in: query
  29726. name: orderStatus
  29727. type: string
  29728. - description: 委托单号
  29729. in: query
  29730. name: orderID
  29731. type: integer
  29732. produces:
  29733. - application/json
  29734. responses:
  29735. "200":
  29736. description: OK
  29737. schema:
  29738. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  29739. "500":
  29740. description: Internal Server Error
  29741. schema:
  29742. $ref: '#/definitions/app.Response'
  29743. security:
  29744. - ApiKeyAuth: []
  29745. summary: 委托单查询请求(合约市场)
  29746. tags:
  29747. - 通用单据
  29748. /Order/QueryTradePosition:
  29749. get:
  29750. parameters:
  29751. - description: 资金账户 - 格式:1,2,3
  29752. in: query
  29753. name: accountID
  29754. required: true
  29755. type: string
  29756. - description: 交易模式 - 格式:1,2,3
  29757. in: query
  29758. name: tradeMode
  29759. type: string
  29760. produces:
  29761. - application/json
  29762. responses:
  29763. "200":
  29764. description: OK
  29765. schema:
  29766. $ref: '#/definitions/order.QueryTradePositionRsp'
  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/QueryAccountInOutApply:
  29777. get:
  29778. parameters:
  29779. - description: 用户ID
  29780. in: query
  29781. name: userid
  29782. required: true
  29783. type: integer
  29784. - description: 申请起始日期(格式yyyymmdd)
  29785. in: query
  29786. name: begindate
  29787. type: string
  29788. - description: 申请截止日期(格式yyyymmdd)
  29789. in: query
  29790. name: enddate
  29791. type: string
  29792. - description: 模糊搜索名称
  29793. in: query
  29794. name: likename
  29795. type: string
  29796. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  29797. in: query
  29798. name: applystatus
  29799. type: integer
  29800. - description: 查询类型 1-提现(出金) 2-充值(入金)
  29801. in: query
  29802. name: querytype
  29803. type: integer
  29804. produces:
  29805. - application/json
  29806. responses:
  29807. "200":
  29808. description: OK
  29809. schema:
  29810. items:
  29811. $ref: '#/definitions/models.QhjAccountOutInApply'
  29812. type: array
  29813. "500":
  29814. description: Internal Server Error
  29815. schema:
  29816. $ref: '#/definitions/app.Response'
  29817. security:
  29818. - ApiKeyAuth: []
  29819. summary: 查询充值提现
  29820. tags:
  29821. - 大连千海金
  29822. /Qhj/QueryAreaFinanceConfig:
  29823. get:
  29824. parameters:
  29825. - description: 机构用户ID 其他做市关系,都设置为 1
  29826. in: query
  29827. name: userid
  29828. type: integer
  29829. produces:
  29830. - application/json
  29831. responses:
  29832. "200":
  29833. description: OK
  29834. schema:
  29835. items:
  29836. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  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/QueryBankAccountSign:
  29848. get:
  29849. parameters:
  29850. - description: 用户ID
  29851. in: query
  29852. name: userid
  29853. required: true
  29854. type: integer
  29855. produces:
  29856. - application/json
  29857. responses:
  29858. "200":
  29859. description: OK
  29860. schema:
  29861. items:
  29862. $ref: '#/definitions/models.QhjBankAccountSign'
  29863. type: array
  29864. "500":
  29865. description: Internal Server Error
  29866. schema:
  29867. $ref: '#/definitions/app.Response'
  29868. security:
  29869. - ApiKeyAuth: []
  29870. summary: 查询签约银行信息(提现账户管理)
  29871. tags:
  29872. - 大连千海金
  29873. /Qhj/QueryBankInfo:
  29874. get:
  29875. produces:
  29876. - application/json
  29877. responses:
  29878. "200":
  29879. description: OK
  29880. schema:
  29881. items:
  29882. $ref: '#/definitions/models.QhjBankInfo'
  29883. type: array
  29884. "500":
  29885. description: Internal Server Error
  29886. schema:
  29887. $ref: '#/definitions/app.Response'
  29888. security:
  29889. - ApiKeyAuth: []
  29890. summary: 查询开户行
  29891. tags:
  29892. - 大连千海金
  29893. /Qhj/QueryBrokerApply:
  29894. get:
  29895. parameters:
  29896. - description: 所属机构ID
  29897. in: query
  29898. name: userid
  29899. type: integer
  29900. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29901. in: query
  29902. name: filterstatus
  29903. type: string
  29904. produces:
  29905. - application/json
  29906. responses:
  29907. "200":
  29908. description: OK
  29909. schema:
  29910. items:
  29911. $ref: '#/definitions/models.QhjBrokerApply'
  29912. type: array
  29913. "500":
  29914. description: Internal Server Error
  29915. schema:
  29916. $ref: '#/definitions/app.Response'
  29917. security:
  29918. - ApiKeyAuth: []
  29919. summary: 查询经纪人申请
  29920. tags:
  29921. - 大连千海金
  29922. /Qhj/QueryBrokerApplyEx:
  29923. get:
  29924. parameters:
  29925. - description: 所属机构ID
  29926. in: query
  29927. name: userid
  29928. type: integer
  29929. produces:
  29930. - application/json
  29931. responses:
  29932. "200":
  29933. description: OK
  29934. schema:
  29935. items:
  29936. $ref: '#/definitions/models.QhjBrokerApplyEx'
  29937. type: array
  29938. "500":
  29939. description: Internal Server Error
  29940. schema:
  29941. $ref: '#/definitions/app.Response'
  29942. security:
  29943. - ApiKeyAuth: []
  29944. summary: 查询经纪人信息和申请记录
  29945. tags:
  29946. - 大连千海金
  29947. /Qhj/QueryBrokerRewardLog:
  29948. get:
  29949. parameters:
  29950. - description: 用户ID
  29951. in: query
  29952. name: userid
  29953. required: true
  29954. type: integer
  29955. - description: 开始交易日(yyyymmdd)
  29956. in: query
  29957. name: begindate
  29958. type: string
  29959. - description: 结束交易日(yyyymmdd)
  29960. in: query
  29961. name: enddate
  29962. type: string
  29963. produces:
  29964. - application/json
  29965. responses:
  29966. "200":
  29967. description: OK
  29968. schema:
  29969. items:
  29970. $ref: '#/definitions/models.QhjBrokerRewardLog'
  29971. type: array
  29972. "500":
  29973. description: Internal Server Error
  29974. schema:
  29975. $ref: '#/definitions/app.Response'
  29976. security:
  29977. - ApiKeyAuth: []
  29978. summary: 查询奖励流水(我的奖励)
  29979. tags:
  29980. - 大连千海金
  29981. /Qhj/QueryContract:
  29982. get:
  29983. parameters:
  29984. - description: 用户ID
  29985. in: query
  29986. name: userid
  29987. type: integer
  29988. - description: scf合同id
  29989. in: query
  29990. name: scfcontractid
  29991. type: integer
  29992. produces:
  29993. - application/json
  29994. responses:
  29995. "200":
  29996. description: OK
  29997. schema:
  29998. items:
  29999. $ref: '#/definitions/models.QhjContract'
  30000. type: array
  30001. "500":
  30002. description: Internal Server Error
  30003. schema:
  30004. $ref: '#/definitions/app.Response'
  30005. security:
  30006. - ApiKeyAuth: []
  30007. summary: 查询融资明细(合同)
  30008. tags:
  30009. - 大连千海金
  30010. /Qhj/QueryContractLog:
  30011. get:
  30012. parameters:
  30013. - description: scf合同id
  30014. in: query
  30015. name: scfcontractid
  30016. required: true
  30017. type: integer
  30018. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  30019. in: query
  30020. name: amounttype
  30021. type: string
  30022. produces:
  30023. - application/json
  30024. responses:
  30025. "200":
  30026. description: OK
  30027. schema:
  30028. items:
  30029. $ref: '#/definitions/models.QhjContractLog'
  30030. type: array
  30031. "500":
  30032. description: Internal Server Error
  30033. schema:
  30034. $ref: '#/definitions/app.Response'
  30035. security:
  30036. - ApiKeyAuth: []
  30037. summary: 查询融资明细流水(融资明细详情页中的流水)
  30038. tags:
  30039. - 大连千海金
  30040. /Qhj/QueryCusBankSignBank:
  30041. get:
  30042. produces:
  30043. - application/json
  30044. responses:
  30045. "200":
  30046. description: OK
  30047. schema:
  30048. items:
  30049. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  30050. type: array
  30051. "500":
  30052. description: Internal Server Error
  30053. schema:
  30054. $ref: '#/definitions/app.Response'
  30055. security:
  30056. - ApiKeyAuth: []
  30057. summary: 查询托管银行
  30058. tags:
  30059. - 大连千海金
  30060. /Qhj/QueryCustomerInfo:
  30061. get:
  30062. parameters:
  30063. - description: 用户ID
  30064. in: query
  30065. name: userid
  30066. required: true
  30067. type: integer
  30068. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  30069. in: query
  30070. name: querytype
  30071. required: true
  30072. type: integer
  30073. - description: 客户类型 1-个人 2-企业
  30074. in: query
  30075. name: userinfotype
  30076. type: integer
  30077. - description: 客户名称(模糊匹配)
  30078. in: query
  30079. name: customername
  30080. type: string
  30081. - description: 昵称(模糊匹配)
  30082. in: query
  30083. name: nickname
  30084. type: string
  30085. - description: 是否包含子级 1-包含
  30086. in: query
  30087. name: includesub
  30088. type: integer
  30089. produces:
  30090. - application/json
  30091. responses:
  30092. "200":
  30093. description: OK
  30094. schema:
  30095. items:
  30096. $ref: '#/definitions/models.QhjCustomer'
  30097. type: array
  30098. "500":
  30099. description: Internal Server Error
  30100. schema:
  30101. $ref: '#/definitions/app.Response'
  30102. security:
  30103. - ApiKeyAuth: []
  30104. summary: 查询客户资料
  30105. tags:
  30106. - 大连千海金
  30107. /Qhj/QueryGoodsEx:
  30108. get:
  30109. parameters:
  30110. - description: 商品id
  30111. in: query
  30112. name: goodsid
  30113. type: integer
  30114. produces:
  30115. - application/json
  30116. responses:
  30117. "200":
  30118. description: OK
  30119. schema:
  30120. items:
  30121. $ref: '#/definitions/models.Qhjgoodsex'
  30122. type: array
  30123. "500":
  30124. description: Internal Server Error
  30125. schema:
  30126. $ref: '#/definitions/app.Response'
  30127. security:
  30128. - ApiKeyAuth: []
  30129. summary: 交易商品扩展表
  30130. tags:
  30131. - 大连千海金
  30132. /Qhj/QueryMyTeam:
  30133. get:
  30134. parameters:
  30135. - description: 用户ID
  30136. in: query
  30137. name: userid
  30138. required: true
  30139. type: integer
  30140. produces:
  30141. - application/json
  30142. responses:
  30143. "200":
  30144. description: OK
  30145. schema:
  30146. items:
  30147. $ref: '#/definitions/models.QhjMyTeamEx'
  30148. type: array
  30149. "500":
  30150. description: Internal Server Error
  30151. schema:
  30152. $ref: '#/definitions/app.Response'
  30153. security:
  30154. - ApiKeyAuth: []
  30155. summary: 查询我的团队
  30156. tags:
  30157. - 大连千海金
  30158. /Qhj/QueryMyTeamOrder:
  30159. get:
  30160. parameters:
  30161. - description: 页码
  30162. in: query
  30163. name: page
  30164. type: integer
  30165. - description: 每页条数
  30166. in: query
  30167. name: pagesize
  30168. type: integer
  30169. - description: 用户ID
  30170. in: query
  30171. name: userid
  30172. required: true
  30173. type: integer
  30174. - description: 交易模式
  30175. in: query
  30176. name: trademode
  30177. type: integer
  30178. - description: 名称(模糊搜索账户)
  30179. in: query
  30180. name: filtername
  30181. type: string
  30182. produces:
  30183. - application/json
  30184. responses:
  30185. "200":
  30186. description: OK
  30187. schema:
  30188. items:
  30189. $ref: '#/definitions/models.QhjTeamOrder'
  30190. type: array
  30191. "500":
  30192. description: Internal Server Error
  30193. schema:
  30194. $ref: '#/definitions/app.Response'
  30195. security:
  30196. - ApiKeyAuth: []
  30197. summary: 查询团队订单(我的团队/团队订单)
  30198. tags:
  30199. - 大连千海金
  30200. /Qhj/QueryParentAreaList:
  30201. get:
  30202. parameters:
  30203. - description: 用户ID
  30204. in: query
  30205. name: userid
  30206. required: true
  30207. type: integer
  30208. produces:
  30209. - application/json
  30210. responses:
  30211. "200":
  30212. description: OK
  30213. schema:
  30214. items:
  30215. $ref: '#/definitions/models.QhjParentAreaList'
  30216. type: array
  30217. "500":
  30218. description: Internal Server Error
  30219. schema:
  30220. $ref: '#/definitions/app.Response'
  30221. security:
  30222. - ApiKeyAuth: []
  30223. summary: 查询所属机构列表
  30224. tags:
  30225. - 大连千海金
  30226. /Qhj/QueryPayOrder:
  30227. get:
  30228. parameters:
  30229. - description: 资金账号id
  30230. in: query
  30231. name: accountid
  30232. required: true
  30233. type: integer
  30234. - description: 成交单号
  30235. in: query
  30236. name: tradeid
  30237. type: integer
  30238. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  30239. in: query
  30240. name: payflag
  30241. type: string
  30242. produces:
  30243. - application/json
  30244. responses:
  30245. "200":
  30246. description: OK
  30247. schema:
  30248. items:
  30249. $ref: '#/definitions/models.QhjPayOrder'
  30250. type: array
  30251. "500":
  30252. description: Internal Server Error
  30253. schema:
  30254. $ref: '#/definitions/app.Response'
  30255. security:
  30256. - ApiKeyAuth: []
  30257. summary: 查询待付款单据
  30258. tags:
  30259. - 大连千海金
  30260. /Qhj/QueryPickArea:
  30261. get:
  30262. parameters:
  30263. - description: 用户ID
  30264. in: query
  30265. name: userid
  30266. type: integer
  30267. produces:
  30268. - application/json
  30269. responses:
  30270. "200":
  30271. description: OK
  30272. schema:
  30273. items:
  30274. $ref: '#/definitions/models.QhjPickArea'
  30275. type: array
  30276. "500":
  30277. description: Internal Server Error
  30278. schema:
  30279. $ref: '#/definitions/app.Response'
  30280. security:
  30281. - ApiKeyAuth: []
  30282. summary: 查询提货门店
  30283. tags:
  30284. - 大连千海金
  30285. /Qhj/QueryPickGoods:
  30286. get:
  30287. parameters:
  30288. - description: 交易商品id
  30289. in: query
  30290. name: goodsid
  30291. required: true
  30292. type: integer
  30293. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  30294. in: query
  30295. name: status
  30296. type: string
  30297. produces:
  30298. - application/json
  30299. responses:
  30300. "200":
  30301. description: OK
  30302. schema:
  30303. items:
  30304. $ref: '#/definitions/models.QhjPickGoods'
  30305. type: array
  30306. "500":
  30307. description: Internal Server Error
  30308. schema:
  30309. $ref: '#/definitions/app.Response'
  30310. security:
  30311. - ApiKeyAuth: []
  30312. summary: 查询提货商品
  30313. tags:
  30314. - 大连千海金
  30315. /Qhj/QueryRSTriggerLog:
  30316. get:
  30317. parameters:
  30318. - description: 用户ID
  30319. in: query
  30320. name: userid
  30321. type: integer
  30322. - description: 定投策略id
  30323. in: query
  30324. name: regularlystrategyid
  30325. type: integer
  30326. - description: 商品id
  30327. in: query
  30328. name: goodsid
  30329. type: integer
  30330. - description: 开始交易日(yyyymmdd)
  30331. in: query
  30332. name: begindate
  30333. type: string
  30334. - description: 结束交易日(yyyymmdd)
  30335. in: query
  30336. name: enddate
  30337. type: string
  30338. - description: 名称(模糊搜索账户)
  30339. in: query
  30340. name: filtername
  30341. type: string
  30342. produces:
  30343. - application/json
  30344. responses:
  30345. "200":
  30346. description: OK
  30347. schema:
  30348. items:
  30349. $ref: '#/definitions/models.QhjRSTriggerLog'
  30350. type: array
  30351. "500":
  30352. description: Internal Server Error
  30353. schema:
  30354. $ref: '#/definitions/app.Response'
  30355. security:
  30356. - ApiKeyAuth: []
  30357. summary: 查询定投记录(定投管理/详情/定投记录)
  30358. tags:
  30359. - 大连千海金
  30360. /Qhj/QueryRStrategy:
  30361. get:
  30362. parameters:
  30363. - description: 用户ID
  30364. in: query
  30365. name: userid
  30366. type: integer
  30367. - description: 商品id
  30368. in: query
  30369. name: goodsid
  30370. type: integer
  30371. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  30372. in: query
  30373. name: status
  30374. type: string
  30375. - description: 名称(模糊搜索账户)
  30376. in: query
  30377. name: filtername
  30378. type: string
  30379. produces:
  30380. - application/json
  30381. responses:
  30382. "200":
  30383. description: OK
  30384. schema:
  30385. items:
  30386. $ref: '#/definitions/models.QhjRStrategy'
  30387. type: array
  30388. "500":
  30389. description: Internal Server Error
  30390. schema:
  30391. $ref: '#/definitions/app.Response'
  30392. security:
  30393. - ApiKeyAuth: []
  30394. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  30395. tags:
  30396. - 大连千海金
  30397. /Qhj/QueryReckonPriceLog:
  30398. get:
  30399. parameters:
  30400. - description: 商品ID
  30401. in: query
  30402. name: goodsid
  30403. type: integer
  30404. - description: 交易日 格式(yyyymmdd)
  30405. in: query
  30406. name: tradedate
  30407. type: string
  30408. produces:
  30409. - application/json
  30410. responses:
  30411. "200":
  30412. description: OK
  30413. schema:
  30414. items:
  30415. $ref: '#/definitions/models.QhjReckonPriceLog'
  30416. type: array
  30417. "500":
  30418. description: Internal Server Error
  30419. schema:
  30420. $ref: '#/definitions/app.Response'
  30421. security:
  30422. - ApiKeyAuth: []
  30423. summary: 查询定投价(结算价)
  30424. tags:
  30425. - 大连千海金
  30426. /Qhj/QueryScoreLog:
  30427. get:
  30428. parameters:
  30429. - description: 用户ID
  30430. in: query
  30431. name: userid
  30432. required: true
  30433. type: integer
  30434. - description: 开始交易日(yyyymmdd)
  30435. in: query
  30436. name: begindate
  30437. type: string
  30438. - description: 结束交易日(yyyymmdd)
  30439. in: query
  30440. name: enddate
  30441. type: string
  30442. - description: 最近多少条
  30443. in: query
  30444. name: lastnum
  30445. type: integer
  30446. produces:
  30447. - application/json
  30448. responses:
  30449. "200":
  30450. description: OK
  30451. schema:
  30452. items:
  30453. $ref: '#/definitions/models.QhjScoreLog'
  30454. type: array
  30455. "500":
  30456. description: Internal Server Error
  30457. schema:
  30458. $ref: '#/definitions/app.Response'
  30459. security:
  30460. - ApiKeyAuth: []
  30461. summary: 查询积分流水(我的积分)
  30462. tags:
  30463. - 大连千海金
  30464. /Qhj/QuerySiteColumnDetail:
  30465. get:
  30466. parameters:
  30467. - description: 用户ID
  30468. in: query
  30469. name: userid
  30470. required: true
  30471. type: integer
  30472. produces:
  30473. - application/json
  30474. responses:
  30475. "200":
  30476. description: OK
  30477. schema:
  30478. items:
  30479. $ref: '#/definitions/models.QhjSiteColumnDetail'
  30480. type: array
  30481. "500":
  30482. description: Internal Server Error
  30483. schema:
  30484. $ref: '#/definitions/app.Response'
  30485. security:
  30486. - ApiKeyAuth: []
  30487. summary: 查询资讯
  30488. tags:
  30489. - 大连千海金
  30490. /Qhj/QueryTradeGoodsPickup:
  30491. get:
  30492. parameters:
  30493. - description: 用户ID
  30494. in: query
  30495. name: userid
  30496. required: true
  30497. type: integer
  30498. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  30499. 7:已拒绝 8:已撤销
  30500. in: query
  30501. name: takeorderstatus
  30502. type: integer
  30503. produces:
  30504. - application/json
  30505. responses:
  30506. "200":
  30507. description: OK
  30508. schema:
  30509. items:
  30510. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  30511. type: array
  30512. "500":
  30513. description: Internal Server Error
  30514. schema:
  30515. $ref: '#/definitions/app.Response'
  30516. security:
  30517. - ApiKeyAuth: []
  30518. summary: 查询提货
  30519. tags:
  30520. - 大连千海金
  30521. /Qhj/QueryUserCollectConfig:
  30522. get:
  30523. parameters:
  30524. - description: 用户ID
  30525. in: query
  30526. name: userid
  30527. required: true
  30528. type: integer
  30529. produces:
  30530. - application/json
  30531. responses:
  30532. "200":
  30533. description: OK
  30534. schema:
  30535. items:
  30536. $ref: '#/definitions/models.UserCollectConfig'
  30537. type: array
  30538. "500":
  30539. description: Internal Server Error
  30540. schema:
  30541. $ref: '#/definitions/app.Response'
  30542. security:
  30543. - ApiKeyAuth: []
  30544. summary: 查询提现账户设置
  30545. tags:
  30546. - 大连千海金
  30547. /Qhj/QueryUserReceiveInfo:
  30548. get:
  30549. parameters:
  30550. - description: 用户ID
  30551. in: query
  30552. name: userid
  30553. required: true
  30554. type: integer
  30555. produces:
  30556. - application/json
  30557. responses:
  30558. "200":
  30559. description: OK
  30560. schema:
  30561. items:
  30562. $ref: '#/definitions/models.UserReceiveInfo'
  30563. type: array
  30564. "500":
  30565. description: Internal Server Error
  30566. schema:
  30567. $ref: '#/definitions/app.Response'
  30568. security:
  30569. - ApiKeyAuth: []
  30570. summary: 查询收货地址信息
  30571. tags:
  30572. - 大连千海金
  30573. /QhjMgr/QueryAccountInOutApply:
  30574. get:
  30575. parameters:
  30576. - description: 查询类型 1-提现(出金) 2-充值(出金)
  30577. in: query
  30578. name: querytype
  30579. required: true
  30580. type: integer
  30581. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  30582. in: query
  30583. name: applystatus
  30584. type: integer
  30585. - description: 申请起始日期(格式yyyymmdd)
  30586. in: query
  30587. name: begindate
  30588. type: string
  30589. - description: 申请截止日期(格式yyyymmdd)
  30590. in: query
  30591. name: enddate
  30592. type: string
  30593. - description: 模糊搜索名称
  30594. in: query
  30595. name: likename
  30596. type: string
  30597. produces:
  30598. - application/json
  30599. responses:
  30600. "200":
  30601. description: OK
  30602. schema:
  30603. items:
  30604. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  30605. type: array
  30606. "500":
  30607. description: Internal Server Error
  30608. schema:
  30609. $ref: '#/definitions/app.Response'
  30610. security:
  30611. - ApiKeyAuth: []
  30612. summary: 查询充值提现
  30613. tags:
  30614. - 大连千海金(PCWeb)
  30615. /QhjMgr/QueryBrokerApply:
  30616. get:
  30617. parameters:
  30618. - description: 所属机构ID
  30619. in: query
  30620. name: userid
  30621. type: integer
  30622. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  30623. in: query
  30624. name: filterstatus
  30625. type: string
  30626. - description: 名称(模糊匹配)
  30627. in: query
  30628. name: filtername
  30629. type: string
  30630. - description: 是否包含子级 1-包含
  30631. in: query
  30632. name: includesub
  30633. type: integer
  30634. produces:
  30635. - application/json
  30636. responses:
  30637. "200":
  30638. description: OK
  30639. schema:
  30640. items:
  30641. $ref: '#/definitions/models.QhjMgrBrokerApply'
  30642. type: array
  30643. "500":
  30644. description: Internal Server Error
  30645. schema:
  30646. $ref: '#/definitions/app.Response'
  30647. security:
  30648. - ApiKeyAuth: []
  30649. summary: 查询经纪人申请
  30650. tags:
  30651. - 大连千海金(PCWeb)
  30652. /QhjMgr/QueryBrokerRewardReport:
  30653. get:
  30654. parameters:
  30655. - description: 所属机构ID
  30656. in: query
  30657. name: userid
  30658. required: true
  30659. type: integer
  30660. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  30661. in: query
  30662. name: cycletype
  30663. required: true
  30664. type: integer
  30665. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  30666. in: query
  30667. name: cycletime
  30668. required: true
  30669. type: string
  30670. - description: 名称(模糊匹配)
  30671. in: query
  30672. name: filtername
  30673. type: string
  30674. - description: 是否包含子级 1-包含
  30675. in: query
  30676. name: includesub
  30677. type: integer
  30678. produces:
  30679. - application/json
  30680. responses:
  30681. "200":
  30682. description: OK
  30683. schema:
  30684. items:
  30685. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  30686. type: array
  30687. "500":
  30688. description: Internal Server Error
  30689. schema:
  30690. $ref: '#/definitions/app.Response'
  30691. security:
  30692. - ApiKeyAuth: []
  30693. summary: 查询经纪人奖励报表(废弃)
  30694. tags:
  30695. - 大连千海金(PCWeb)
  30696. /QhjMgr/QueryContract:
  30697. get:
  30698. parameters:
  30699. - description: 用户ID
  30700. in: query
  30701. name: userid
  30702. type: integer
  30703. - description: 商品id
  30704. in: query
  30705. name: goodsid
  30706. type: integer
  30707. - description: 名称(模糊搜索账户)
  30708. in: query
  30709. name: filtername
  30710. type: string
  30711. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  30712. in: query
  30713. name: risklevel
  30714. type: string
  30715. - description: 开始交易日(yyyymmdd)
  30716. in: query
  30717. name: begindate
  30718. type: string
  30719. - description: 结束交易日(yyyymmdd)
  30720. in: query
  30721. name: enddate
  30722. type: string
  30723. produces:
  30724. - application/json
  30725. responses:
  30726. "200":
  30727. description: OK
  30728. schema:
  30729. items:
  30730. $ref: '#/definitions/models.QhjMgrContract'
  30731. type: array
  30732. "500":
  30733. description: Internal Server Error
  30734. schema:
  30735. $ref: '#/definitions/app.Response'
  30736. security:
  30737. - ApiKeyAuth: []
  30738. summary: 查询融资信息(合同)
  30739. tags:
  30740. - 大连千海金(PCWeb)
  30741. /QhjMgr/QueryCustomerInfo:
  30742. get:
  30743. parameters:
  30744. - description: 用户ID
  30745. in: query
  30746. name: userid
  30747. required: true
  30748. type: integer
  30749. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  30750. in: query
  30751. name: querytype
  30752. required: true
  30753. type: integer
  30754. - description: 客户类型 1-个人 2-企业
  30755. in: query
  30756. name: userinfotype
  30757. type: integer
  30758. - description: 客户名称(模糊匹配)
  30759. in: query
  30760. name: customername
  30761. type: string
  30762. - description: 昵称(模糊匹配)
  30763. in: query
  30764. name: nickname
  30765. type: string
  30766. - description: 所属客户经理(模糊匹配)
  30767. in: query
  30768. name: brokername
  30769. type: string
  30770. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  30771. 如0503 -5月3日)
  30772. in: query
  30773. name: birthday
  30774. type: string
  30775. - description: 是否包含子级 1-包含
  30776. in: query
  30777. name: includesub
  30778. type: integer
  30779. produces:
  30780. - application/json
  30781. responses:
  30782. "200":
  30783. description: OK
  30784. schema:
  30785. items:
  30786. $ref: '#/definitions/models.QhjMgrCustomer'
  30787. type: array
  30788. "500":
  30789. description: Internal Server Error
  30790. schema:
  30791. $ref: '#/definitions/app.Response'
  30792. security:
  30793. - ApiKeyAuth: []
  30794. summary: 查询客户资料
  30795. tags:
  30796. - 大连千海金(PCWeb)
  30797. /QhjMgr/QueryPickGoods:
  30798. get:
  30799. parameters:
  30800. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  30801. in: query
  30802. name: status
  30803. type: string
  30804. produces:
  30805. - application/json
  30806. responses:
  30807. "200":
  30808. description: OK
  30809. schema:
  30810. items:
  30811. $ref: '#/definitions/models.QhjMgrPickGoods'
  30812. type: array
  30813. "500":
  30814. description: Internal Server Error
  30815. schema:
  30816. $ref: '#/definitions/app.Response'
  30817. security:
  30818. - ApiKeyAuth: []
  30819. summary: 查询提货商品
  30820. tags:
  30821. - 大连千海金(PCWeb)
  30822. /QhjMgr/QuerySubArea:
  30823. get:
  30824. parameters:
  30825. - description: 用户ID
  30826. in: query
  30827. name: userid
  30828. required: true
  30829. type: integer
  30830. produces:
  30831. - application/json
  30832. responses:
  30833. "200":
  30834. description: OK
  30835. schema:
  30836. items:
  30837. $ref: '#/definitions/models.QhjMgrSubArea'
  30838. type: array
  30839. "500":
  30840. description: Internal Server Error
  30841. schema:
  30842. $ref: '#/definitions/app.Response'
  30843. security:
  30844. - ApiKeyAuth: []
  30845. summary: 查询子机构列表
  30846. tags:
  30847. - 大连千海金(PCWeb)
  30848. /QhjMgr/QueryTradeDetail:
  30849. get:
  30850. parameters:
  30851. - description: 用户ID
  30852. in: query
  30853. name: userid
  30854. required: true
  30855. type: integer
  30856. - description: 用户类型 1-个人 2-企业
  30857. in: query
  30858. name: userinfotype
  30859. type: integer
  30860. - description: 交易模式
  30861. in: query
  30862. name: trademode
  30863. type: integer
  30864. - description: 商品id
  30865. in: query
  30866. name: goodsid
  30867. type: integer
  30868. - description: 名称(模糊搜索账户)
  30869. in: query
  30870. name: filtername
  30871. type: string
  30872. - description: 开始交易日(yyyymmdd)
  30873. in: query
  30874. name: begindate
  30875. type: string
  30876. - description: 结束交易日(yyyymmdd)
  30877. in: query
  30878. name: enddate
  30879. type: string
  30880. - description: 是否包含子级 1-包含
  30881. in: query
  30882. name: includesub
  30883. type: integer
  30884. produces:
  30885. - application/json
  30886. responses:
  30887. "200":
  30888. description: OK
  30889. schema:
  30890. items:
  30891. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  30892. type: array
  30893. "500":
  30894. description: Internal Server Error
  30895. schema:
  30896. $ref: '#/definitions/app.Response'
  30897. security:
  30898. - ApiKeyAuth: []
  30899. summary: 查询成交明细
  30900. tags:
  30901. - 大连千海金(PCWeb)
  30902. /QhjMgr/QueryTradeOrderDetail:
  30903. get:
  30904. parameters:
  30905. - description: 用户ID
  30906. in: query
  30907. name: userid
  30908. required: true
  30909. type: integer
  30910. - description: 用户类型 1-个人 2-企业
  30911. in: query
  30912. name: userinfotype
  30913. type: integer
  30914. - description: 交易模式
  30915. in: query
  30916. name: trademode
  30917. type: integer
  30918. - description: 商品id
  30919. in: query
  30920. name: goodsid
  30921. type: integer
  30922. - description: 名称(模糊搜索账户)
  30923. in: query
  30924. name: filtername
  30925. type: string
  30926. - description: 开始交易日(yyyymmdd)
  30927. in: query
  30928. name: begindate
  30929. type: string
  30930. - description: 结束交易日(yyyymmdd)
  30931. in: query
  30932. name: enddate
  30933. type: string
  30934. - description: 是否包含子级 1-包含
  30935. in: query
  30936. name: includesub
  30937. type: integer
  30938. produces:
  30939. - application/json
  30940. responses:
  30941. "200":
  30942. description: OK
  30943. schema:
  30944. items:
  30945. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  30946. type: array
  30947. "500":
  30948. description: Internal Server Error
  30949. schema:
  30950. $ref: '#/definitions/app.Response'
  30951. security:
  30952. - ApiKeyAuth: []
  30953. summary: 查询委托明细
  30954. tags:
  30955. - 大连千海金(PCWeb)
  30956. /QhjMgr/QueryTradePayOrder:
  30957. get:
  30958. parameters:
  30959. - description: 用户ID
  30960. in: query
  30961. name: userid
  30962. required: true
  30963. type: integer
  30964. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  30965. in: query
  30966. name: payflag
  30967. type: string
  30968. - description: 用户类型 1-个人 2-企业
  30969. in: query
  30970. name: userinfotype
  30971. type: integer
  30972. - description: 交易模式
  30973. in: query
  30974. name: trademode
  30975. type: integer
  30976. - description: 商品id
  30977. in: query
  30978. name: goodsid
  30979. type: integer
  30980. - description: 名称(模糊搜索账户)
  30981. in: query
  30982. name: filtername
  30983. type: string
  30984. - description: 开始交易日(yyyymmdd)
  30985. in: query
  30986. name: begindate
  30987. type: string
  30988. - description: 结束交易日(yyyymmdd)
  30989. in: query
  30990. name: enddate
  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.QhjMgrTradePayOrder'
  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. /QhjMgr/QueryTradePosition:
  31015. get:
  31016. parameters:
  31017. - description: 用户ID
  31018. in: query
  31019. name: userid
  31020. required: true
  31021. type: integer
  31022. - description: 用户类型 1-个人 2-企业
  31023. in: query
  31024. name: userinfotype
  31025. type: integer
  31026. - description: 交易模式
  31027. in: query
  31028. name: trademode
  31029. type: integer
  31030. - description: 商品id
  31031. in: query
  31032. name: goodsid
  31033. type: integer
  31034. - description: 名称(模糊搜索账户)
  31035. in: query
  31036. name: filtername
  31037. type: string
  31038. - description: 是否包含子级 1-包含
  31039. in: query
  31040. name: includesub
  31041. type: integer
  31042. produces:
  31043. - application/json
  31044. responses:
  31045. "200":
  31046. description: OK
  31047. schema:
  31048. items:
  31049. $ref: '#/definitions/models.QhjMgrPositionRsp'
  31050. type: array
  31051. "500":
  31052. description: Internal Server Error
  31053. schema:
  31054. $ref: '#/definitions/app.Response'
  31055. security:
  31056. - ApiKeyAuth: []
  31057. summary: 查询持仓汇总
  31058. tags:
  31059. - 大连千海金(PCWeb)
  31060. /QhjSys/QueryAgreementChangeLog:
  31061. get:
  31062. parameters:
  31063. - description: 协议ID
  31064. in: query
  31065. name: agreementid
  31066. type: integer
  31067. - description: 协议版本号
  31068. in: query
  31069. name: agreementversion
  31070. type: integer
  31071. - description: 协议类型 - 1:注册 2:登录 3:交易
  31072. in: query
  31073. name: agreementtype
  31074. type: integer
  31075. - description: 协议编号(模糊匹配)
  31076. in: query
  31077. name: agreementno
  31078. type: string
  31079. - description: 协议名称(模糊匹配)
  31080. in: query
  31081. name: agreementname
  31082. type: string
  31083. produces:
  31084. - application/json
  31085. responses:
  31086. "200":
  31087. description: OK
  31088. schema:
  31089. items:
  31090. $ref: '#/definitions/models.QhjAgreementChangeLog'
  31091. type: array
  31092. "500":
  31093. description: Internal Server Error
  31094. schema:
  31095. $ref: '#/definitions/app.Response'
  31096. security:
  31097. - ApiKeyAuth: []
  31098. summary: 查询协议配置变更流水
  31099. tags:
  31100. - 大连千海金(协议和签约信息)
  31101. /QhjSys/QueryAgreementConfig:
  31102. get:
  31103. parameters:
  31104. - description: 协议ID
  31105. in: query
  31106. name: agreementid
  31107. type: integer
  31108. - description: 协议版本号
  31109. in: query
  31110. name: agreementversion
  31111. type: integer
  31112. - description: 协议类型 - 1:注册 2:登录 3:交易
  31113. in: query
  31114. name: agreementtype
  31115. type: integer
  31116. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  31117. in: query
  31118. name: isvalid
  31119. type: integer
  31120. - description: 协议编号(模糊匹配)
  31121. in: query
  31122. name: agreementno
  31123. type: string
  31124. - description: 协议名称(模糊匹配)
  31125. in: query
  31126. name: agreementname
  31127. type: string
  31128. produces:
  31129. - application/json
  31130. responses:
  31131. "200":
  31132. description: OK
  31133. schema:
  31134. items:
  31135. $ref: '#/definitions/models.QhjAgreementConfig'
  31136. type: array
  31137. "500":
  31138. description: Internal Server Error
  31139. schema:
  31140. $ref: '#/definitions/app.Response'
  31141. security:
  31142. - ApiKeyAuth: []
  31143. summary: 查询协议配置
  31144. tags:
  31145. - 大连千海金(协议和签约信息)
  31146. /QhjSys/QueryCustomerSignStatus:
  31147. get:
  31148. parameters:
  31149. - description: 客户ID
  31150. in: query
  31151. name: userid
  31152. type: integer
  31153. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  31154. in: query
  31155. name: nodetype
  31156. type: integer
  31157. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31158. in: query
  31159. name: goodsid
  31160. type: integer
  31161. - description: 创建交易日(yyyyMMdd)
  31162. in: query
  31163. name: tradedate
  31164. type: string
  31165. - description: 用户名称(模糊匹配)
  31166. in: query
  31167. name: username
  31168. type: string
  31169. produces:
  31170. - application/json
  31171. responses:
  31172. "200":
  31173. description: OK
  31174. schema:
  31175. items:
  31176. $ref: '#/definitions/models.QhjCustomerSignStatus'
  31177. type: array
  31178. "500":
  31179. description: Internal Server Error
  31180. schema:
  31181. $ref: '#/definitions/app.Response'
  31182. security:
  31183. - ApiKeyAuth: []
  31184. summary: 查询客户协议签约状态
  31185. tags:
  31186. - 大连千海金(协议和签约信息)
  31187. /QhjSys/QueryNodeAgreementConfig:
  31188. get:
  31189. parameters:
  31190. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  31191. in: query
  31192. name: configid
  31193. type: integer
  31194. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  31195. in: query
  31196. name: nodetype
  31197. type: integer
  31198. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31199. in: query
  31200. name: goodsid
  31201. type: integer
  31202. - description: 协议ID
  31203. in: query
  31204. name: agreementid
  31205. type: integer
  31206. - description: 协议类型 - 1:注册 2:登录 3:交易
  31207. in: query
  31208. name: agreementtype
  31209. type: integer
  31210. - description: 协议版本号
  31211. in: query
  31212. name: agreementversion
  31213. type: integer
  31214. - description: 协议编号(模糊匹配)
  31215. in: query
  31216. name: agreementno
  31217. type: string
  31218. - description: 协议名称(模糊匹配)
  31219. in: query
  31220. name: agreementname
  31221. type: string
  31222. produces:
  31223. - application/json
  31224. responses:
  31225. "200":
  31226. description: OK
  31227. schema:
  31228. items:
  31229. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  31230. type: array
  31231. "500":
  31232. description: Internal Server Error
  31233. schema:
  31234. $ref: '#/definitions/app.Response'
  31235. security:
  31236. - ApiKeyAuth: []
  31237. summary: 查询协议节点配置
  31238. tags:
  31239. - 大连千海金(协议和签约信息)
  31240. /QhjSys/QueryQhjCustomerSignLog:
  31241. get:
  31242. parameters:
  31243. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  31244. in: query
  31245. name: logid
  31246. type: integer
  31247. - description: 客户ID
  31248. in: query
  31249. name: userid
  31250. type: integer
  31251. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  31252. in: query
  31253. name: nodetype
  31254. type: integer
  31255. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31256. in: query
  31257. name: goodsid
  31258. type: integer
  31259. - description: 协议ID
  31260. in: query
  31261. name: agreementid
  31262. type: integer
  31263. - description: 用户名称(模糊匹配)
  31264. in: query
  31265. name: username
  31266. type: string
  31267. - description: 协议编号(模糊匹配)
  31268. in: query
  31269. name: agreementno
  31270. type: string
  31271. - description: 协议名称(模糊匹配)
  31272. in: query
  31273. name: agreementname
  31274. type: string
  31275. produces:
  31276. - application/json
  31277. responses:
  31278. "200":
  31279. description: OK
  31280. schema:
  31281. items:
  31282. $ref: '#/definitions/models.QhjCustomerSignLog'
  31283. type: array
  31284. "500":
  31285. description: Internal Server Error
  31286. schema:
  31287. $ref: '#/definitions/app.Response'
  31288. security:
  31289. - ApiKeyAuth: []
  31290. summary: 查询客户协议签约流水
  31291. tags:
  31292. - 大连千海金(协议和签约信息)
  31293. /QhjSys/QueryUserNodeCfgAndStatus:
  31294. get:
  31295. parameters:
  31296. - description: 客户ID
  31297. in: query
  31298. name: userid
  31299. type: integer
  31300. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  31301. in: query
  31302. name: configid
  31303. type: integer
  31304. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  31305. in: query
  31306. name: nodetype
  31307. type: string
  31308. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31309. in: query
  31310. name: goodsid
  31311. type: integer
  31312. - description: 协议ID
  31313. in: query
  31314. name: agreementid
  31315. type: integer
  31316. - description: 协议类型 - 1:注册 2:登录 3:交易
  31317. in: query
  31318. name: agreementtype
  31319. type: integer
  31320. - description: 协议版本号
  31321. in: query
  31322. name: agreementversion
  31323. type: integer
  31324. - description: 协议编号(模糊匹配)
  31325. in: query
  31326. name: agreementno
  31327. type: string
  31328. - description: 协议名称(模糊匹配)
  31329. in: query
  31330. name: agreementname
  31331. type: string
  31332. produces:
  31333. - application/json
  31334. responses:
  31335. "200":
  31336. description: OK
  31337. schema:
  31338. items:
  31339. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  31340. type: array
  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/QueryHistoryDatas:
  31351. get:
  31352. parameters:
  31353. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  31354. 日线 12:周线 13:月线 14:年线'
  31355. in: query
  31356. name: cycleType
  31357. required: true
  31358. type: integer
  31359. - description: 商品代码
  31360. in: query
  31361. name: goodsCode
  31362. required: true
  31363. type: string
  31364. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  31365. in: query
  31366. name: startTime
  31367. type: string
  31368. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  31369. in: query
  31370. name: endTime
  31371. type: string
  31372. - description: 条数
  31373. in: query
  31374. name: count
  31375. type: integer
  31376. - description: 是否按时间顺序排序(默认为时间倒序排序)
  31377. in: query
  31378. name: isAsc
  31379. type: boolean
  31380. produces:
  31381. - application/json
  31382. responses:
  31383. "200":
  31384. description: OK
  31385. schema:
  31386. $ref: '#/definitions/quote.HistoryData'
  31387. "500":
  31388. description: Internal Server Error
  31389. schema:
  31390. $ref: '#/definitions/app.Response'
  31391. security:
  31392. - ApiKeyAuth: []
  31393. summary: 查询行情历史数据
  31394. tags:
  31395. - 行情服务
  31396. /Quote/QueryHistoryTikDatas:
  31397. get:
  31398. parameters:
  31399. - description: 商品代码
  31400. in: query
  31401. name: goodsCode
  31402. required: true
  31403. type: string
  31404. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  31405. in: query
  31406. name: startTime
  31407. type: string
  31408. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  31409. in: query
  31410. name: endTime
  31411. type: string
  31412. - description: 条数
  31413. in: query
  31414. name: count
  31415. type: integer
  31416. - description: 是否按时间顺序排序(默认为时间倒序排序)
  31417. in: query
  31418. name: isAsc
  31419. type: boolean
  31420. produces:
  31421. - application/json
  31422. responses:
  31423. "200":
  31424. description: OK
  31425. schema:
  31426. $ref: '#/definitions/quote.HistoryTikData'
  31427. "500":
  31428. description: Internal Server Error
  31429. schema:
  31430. $ref: '#/definitions/app.Response'
  31431. security:
  31432. - ApiKeyAuth: []
  31433. summary: 查询行情Tik数据
  31434. tags:
  31435. - 行情服务
  31436. /Quote/QueryQuoteDay:
  31437. get:
  31438. parameters:
  31439. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  31440. in: query
  31441. name: goodsCodes
  31442. type: string
  31443. produces:
  31444. - application/json
  31445. responses:
  31446. "200":
  31447. description: OK
  31448. schema:
  31449. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  31450. "500":
  31451. description: Internal Server Error
  31452. schema:
  31453. $ref: '#/definitions/app.Response'
  31454. security:
  31455. - ApiKeyAuth: []
  31456. summary: 获取商品盘面信息
  31457. tags:
  31458. - 行情服务
  31459. /Quote/QueryTSData:
  31460. get:
  31461. parameters:
  31462. - description: 商品代码
  31463. in: query
  31464. name: goodsCode
  31465. required: true
  31466. type: string
  31467. produces:
  31468. - application/json
  31469. responses:
  31470. "200":
  31471. description: OK
  31472. schema:
  31473. $ref: '#/definitions/quote.QueryTSDataRsp'
  31474. "500":
  31475. description: Internal Server Error
  31476. schema:
  31477. $ref: '#/definitions/app.Response'
  31478. security:
  31479. - ApiKeyAuth: []
  31480. summary: 分时图数据查询
  31481. tags:
  31482. - 行情服务
  31483. /SZDZ/QueryConvertConfig:
  31484. get:
  31485. parameters:
  31486. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  31487. 6:交易转花生米(不设置)
  31488. in: query
  31489. name: convertType
  31490. type: integer
  31491. - description: 外部商品代码[JD\PD]
  31492. in: query
  31493. name: outerGoodsCode
  31494. type: string
  31495. - description: 内部商品ID列表[交易],格式:1,2,3
  31496. in: query
  31497. name: innerGoodsIDs
  31498. type: string
  31499. produces:
  31500. - application/json
  31501. responses:
  31502. "200":
  31503. description: OK
  31504. schema:
  31505. $ref: '#/definitions/models.Szdz3convertconfig'
  31506. "500":
  31507. description: Internal Server Error
  31508. schema:
  31509. $ref: '#/definitions/app.Response'
  31510. security:
  31511. - ApiKeyAuth: []
  31512. summary: 查询交易系统转换设置
  31513. tags:
  31514. - 定制【尚志大宗】
  31515. /SZDZ/QueryConvertLog:
  31516. get:
  31517. parameters:
  31518. - description: 资金账户 - 格式:1,2,3
  31519. in: query
  31520. name: accountID
  31521. required: true
  31522. type: string
  31523. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  31524. in: query
  31525. name: startDate
  31526. type: string
  31527. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  31528. in: query
  31529. name: endDate
  31530. type: string
  31531. produces:
  31532. - application/json
  31533. responses:
  31534. "200":
  31535. description: OK
  31536. schema:
  31537. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  31538. "500":
  31539. description: Internal Server Error
  31540. schema:
  31541. $ref: '#/definitions/app.Response'
  31542. security:
  31543. - ApiKeyAuth: []
  31544. summary: 交易系统转换流水查询
  31545. tags:
  31546. - 定制【尚志大宗】
  31547. /SZDZ/QueryGoodsPickup:
  31548. get:
  31549. parameters:
  31550. - description: 资金账户 - 格式:1,2,3
  31551. in: query
  31552. name: accountID
  31553. required: true
  31554. type: string
  31555. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  31556. in: query
  31557. name: takeOrderStatus
  31558. type: integer
  31559. produces:
  31560. - application/json
  31561. responses:
  31562. "200":
  31563. description: OK
  31564. schema:
  31565. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  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/QueryRecieptOrder:
  31576. get:
  31577. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  31578. parameters:
  31579. - description: 页码
  31580. in: query
  31581. name: page
  31582. type: integer
  31583. - description: 每页条数
  31584. in: query
  31585. name: pagesize
  31586. type: integer
  31587. - description: 商品ID
  31588. in: query
  31589. name: goodsID
  31590. required: true
  31591. type: integer
  31592. - description: 所属账户名称
  31593. in: query
  31594. name: accountName
  31595. type: string
  31596. - description: 市场ID
  31597. in: query
  31598. name: marketID
  31599. type: integer
  31600. - description: 方向 - 0:买 1:卖
  31601. in: query
  31602. name: buyorsell
  31603. required: true
  31604. type: integer
  31605. produces:
  31606. - application/json
  31607. responses:
  31608. "200":
  31609. description: OK
  31610. schema:
  31611. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  31612. "500":
  31613. description: Internal Server Error
  31614. schema:
  31615. $ref: '#/definitions/app.Response'
  31616. security:
  31617. - ApiKeyAuth: []
  31618. summary: 点选挂牌委托单据查询(摘牌大厅)
  31619. tags:
  31620. - 定制【尚志大宗】
  31621. /SZDZ/QuerySZDZTradePosition:
  31622. get:
  31623. parameters:
  31624. - description: 资金账户
  31625. in: query
  31626. name: accountID
  31627. required: true
  31628. type: integer
  31629. produces:
  31630. - application/json
  31631. responses:
  31632. "200":
  31633. description: OK
  31634. schema:
  31635. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  31636. "500":
  31637. description: Internal Server Error
  31638. schema:
  31639. $ref: '#/definitions/app.Response'
  31640. security:
  31641. - ApiKeyAuth: []
  31642. summary: 持仓汇总查询(尚志大宗)
  31643. tags:
  31644. - 定制【尚志大宗】
  31645. /SZDZ/SearchWhite:
  31646. get:
  31647. parameters:
  31648. - description: 用户ID
  31649. in: query
  31650. name: userID
  31651. required: true
  31652. type: integer
  31653. produces:
  31654. - application/json
  31655. responses:
  31656. "200":
  31657. description: OK
  31658. schema:
  31659. $ref: '#/definitions/models.Szdz3searchwhitelist'
  31660. "500":
  31661. description: Internal Server Error
  31662. schema:
  31663. $ref: '#/definitions/app.Response'
  31664. security:
  31665. - ApiKeyAuth: []
  31666. summary: 搜索白名单
  31667. tags:
  31668. - 定制【尚志大宗】
  31669. /Search/SearchGoodses:
  31670. get:
  31671. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  31672. parameters:
  31673. - description: 检索内容
  31674. in: query
  31675. name: content
  31676. required: true
  31677. type: string
  31678. - description: 交易模式,格式:1,2,3
  31679. in: query
  31680. name: tradeModes
  31681. type: string
  31682. produces:
  31683. - application/json
  31684. responses:
  31685. "200":
  31686. description: OK
  31687. schema:
  31688. $ref: '#/definitions/models.SearchGoods'
  31689. "500":
  31690. description: Internal Server Error
  31691. schema:
  31692. $ref: '#/definitions/app.Response'
  31693. summary: 检索商品信息
  31694. tags:
  31695. - 检索服务
  31696. /TaAccount/GetTaAccounts:
  31697. get:
  31698. parameters:
  31699. - description: 登录账户
  31700. in: query
  31701. name: loginID
  31702. required: true
  31703. type: integer
  31704. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  31705. in: query
  31706. name: taAccountType
  31707. type: integer
  31708. produces:
  31709. - application/json
  31710. responses:
  31711. "200":
  31712. description: OK
  31713. schema:
  31714. $ref: '#/definitions/models.Taaccount'
  31715. "500":
  31716. description: Internal Server Error
  31717. schema:
  31718. $ref: '#/definitions/app.Response'
  31719. security:
  31720. - ApiKeyAuth: []
  31721. summary: 获取资金账户信息
  31722. tags:
  31723. - 资金账户
  31724. /TaAccount/QueryAmountLog:
  31725. get:
  31726. parameters:
  31727. - description: 页码
  31728. in: query
  31729. name: page
  31730. type: integer
  31731. - description: 每页条数
  31732. in: query
  31733. name: pagesize
  31734. type: integer
  31735. - description: 资金账户 - 格式:1,2,3
  31736. in: query
  31737. name: accountID
  31738. required: true
  31739. type: string
  31740. - description: 资金操作类型 - 格式:1,2,3
  31741. in: query
  31742. name: OperateType
  31743. type: string
  31744. produces:
  31745. - application/json
  31746. responses:
  31747. "200":
  31748. description: OK
  31749. schema:
  31750. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  31751. "500":
  31752. description: Internal Server Error
  31753. schema:
  31754. $ref: '#/definitions/app.Response'
  31755. security:
  31756. - ApiKeyAuth: []
  31757. summary: 资金流水查询(当前)
  31758. tags:
  31759. - 资金账户
  31760. /TaAccount/QueryHisAmountLog:
  31761. get:
  31762. parameters:
  31763. - description: 页码
  31764. in: query
  31765. name: page
  31766. type: integer
  31767. - description: 每页条数
  31768. in: query
  31769. name: pagesize
  31770. type: integer
  31771. - description: 资金账户 - 格式:1,2,3
  31772. in: query
  31773. name: accountID
  31774. required: true
  31775. type: string
  31776. - description: 资金操作类型 - 格式:1,2,3
  31777. in: query
  31778. name: OperateType
  31779. type: string
  31780. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  31781. in: query
  31782. name: startDate
  31783. type: string
  31784. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  31785. in: query
  31786. name: endDate
  31787. type: string
  31788. produces:
  31789. - application/json
  31790. responses:
  31791. "200":
  31792. description: OK
  31793. schema:
  31794. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  31795. "500":
  31796. description: Internal Server Error
  31797. schema:
  31798. $ref: '#/definitions/app.Response'
  31799. security:
  31800. - ApiKeyAuth: []
  31801. summary: 资金流水查询(历史)
  31802. tags:
  31803. - 资金账户
  31804. /TaAccount/QueryRelatedTaAccount:
  31805. get:
  31806. parameters:
  31807. - description: 关联UserID
  31808. in: query
  31809. name: relateduserid
  31810. required: true
  31811. type: integer
  31812. produces:
  31813. - application/json
  31814. responses:
  31815. "200":
  31816. description: OK
  31817. schema:
  31818. items:
  31819. $ref: '#/definitions/models.RelatedTaAccount'
  31820. type: array
  31821. "500":
  31822. description: Internal Server Error
  31823. schema:
  31824. $ref: '#/definitions/app.Response'
  31825. security:
  31826. - ApiKeyAuth: []
  31827. summary: 查询关联资金账户信息
  31828. tags:
  31829. - 资金账户
  31830. /Tjmd/QueryQuoteGoodsList:
  31831. get:
  31832. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  31833. parameters:
  31834. - description: 用户类型
  31835. in: query
  31836. name: usertype
  31837. required: true
  31838. type: integer
  31839. - description: 市场id, 格式 1,2,3
  31840. in: query
  31841. name: marketids
  31842. type: string
  31843. - description: 商品组id
  31844. in: query
  31845. name: goodsgroupid
  31846. type: integer
  31847. - description: 商品id
  31848. in: query
  31849. name: goodsid
  31850. type: integer
  31851. produces:
  31852. - application/json
  31853. responses:
  31854. "200":
  31855. description: OK
  31856. schema:
  31857. items:
  31858. $ref: '#/definitions/models.TjmdQuoteGoods'
  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/QueryTjmdHolderDetailTradeInfo:
  31870. get:
  31871. parameters:
  31872. - description: 成交单号
  31873. in: query
  31874. name: tradeid
  31875. required: true
  31876. type: string
  31877. produces:
  31878. - application/json
  31879. responses:
  31880. "200":
  31881. description: OK
  31882. schema:
  31883. items:
  31884. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  31885. type: array
  31886. "500":
  31887. description: Internal Server Error
  31888. schema:
  31889. $ref: '#/definitions/app.Response'
  31890. security:
  31891. - ApiKeyAuth: []
  31892. summary: 掉期商品订单详情(交易确认书)
  31893. tags:
  31894. - 天津麦顿
  31895. /Tjmd/QueryTjmdMarketSection:
  31896. get:
  31897. produces:
  31898. - application/json
  31899. responses:
  31900. "200":
  31901. description: OK
  31902. schema:
  31903. items:
  31904. $ref: '#/definitions/models.TjmdMarketSection'
  31905. type: array
  31906. "500":
  31907. description: Internal Server Error
  31908. schema:
  31909. $ref: '#/definitions/app.Response'
  31910. security:
  31911. - ApiKeyAuth: []
  31912. summary: 查询市场板块
  31913. tags:
  31914. - 天津麦顿
  31915. /Tjmd/QueryTjmdTodayAccountMargin:
  31916. get:
  31917. parameters:
  31918. - description: 市场id
  31919. in: query
  31920. name: marketid
  31921. type: string
  31922. - description: 商品id
  31923. in: query
  31924. name: goodsid
  31925. type: string
  31926. - description: 资金账号
  31927. in: query
  31928. name: accountid
  31929. type: string
  31930. produces:
  31931. - application/json
  31932. responses:
  31933. "200":
  31934. description: OK
  31935. schema:
  31936. items:
  31937. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  31938. type: array
  31939. "500":
  31940. description: Internal Server Error
  31941. schema:
  31942. $ref: '#/definitions/app.Response'
  31943. security:
  31944. - ApiKeyAuth: []
  31945. summary: 查询今日账户保证金配置
  31946. tags:
  31947. - 天津麦顿
  31948. /Tjmd/QueryTjmdTradeOrderDetail:
  31949. get:
  31950. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  31951. parameters:
  31952. - description: 页码
  31953. in: query
  31954. name: page
  31955. type: integer
  31956. - description: 每页条数
  31957. in: query
  31958. name: pagesize
  31959. type: integer
  31960. - description: 用户id
  31961. in: query
  31962. name: userid
  31963. required: true
  31964. type: integer
  31965. - description: 用户类型
  31966. in: query
  31967. name: usertype
  31968. required: true
  31969. type: integer
  31970. - description: 市场id, 格式 1,2,3
  31971. in: query
  31972. name: marketids
  31973. type: string
  31974. - description: 商品id
  31975. in: query
  31976. name: goodsid
  31977. required: true
  31978. type: integer
  31979. - description: 买卖方向 0-买 1-卖
  31980. in: query
  31981. name: buyorsell
  31982. required: true
  31983. type: integer
  31984. produces:
  31985. - application/json
  31986. responses:
  31987. "200":
  31988. description: OK
  31989. schema:
  31990. items:
  31991. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  31992. type: array
  31993. "500":
  31994. description: Internal Server Error
  31995. schema:
  31996. $ref: '#/definitions/app.Response'
  31997. security:
  31998. - ApiKeyAuth: []
  31999. summary: 查询掉期买卖大厅
  32000. tags:
  32001. - 天津麦顿
  32002. /Tjmd/QueryTjmdTransferApply:
  32003. get:
  32004. parameters:
  32005. - description: 类型 1-我的申请 2-对方申请
  32006. in: query
  32007. name: applytype
  32008. required: true
  32009. type: integer
  32010. - description: 市场id, 格式 1,2,3
  32011. in: query
  32012. name: marketids
  32013. type: string
  32014. - description: 资金账号, 格式 25000000001,25000000003
  32015. in: query
  32016. name: accountids
  32017. type: string
  32018. - description: 开始交易日(yyyymmdd)
  32019. in: query
  32020. name: begindate
  32021. type: string
  32022. - description: 结束交易日(yyyymmdd)
  32023. in: query
  32024. name: enddate
  32025. type: string
  32026. produces:
  32027. - application/json
  32028. responses:
  32029. "200":
  32030. description: OK
  32031. schema:
  32032. items:
  32033. $ref: '#/definitions/models.TjmdTransferApply'
  32034. type: array
  32035. "500":
  32036. description: Internal Server Error
  32037. schema:
  32038. $ref: '#/definitions/app.Response'
  32039. security:
  32040. - ApiKeyAuth: []
  32041. summary: 查询掉期协议单
  32042. tags:
  32043. - 天津麦顿
  32044. /Trade/QueryRecieptOrder:
  32045. get:
  32046. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  32047. parameters:
  32048. - description: 页码
  32049. in: query
  32050. name: page
  32051. type: integer
  32052. - description: 每页条数
  32053. in: query
  32054. name: pagesize
  32055. type: integer
  32056. - description: 商品ID
  32057. in: query
  32058. name: goodsID
  32059. required: true
  32060. type: integer
  32061. - description: 所属账户名称
  32062. in: query
  32063. name: accountName
  32064. type: string
  32065. - description: 市场ID
  32066. in: query
  32067. name: marketID
  32068. type: integer
  32069. - description: 方向 - 0:买 1:卖
  32070. in: query
  32071. name: buyorsell
  32072. required: true
  32073. type: integer
  32074. produces:
  32075. - application/json
  32076. responses:
  32077. "200":
  32078. description: OK
  32079. schema:
  32080. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  32081. "500":
  32082. description: Internal Server Error
  32083. schema:
  32084. $ref: '#/definitions/app.Response'
  32085. security:
  32086. - ApiKeyAuth: []
  32087. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  32088. tags:
  32089. - 通用交易
  32090. /User/AddMessageBoard:
  32091. post:
  32092. parameters:
  32093. - description: 用户ID
  32094. in: query
  32095. name: userID
  32096. required: true
  32097. type: integer
  32098. - description: 留言信息
  32099. in: query
  32100. name: message
  32101. required: true
  32102. type: string
  32103. - description: 联系电话
  32104. in: query
  32105. name: contactNum
  32106. required: true
  32107. type: string
  32108. produces:
  32109. - application/json
  32110. responses:
  32111. "200":
  32112. description: OK
  32113. schema:
  32114. $ref: '#/definitions/app.Response'
  32115. "500":
  32116. description: Internal Server Error
  32117. schema:
  32118. $ref: '#/definitions/app.Response'
  32119. security:
  32120. - ApiKeyAuth: []
  32121. summary: 添加用户留言板信息
  32122. tags:
  32123. - 用户信息
  32124. /User/AddUserFavoriteGoods:
  32125. post:
  32126. parameters:
  32127. - description: 用户ID
  32128. in: query
  32129. name: userID
  32130. required: true
  32131. type: integer
  32132. - description: 商品ID
  32133. in: query
  32134. name: goodsID
  32135. required: true
  32136. type: integer
  32137. produces:
  32138. - application/json
  32139. responses:
  32140. "200":
  32141. description: OK
  32142. schema:
  32143. $ref: '#/definitions/app.Response'
  32144. "500":
  32145. description: Internal Server Error
  32146. schema:
  32147. $ref: '#/definitions/app.Response'
  32148. security:
  32149. - ApiKeyAuth: []
  32150. summary: 添加用户商品收藏信息
  32151. tags:
  32152. - 用户信息
  32153. /User/GetLoginID:
  32154. get:
  32155. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  32156. parameters:
  32157. - description: 登录代码
  32158. in: query
  32159. name: username
  32160. required: true
  32161. type: string
  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. summary: 获取登录ID
  32174. tags:
  32175. - 用户信息
  32176. /User/GetUserAccount:
  32177. get:
  32178. parameters:
  32179. - description: 用户ID
  32180. in: query
  32181. name: userID
  32182. required: true
  32183. type: integer
  32184. produces:
  32185. - application/json
  32186. responses:
  32187. "200":
  32188. description: OK
  32189. schema:
  32190. $ref: '#/definitions/models.Useraccount'
  32191. "500":
  32192. description: Internal Server Error
  32193. schema:
  32194. $ref: '#/definitions/app.Response'
  32195. security:
  32196. - ApiKeyAuth: []
  32197. summary: 获取用户账号信息
  32198. tags:
  32199. - 用户信息
  32200. /User/GetUserAuthStatus:
  32201. get:
  32202. parameters:
  32203. - description: 用户ID
  32204. in: query
  32205. name: userID
  32206. required: true
  32207. type: integer
  32208. produces:
  32209. - application/json
  32210. responses:
  32211. "200":
  32212. description: OK
  32213. schema:
  32214. $ref: '#/definitions/app.Response'
  32215. "500":
  32216. description: Internal Server Error
  32217. schema:
  32218. $ref: '#/definitions/app.Response'
  32219. security:
  32220. - ApiKeyAuth: []
  32221. summary: 获取用户实名认证状态
  32222. tags:
  32223. - 用户信息
  32224. /User/LoginQuery:
  32225. get:
  32226. parameters:
  32227. - description: 登录账号
  32228. in: query
  32229. name: loginID
  32230. required: true
  32231. type: integer
  32232. produces:
  32233. - application/json
  32234. responses:
  32235. "200":
  32236. description: OK
  32237. schema:
  32238. $ref: '#/definitions/user.LoginQueryRsp'
  32239. "500":
  32240. description: Internal Server Error
  32241. schema:
  32242. $ref: '#/definitions/app.Response'
  32243. security:
  32244. - ApiKeyAuth: []
  32245. summary: 账户登录后信息查询
  32246. tags:
  32247. - 用户信息
  32248. /User/QueryMessageBoard:
  32249. get:
  32250. parameters:
  32251. - description: 用户ID
  32252. in: query
  32253. name: userID
  32254. required: true
  32255. type: integer
  32256. produces:
  32257. - application/json
  32258. responses:
  32259. "200":
  32260. description: OK
  32261. schema:
  32262. $ref: '#/definitions/models.Messageboard'
  32263. "500":
  32264. description: Internal Server Error
  32265. schema:
  32266. $ref: '#/definitions/app.Response'
  32267. security:
  32268. - ApiKeyAuth: []
  32269. summary: 获取用户留言板信息
  32270. tags:
  32271. - 用户信息
  32272. /User/QueryUserFavoriteGoodses:
  32273. get:
  32274. parameters:
  32275. - description: 用户ID
  32276. in: query
  32277. name: userID
  32278. required: true
  32279. type: integer
  32280. produces:
  32281. - application/json
  32282. responses:
  32283. "200":
  32284. description: OK
  32285. schema:
  32286. $ref: '#/definitions/models.Userfavoritegoods'
  32287. "500":
  32288. description: Internal Server Error
  32289. schema:
  32290. $ref: '#/definitions/app.Response'
  32291. security:
  32292. - ApiKeyAuth: []
  32293. summary: 获取用户商品收藏信息
  32294. tags:
  32295. - 用户信息
  32296. /User/QueryUserInfo:
  32297. get:
  32298. parameters:
  32299. - description: 用户ID
  32300. in: query
  32301. name: userID
  32302. required: true
  32303. type: integer
  32304. - description: 是否解密
  32305. in: query
  32306. name: isDecrypt
  32307. type: boolean
  32308. produces:
  32309. - application/json
  32310. responses:
  32311. "200":
  32312. description: OK
  32313. schema:
  32314. $ref: '#/definitions/models.Userinfo'
  32315. "500":
  32316. description: Internal Server Error
  32317. schema:
  32318. $ref: '#/definitions/app.Response'
  32319. security:
  32320. - ApiKeyAuth: []
  32321. summary: 获取用户信息
  32322. tags:
  32323. - 用户信息
  32324. /User/QueryUserReferNum:
  32325. get:
  32326. parameters:
  32327. - description: 用户ID
  32328. in: query
  32329. name: userID
  32330. required: true
  32331. type: integer
  32332. produces:
  32333. - application/json
  32334. responses:
  32335. "200":
  32336. description: OK
  32337. schema:
  32338. $ref: '#/definitions/app.Response'
  32339. "500":
  32340. description: Internal Server Error
  32341. schema:
  32342. $ref: '#/definitions/app.Response'
  32343. summary: 获取用户邀请码
  32344. tags:
  32345. - 用户信息
  32346. /User/RemoveUserFavoriteGoods:
  32347. post:
  32348. parameters:
  32349. - description: 用户ID
  32350. in: query
  32351. name: userID
  32352. required: true
  32353. type: integer
  32354. - description: 商品ID
  32355. in: query
  32356. name: goodsID
  32357. required: true
  32358. type: integer
  32359. produces:
  32360. - application/json
  32361. responses:
  32362. "200":
  32363. description: OK
  32364. schema:
  32365. $ref: '#/definitions/app.Response'
  32366. "500":
  32367. description: Internal Server Error
  32368. schema:
  32369. $ref: '#/definitions/app.Response'
  32370. security:
  32371. - ApiKeyAuth: []
  32372. summary: 移除用户商品收藏信息
  32373. tags:
  32374. - 用户信息
  32375. /User/UpdateUserAccountStatus:
  32376. post:
  32377. parameters:
  32378. - description: 用户ID
  32379. in: query
  32380. name: userID
  32381. required: true
  32382. type: integer
  32383. - description: 账户状态 - 4:正常 6:注销(停用)
  32384. in: query
  32385. name: accountStatus
  32386. required: true
  32387. type: integer
  32388. produces:
  32389. - application/json
  32390. responses:
  32391. "200":
  32392. description: OK
  32393. schema:
  32394. $ref: '#/definitions/app.Response'
  32395. "500":
  32396. description: Internal Server Error
  32397. schema:
  32398. $ref: '#/definitions/app.Response'
  32399. security:
  32400. - ApiKeyAuth: []
  32401. summary: 更新用户状态
  32402. tags:
  32403. - 用户信息
  32404. /WRTrade/GetAllDeliveryGoods:
  32405. get:
  32406. produces:
  32407. - application/json
  32408. responses:
  32409. "200":
  32410. description: OK
  32411. schema:
  32412. $ref: '#/definitions/app.Response'
  32413. "500":
  32414. description: Internal Server Error
  32415. schema:
  32416. $ref: '#/definitions/app.Response'
  32417. security:
  32418. - ApiKeyAuth: []
  32419. summary: 获取带仓单分类的种类信息
  32420. tags:
  32421. - 仓单贸易
  32422. - 仓单贸易
  32423. /WrTrade2/InsertXhcpSellBackApply:
  32424. post:
  32425. parameters:
  32426. - description: 回收申请
  32427. in: body
  32428. name: jsonBody
  32429. required: true
  32430. schema:
  32431. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  32432. produces:
  32433. - application/json
  32434. responses:
  32435. "200":
  32436. description: OK
  32437. schema:
  32438. $ref: '#/definitions/app.Response'
  32439. "500":
  32440. description: Internal Server Error
  32441. schema:
  32442. $ref: '#/definitions/app.Response'
  32443. security:
  32444. - ApiKeyAuth: []
  32445. summary: 新增回收申请(新会陈皮)
  32446. tags:
  32447. - 仓单贸易v2
  32448. /WrTrade2/QueryDeliveryGoodsSection:
  32449. get:
  32450. produces:
  32451. - application/json
  32452. responses:
  32453. "200":
  32454. description: OK
  32455. schema:
  32456. items:
  32457. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  32458. type: array
  32459. "500":
  32460. description: Internal Server Error
  32461. schema:
  32462. $ref: '#/definitions/app.Response'
  32463. security:
  32464. - ApiKeyAuth: []
  32465. summary: 查询板块(分类)
  32466. tags:
  32467. - 仓单贸易v2
  32468. /WrTrade2/QueryFaProductDetail:
  32469. get:
  32470. description: 页面 买卖大厅 -> 选择融资方案
  32471. parameters:
  32472. - description: 仓单要素id
  32473. in: query
  32474. name: wrfactortypeid
  32475. required: true
  32476. type: integer
  32477. produces:
  32478. - application/json
  32479. responses:
  32480. "200":
  32481. description: OK
  32482. schema:
  32483. items:
  32484. $ref: '#/definitions/models.WrFAProductDetail'
  32485. type: array
  32486. "500":
  32487. description: Internal Server Error
  32488. schema:
  32489. $ref: '#/definitions/app.Response'
  32490. security:
  32491. - ApiKeyAuth: []
  32492. summary: 查询融资产品列表
  32493. tags:
  32494. - 仓单贸易v2
  32495. /WrTrade2/QueryFilterItem:
  32496. get:
  32497. parameters:
  32498. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  32499. in: query
  32500. name: itype
  32501. required: true
  32502. type: string
  32503. produces:
  32504. - application/json
  32505. responses:
  32506. "200":
  32507. description: OK
  32508. schema:
  32509. items:
  32510. $ref: '#/definitions/models.WrFilterItem'
  32511. type: array
  32512. "500":
  32513. description: Internal Server Error
  32514. schema:
  32515. $ref: '#/definitions/app.Response'
  32516. security:
  32517. - ApiKeyAuth: []
  32518. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  32519. tags:
  32520. - 仓单贸易v2
  32521. /WrTrade2/QueryFtDeliveryGoods:
  32522. get:
  32523. produces:
  32524. - application/json
  32525. responses:
  32526. "200":
  32527. description: OK
  32528. schema:
  32529. items:
  32530. $ref: '#/definitions/models.WrFtDeliveryGoods'
  32531. type: array
  32532. "500":
  32533. description: Internal Server Error
  32534. schema:
  32535. $ref: '#/definitions/app.Response'
  32536. security:
  32537. - ApiKeyAuth: []
  32538. summary: 查询品种品类筛选框列表
  32539. tags:
  32540. - 仓单贸易v2
  32541. /WrTrade2/QueryHoldLB:
  32542. get:
  32543. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  32544. parameters:
  32545. - description: 资金账号
  32546. in: query
  32547. name: accountid
  32548. required: true
  32549. type: integer
  32550. - description: 仓库id
  32551. in: query
  32552. name: warehouseid
  32553. type: integer
  32554. - description: 品种id
  32555. in: query
  32556. name: deliverygoodsid
  32557. type: integer
  32558. - description: 品类id
  32559. in: query
  32560. name: wrstandardid
  32561. type: integer
  32562. - description: 仓单要素id
  32563. in: query
  32564. name: wrfactortypeid
  32565. type: integer
  32566. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  32567. in: query
  32568. name: dgitemname
  32569. type: string
  32570. produces:
  32571. - application/json
  32572. responses:
  32573. "200":
  32574. description: OK
  32575. schema:
  32576. items:
  32577. $ref: '#/definitions/models.WrHoldLB'
  32578. type: array
  32579. "500":
  32580. description: Internal Server Error
  32581. schema:
  32582. $ref: '#/definitions/app.Response'
  32583. security:
  32584. - ApiKeyAuth: []
  32585. summary: 查询仓单持有记录
  32586. tags:
  32587. - 仓单贸易v2
  32588. /WrTrade2/QueryOrderQuote:
  32589. get:
  32590. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  32591. 唯一确定1条记录
  32592. parameters:
  32593. - description: 页码
  32594. in: query
  32595. name: page
  32596. type: integer
  32597. - description: 每页条数
  32598. in: query
  32599. name: pagesize
  32600. type: integer
  32601. - description: 仓单贸易市场id
  32602. in: query
  32603. name: marketid
  32604. type: integer
  32605. - description: 价格方式 - 1:固定价 2-浮动价
  32606. in: query
  32607. name: wrpricetype
  32608. required: true
  32609. type: integer
  32610. - description: 0:仓单预售 1:仓单贸易
  32611. in: query
  32612. name: haswr
  32613. type: integer
  32614. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  32615. in: query
  32616. name: dgitemname
  32617. type: string
  32618. - description: 仓库id(筛选条件)
  32619. in: query
  32620. name: warehouseid
  32621. type: integer
  32622. - description: 品种id
  32623. in: query
  32624. name: deliverygoodsid
  32625. type: integer
  32626. - description: 品类id
  32627. in: query
  32628. name: wrstandardid
  32629. type: integer
  32630. - description: 品牌id(dgfactoryitemid)
  32631. in: query
  32632. name: brandid
  32633. type: integer
  32634. - description: 年份id(dgfactoryitemid)
  32635. in: query
  32636. name: yearsid
  32637. type: integer
  32638. - description: 仓单要素id
  32639. in: query
  32640. name: wrfactortypeid
  32641. type: integer
  32642. - description: 交收月(yyyy-mm) 仓单预售填写
  32643. in: query
  32644. name: deliverymonth
  32645. type: string
  32646. produces:
  32647. - application/json
  32648. responses:
  32649. "200":
  32650. description: OK
  32651. schema:
  32652. items:
  32653. $ref: '#/definitions/models.WrOrderQuote'
  32654. type: array
  32655. "500":
  32656. description: Internal Server Error
  32657. schema:
  32658. $ref: '#/definitions/app.Response'
  32659. security:
  32660. - ApiKeyAuth: []
  32661. summary: 查询大厅行情列表
  32662. tags:
  32663. - 仓单贸易v2
  32664. /WrTrade2/QueryOrderQuoteDetail:
  32665. get:
  32666. parameters:
  32667. - description: 页码
  32668. in: query
  32669. name: page
  32670. type: integer
  32671. - description: 每页条数
  32672. in: query
  32673. name: pagesize
  32674. type: integer
  32675. - description: 仓单贸易市场id
  32676. in: query
  32677. name: marketid
  32678. type: integer
  32679. - description: 价格方式 - 1:固定价 2-浮动价
  32680. in: query
  32681. name: wrpricetype
  32682. required: true
  32683. type: integer
  32684. - description: 0:仓单预售 1:仓单贸易
  32685. in: query
  32686. name: haswr
  32687. type: integer
  32688. - description: 仓单要素id
  32689. in: query
  32690. name: wrfactortypeid
  32691. required: true
  32692. type: integer
  32693. - description: 期货商品id(浮动价方式时填)
  32694. in: query
  32695. name: goodsid
  32696. type: integer
  32697. - description: 买卖方向 0-买 1-卖
  32698. in: query
  32699. name: buyorsell
  32700. required: true
  32701. type: integer
  32702. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  32703. in: query
  32704. name: deliverymonth
  32705. type: string
  32706. produces:
  32707. - application/json
  32708. responses:
  32709. "200":
  32710. description: OK
  32711. schema:
  32712. items:
  32713. $ref: '#/definitions/models.WrOrderQuoteDetail'
  32714. type: array
  32715. "500":
  32716. description: Internal Server Error
  32717. schema:
  32718. $ref: '#/definitions/app.Response'
  32719. security:
  32720. - ApiKeyAuth: []
  32721. summary: 查询买卖大厅
  32722. tags:
  32723. - 仓单贸易v2
  32724. /WrTrade2/QueryOrderQuoteMyq:
  32725. get:
  32726. parameters:
  32727. - description: 页码
  32728. in: query
  32729. name: page
  32730. type: integer
  32731. - description: 每页条数
  32732. in: query
  32733. name: pagesize
  32734. type: integer
  32735. - description: 用户id
  32736. in: query
  32737. name: userid
  32738. required: true
  32739. type: integer
  32740. - description: 仓单贸易市场id
  32741. in: query
  32742. name: marketid
  32743. type: integer
  32744. - description: 0:仓单预售 1:仓单贸易
  32745. in: query
  32746. name: haswr
  32747. type: integer
  32748. - description: 买卖方向 0-买 1-卖
  32749. in: query
  32750. name: buyorsell
  32751. required: true
  32752. type: integer
  32753. - description: 品种id
  32754. in: query
  32755. name: deliverygoodsid
  32756. type: integer
  32757. - description: 品类id
  32758. in: query
  32759. name: wrstandardid
  32760. type: integer
  32761. - description: 交收月(yyyy-mm) 仓单预售填写
  32762. in: query
  32763. name: deliverymonth
  32764. type: string
  32765. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  32766. in: query
  32767. name: dgitemname
  32768. type: string
  32769. produces:
  32770. - application/json
  32771. responses:
  32772. "200":
  32773. description: OK
  32774. schema:
  32775. items:
  32776. $ref: '#/definitions/models.WrQuoteOrderMyq'
  32777. type: array
  32778. "500":
  32779. description: Internal Server Error
  32780. schema:
  32781. $ref: '#/definitions/app.Response'
  32782. security:
  32783. - ApiKeyAuth: []
  32784. summary: 查询贸易圈挂牌大厅
  32785. tags:
  32786. - 仓单贸易v2
  32787. /WrTrade2/QueryPerformancePlan:
  32788. get:
  32789. parameters:
  32790. - description: 用户id
  32791. in: query
  32792. name: userid
  32793. required: true
  32794. type: integer
  32795. - description: 买卖方向 0-买 1-卖
  32796. in: query
  32797. name: buyorsell
  32798. required: true
  32799. type: integer
  32800. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  32801. 8:释放冻结失败 9:超时待处理 10:超时关闭
  32802. in: query
  32803. name: status
  32804. type: string
  32805. - description: 开始交易日(yyyymmdd)
  32806. in: query
  32807. name: begindate
  32808. type: string
  32809. - description: 结束交易日(yyyymmdd)
  32810. in: query
  32811. name: enddate
  32812. type: string
  32813. produces:
  32814. - application/json
  32815. responses:
  32816. "200":
  32817. description: OK
  32818. schema:
  32819. items:
  32820. $ref: '#/definitions/models.WrPerformancePlan'
  32821. type: array
  32822. "500":
  32823. description: Internal Server Error
  32824. schema:
  32825. $ref: '#/definitions/app.Response'
  32826. security:
  32827. - ApiKeyAuth: []
  32828. summary: 查询履约信息
  32829. tags:
  32830. - 仓单贸易v2
  32831. /WrTrade2/QueryPermancePlanTmp:
  32832. get:
  32833. description: |-
  32834. 返回指定用户的模板和公共模板(用户id为空)
  32835. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  32836. parameters:
  32837. - description: 用户id
  32838. in: query
  32839. name: userid
  32840. type: integer
  32841. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  32842. (无仓单) 5:挂牌期权 6:竞拍-降价式
  32843. in: query
  32844. name: tmptype
  32845. type: string
  32846. - description: 是否包含公共模板(用户id为空的) 1-包含
  32847. in: query
  32848. name: includepub
  32849. type: integer
  32850. - description: 市场id(天津麦顿指定此参数,其它不用)
  32851. in: query
  32852. name: marketid
  32853. type: integer
  32854. produces:
  32855. - application/json
  32856. responses:
  32857. "200":
  32858. description: OK
  32859. schema:
  32860. items:
  32861. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  32862. type: array
  32863. "500":
  32864. description: Internal Server Error
  32865. schema:
  32866. $ref: '#/definitions/app.Response'
  32867. security:
  32868. - ApiKeyAuth: []
  32869. summary: 查询履约模板
  32870. tags:
  32871. - 仓单贸易v2
  32872. /WrTrade2/QuerySiteColumnDetail:
  32873. get:
  32874. parameters:
  32875. - description: 页码
  32876. in: query
  32877. name: page
  32878. type: integer
  32879. - description: 每页条数
  32880. in: query
  32881. name: pagesize
  32882. type: integer
  32883. - description: 所属栏目id
  32884. in: query
  32885. name: columnid
  32886. type: integer
  32887. produces:
  32888. - application/json
  32889. responses:
  32890. "200":
  32891. description: OK
  32892. schema:
  32893. items:
  32894. $ref: '#/definitions/models.WrSiteColumnDetail'
  32895. type: array
  32896. "500":
  32897. description: Internal Server Error
  32898. schema:
  32899. $ref: '#/definitions/app.Response'
  32900. security:
  32901. - ApiKeyAuth: []
  32902. summary: 查询资讯
  32903. tags:
  32904. - 仓单贸易v2
  32905. /WrTrade2/QuerySpotGroupTradeSum:
  32906. get:
  32907. produces:
  32908. - application/json
  32909. responses:
  32910. "200":
  32911. description: OK
  32912. schema:
  32913. items:
  32914. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  32915. type: array
  32916. "500":
  32917. description: Internal Server Error
  32918. schema:
  32919. $ref: '#/definitions/app.Response'
  32920. security:
  32921. - ApiKeyAuth: []
  32922. summary: 查询指数
  32923. tags:
  32924. - 仓单贸易v2
  32925. /WrTrade2/QuerySpotGroupTradeSumDetail:
  32926. get:
  32927. description: 查询的结果将会按日期 从小到大 排序
  32928. parameters:
  32929. - description: 现货商品id
  32930. in: query
  32931. name: deliverygoodsid
  32932. required: true
  32933. type: integer
  32934. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  32935. in: query
  32936. name: lastnum
  32937. type: integer
  32938. produces:
  32939. - application/json
  32940. responses:
  32941. "200":
  32942. description: OK
  32943. schema:
  32944. items:
  32945. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  32946. type: array
  32947. "500":
  32948. description: Internal Server Error
  32949. schema:
  32950. $ref: '#/definitions/app.Response'
  32951. security:
  32952. - ApiKeyAuth: []
  32953. summary: 查询指数详细(价格走势图)
  32954. tags:
  32955. - 仓单贸易v2
  32956. /WrTrade2/QueryWrAverageTradePrice:
  32957. get:
  32958. parameters:
  32959. - description: 页码
  32960. in: query
  32961. name: page
  32962. type: integer
  32963. - description: 每页条数
  32964. in: query
  32965. name: pagesize
  32966. type: integer
  32967. - description: 0:仓单预售 1:仓单贸易
  32968. in: query
  32969. name: haswr
  32970. required: true
  32971. type: integer
  32972. - description: 仓单要素id
  32973. in: query
  32974. name: wrfactortypeid
  32975. required: true
  32976. type: integer
  32977. produces:
  32978. - application/json
  32979. responses:
  32980. "200":
  32981. description: OK
  32982. schema:
  32983. items:
  32984. $ref: '#/definitions/models.WrAverageTradePrice'
  32985. type: array
  32986. "500":
  32987. description: Internal Server Error
  32988. schema:
  32989. $ref: '#/definitions/app.Response'
  32990. security:
  32991. - ApiKeyAuth: []
  32992. summary: 查询成交价(历史走势)
  32993. tags:
  32994. - 仓单贸易v2
  32995. /WrTrade2/QueryWrBrandAndYears:
  32996. get:
  32997. produces:
  32998. - application/json
  32999. responses:
  33000. "200":
  33001. description: OK
  33002. schema:
  33003. items:
  33004. $ref: '#/definitions/models.WrBrandAndYears'
  33005. type: array
  33006. "500":
  33007. description: Internal Server Error
  33008. schema:
  33009. $ref: '#/definitions/app.Response'
  33010. security:
  33011. - ApiKeyAuth: []
  33012. summary: 查询品牌和年份
  33013. tags:
  33014. - 仓单贸易v2
  33015. /WrTrade2/QueryWrBsGoodsInfo:
  33016. get:
  33017. description: 合约交易/买卖大厅/详情
  33018. parameters:
  33019. - description: 商品id
  33020. in: query
  33021. name: goodsid
  33022. required: true
  33023. type: integer
  33024. produces:
  33025. - application/json
  33026. responses:
  33027. "200":
  33028. description: OK
  33029. schema:
  33030. items:
  33031. $ref: '#/definitions/models.WrBsGoodsInfo'
  33032. type: array
  33033. "500":
  33034. description: Internal Server Error
  33035. schema:
  33036. $ref: '#/definitions/app.Response'
  33037. security:
  33038. - ApiKeyAuth: []
  33039. summary: 查询合约交易买卖大厅详情
  33040. tags:
  33041. - 仓单贸易v2
  33042. /WrTrade2/QueryWrBuybackDetail:
  33043. get:
  33044. parameters:
  33045. - description: 融资合同id
  33046. in: query
  33047. name: scfcontractid
  33048. type: integer
  33049. produces:
  33050. - application/json
  33051. responses:
  33052. "200":
  33053. description: OK
  33054. schema:
  33055. items:
  33056. $ref: '#/definitions/models.WrBuybackDetail'
  33057. type: array
  33058. "500":
  33059. description: Internal Server Error
  33060. schema:
  33061. $ref: '#/definitions/app.Response'
  33062. security:
  33063. - ApiKeyAuth: []
  33064. summary: 查询仓单回购明细
  33065. tags:
  33066. - 仓单贸易v2
  33067. /WrTrade2/QueryWrClientAdSpaceConfig:
  33068. get:
  33069. produces:
  33070. - application/json
  33071. responses:
  33072. "200":
  33073. description: OK
  33074. schema:
  33075. items:
  33076. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  33077. type: array
  33078. "500":
  33079. description: Internal Server Error
  33080. schema:
  33081. $ref: '#/definitions/app.Response'
  33082. security:
  33083. - ApiKeyAuth: []
  33084. summary: 查询固定广告配置
  33085. tags:
  33086. - 仓单贸易v2
  33087. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  33088. get:
  33089. parameters:
  33090. - description: 资金账号
  33091. in: query
  33092. name: accountid
  33093. required: true
  33094. type: integer
  33095. - description: 商品id
  33096. in: query
  33097. name: goodsid
  33098. required: true
  33099. type: integer
  33100. produces:
  33101. - application/json
  33102. responses:
  33103. "200":
  33104. description: OK
  33105. schema:
  33106. items:
  33107. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  33108. type: array
  33109. "500":
  33110. description: Internal Server Error
  33111. schema:
  33112. $ref: '#/definitions/app.Response'
  33113. security:
  33114. - ApiKeyAuth: []
  33115. summary: 查询合约交收可点选仓单
  33116. tags:
  33117. - 仓单贸易v2
  33118. /WrTrade2/QueryWrDeliveryDetail:
  33119. get:
  33120. parameters:
  33121. - description: 用户id
  33122. in: query
  33123. name: userid
  33124. required: true
  33125. type: integer
  33126. - description: 资金账号id
  33127. in: query
  33128. name: accountid
  33129. type: integer
  33130. - description: 开始交易日(yyyymmdd)
  33131. in: query
  33132. name: begindate
  33133. type: string
  33134. - description: 结束交易日(yyyymmdd)
  33135. in: query
  33136. name: enddate
  33137. type: string
  33138. produces:
  33139. - application/json
  33140. responses:
  33141. "200":
  33142. description: OK
  33143. schema:
  33144. items:
  33145. $ref: '#/definitions/models.WrDeliveryDetail'
  33146. type: array
  33147. "500":
  33148. description: Internal Server Error
  33149. schema:
  33150. $ref: '#/definitions/app.Response'
  33151. security:
  33152. - ApiKeyAuth: []
  33153. summary: 查询交收
  33154. tags:
  33155. - 仓单贸易v2
  33156. /WrTrade2/QueryWrDraftUserInfo:
  33157. get:
  33158. parameters:
  33159. - description: 用户ID
  33160. in: query
  33161. name: userid
  33162. required: true
  33163. type: integer
  33164. - description: 用户状态 1:正常 2:注销
  33165. in: query
  33166. name: userstatus
  33167. type: integer
  33168. produces:
  33169. - application/json
  33170. responses:
  33171. "200":
  33172. description: OK
  33173. schema:
  33174. items:
  33175. $ref: '#/definitions/models.WrDraftUserInfo'
  33176. type: array
  33177. "500":
  33178. description: Internal Server Error
  33179. schema:
  33180. $ref: '#/definitions/app.Response'
  33181. security:
  33182. - ApiKeyAuth: []
  33183. summary: 查询实名认证信息
  33184. tags:
  33185. - 仓单贸易v2
  33186. /WrTrade2/QueryWrFactorTypeInfo:
  33187. get:
  33188. parameters:
  33189. - description: 仓单要素id
  33190. in: query
  33191. name: wrfactortypeid
  33192. required: true
  33193. type: integer
  33194. produces:
  33195. - application/json
  33196. responses:
  33197. "200":
  33198. description: OK
  33199. schema:
  33200. items:
  33201. $ref: '#/definitions/models.WrFactorTypeInfo'
  33202. type: array
  33203. "500":
  33204. description: Internal Server Error
  33205. schema:
  33206. $ref: '#/definitions/app.Response'
  33207. security:
  33208. - ApiKeyAuth: []
  33209. summary: 查询仓单要素详细信息
  33210. tags:
  33211. - 仓单贸易v2
  33212. /WrTrade2/QueryWrFactorTypeInfoEx:
  33213. get:
  33214. parameters:
  33215. - description: 仓单要素id
  33216. in: query
  33217. name: wrfactortypeid
  33218. required: true
  33219. type: integer
  33220. produces:
  33221. - application/json
  33222. responses:
  33223. "200":
  33224. description: OK
  33225. schema:
  33226. items:
  33227. $ref: '#/definitions/models.WrTypeItem'
  33228. type: array
  33229. "500":
  33230. description: Internal Server Error
  33231. schema:
  33232. $ref: '#/definitions/app.Response'
  33233. security:
  33234. - ApiKeyAuth: []
  33235. summary: 查询仓单要素详细信息列表项
  33236. tags:
  33237. - 仓单贸易v2
  33238. /WrTrade2/QueryWrFinanceBuyApply:
  33239. get:
  33240. description: 页面 融资信息+ / 申请单
  33241. parameters:
  33242. - description: 用户id
  33243. in: query
  33244. name: userid
  33245. required: true
  33246. type: integer
  33247. produces:
  33248. - application/json
  33249. responses:
  33250. "200":
  33251. description: OK
  33252. schema:
  33253. items:
  33254. $ref: '#/definitions/models.WrFinanceBuyApply'
  33255. type: array
  33256. "500":
  33257. description: Internal Server Error
  33258. schema:
  33259. $ref: '#/definitions/app.Response'
  33260. security:
  33261. - ApiKeyAuth: []
  33262. summary: 查询融资购买申请
  33263. tags:
  33264. - 仓单贸易v2
  33265. /WrTrade2/QueryWrFriendApply:
  33266. get:
  33267. parameters:
  33268. - description: 用户id
  33269. in: query
  33270. name: userid
  33271. required: true
  33272. type: integer
  33273. produces:
  33274. - application/json
  33275. responses:
  33276. "200":
  33277. description: OK
  33278. schema:
  33279. items:
  33280. $ref: '#/definitions/models.WrFriendApply'
  33281. type: array
  33282. "500":
  33283. description: Internal Server Error
  33284. schema:
  33285. $ref: '#/definitions/app.Response'
  33286. security:
  33287. - ApiKeyAuth: []
  33288. summary: 查询好友申请记录
  33289. tags:
  33290. - 仓单贸易v2
  33291. /WrTrade2/QueryWrGoodsInfo:
  33292. get:
  33293. parameters:
  33294. - description: 仓单贸易市场id
  33295. in: query
  33296. name: marketid
  33297. type: integer
  33298. - description: 0:仓单预售 1:仓单贸易
  33299. in: query
  33300. name: haswr
  33301. required: true
  33302. type: integer
  33303. - description: 仓单要素id
  33304. in: query
  33305. name: wrfactortypeid
  33306. required: true
  33307. type: integer
  33308. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  33309. in: query
  33310. name: tmplateid
  33311. type: integer
  33312. produces:
  33313. - application/json
  33314. responses:
  33315. "200":
  33316. description: OK
  33317. schema:
  33318. items:
  33319. $ref: '#/definitions/models.WrGoodsInfo'
  33320. type: array
  33321. "500":
  33322. description: Internal Server Error
  33323. schema:
  33324. $ref: '#/definitions/app.Response'
  33325. security:
  33326. - ApiKeyAuth: []
  33327. summary: 查询仓单商品信息
  33328. tags:
  33329. - 仓单贸易v2
  33330. /WrTrade2/QueryWrMarketTradeConfig:
  33331. get:
  33332. parameters:
  33333. - description: 市场id
  33334. in: query
  33335. name: marketid
  33336. type: integer
  33337. produces:
  33338. - application/json
  33339. responses:
  33340. "200":
  33341. description: OK
  33342. schema:
  33343. items:
  33344. $ref: '#/definitions/models.WrMarketTradeConfig'
  33345. type: array
  33346. "500":
  33347. description: Internal Server Error
  33348. schema:
  33349. $ref: '#/definitions/app.Response'
  33350. security:
  33351. - ApiKeyAuth: []
  33352. summary: 查询市场交易参数配置
  33353. tags:
  33354. - 仓单贸易v2
  33355. /WrTrade2/QueryWrOrderDetail:
  33356. get:
  33357. description: 页面 现货仓单 | 预售仓单 -> 委托单
  33358. parameters:
  33359. - description: 页码
  33360. in: query
  33361. name: page
  33362. type: integer
  33363. - description: 每页条数
  33364. in: query
  33365. name: pagesize
  33366. type: integer
  33367. - description: 用户id
  33368. in: query
  33369. name: userid
  33370. required: true
  33371. type: integer
  33372. - description: 仓单贸易市场id
  33373. in: query
  33374. name: marketid
  33375. type: integer
  33376. - description: 0:仓单预售 1:仓单贸易
  33377. in: query
  33378. name: haswr
  33379. required: true
  33380. type: integer
  33381. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  33382. in: query
  33383. name: bcancel
  33384. type: integer
  33385. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  33386. in: query
  33387. name: wrtradetype
  33388. type: integer
  33389. - description: 开始交易日(yyyymmdd)
  33390. in: query
  33391. name: begindate
  33392. type: string
  33393. - description: 结束交易日(yyyymmdd)
  33394. in: query
  33395. name: enddate
  33396. type: string
  33397. produces:
  33398. - application/json
  33399. responses:
  33400. "200":
  33401. description: OK
  33402. schema:
  33403. items:
  33404. $ref: '#/definitions/models.WrOrderDetail'
  33405. type: array
  33406. "500":
  33407. description: Internal Server Error
  33408. schema:
  33409. $ref: '#/definitions/app.Response'
  33410. security:
  33411. - ApiKeyAuth: []
  33412. summary: 查询仓单委托单
  33413. tags:
  33414. - 仓单贸易v2
  33415. /WrTrade2/QueryWrOutInApply:
  33416. get:
  33417. parameters:
  33418. - description: 页码
  33419. in: query
  33420. name: page
  33421. type: integer
  33422. - description: 每页条数
  33423. in: query
  33424. name: pagesize
  33425. type: integer
  33426. - description: 用户id
  33427. in: query
  33428. name: userid
  33429. required: true
  33430. type: integer
  33431. - description: 开始交易日(yyyymmdd)
  33432. in: query
  33433. name: begindate
  33434. type: string
  33435. - description: 结束交易日(yyyymmdd)
  33436. in: query
  33437. name: enddate
  33438. type: string
  33439. produces:
  33440. - application/json
  33441. responses:
  33442. "200":
  33443. description: OK
  33444. schema:
  33445. items:
  33446. $ref: '#/definitions/models.WrOutInApply'
  33447. type: array
  33448. "500":
  33449. description: Internal Server Error
  33450. schema:
  33451. $ref: '#/definitions/app.Response'
  33452. security:
  33453. - ApiKeyAuth: []
  33454. summary: 查询提货申请
  33455. tags:
  33456. - 仓单贸易v2
  33457. /WrTrade2/QueryWrPerformancePlanStep:
  33458. get:
  33459. parameters:
  33460. - description: 履约计划id(performanceplanid)
  33461. in: query
  33462. name: planid
  33463. required: true
  33464. type: integer
  33465. - description: 当前步骤id
  33466. in: query
  33467. name: curstepid
  33468. type: integer
  33469. produces:
  33470. - application/json
  33471. responses:
  33472. "200":
  33473. description: OK
  33474. schema:
  33475. items:
  33476. $ref: '#/definitions/models.WrPerformancePlanStep'
  33477. type: array
  33478. "500":
  33479. description: Internal Server Error
  33480. schema:
  33481. $ref: '#/definitions/app.Response'
  33482. security:
  33483. - ApiKeyAuth: []
  33484. summary: 查询履约信息详情
  33485. tags:
  33486. - 仓单贸易v2
  33487. /WrTrade2/QueryWrPerformanceStepType:
  33488. get:
  33489. produces:
  33490. - application/json
  33491. responses:
  33492. "200":
  33493. description: OK
  33494. schema:
  33495. items:
  33496. $ref: '#/definitions/models.WrPerformanceStepType'
  33497. type: array
  33498. "500":
  33499. description: Internal Server Error
  33500. schema:
  33501. $ref: '#/definitions/app.Response'
  33502. security:
  33503. - ApiKeyAuth: []
  33504. summary: 查询履约步骤枚举
  33505. tags:
  33506. - 仓单贸易v2
  33507. /WrTrade2/QueryWrPosition:
  33508. get:
  33509. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  33510. parameters:
  33511. - description: 用户id
  33512. in: query
  33513. name: userid
  33514. required: true
  33515. type: integer
  33516. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  33517. in: query
  33518. name: querytype
  33519. required: true
  33520. type: integer
  33521. - description: 0:仓单预售 1:仓单贸易
  33522. in: query
  33523. name: haswr
  33524. required: true
  33525. type: integer
  33526. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  33527. in: query
  33528. name: dgitemname
  33529. type: string
  33530. - description: 仓库id(筛选条件)
  33531. in: query
  33532. name: warehouseid
  33533. type: integer
  33534. - description: 品种id
  33535. in: query
  33536. name: deliverygoodsid
  33537. type: integer
  33538. - description: 品类id
  33539. in: query
  33540. name: wrstandardid
  33541. type: integer
  33542. produces:
  33543. - application/json
  33544. responses:
  33545. "200":
  33546. description: OK
  33547. schema:
  33548. items:
  33549. $ref: '#/definitions/models.WrPosition'
  33550. type: array
  33551. "500":
  33552. description: Internal Server Error
  33553. schema:
  33554. $ref: '#/definitions/app.Response'
  33555. security:
  33556. - ApiKeyAuth: []
  33557. summary: 查询现货(预售)仓单持仓
  33558. tags:
  33559. - 仓单贸易v2
  33560. /WrTrade2/QueryWrPreSaleInfo:
  33561. get:
  33562. parameters:
  33563. - description: 市场id
  33564. in: query
  33565. name: marketid
  33566. type: integer
  33567. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  33568. in: query
  33569. name: presalestatus
  33570. type: string
  33571. - description: 摇号标识 - 0:未摇号 1:已摇号
  33572. in: query
  33573. name: lotteryflag
  33574. type: integer
  33575. - description: 最近多少条记录(按创建时间倒序)
  33576. in: query
  33577. name: lastnum
  33578. type: integer
  33579. produces:
  33580. - application/json
  33581. responses:
  33582. "200":
  33583. description: OK
  33584. schema:
  33585. items:
  33586. $ref: '#/definitions/models.WrPreSaleInfo'
  33587. type: array
  33588. "500":
  33589. description: Internal Server Error
  33590. schema:
  33591. $ref: '#/definitions/app.Response'
  33592. security:
  33593. - ApiKeyAuth: []
  33594. summary: 查询新品发布
  33595. tags:
  33596. - 仓单贸易v2
  33597. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  33598. get:
  33599. parameters:
  33600. - description: 市场id
  33601. in: query
  33602. name: marketid
  33603. required: true
  33604. type: integer
  33605. - description: 现货商品id
  33606. in: query
  33607. name: wrstandardid
  33608. required: true
  33609. type: integer
  33610. - description: 开始交易日(yyyymmdd)
  33611. in: query
  33612. name: begindate
  33613. type: string
  33614. - description: 结束交易日(yyyymmdd)
  33615. in: query
  33616. name: enddate
  33617. type: string
  33618. - description: 最近多少条记录(按交易日倒序)
  33619. in: query
  33620. name: lastnum
  33621. type: integer
  33622. - description: 是否今日
  33623. in: query
  33624. name: istoday
  33625. type: boolean
  33626. produces:
  33627. - application/json
  33628. responses:
  33629. "200":
  33630. description: OK
  33631. schema:
  33632. items:
  33633. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  33634. type: array
  33635. "500":
  33636. description: Internal Server Error
  33637. schema:
  33638. $ref: '#/definitions/app.Response'
  33639. security:
  33640. - ApiKeyAuth: []
  33641. summary: 查询价格走势
  33642. tags:
  33643. - 仓单贸易v2
  33644. /WrTrade2/QueryWrScfContract:
  33645. get:
  33646. parameters:
  33647. - description: 用户id
  33648. in: query
  33649. name: userid
  33650. required: true
  33651. type: integer
  33652. - description: 融资合同id
  33653. in: query
  33654. name: scfcontractid
  33655. type: integer
  33656. produces:
  33657. - application/json
  33658. responses:
  33659. "200":
  33660. description: OK
  33661. schema:
  33662. items:
  33663. $ref: '#/definitions/models.WrScfContract'
  33664. type: array
  33665. "500":
  33666. description: Internal Server Error
  33667. schema:
  33668. $ref: '#/definitions/app.Response'
  33669. security:
  33670. - ApiKeyAuth: []
  33671. summary: 查询仓单贸易融资合同
  33672. tags:
  33673. - 仓单贸易v2
  33674. /WrTrade2/QueryWrScfContractInterest:
  33675. get:
  33676. parameters:
  33677. - description: 融资合同id
  33678. in: query
  33679. name: scfcontractid
  33680. type: integer
  33681. produces:
  33682. - application/json
  33683. responses:
  33684. "200":
  33685. description: OK
  33686. schema:
  33687. items:
  33688. $ref: '#/definitions/models.WrScfContractInterest'
  33689. type: array
  33690. "500":
  33691. description: Internal Server Error
  33692. schema:
  33693. $ref: '#/definitions/app.Response'
  33694. security:
  33695. - ApiKeyAuth: []
  33696. summary: 查询融资合同费用明细
  33697. tags:
  33698. - 仓单贸易v2
  33699. /WrTrade2/QueryWrSearchUser:
  33700. get:
  33701. parameters:
  33702. - description: 用户名称(模糊匹配)
  33703. in: query
  33704. name: username
  33705. required: true
  33706. type: string
  33707. produces:
  33708. - application/json
  33709. responses:
  33710. "200":
  33711. description: OK
  33712. schema:
  33713. items:
  33714. $ref: '#/definitions/models.WrSearchUser'
  33715. type: array
  33716. "500":
  33717. description: Internal Server Error
  33718. schema:
  33719. $ref: '#/definitions/app.Response'
  33720. security:
  33721. - ApiKeyAuth: []
  33722. summary: 查询用户
  33723. tags:
  33724. - 仓单贸易v2
  33725. /WrTrade2/QueryWrSpecialMatchOrder:
  33726. get:
  33727. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  33728. parameters:
  33729. - description: 页码
  33730. in: query
  33731. name: page
  33732. type: integer
  33733. - description: 每页条数
  33734. in: query
  33735. name: pagesize
  33736. type: integer
  33737. - description: 用户id
  33738. in: query
  33739. name: userid
  33740. required: true
  33741. type: integer
  33742. - description: 仓单贸易市场id
  33743. in: query
  33744. name: marketid
  33745. type: integer
  33746. - description: 0:仓单预售 1:仓单贸易
  33747. in: query
  33748. name: haswr
  33749. required: true
  33750. type: integer
  33751. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  33752. in: query
  33753. name: isspecified
  33754. type: integer
  33755. produces:
  33756. - application/json
  33757. responses:
  33758. "200":
  33759. description: OK
  33760. schema:
  33761. items:
  33762. $ref: '#/definitions/models.WrSpecialMatchOrder'
  33763. type: array
  33764. "500":
  33765. description: Internal Server Error
  33766. schema:
  33767. $ref: '#/definitions/app.Response'
  33768. security:
  33769. - ApiKeyAuth: []
  33770. summary: 查询指定成交
  33771. tags:
  33772. - 仓单贸易v2
  33773. /WrTrade2/QueryWrStandardFactoryItem:
  33774. get:
  33775. parameters:
  33776. - description: 品类id
  33777. in: query
  33778. name: wrstandardid
  33779. required: true
  33780. type: integer
  33781. produces:
  33782. - application/json
  33783. responses:
  33784. "200":
  33785. description: OK
  33786. schema:
  33787. items:
  33788. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  33789. type: array
  33790. "500":
  33791. description: Internal Server Error
  33792. schema:
  33793. $ref: '#/definitions/app.Response'
  33794. security:
  33795. - ApiKeyAuth: []
  33796. summary: 查询品类要素定义项
  33797. tags:
  33798. - 仓单贸易v2
  33799. /WrTrade2/QueryWrTradeBargainApply:
  33800. get:
  33801. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  33802. 议价->对方议价 填写matchuserid=登录用户id
  33803. parameters:
  33804. - description: 议价人id(摘牌方)
  33805. in: query
  33806. name: userid
  33807. type: integer
  33808. - description: 挂牌方id(查对方议价时,填写此项)
  33809. in: query
  33810. name: matchuserid
  33811. type: integer
  33812. - description: 关联委托单id
  33813. in: query
  33814. name: wrtradeorderid
  33815. type: integer
  33816. - description: 0:仓单预售 1:仓单贸易
  33817. in: query
  33818. name: haswr
  33819. required: true
  33820. type: integer
  33821. - description: 开始交易日(yyyymmdd)
  33822. in: query
  33823. name: begindate
  33824. type: string
  33825. - description: 结束交易日(yyyymmdd)
  33826. in: query
  33827. name: enddate
  33828. type: string
  33829. produces:
  33830. - application/json
  33831. responses:
  33832. "200":
  33833. description: OK
  33834. schema:
  33835. items:
  33836. $ref: '#/definitions/models.WRTradeBargainApply'
  33837. type: array
  33838. "500":
  33839. description: Internal Server Error
  33840. schema:
  33841. $ref: '#/definitions/app.Response'
  33842. security:
  33843. - ApiKeyAuth: []
  33844. summary: 查询议价单
  33845. tags:
  33846. - 仓单贸易v2
  33847. /WrTrade2/QueryWrTradeDetail:
  33848. get:
  33849. parameters:
  33850. - description: 页码
  33851. in: query
  33852. name: page
  33853. type: integer
  33854. - description: 每页条数
  33855. in: query
  33856. name: pagesize
  33857. type: integer
  33858. - description: 用户id
  33859. in: query
  33860. name: userid
  33861. required: true
  33862. type: integer
  33863. - description: 仓单贸易市场id
  33864. in: query
  33865. name: marketid
  33866. type: integer
  33867. - description: 0:仓单预售 1:仓单贸易
  33868. in: query
  33869. name: haswr
  33870. required: true
  33871. type: integer
  33872. - description: 开始交易日(yyyymmdd)
  33873. in: query
  33874. name: begindate
  33875. type: string
  33876. - description: 结束交易日(yyyymmdd)
  33877. in: query
  33878. name: enddate
  33879. type: string
  33880. produces:
  33881. - application/json
  33882. responses:
  33883. "200":
  33884. description: OK
  33885. schema:
  33886. items:
  33887. $ref: '#/definitions/models.WrTradeDetail'
  33888. type: array
  33889. "500":
  33890. description: Internal Server Error
  33891. schema:
  33892. $ref: '#/definitions/app.Response'
  33893. security:
  33894. - ApiKeyAuth: []
  33895. summary: 查询仓单成交明细
  33896. tags:
  33897. - 仓单贸易v2
  33898. /WrTrade2/QueryWrTradeOrderDetail:
  33899. get:
  33900. parameters:
  33901. - description: 页码
  33902. in: query
  33903. name: page
  33904. type: integer
  33905. - description: 每页条数
  33906. in: query
  33907. name: pagesize
  33908. type: integer
  33909. - description: 商品id
  33910. in: query
  33911. name: goodsid
  33912. required: true
  33913. type: integer
  33914. - description: 买卖方向 0-买 1-卖
  33915. in: query
  33916. name: buyorsell
  33917. required: true
  33918. type: integer
  33919. produces:
  33920. - application/json
  33921. responses:
  33922. "200":
  33923. description: OK
  33924. schema:
  33925. items:
  33926. $ref: '#/definitions/models.WrTradeOrderDetail'
  33927. type: array
  33928. "500":
  33929. description: Internal Server Error
  33930. schema:
  33931. $ref: '#/definitions/app.Response'
  33932. security:
  33933. - ApiKeyAuth: []
  33934. summary: 查询合约交易买卖大厅
  33935. tags:
  33936. - 仓单贸易v2
  33937. /WrTrade2/QueryWrTradeQuote:
  33938. get:
  33939. parameters:
  33940. - description: 现货商品id
  33941. in: query
  33942. name: wrstandardid
  33943. required: true
  33944. type: integer
  33945. - description: 开始日期(yyyymmdd)
  33946. in: query
  33947. name: begindate
  33948. required: true
  33949. type: string
  33950. - description: 结束日期(yyyymmdd)
  33951. in: query
  33952. name: enddate
  33953. required: true
  33954. type: string
  33955. - description: 市场id
  33956. in: query
  33957. name: marketid
  33958. type: integer
  33959. produces:
  33960. - application/json
  33961. responses:
  33962. "200":
  33963. description: OK
  33964. schema:
  33965. items:
  33966. $ref: '#/definitions/models.Wrtradetradequote'
  33967. type: array
  33968. "500":
  33969. description: Internal Server Error
  33970. schema:
  33971. $ref: '#/definitions/app.Response'
  33972. security:
  33973. - ApiKeyAuth: []
  33974. summary: 查询仓单贸易成交行情
  33975. tags:
  33976. - 仓单贸易v2
  33977. /WrTrade2/QueryWrUserFriend:
  33978. get:
  33979. parameters:
  33980. - description: 用户id
  33981. in: query
  33982. name: userid
  33983. required: true
  33984. type: integer
  33985. - description: 新朋友userid, 如果填写了此项则查找新朋友
  33986. in: query
  33987. name: newuserid
  33988. type: integer
  33989. produces:
  33990. - application/json
  33991. responses:
  33992. "200":
  33993. description: OK
  33994. schema:
  33995. items:
  33996. $ref: '#/definitions/models.WrUserFriend'
  33997. type: array
  33998. "500":
  33999. description: Internal Server Error
  34000. schema:
  34001. $ref: '#/definitions/app.Response'
  34002. security:
  34003. - ApiKeyAuth: []
  34004. summary: 查询我的朋友
  34005. tags:
  34006. - 仓单贸易v2
  34007. /WrTrade2/QueryWrUserReceiptInfo:
  34008. get:
  34009. parameters:
  34010. - description: 用户id
  34011. in: query
  34012. name: userid
  34013. type: integer
  34014. - description: 发票类型 - 1:个人 2:企业
  34015. in: query
  34016. name: receipttype
  34017. type: integer
  34018. produces:
  34019. - application/json
  34020. responses:
  34021. "200":
  34022. description: OK
  34023. schema:
  34024. items:
  34025. $ref: '#/definitions/models.WrUserReceiptInfo'
  34026. type: array
  34027. "500":
  34028. description: Internal Server Error
  34029. schema:
  34030. $ref: '#/definitions/app.Response'
  34031. security:
  34032. - ApiKeyAuth: []
  34033. summary: 查询发票信息
  34034. tags:
  34035. - 仓单贸易v2
  34036. /WrTrade2/QueryXhcpSellBackApply:
  34037. get:
  34038. parameters:
  34039. - description: 用户ID
  34040. in: query
  34041. name: userid
  34042. required: true
  34043. type: integer
  34044. produces:
  34045. - application/json
  34046. responses:
  34047. "200":
  34048. description: OK
  34049. schema:
  34050. items:
  34051. $ref: '#/definitions/models.Xhcpsellbackapply'
  34052. type: array
  34053. "500":
  34054. description: Internal Server Error
  34055. schema:
  34056. $ref: '#/definitions/app.Response'
  34057. security:
  34058. - ApiKeyAuth: []
  34059. summary: 查询我的回收申请(新会陈皮)
  34060. tags:
  34061. - 仓单贸易v2
  34062. /ZJ/GetBankTip:
  34063. get:
  34064. produces:
  34065. - application/json
  34066. responses:
  34067. "200":
  34068. description: OK
  34069. schema:
  34070. type: string
  34071. "500":
  34072. description: Internal Server Error
  34073. schema:
  34074. $ref: '#/definitions/app.Response'
  34075. summary: 获取中江网银端出入金提示信息
  34076. tags:
  34077. - 中江
  34078. /ZJ/GetCusBankChannels:
  34079. get:
  34080. produces:
  34081. - application/json
  34082. responses:
  34083. "200":
  34084. description: OK
  34085. schema:
  34086. items:
  34087. type: string
  34088. type: array
  34089. "500":
  34090. description: Internal Server Error
  34091. schema:
  34092. $ref: '#/definitions/app.Response'
  34093. summary: 获取中江出入金渠道显示列表
  34094. tags:
  34095. - 中江
  34096. securityDefinitions:
  34097. ApiKeyAuth:
  34098. in: header
  34099. name: Authorization
  34100. type: apiKey
  34101. Group:
  34102. in: header
  34103. name: Group
  34104. type: apiKey
  34105. LoginID:
  34106. in: header
  34107. name: LoginID
  34108. type: apiKey
  34109. swagger: "2.0"