swagger.yaml 945 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017
  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.MySellOrder:
  12093. properties:
  12094. accountid:
  12095. description: 资金账号
  12096. type: integer
  12097. applyid:
  12098. description: 申请单ID
  12099. type: integer
  12100. attachment1:
  12101. description: 附件1
  12102. type: string
  12103. attachment2:
  12104. description: 附件2
  12105. type: string
  12106. buyorsell:
  12107. description: 买卖 - 0:买 1:卖
  12108. type: integer
  12109. canbargain:
  12110. description: 是否可议价 - 0:不可 1:可
  12111. type: integer
  12112. cancelqty:
  12113. description: 撤销数量
  12114. type: integer
  12115. canceltime:
  12116. description: 撤销时间
  12117. type: string
  12118. cerno:
  12119. type: string
  12120. chargealgorithm:
  12121. description: 手续费收取方式 1:比率 2:固定
  12122. type: integer
  12123. chargealgorithmvalue:
  12124. description: 手续费设置值(交易所部分)
  12125. type: number
  12126. chargealgorithmvalue2:
  12127. description: 手续费设置值(会员部分)
  12128. type: number
  12129. clientordertime:
  12130. description: 客户端委托时间
  12131. type: string
  12132. cpcertno:
  12133. type: string
  12134. exchangerate:
  12135. description: 汇率[67]
  12136. type: number
  12137. firstratio:
  12138. description: 首付比率 - [挂牌时指定,摘牌时使用]
  12139. type: number
  12140. fixedprice:
  12141. description: '[克拉单价]固定价格 - [挂牌]'
  12142. type: number
  12143. freezecharge:
  12144. description: 冻结手续费
  12145. type: number
  12146. freezefirstamount:
  12147. description: 冻结首付金额 - [摘牌]
  12148. type: number
  12149. freezemargin:
  12150. description: 冻结保证金
  12151. type: number
  12152. goodsno:
  12153. description: 商品编号
  12154. type: string
  12155. imagepath:
  12156. type: string
  12157. isspecified:
  12158. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  12159. type: integer
  12160. kppath:
  12161. type: string
  12162. kpweight:
  12163. type: string
  12164. marginalgorithm:
  12165. description: 保证金方式 - 1:比率 2:固定
  12166. type: integer
  12167. marginvalue:
  12168. description: 保证金设置值
  12169. type: number
  12170. marketid:
  12171. description: 市场ID
  12172. type: integer
  12173. marketprice:
  12174. type: string
  12175. orderamount:
  12176. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  12177. type: number
  12178. ordertime:
  12179. description: 委托时间
  12180. type: string
  12181. performancetemplateid:
  12182. description: 履约计划模板ID
  12183. type: integer
  12184. price:
  12185. description: 价格
  12186. type: number
  12187. pricefactor:
  12188. description: 价格系数(浮动价时填写) - [挂牌]
  12189. type: number
  12190. pricemove:
  12191. description: 升贴水(浮动价时填写) - [挂牌]
  12192. type: number
  12193. priceper:
  12194. type: string
  12195. relatedwrtradeorderid:
  12196. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  12197. type: integer
  12198. remark:
  12199. type: string
  12200. retcode:
  12201. description: 错误代码
  12202. type: integer
  12203. selledqty:
  12204. description: 成交重量
  12205. type: number
  12206. settingmaterial:
  12207. type: string
  12208. size1:
  12209. type: string
  12210. size2:
  12211. type: string
  12212. size3:
  12213. type: string
  12214. sizedisplay:
  12215. description: 尺寸
  12216. type: string
  12217. stonedesc:
  12218. type: string
  12219. totalqty:
  12220. description: 总重量
  12221. type: number
  12222. tradedate:
  12223. description: 交易日(yyyyMMdd)
  12224. type: string
  12225. tradeprice:
  12226. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  12227. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  12228. type: number
  12229. unfreezecharge:
  12230. description: 解冻手续费
  12231. type: number
  12232. unfreezefirstamount:
  12233. description: 解冻首付金额 - [摘牌]
  12234. type: number
  12235. unfreezemargin:
  12236. description: 解冻保证金
  12237. type: number
  12238. userid:
  12239. description: 用户ID
  12240. type: integer
  12241. uuid:
  12242. description: 发起端唯一id
  12243. type: string
  12244. validtime:
  12245. description: 有效期限
  12246. type: string
  12247. validtype:
  12248. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  12249. type: integer
  12250. warehousenamedisplay:
  12251. type: string
  12252. wrbargainid:
  12253. description: 议价申请单ID
  12254. type: integer
  12255. wrfactortypeid:
  12256. description: 仓单要素类型ID/商品ID(77)
  12257. type: integer
  12258. wrpath:
  12259. type: string
  12260. wrpricetype:
  12261. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  12262. type: integer
  12263. wrstandardid:
  12264. description: 现货商品ID
  12265. type: integer
  12266. wrtradeorderid:
  12267. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12268. type: string
  12269. wrtradeorderstatus:
  12270. 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:撤单解冻贷款失败
  12271. type: integer
  12272. wrtradetype:
  12273. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  12274. type: integer
  12275. wrtransferuserid:
  12276. description: 仓单受让用户 - [摘牌]
  12277. type: integer
  12278. zscategory:
  12279. description: 钻石分类 - 枚举”ZSCategory“
  12280. type: integer
  12281. zscategorydisplay:
  12282. description: 钻石分类 - 描述
  12283. type: string
  12284. zscerttypedisplay:
  12285. type: string
  12286. zsclaritytype1display:
  12287. type: string
  12288. zsclaritytype2display:
  12289. type: string
  12290. zscolortype1display:
  12291. type: string
  12292. zscolortype2display:
  12293. type: string
  12294. zscrystaltype:
  12295. type: string
  12296. zscrystaltypedisplay:
  12297. type: string
  12298. zscurrencytype:
  12299. description: 货币类型 - 枚举“ZSCurrencyType”
  12300. type: integer
  12301. zscurrencytypedisplay:
  12302. type: string
  12303. zscurrencytypedisplayunit:
  12304. type: string
  12305. zscuttype1display:
  12306. type: string
  12307. zscuttype2display:
  12308. type: string
  12309. zsczcolor1typedisplay:
  12310. type: string
  12311. zsczcolor2typedisplay:
  12312. type: string
  12313. zsczcolor3typedisplay:
  12314. type: string
  12315. zsfluorescencetype1display:
  12316. type: string
  12317. zsfluorescencetype2display:
  12318. type: string
  12319. zspolishtype1display:
  12320. type: string
  12321. zspolishtype2display:
  12322. type: string
  12323. zsshapetypedisplay:
  12324. type: string
  12325. zsstyletypedisplay:
  12326. type: string
  12327. zssymmetrytype1display:
  12328. type: string
  12329. zssymmetrytype2display:
  12330. type: string
  12331. required:
  12332. - userid
  12333. type: object
  12334. models.MyWRPosition:
  12335. properties:
  12336. cerno:
  12337. description: 证书编号 - 类型:2,4,5
  12338. type: string
  12339. cpcertno:
  12340. description: 金伯利证书编号 - 类型:3
  12341. type: string
  12342. ffreezeqty:
  12343. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  12344. type: number
  12345. ftotalqty:
  12346. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  12347. type: number
  12348. goodsno:
  12349. description: 商品编号
  12350. type: string
  12351. imagepath:
  12352. description: 商品照片(相对地址)
  12353. type: string
  12354. isvalid:
  12355. description: 是否有效 - 0:无效 1:有效
  12356. type: integer
  12357. kppath:
  12358. description: 金伯利证书图片(相对地址) - 类型:3
  12359. type: string
  12360. kpweight:
  12361. description: 金伯利证书重量 - 类型:3
  12362. type: string
  12363. ladingbillid:
  12364. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  12365. type: string
  12366. marketflag:
  12367. description: 是否上架,0-全部 1-是 2-否
  12368. type: integer
  12369. marketprice:
  12370. description: 市场价
  12371. type: string
  12372. origin:
  12373. description: 原产地 - 类型:3
  12374. type: string
  12375. price:
  12376. description: 总价(价格) - 类型:1,2,3,4,5
  12377. type: number
  12378. priceper:
  12379. description: 克拉单价 - 类型:1,2,3,5
  12380. type: string
  12381. remark:
  12382. description: 备注
  12383. type: string
  12384. sellmobile:
  12385. description: 手机号码(加密存储)
  12386. type: string
  12387. sellusername:
  12388. description: 账户名称(机构名称)
  12389. type: string
  12390. settingmaterial:
  12391. description: 镶嵌材料 - 类型:4
  12392. type: string
  12393. size1:
  12394. description: 尺寸1 - 类型:2,4,5
  12395. type: string
  12396. size2:
  12397. description: 尺寸2 - 类型:2,4,5
  12398. type: string
  12399. size3:
  12400. description: 尺寸3 - 类型:2,4,5
  12401. type: string
  12402. sizedisplay:
  12403. description: 尺寸
  12404. type: string
  12405. stonedesc:
  12406. description: 配石描述 - 类型:4
  12407. type: string
  12408. subnum:
  12409. description: 提单子单号
  12410. type: integer
  12411. userid:
  12412. description: 用户ID
  12413. type: integer
  12414. warehouseid:
  12415. description: 仓库ID
  12416. type: integer
  12417. warehousenamedisplay:
  12418. type: string
  12419. weight:
  12420. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  12421. type: number
  12422. weightavg:
  12423. description: 平均单颗重量 - 类型:1,3
  12424. type: number
  12425. wrpath:
  12426. description: 仓单扫描件(相对地址)
  12427. type: string
  12428. wrstandardid:
  12429. description: 现货商品ID
  12430. type: integer
  12431. wrtradeorderid:
  12432. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12433. type: string
  12434. wruserid:
  12435. description: 登录用户ID
  12436. type: integer
  12437. zscategory:
  12438. description: 钻石分类 - 枚举”ZSCategory“
  12439. type: integer
  12440. zscategorydisplay:
  12441. type: string
  12442. zscerttype:
  12443. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  12444. type: integer
  12445. zscerttypedisplay:
  12446. type: string
  12447. zsclaritytype1:
  12448. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  12449. type: integer
  12450. zsclaritytype1display:
  12451. type: string
  12452. zsclaritytype2:
  12453. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  12454. type: integer
  12455. zsclaritytype2display:
  12456. type: string
  12457. zscolortype1:
  12458. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  12459. type: integer
  12460. zscolortype1display:
  12461. type: string
  12462. zscolortype2:
  12463. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  12464. type: integer
  12465. zscolortype2display:
  12466. type: string
  12467. zscrystaltype:
  12468. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  12469. type: string
  12470. zscrystaltypedisplay:
  12471. type: string
  12472. zscurrencytype:
  12473. description: 货币类型 - 枚举“ZSCurrencyType”
  12474. type: integer
  12475. zscurrencytypedisplay:
  12476. type: string
  12477. zscurrencytypedisplayunit:
  12478. type: string
  12479. zscuttype1:
  12480. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  12481. type: integer
  12482. zscuttype1display:
  12483. type: string
  12484. zscuttype2:
  12485. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  12486. type: integer
  12487. zscuttype2display:
  12488. type: string
  12489. zsczcolor1type:
  12490. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  12491. type: integer
  12492. zsczcolor1typedisplay:
  12493. type: string
  12494. zsczcolor2type:
  12495. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  12496. type: integer
  12497. zsczcolor2typedisplay:
  12498. type: string
  12499. zsczcolor3type:
  12500. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  12501. type: integer
  12502. zsczcolor3typedisplay:
  12503. type: string
  12504. zsfluorescencetype1:
  12505. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  12506. type: integer
  12507. zsfluorescencetype1display:
  12508. type: string
  12509. zsfluorescencetype2:
  12510. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  12511. type: integer
  12512. zsfluorescencetype2display:
  12513. type: string
  12514. zspolishtype1:
  12515. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  12516. type: integer
  12517. zspolishtype1display:
  12518. type: string
  12519. zspolishtype2:
  12520. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  12521. type: integer
  12522. zspolishtype2display:
  12523. type: string
  12524. zsshapetype:
  12525. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  12526. type: string
  12527. zsshapetypedisplay:
  12528. type: string
  12529. zsstyletype:
  12530. description: 款式 - 类型:4
  12531. type: integer
  12532. zsstyletypedisplay:
  12533. type: string
  12534. zssymmetrytype1:
  12535. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  12536. type: integer
  12537. zssymmetrytype1display:
  12538. type: string
  12539. zssymmetrytype2:
  12540. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  12541. type: integer
  12542. zssymmetrytype2display:
  12543. type: string
  12544. required:
  12545. - wruserid
  12546. type: object
  12547. models.NewFuncmenulist:
  12548. properties:
  12549. authtype:
  12550. description: 权限类型 - 1:菜单 2:组件 3:按钮
  12551. type: integer
  12552. buttonname:
  12553. description: 按钮名称
  12554. type: string
  12555. buttontype:
  12556. description: 按钮类型 - 存按钮样式
  12557. type: string
  12558. component:
  12559. description: 组件名或组件地址
  12560. type: string
  12561. hidden:
  12562. description: 是否隐藏 - 0:显示 1:隐藏
  12563. type: integer
  12564. iconame:
  12565. description: 菜单图标
  12566. type: string
  12567. menutype:
  12568. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  12569. type: integer
  12570. parentcode:
  12571. description: 上级资源代码
  12572. type: string
  12573. remark:
  12574. description: Remark
  12575. type: string
  12576. resourcecode:
  12577. description: 资源代码
  12578. type: string
  12579. resourcelevel:
  12580. description: 级别1-一级 2-二级 3-三级4-四级
  12581. type: integer
  12582. resourcename:
  12583. description: 资源名(Title)
  12584. type: string
  12585. sort:
  12586. description: 排序
  12587. type: integer
  12588. url:
  12589. description: Url
  12590. type: string
  12591. urltype:
  12592. description: 地址类型 - 1:路由 2:外链 3:内联框架
  12593. type: integer
  12594. required:
  12595. - resourcecode
  12596. type: object
  12597. models.OperationPrimaryMenu:
  12598. properties:
  12599. Children:
  12600. description: 二级功能菜单
  12601. items:
  12602. $ref: '#/definitions/models.OperationSecondaryMenu'
  12603. type: array
  12604. Key:
  12605. description: 菜单KEY
  12606. type: string
  12607. Label:
  12608. description: 菜单标题
  12609. type: string
  12610. type: object
  12611. models.OperationSecondaryMenu:
  12612. properties:
  12613. Key:
  12614. description: 菜单KEY
  12615. type: string
  12616. Label:
  12617. description: 菜单标题
  12618. type: string
  12619. TabList:
  12620. description: 三级功能菜单
  12621. items:
  12622. $ref: '#/definitions/models.OperationTabMenu'
  12623. type: array
  12624. type: object
  12625. models.OperationTabMenu:
  12626. properties:
  12627. Key:
  12628. description: 菜单KEY
  12629. type: string
  12630. Label:
  12631. description: 菜单标题
  12632. type: string
  12633. type: object
  12634. models.Patradelinkdetail:
  12635. properties:
  12636. accountname:
  12637. description: 套期主体
  12638. type: string
  12639. agreeunit:
  12640. description: 合约乘数
  12641. type: number
  12642. amount:
  12643. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  12644. type: number
  12645. areauserid:
  12646. description: 所属机构
  12647. type: integer
  12648. bizsubjectid:
  12649. description: 归属业务部门ID - SubjectID
  12650. type: integer
  12651. buyorsell:
  12652. description: 方向 - 0:买 1:卖
  12653. type: integer
  12654. convertratio:
  12655. description: 品种系数
  12656. type: number
  12657. convertratiochange:
  12658. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  12659. type: number
  12660. createtime:
  12661. description: '[日期时间]创建时间'
  12662. type: string
  12663. creatorid:
  12664. description: 创建人ID
  12665. type: integer
  12666. creatorsrc:
  12667. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12668. type: integer
  12669. goodscode:
  12670. description: 商品代码(内部)
  12671. type: string
  12672. goodsgroupid:
  12673. description: 对冲品种ID[期货合约商品组ID]
  12674. type: integer
  12675. goodsid:
  12676. description: 商品ID
  12677. type: integer
  12678. hedgeditemid:
  12679. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12680. type: integer
  12681. hedgeflag:
  12682. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12683. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12684. type: integer
  12685. linkdetailid:
  12686. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12687. type: string
  12688. linkstatus:
  12689. description: 关联状态 - 1:成功 2:失败 3:解绑
  12690. type: integer
  12691. middlegoodsid:
  12692. description: 套保品种ID
  12693. type: integer
  12694. name:
  12695. description: 账户名/子账户
  12696. type: string
  12697. optioncode:
  12698. description: '[期货合约]期权代码 [期权]'
  12699. type: string
  12700. ordertype:
  12701. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  12702. type: integer
  12703. relatedlot:
  12704. description: '[数量]关联手数'
  12705. type: number
  12706. relatedmode:
  12707. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12708. type: integer
  12709. relatedqty:
  12710. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12711. type: number
  12712. retcode:
  12713. description: 返回码
  12714. type: integer
  12715. saleuserid:
  12716. description: 业务员ID
  12717. type: integer
  12718. tradedate:
  12719. description: 关联交易日(yyyyMMdd)
  12720. type: string
  12721. tradeid:
  12722. description: '[成交单号]内部成交单ID'
  12723. type: string
  12724. tradelot:
  12725. description: 成交手数
  12726. type: integer
  12727. tradeprice:
  12728. description: '[价格]成交价格'
  12729. type: number
  12730. tradetradedate:
  12731. description: 成交交易日(yyyyMMdd)
  12732. type: string
  12733. type: object
  12734. models.QhjAccountOutInApply:
  12735. properties:
  12736. accountcode:
  12737. description: 资金账号
  12738. type: string
  12739. accountname:
  12740. description: 用户名称(名称)
  12741. type: string
  12742. accountpwd:
  12743. description: 资金密码
  12744. type: string
  12745. accountticket:
  12746. description: 最新账户服务流水号
  12747. type: string
  12748. amount:
  12749. description: 金额
  12750. type: number
  12751. applyremark:
  12752. description: 申请备注
  12753. type: string
  12754. applystatus:
  12755. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12756. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12757. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12758. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12759. type: integer
  12760. auditid:
  12761. description: 审核人
  12762. type: integer
  12763. audittime:
  12764. description: 审核时间
  12765. type: string
  12766. bank_apply_ticket:
  12767. description: 银行申请流水
  12768. type: string
  12769. bankaccountname:
  12770. description: 银行账户名
  12771. type: string
  12772. bankaccountno:
  12773. description: 银行卡号
  12774. type: string
  12775. bankid:
  12776. description: 银行编号
  12777. type: string
  12778. bankticket:
  12779. description: 银行流水
  12780. type: string
  12781. branchbankid:
  12782. description: 银行支行号
  12783. type: string
  12784. branchbankname:
  12785. description: 银行支行名称
  12786. type: string
  12787. capamountout:
  12788. description: 出金(劣后本金) - 外部子账户
  12789. type: number
  12790. certificatephotourl:
  12791. description: 凭证地址
  12792. type: string
  12793. charge:
  12794. description: 手续费
  12795. type: number
  12796. checkerrorflag:
  12797. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12798. type: integer
  12799. currency:
  12800. description: 币种
  12801. type: string
  12802. cusbankid:
  12803. description: 托管银行编号
  12804. type: string
  12805. cusbankname:
  12806. description: 托管银行名称
  12807. type: string
  12808. cusbankshortname:
  12809. description: 托管银行简称
  12810. type: string
  12811. exchticket:
  12812. description: 银行服务流水号
  12813. type: string
  12814. executetype:
  12815. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12816. 7:外部子账户:入金 8:外部子账户:出金'
  12817. type: integer
  12818. extendinfo:
  12819. description: 扩展信息
  12820. type: string
  12821. extoperateid:
  12822. description: 交易服务流水号
  12823. type: integer
  12824. infamount:
  12825. description: 劣后金额(自有)
  12826. type: number
  12827. logincode:
  12828. description: 登录账号(账号)
  12829. type: string
  12830. netaddr:
  12831. description: 调转网址
  12832. type: string
  12833. priamount:
  12834. description: 优先金额(授信)
  12835. type: number
  12836. reauditid:
  12837. description: 复审人
  12838. type: integer
  12839. reauditremark:
  12840. description: 复审备注
  12841. type: string
  12842. reaudittime:
  12843. description: 复审时间
  12844. type: string
  12845. relatedorderid:
  12846. description: 三方关联ID
  12847. type: string
  12848. remark:
  12849. description: 备注
  12850. type: string
  12851. remark2:
  12852. description: 备注(失败原因)
  12853. type: string
  12854. soucreamount:
  12855. description: 原始出入金金额
  12856. type: number
  12857. soucrecurrencyid:
  12858. description: 原始出入金币种
  12859. type: integer
  12860. tradedate:
  12861. description: 交易日(yyyyMMdd)
  12862. type: string
  12863. updatetime:
  12864. description: 更新时间(申请时间)
  12865. type: string
  12866. userid:
  12867. description: 用户id
  12868. type: integer
  12869. userinfotype:
  12870. description: 账户类型 1-个人 2-企业
  12871. type: integer
  12872. type: object
  12873. models.QhjAgreementChangeLog:
  12874. properties:
  12875. agreementcontent:
  12876. description: 协议内容
  12877. type: string
  12878. agreementfrequency:
  12879. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12880. type: integer
  12881. agreementid:
  12882. description: 协议ID
  12883. type: integer
  12884. agreementname:
  12885. description: 协议名称
  12886. type: string
  12887. agreementno:
  12888. description: 协议编号
  12889. type: string
  12890. agreementtype:
  12891. description: 协议类型 - 1:注册 2:登录 3:交易
  12892. type: integer
  12893. agreementversion:
  12894. description: 协议版本号
  12895. type: integer
  12896. logid:
  12897. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12898. type: integer
  12899. reviserid:
  12900. description: 修改人
  12901. type: integer
  12902. revisersrc:
  12903. description: 修改来源 - 1:管理端 2:终端
  12904. type: integer
  12905. updatetime:
  12906. description: 更新时间
  12907. type: string
  12908. type: object
  12909. models.QhjAgreementConfig:
  12910. properties:
  12911. agreementcontent:
  12912. description: 协议内容
  12913. type: string
  12914. agreementfrequency:
  12915. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12916. type: integer
  12917. agreementid:
  12918. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12919. type: integer
  12920. agreementname:
  12921. description: 协议名称
  12922. type: string
  12923. agreementno:
  12924. description: 协议编号
  12925. type: string
  12926. agreementtype:
  12927. description: 协议类型 - 1:注册 2:登录 3:交易
  12928. type: integer
  12929. agreementversion:
  12930. description: 协议版本号(从1开始每次修改加1)
  12931. type: integer
  12932. createtime:
  12933. description: 创建时间
  12934. type: string
  12935. creatorid:
  12936. description: 创建人
  12937. type: integer
  12938. creatorsrc:
  12939. description: 创建来源 - 1:管理端 2:终端
  12940. type: integer
  12941. isvalid:
  12942. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12943. type: integer
  12944. reviserid:
  12945. description: 修改人
  12946. type: integer
  12947. revisersrc:
  12948. description: 修改来源 - 1:管理端 2:终端
  12949. type: integer
  12950. updatetime:
  12951. description: 更新时间
  12952. type: string
  12953. type: object
  12954. models.QhjAreaFinanceConfig:
  12955. properties:
  12956. additionalratio:
  12957. description: 追加款比例
  12958. type: number
  12959. advanceratio:
  12960. description: 预付款比例
  12961. type: number
  12962. alarmratio:
  12963. description: 告警比例
  12964. type: number
  12965. consumptiondirectreward:
  12966. description: 消费直推奖励值
  12967. type: number
  12968. consumptionenabled:
  12969. description: 是否启用消费奖励 - 0:不启用 1:启用
  12970. type: integer
  12971. consumptionindirectreward:
  12972. description: 消费间推奖励值
  12973. type: number
  12974. consumptionmodel:
  12975. description: 消费奖励方式 - 1:比率 2:固定
  12976. type: integer
  12977. customerservicenum:
  12978. description: 客服电话
  12979. type: string
  12980. dayinterestrate:
  12981. description: 日利率
  12982. type: number
  12983. disableconsumptiontips:
  12984. description: 关闭消费奖励提示
  12985. type: string
  12986. modifierid:
  12987. description: 修改人ID
  12988. type: integer
  12989. modifysrc:
  12990. description: 审核来源 - 1:管理端 2:终端
  12991. type: integer
  12992. modifytime:
  12993. description: 修改时间
  12994. type: string
  12995. promotionvalue:
  12996. description: 推广奖励值(固定)
  12997. type: number
  12998. scoreconfigvalue1:
  12999. description: 提货积分配置1
  13000. type: integer
  13001. scoreconfigvalue2:
  13002. description: 提货积分配置2
  13003. type: integer
  13004. userid:
  13005. description: 机构用户ID其他做市关系,都设置为 1
  13006. type: integer
  13007. username:
  13008. description: 用户名称
  13009. type: string
  13010. type: object
  13011. models.QhjBankAccountSign:
  13012. properties:
  13013. accountcode:
  13014. description: 资金账号
  13015. type: string
  13016. accountname:
  13017. description: 资金账号对应的账号名(UserName)
  13018. type: string
  13019. accountname2:
  13020. description: 资金账号对应的账号名(UserName) - 密文
  13021. type: string
  13022. accounttype:
  13023. description: 账户类型(UserType)
  13024. type: integer
  13025. applicationtime:
  13026. description: 最后一次更新的时间
  13027. type: string
  13028. applyexchticket:
  13029. description: 申请流水
  13030. type: string
  13031. auditid:
  13032. description: 审核人
  13033. type: integer
  13034. audittime:
  13035. description: 审核时间
  13036. type: string
  13037. bankaccountname:
  13038. description: 签约银行卡账号名
  13039. type: string
  13040. bankaccountname2:
  13041. description: 签约银行卡账号名 - 密文
  13042. type: string
  13043. bankaccountno:
  13044. description: 银行卡号
  13045. type: string
  13046. bankaccountno2:
  13047. description: 银行卡号 - 密文
  13048. type: string
  13049. bankaccounttype:
  13050. description: 银行账户类型 - 1-对私; 2-对公
  13051. type: integer
  13052. bankcardtype:
  13053. description: 银行卡类型
  13054. type: integer
  13055. bankchildaccount:
  13056. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  13057. type: string
  13058. bankcity:
  13059. description: 开户行城市
  13060. type: string
  13061. bankid:
  13062. description: 签约银行ID
  13063. type: string
  13064. bankname:
  13065. description: 签约银行名称
  13066. type: string
  13067. bankprovince:
  13068. description: 开户行省份
  13069. type: string
  13070. branchbankid:
  13071. description: 签约银行支行号
  13072. type: string
  13073. branchbankname:
  13074. description: 签约银行支行名称
  13075. type: string
  13076. cardno:
  13077. description: 证件号码
  13078. type: string
  13079. cardno2:
  13080. description: 证件号码 - 密文
  13081. type: string
  13082. cardtype:
  13083. description: 证件类型
  13084. type: string
  13085. currency:
  13086. description: 币种
  13087. type: string
  13088. cusbankid:
  13089. description: 托管银行编号
  13090. type: string
  13091. direct:
  13092. description: 方向(可以判断那方先发起的签约)
  13093. type: integer
  13094. exchticket:
  13095. description: 最后一次签约成功的流水号
  13096. type: string
  13097. extendinfo:
  13098. description: 扩展信息(JSON字符串)
  13099. type: string
  13100. mobilephone:
  13101. description: 手机号
  13102. type: string
  13103. mobilephone2:
  13104. description: 手机号 - 密文
  13105. type: string
  13106. netaddr:
  13107. description: 调转网址
  13108. type: string
  13109. relateduserid:
  13110. description: 关联使用者userid
  13111. type: integer
  13112. signstatus:
  13113. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13114. 10:审核拒绝 11:换签待审核
  13115. type: integer
  13116. updatetime:
  13117. description: 更新时间(签解约更新时间)
  13118. type: string
  13119. type: object
  13120. models.QhjBankInfo:
  13121. properties:
  13122. bankid:
  13123. description: 银行ID
  13124. type: string
  13125. bankname:
  13126. description: 银行名称
  13127. type: string
  13128. clearbankno:
  13129. description: 清算系统银行编号
  13130. type: string
  13131. orderindex:
  13132. description: 排序顺序
  13133. type: integer
  13134. status:
  13135. description: 状态 - 0:正常 1:注销
  13136. type: integer
  13137. type: object
  13138. models.QhjBrokerApply:
  13139. properties:
  13140. applicantid:
  13141. description: 申请人
  13142. type: integer
  13143. applysrc:
  13144. description: 申请来源 - 1:管理端 2:终端
  13145. type: integer
  13146. applystatus:
  13147. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13148. type: integer
  13149. applytime:
  13150. description: 申请时间
  13151. type: string
  13152. auditorid:
  13153. description: 审核人
  13154. type: integer
  13155. auditremark:
  13156. description: 审核备注
  13157. type: string
  13158. auditsrc:
  13159. description: 审核来源 - 1:管理端 2:终端
  13160. type: integer
  13161. audittime:
  13162. description: 审核时间
  13163. type: string
  13164. audittradedate:
  13165. description: 审核交易日(yyyyMMdd)
  13166. type: string
  13167. brokerapplyid:
  13168. description: 申请ID(SEQ_BROKERAPPLY)
  13169. type: integer
  13170. cardbackphotourl:
  13171. description: 证件背面图片地址
  13172. type: string
  13173. cardfrontphotourl:
  13174. description: 证件正面图片地址
  13175. type: string
  13176. cardnum:
  13177. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13178. type: string
  13179. customername:
  13180. description: 姓名
  13181. type: string
  13182. logincode:
  13183. description: 登录代码
  13184. type: string
  13185. mobile:
  13186. description: 手机号码
  13187. type: string
  13188. parentuserid:
  13189. description: 所属机构id
  13190. type: integer
  13191. parentusername:
  13192. description: 所属机构名称
  13193. type: string
  13194. refereeuserid:
  13195. description: 推荐人id(经纪人)
  13196. type: integer
  13197. refernum:
  13198. description: 推荐码
  13199. type: string
  13200. remark:
  13201. description: 备注
  13202. type: string
  13203. subarealevelpath:
  13204. description: 层级路径
  13205. type: string
  13206. tradedate:
  13207. description: 交易日(yyyyMMdd)
  13208. type: string
  13209. userid:
  13210. description: 申请人用户ID
  13211. type: integer
  13212. userinfotype:
  13213. description: 用户类型 1-个人 2-企业
  13214. type: integer
  13215. username:
  13216. description: 用户名称
  13217. type: string
  13218. type: object
  13219. models.QhjBrokerApplyEx:
  13220. properties:
  13221. applylist:
  13222. description: 经纪人申请记录(只返回最新一条)
  13223. items:
  13224. $ref: '#/definitions/models.QhjBrokerApply'
  13225. type: array
  13226. canrecommend:
  13227. description: 是否经纪人 0-不是 1-是
  13228. type: integer
  13229. refernum:
  13230. description: 推荐码
  13231. type: string
  13232. userid:
  13233. description: 用户id
  13234. type: integer
  13235. userinfotype:
  13236. description: 用户类型 1-个人 2-企业
  13237. type: integer
  13238. type: object
  13239. models.QhjBrokerRewardLog:
  13240. properties:
  13241. accountid:
  13242. description: 资金账号ID
  13243. type: integer
  13244. createtime:
  13245. description: 创建时间(时间)
  13246. type: string
  13247. handlestatus:
  13248. description: 处理状态
  13249. type: integer
  13250. logid:
  13251. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13252. type: string
  13253. marketid:
  13254. description: 市场ID
  13255. type: integer
  13256. mmaccountid:
  13257. description: 做市商资金账号ID
  13258. type: string
  13259. mmuserid:
  13260. description: 做市商用户ID
  13261. type: string
  13262. rewardamount:
  13263. description: 奖励金额
  13264. type: number
  13265. rewardmodel:
  13266. description: 消费奖励方式 - 1:比率 2:固定
  13267. type: integer
  13268. rewardtype:
  13269. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  13270. type: integer
  13271. rewardvalue:
  13272. description: 配置奖励值
  13273. type: number
  13274. srcamount:
  13275. description: 成交金额 [消费奖励] (金额)
  13276. type: number
  13277. srcgoodsid:
  13278. description: 来源商品ID [消费奖励]
  13279. type: string
  13280. srctime:
  13281. description: 来源时间 (成交时间) [消费奖励]
  13282. type: string
  13283. srctradeid:
  13284. description: 来源成交单ID [消费奖励] - 排除提货成交
  13285. type: string
  13286. srcuserid:
  13287. description: 来源用户ID(推广账户)
  13288. type: string
  13289. srcusername:
  13290. description: 推广账户名称
  13291. type: string
  13292. tradedate:
  13293. description: 交易日(yyyyMMdd)
  13294. type: string
  13295. userid:
  13296. description: 经纪人用户ID
  13297. type: integer
  13298. type: object
  13299. models.QhjContract:
  13300. properties:
  13301. contractconfirmtime:
  13302. description: 合同确认时间(时间)
  13303. type: string
  13304. currisklevel:
  13305. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13306. type: integer
  13307. decimalplace:
  13308. description: 商品报价小数位
  13309. type: integer
  13310. enumdicname:
  13311. description: 单位名称
  13312. type: string
  13313. goodscode:
  13314. description: 商品代码
  13315. type: string
  13316. goodsid:
  13317. description: 商品ID [5:融资单]
  13318. type: integer
  13319. goodsname:
  13320. description: 商品名称
  13321. type: string
  13322. goodunitid:
  13323. description: 商品单位id
  13324. type: integer
  13325. initmargin:
  13326. description: 初始保证金(首付款)
  13327. type: number
  13328. lenderamount:
  13329. description: 贷款金额(总额|订单总额)
  13330. type: number
  13331. marginratio:
  13332. description: 保证金比率(首付比例)
  13333. type: number
  13334. payamount:
  13335. description: 已付(已付货款)
  13336. type: number
  13337. reckonrecovermargin:
  13338. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13339. type: number
  13340. recoveredmargin:
  13341. description: 已追缴保证金
  13342. type: number
  13343. remainamount:
  13344. description: 合同剩余金额(融资额)
  13345. type: number
  13346. scfcontractid:
  13347. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13348. type: string
  13349. scfcontractstatus:
  13350. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13351. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13352. type: integer
  13353. scfcontracttype:
  13354. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13355. type: integer
  13356. totalinterest:
  13357. description: 已计总利息(利息)
  13358. type: number
  13359. tradeprice:
  13360. description: 成交价格(成本价格)
  13361. type: number
  13362. userid:
  13363. description: 用户ID
  13364. type: integer
  13365. username:
  13366. description: 用户名称
  13367. type: string
  13368. wrqty:
  13369. description: 仓单数量(数量)
  13370. type: number
  13371. type: object
  13372. models.QhjContractLog:
  13373. properties:
  13374. amount:
  13375. description: 支付金额
  13376. type: number
  13377. amounttype:
  13378. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  13379. type: integer
  13380. logid:
  13381. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13382. type: string
  13383. remainamount:
  13384. description: 剩余货款
  13385. type: number
  13386. scfcontractid:
  13387. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13388. type: integer
  13389. updatetime:
  13390. description: 更新时间
  13391. type: string
  13392. type: object
  13393. models.QhjCusBankSignBankEx:
  13394. properties:
  13395. banklst:
  13396. description: 银行列表
  13397. items:
  13398. $ref: '#/definitions/models.QhjBankInfo'
  13399. type: array
  13400. canallot:
  13401. description: 是否支持跨行调拨 - 0:不支持 1:支持
  13402. type: integer
  13403. canallotquery:
  13404. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  13405. type: integer
  13406. canbindcard:
  13407. description: 是否可绑卡与解卡 - 0:不可 1:可以
  13408. type: integer
  13409. caninamount:
  13410. description: 是否可入金 - 0:不可 1:可以
  13411. type: integer
  13412. caninamount2:
  13413. description: 是否可入金(网银端) - 0:不可 1:可以
  13414. type: integer
  13415. canmodifybankcard:
  13416. description: 是否可修改银行卡号 - 0:不可 1:可以
  13417. type: integer
  13418. canmodifyphone:
  13419. description: 是否可修改手机号 - 0:不可 1:可以
  13420. type: integer
  13421. canmodifysigninfo:
  13422. description: 是否可修改签约信息 - 0:不可 1:可以
  13423. type: integer
  13424. canoutamount:
  13425. description: 是否可出金 - 0:不可 1:可以
  13426. type: integer
  13427. canoutamount2:
  13428. description: 是否可出金(网银端) - 0:不可 1:可以
  13429. type: integer
  13430. canrelease:
  13431. description: 是否可解约 - 0:不可 1:可以
  13432. type: integer
  13433. canrelease2:
  13434. description: 是否可解约(网银端) - 0:不可 1:可以
  13435. type: integer
  13436. cansign:
  13437. description: 是否可签约 - 0:不可 1:可以
  13438. type: integer
  13439. cansign2:
  13440. description: 是否可签约(网银端) - 0:不可 1:可以
  13441. type: integer
  13442. currency:
  13443. description: 币种
  13444. type: string
  13445. cusbankid:
  13446. description: 托管银行编号(对应清算中心TRAN_NO)
  13447. type: string
  13448. cusbankname:
  13449. description: 银行业务名称
  13450. type: string
  13451. cusbankshortname:
  13452. description: 银行业务简称
  13453. type: string
  13454. exchbankid:
  13455. description: 交易所开户银行ID
  13456. type: string
  13457. exchpaybankaccname:
  13458. description: 交易所支出结算账户户名
  13459. type: string
  13460. exchpaybankaccno:
  13461. description: 交易所支出结算账户
  13462. type: string
  13463. isneedcheck:
  13464. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  13465. type: integer
  13466. isneedclear:
  13467. description: 是否需要清算 - 0:不需要 1:需要
  13468. type: integer
  13469. lastcheckstatus:
  13470. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  13471. type: integer
  13472. lastchecktime:
  13473. description: 最后对账时间
  13474. type: string
  13475. lastclearstatus:
  13476. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  13477. type: integer
  13478. lastcleartime:
  13479. description: 最后清算时间
  13480. type: string
  13481. lastsignintime:
  13482. description: 最后签到时间
  13483. type: string
  13484. lastsignouttime:
  13485. description: 最后签退时间
  13486. type: string
  13487. riskinfo:
  13488. description: 签约风险提示书
  13489. type: string
  13490. signstatus:
  13491. description: 当前签到/签退状态 - 1:签到 2:签退
  13492. type: integer
  13493. tradedate:
  13494. description: 交易日(yyyyMMdd)
  13495. type: string
  13496. updatetime:
  13497. description: 当前签到/签退更新时间
  13498. type: string
  13499. type: object
  13500. models.QhjCustomer:
  13501. properties:
  13502. address:
  13503. description: 通讯地址
  13504. type: string
  13505. attachment1:
  13506. description: 附件1
  13507. type: string
  13508. attachment2:
  13509. description: 附件2
  13510. type: string
  13511. audittime:
  13512. description: 审核时间
  13513. type: string
  13514. cardbackphotourl:
  13515. description: 证件反面图片地址
  13516. type: string
  13517. cardfrontphotourl:
  13518. description: 证件正面图片地址
  13519. type: string
  13520. cardnum:
  13521. description: 证件号码
  13522. type: string
  13523. cardtype:
  13524. description: 证件类型
  13525. type: integer
  13526. cardtypename:
  13527. description: 证件类型名称
  13528. type: string
  13529. cityid:
  13530. description: 市
  13531. type: integer
  13532. cityname:
  13533. description: 城市名称
  13534. type: string
  13535. contactname:
  13536. description: 联系人
  13537. type: string
  13538. countryid:
  13539. description: 国家
  13540. type: integer
  13541. countryname:
  13542. description: 国家名称
  13543. type: string
  13544. createtime:
  13545. description: 创建时间
  13546. type: string
  13547. customername:
  13548. description: 客户名称
  13549. type: string
  13550. districtid:
  13551. description: 区域
  13552. type: integer
  13553. districtname:
  13554. description: 地区名称
  13555. type: string
  13556. email:
  13557. description: 邮件
  13558. type: string
  13559. legalpersonname:
  13560. description: 法人姓名(企业)
  13561. type: string
  13562. logincode:
  13563. description: 登录账号(代码)
  13564. type: string
  13565. memberuserid:
  13566. description: 所属机构ID(所属会员)
  13567. type: integer
  13568. memberusername:
  13569. description: 所属会员名称
  13570. type: string
  13571. mobile:
  13572. description: 手机号码
  13573. type: string
  13574. modifytime:
  13575. description: 修改时间
  13576. type: string
  13577. nickname:
  13578. description: 昵称
  13579. type: string
  13580. parentuserid:
  13581. description: 上级机构(所属机构)
  13582. type: integer
  13583. parentusername:
  13584. description: 所属机构名称
  13585. type: string
  13586. provinceid:
  13587. description: 省
  13588. type: integer
  13589. provincename:
  13590. description: 省名称
  13591. type: string
  13592. proxystatementurl:
  13593. description: 授权委托书
  13594. type: string
  13595. remark:
  13596. description: 备注
  13597. type: string
  13598. status:
  13599. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  13600. type: integer
  13601. statusdesc:
  13602. description: 账户状态中文描述
  13603. type: string
  13604. taxpayernum:
  13605. description: 纳税人识别号
  13606. type: string
  13607. telphone:
  13608. description: 联系电话
  13609. type: string
  13610. userid:
  13611. description: 用户ID
  13612. type: integer
  13613. userinfotype:
  13614. description: 客户类型 1-个人 2-企业
  13615. type: integer
  13616. username:
  13617. description: 用户名称
  13618. type: string
  13619. type: object
  13620. models.QhjCustomerSignLog:
  13621. properties:
  13622. agreementcontent:
  13623. description: 协议内容
  13624. type: string
  13625. agreementid:
  13626. description: 协议ID
  13627. type: integer
  13628. agreementname:
  13629. description: 协议名称
  13630. type: string
  13631. agreementno:
  13632. description: 协议编号
  13633. type: string
  13634. agreementtype:
  13635. description: 协议类型 - 1:注册 2:登录 3:交易
  13636. type: integer
  13637. agreementversion:
  13638. description: 协议版本号
  13639. type: integer
  13640. createtime:
  13641. description: 创建时间
  13642. type: string
  13643. goodscode:
  13644. description: 商品代码
  13645. type: string
  13646. goodsid:
  13647. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13648. type: integer
  13649. goodsname:
  13650. description: 商品名称
  13651. type: string
  13652. logid:
  13653. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  13654. type: integer
  13655. nodetype:
  13656. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13657. type: integer
  13658. signadressurl:
  13659. description: 签约文件地址
  13660. type: string
  13661. signtimestamp:
  13662. description: 签约状态时间戳
  13663. type: string
  13664. userid:
  13665. description: 客户ID
  13666. type: integer
  13667. username:
  13668. description: 客户名称
  13669. type: string
  13670. type: object
  13671. models.QhjCustomerSignStatus:
  13672. properties:
  13673. createtime:
  13674. description: 创建时间
  13675. type: string
  13676. goodscode:
  13677. description: 商品代码
  13678. type: string
  13679. goodsid:
  13680. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13681. type: integer
  13682. goodsname:
  13683. description: 商品名称
  13684. type: string
  13685. nodetype:
  13686. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  13687. type: integer
  13688. signtimestamp:
  13689. description: 签约状态时间戳
  13690. type: string
  13691. tradedate:
  13692. description: 创建交易日(yyyyMMdd)
  13693. type: string
  13694. updatetime:
  13695. description: 更新时间
  13696. type: string
  13697. userid:
  13698. description: 客户ID
  13699. type: integer
  13700. username:
  13701. description: 客户名称
  13702. type: string
  13703. type: object
  13704. models.QhjMgrAccountOutInApply:
  13705. properties:
  13706. accountcode:
  13707. description: 资金账号
  13708. type: string
  13709. accountname:
  13710. description: 用户名称(名称)
  13711. type: string
  13712. accountpwd:
  13713. description: 资金密码
  13714. type: string
  13715. accountticket:
  13716. description: 最新账户服务流水号
  13717. type: string
  13718. amount:
  13719. description: 金额
  13720. type: number
  13721. applyremark:
  13722. description: 申请备注
  13723. type: string
  13724. applystatus:
  13725. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  13726. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  13727. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  13728. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  13729. type: integer
  13730. auditid:
  13731. description: 审核人
  13732. type: integer
  13733. audittime:
  13734. description: 审核时间
  13735. type: string
  13736. bank_apply_ticket:
  13737. description: 银行申请流水
  13738. type: string
  13739. bankaccountname:
  13740. description: 银行账户名
  13741. type: string
  13742. bankaccountno:
  13743. description: 银行卡号
  13744. type: string
  13745. bankid:
  13746. description: 银行编号
  13747. type: string
  13748. bankname:
  13749. description: 银行名称
  13750. type: string
  13751. bankticket:
  13752. description: 银行流水
  13753. type: string
  13754. branchbankid:
  13755. description: 银行支行号
  13756. type: string
  13757. branchbankname:
  13758. description: 银行支行名称
  13759. type: string
  13760. capamountout:
  13761. description: 出金(劣后本金) - 外部子账户
  13762. type: number
  13763. certificatephotourl:
  13764. description: 凭证地址
  13765. type: string
  13766. charge:
  13767. description: 手续费
  13768. type: number
  13769. checkerrorflag:
  13770. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  13771. type: integer
  13772. currency:
  13773. description: 币种
  13774. type: string
  13775. cusbankid:
  13776. description: 托管银行编号
  13777. type: string
  13778. exchticket:
  13779. description: 银行服务流水号
  13780. type: string
  13781. executetype:
  13782. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  13783. 7:外部子账户:入金 8:外部子账户:出金'
  13784. type: integer
  13785. extendinfo:
  13786. description: 扩展信息
  13787. type: string
  13788. extoperateid:
  13789. description: 交易服务流水号
  13790. type: integer
  13791. infamount:
  13792. description: 劣后金额(自有)
  13793. type: number
  13794. logincode:
  13795. description: 登录账号(账号)
  13796. type: string
  13797. netaddr:
  13798. description: 调转网址
  13799. type: string
  13800. priamount:
  13801. description: 优先金额(授信)
  13802. type: number
  13803. reauditid:
  13804. description: 复审人
  13805. type: integer
  13806. reauditremark:
  13807. description: 复审备注
  13808. type: string
  13809. reaudittime:
  13810. description: 复审时间
  13811. type: string
  13812. relatedorderid:
  13813. description: 三方关联ID
  13814. type: string
  13815. remark:
  13816. description: 备注
  13817. type: string
  13818. remark2:
  13819. description: 备注(失败原因)
  13820. type: string
  13821. soucreamount:
  13822. description: 原始出入金金额
  13823. type: number
  13824. soucrecurrencyid:
  13825. description: 原始出入金币种
  13826. type: integer
  13827. tradedate:
  13828. description: 交易日(yyyyMMdd)
  13829. type: string
  13830. updatetime:
  13831. description: 更新时间(申请时间)
  13832. type: string
  13833. userid:
  13834. description: 用户id
  13835. type: integer
  13836. userinfotype:
  13837. description: 账户类型 1-个人 2-企业
  13838. type: integer
  13839. type: object
  13840. models.QhjMgrBrokerApply:
  13841. properties:
  13842. applicantid:
  13843. description: 申请人
  13844. type: integer
  13845. applysrc:
  13846. description: 申请来源 - 1:管理端 2:终端
  13847. type: integer
  13848. applystatus:
  13849. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13850. type: integer
  13851. applytime:
  13852. description: 申请时间
  13853. type: string
  13854. auditorid:
  13855. description: 审核人
  13856. type: integer
  13857. auditremark:
  13858. description: 审核备注
  13859. type: string
  13860. auditsrc:
  13861. description: 审核来源 - 1:管理端 2:终端
  13862. type: integer
  13863. audittime:
  13864. description: 审核时间
  13865. type: string
  13866. audittradedate:
  13867. description: 审核交易日(yyyyMMdd)
  13868. type: string
  13869. brokerapplyid:
  13870. description: 申请ID(SEQ_BROKERAPPLY)
  13871. type: integer
  13872. cardbackphotourl:
  13873. description: 证件背面图片地址
  13874. type: string
  13875. cardfrontphotourl:
  13876. description: 证件正面图片地址
  13877. type: string
  13878. cardnum:
  13879. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13880. type: string
  13881. customername:
  13882. description: 姓名
  13883. type: string
  13884. filterstatus:
  13885. description: 筛选条件
  13886. type: string
  13887. logincode:
  13888. description: 登录代码
  13889. type: string
  13890. mobile:
  13891. description: 手机号码
  13892. type: string
  13893. parentuserid:
  13894. description: 所属机构id
  13895. type: integer
  13896. parentusername:
  13897. description: 所属机构名称
  13898. type: string
  13899. refereeuserid:
  13900. description: 推荐人id(经纪人)
  13901. type: integer
  13902. refernum:
  13903. description: 推荐码
  13904. type: string
  13905. remark:
  13906. description: 备注
  13907. type: string
  13908. subarealevelpath:
  13909. description: 层级路径
  13910. type: string
  13911. tradedate:
  13912. description: 交易日(yyyyMMdd)
  13913. type: string
  13914. userid:
  13915. description: 申请人用户ID
  13916. type: integer
  13917. userinfotype:
  13918. description: 用户类型 1-个人 2-企业
  13919. type: integer
  13920. username:
  13921. description: 用户名称
  13922. type: string
  13923. type: object
  13924. models.QhjMgrBrokerRewardReport:
  13925. properties:
  13926. createtime:
  13927. description: 创建时间(注册时间)
  13928. type: string
  13929. cycletime:
  13930. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13931. type: string
  13932. cycletype:
  13933. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13934. type: integer
  13935. directtotalnum:
  13936. description: 直推总人数【期末】
  13937. type: integer
  13938. indirecttotalnum:
  13939. description: 间推总人数【期末】
  13940. type: integer
  13941. mobile:
  13942. description: 电话号码
  13943. type: string
  13944. refereeuserid:
  13945. description: 推荐人id(经纪人id)
  13946. type: integer
  13947. refereeusername:
  13948. description: 推荐人名称(经纪人) 上级经纪人名称
  13949. type: string
  13950. refernum:
  13951. description: 推荐码
  13952. type: string
  13953. subarealevelpath:
  13954. description: 用户层级路径
  13955. type: string
  13956. todayrewardamount:
  13957. description: 奖励总金额【汇总】
  13958. type: number
  13959. updatetime:
  13960. description: 更新时间
  13961. type: string
  13962. userid:
  13963. description: 经纪人用户ID
  13964. type: integer
  13965. userinfotype:
  13966. description: 用户类型 1-个人 2-企业
  13967. type: integer
  13968. username:
  13969. description: 用户名称
  13970. type: string
  13971. type: object
  13972. models.QhjMgrContract:
  13973. properties:
  13974. contractconfirmtime:
  13975. description: 合同确认时间(时间)
  13976. type: string
  13977. currisklevel:
  13978. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13979. type: integer
  13980. decimalplace:
  13981. description: 商品报价小数位
  13982. type: integer
  13983. enumdicname:
  13984. description: 单位名称
  13985. type: string
  13986. goodscode:
  13987. description: 商品代码
  13988. type: string
  13989. goodsid:
  13990. description: 商品ID [5:融资单]
  13991. type: integer
  13992. goodsname:
  13993. description: 商品名称
  13994. type: string
  13995. goodunitid:
  13996. description: 商品单位id
  13997. type: integer
  13998. initmargin:
  13999. description: 初始保证金(首付款)
  14000. type: number
  14001. lenderamount:
  14002. description: 贷款金额(总额|订单总额)
  14003. type: number
  14004. logincode:
  14005. description: 账号(登录代码)
  14006. type: string
  14007. marginratio:
  14008. description: 保证金比率(首付比例)
  14009. type: number
  14010. mobile:
  14011. description: 电话号码(用户资料里的电话)
  14012. type: string
  14013. payamount:
  14014. description: 已付(已付货款)
  14015. type: number
  14016. reckonrecovermargin:
  14017. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  14018. type: number
  14019. recoveredmargin:
  14020. description: 已追缴保证金
  14021. type: number
  14022. remainamount:
  14023. description: 合同剩余金额(融资额)
  14024. type: number
  14025. scfcontractid:
  14026. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  14027. type: string
  14028. scfcontractstatus:
  14029. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  14030. 9:违约结束 10:已注销 11:已关闭 99:未提交
  14031. type: integer
  14032. scfcontracttype:
  14033. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  14034. type: integer
  14035. totalinterest:
  14036. description: 已计总利息(利息)
  14037. type: number
  14038. tradedate:
  14039. description: 交易日
  14040. type: string
  14041. tradeprice:
  14042. description: 成交价格(成本价格)
  14043. type: number
  14044. userid:
  14045. description: 用户ID
  14046. type: integer
  14047. userinfotype:
  14048. description: 用户类型 1-个人 2-企业
  14049. type: integer
  14050. username:
  14051. description: 用户名称
  14052. type: string
  14053. wrqty:
  14054. description: 仓单数量(数量)
  14055. type: number
  14056. type: object
  14057. models.QhjMgrCustomer:
  14058. properties:
  14059. address:
  14060. description: 通讯地址
  14061. type: string
  14062. attachment1:
  14063. description: 附件1
  14064. type: string
  14065. audittime:
  14066. description: 审核时间
  14067. type: string
  14068. birthday:
  14069. description: 生日
  14070. type: string
  14071. brokerid:
  14072. description: 所属客户经理id
  14073. type: integer
  14074. brokername:
  14075. description: 所属客户经理名称
  14076. type: string
  14077. cardbackphotourl:
  14078. description: 证件反面图片地址
  14079. type: string
  14080. cardfrontphotourl:
  14081. description: 证件正面图片地址
  14082. type: string
  14083. cardnum:
  14084. description: 证件号码
  14085. type: string
  14086. cardtype:
  14087. description: 证件类型
  14088. type: integer
  14089. cardtypename:
  14090. description: 证件类型名称
  14091. type: string
  14092. cityid:
  14093. description: 市
  14094. type: integer
  14095. cityname:
  14096. description: 城市名称
  14097. type: string
  14098. contactname:
  14099. description: 联系人
  14100. type: string
  14101. countryid:
  14102. description: 国家
  14103. type: integer
  14104. countryname:
  14105. description: 国家名称
  14106. type: string
  14107. createtime:
  14108. description: 创建时间
  14109. type: string
  14110. customername:
  14111. description: 客户名称
  14112. type: string
  14113. districtid:
  14114. description: 区域
  14115. type: integer
  14116. districtname:
  14117. description: 地区名称
  14118. type: string
  14119. email:
  14120. description: 邮件
  14121. type: string
  14122. legalpersonname:
  14123. description: 法人姓名(企业)
  14124. type: string
  14125. logincode:
  14126. description: 登录账号(代码)
  14127. type: string
  14128. memberuserid:
  14129. description: 所属机构ID(所属会员)
  14130. type: integer
  14131. memberusername:
  14132. description: 所属会员名称
  14133. type: string
  14134. mobile:
  14135. description: 手机号码
  14136. type: string
  14137. modifytime:
  14138. description: 修改时间
  14139. type: string
  14140. nickname:
  14141. description: 昵称
  14142. type: string
  14143. parentuserid:
  14144. description: 上级机构(所属机构)
  14145. type: integer
  14146. parentusername:
  14147. description: 所属机构名称
  14148. type: string
  14149. provinceid:
  14150. description: 省
  14151. type: integer
  14152. provincename:
  14153. description: 省名称
  14154. type: string
  14155. proxystatementurl:
  14156. description: 授权委托书
  14157. type: string
  14158. querytype:
  14159. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  14160. type: integer
  14161. remark:
  14162. description: 备注
  14163. type: string
  14164. sex:
  14165. description: 性别 0-女 1-男
  14166. type: integer
  14167. status:
  14168. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  14169. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  14170. type: integer
  14171. statusdesc:
  14172. description: 账户状态中文描述
  14173. type: string
  14174. taxpayernum:
  14175. description: 纳税人识别号
  14176. type: string
  14177. telphone:
  14178. description: 联系电话
  14179. type: string
  14180. userid:
  14181. description: 用户ID
  14182. type: integer
  14183. userinfotype:
  14184. description: 客户类型 1-个人 2-企业
  14185. type: integer
  14186. username:
  14187. description: 用户名称
  14188. type: string
  14189. type: object
  14190. models.QhjMgrPickGoods:
  14191. properties:
  14192. enumdicname:
  14193. description: 单位名称(提货商品)
  14194. type: string
  14195. goodsid:
  14196. description: 商品id
  14197. type: integer
  14198. imageaddress:
  14199. description: 图片
  14200. type: string
  14201. modifierid:
  14202. description: 修改人
  14203. type: integer
  14204. modifiername:
  14205. description: 修改人名称
  14206. type: string
  14207. modifysrc:
  14208. description: 修改来源 - 1:管理端 2:终端
  14209. type: integer
  14210. pickupgoodsagreeunit:
  14211. description: 合约乘数
  14212. type: number
  14213. pickupgoodsdesc:
  14214. description: 描述
  14215. type: string
  14216. pickupgoodsid:
  14217. description: 提货商品ID
  14218. type: string
  14219. pickupgoodsname:
  14220. description: 提货商品名称
  14221. type: string
  14222. pickupgoodsstatus:
  14223. description: 状态 - 1:正常 2:停用 3:注销
  14224. type: integer
  14225. pickupgoodsunitid:
  14226. description: 单位ID
  14227. type: integer
  14228. pickupratio:
  14229. description: 提货系数
  14230. type: number
  14231. preparedays:
  14232. description: 备货期(天)
  14233. type: integer
  14234. remark:
  14235. description: 备注
  14236. type: string
  14237. updatetime:
  14238. description: 更新时间
  14239. type: string
  14240. type: object
  14241. models.QhjMgrPositionRsp:
  14242. properties:
  14243. accountid:
  14244. description: 账号Id
  14245. type: integer
  14246. accountname:
  14247. description: 用户名称
  14248. type: string
  14249. agreeunit:
  14250. description: 合约乘数
  14251. type: number
  14252. averageprice:
  14253. description: 均价
  14254. type: number
  14255. avialqty:
  14256. description: 可用数量
  14257. type: number
  14258. decimalplace:
  14259. description: 报价小数位
  14260. type: integer
  14261. enumdicname:
  14262. description: 单位名称(商品)
  14263. type: string
  14264. frozenqty:
  14265. description: 冻结数量
  14266. type: number
  14267. goodscode:
  14268. description: 商品代码(内部)
  14269. type: string
  14270. goodsid:
  14271. description: 商品Id
  14272. type: integer
  14273. goodsname:
  14274. description: 商品名称
  14275. type: string
  14276. goodunitid:
  14277. description: 报价单位ID
  14278. type: integer
  14279. holderamount:
  14280. description: 金额
  14281. type: number
  14282. holderqty:
  14283. description: 持有数量
  14284. type: number
  14285. holdertype:
  14286. description: 持仓类别 - 1:单边持仓 2:双边持仓
  14287. type: integer
  14288. logincode:
  14289. description: 登录代码(账户)
  14290. type: string
  14291. marketid:
  14292. description: 市场id
  14293. type: integer
  14294. qtydecimalplace:
  14295. description: 成交量小数位
  14296. type: integer
  14297. trademode:
  14298. description: 交易模式
  14299. type: integer
  14300. userid:
  14301. description: 用户id
  14302. type: integer
  14303. userinfotype:
  14304. description: 账户类型 1-个人 2-企业
  14305. type: integer
  14306. type: object
  14307. models.QhjMgrSubArea:
  14308. properties:
  14309. accountname:
  14310. description: 账户名称(机构名称)
  14311. type: string
  14312. memberuserid:
  14313. description: 所属会员ID
  14314. type: integer
  14315. parenttopuser:
  14316. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14317. type: string
  14318. parentuserid:
  14319. description: 所属机构ID
  14320. type: integer
  14321. rootuserid:
  14322. description: 根用户ID
  14323. type: string
  14324. subaccountlevel:
  14325. description: 子账户层数
  14326. type: integer
  14327. subarealevelpath:
  14328. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14329. type: string
  14330. userid:
  14331. description: 用户ID
  14332. type: integer
  14333. usertype:
  14334. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14335. type: integer
  14336. type: object
  14337. models.QhjMgrTradeDetailRsp:
  14338. properties:
  14339. accountid:
  14340. description: 资金账号
  14341. type: integer
  14342. accountname:
  14343. description: 用户名称
  14344. type: string
  14345. agreeunit:
  14346. description: 合约乘数
  14347. type: number
  14348. buyorsell:
  14349. description: 成交类型(方向) 0:买 1:卖
  14350. type: integer
  14351. decimalplace:
  14352. description: 报价小数位
  14353. type: integer
  14354. enumdicname:
  14355. description: 单位名称(商品)
  14356. type: string
  14357. goodscode:
  14358. description: 商品代码(内部)
  14359. type: string
  14360. goodsid:
  14361. description: 商品id
  14362. type: integer
  14363. goodsname:
  14364. description: 商品名称
  14365. type: string
  14366. goodunitid:
  14367. description: 报价单位ID
  14368. type: integer
  14369. logincode:
  14370. description: 登录代码(账户)
  14371. type: string
  14372. marketid:
  14373. description: 市场id
  14374. type: integer
  14375. orderid:
  14376. description: 关联委托单号
  14377. type: string
  14378. qtydecimalplace:
  14379. description: 成交量小数位
  14380. type: integer
  14381. tradeamount:
  14382. description: 金额
  14383. type: number
  14384. tradedate:
  14385. description: 交易日
  14386. type: string
  14387. tradeid:
  14388. description: 成交单号
  14389. type: string
  14390. trademode:
  14391. description: 交易模式
  14392. type: integer
  14393. tradeprice:
  14394. description: 价格
  14395. type: number
  14396. tradeqty:
  14397. description: 数量
  14398. type: number
  14399. tradetime:
  14400. description: 成交时间
  14401. type: string
  14402. userid:
  14403. description: 用户id
  14404. type: integer
  14405. userinfotype:
  14406. description: 账户类型 1-个人 2-企业
  14407. type: integer
  14408. type: object
  14409. models.QhjMgrTradeOrderDetailRsp:
  14410. properties:
  14411. accountid:
  14412. description: 资金账号
  14413. type: integer
  14414. accountname:
  14415. description: 用户名称
  14416. type: string
  14417. agreeunit:
  14418. description: 合约乘数
  14419. type: number
  14420. amount:
  14421. description: 金额
  14422. type: number
  14423. decimalplace:
  14424. description: 报价小数位
  14425. type: integer
  14426. enumdicname:
  14427. description: 单位名称(商品)
  14428. type: string
  14429. goodscode:
  14430. description: 商品代码(内部)
  14431. type: string
  14432. goodsid:
  14433. description: 商品id
  14434. type: integer
  14435. goodsname:
  14436. description: 商品名称
  14437. type: string
  14438. goodunitid:
  14439. description: 报价单位ID
  14440. type: integer
  14441. logincode:
  14442. description: 登录代码(账户)
  14443. type: string
  14444. marketid:
  14445. description: 市场id
  14446. type: integer
  14447. orderid:
  14448. description: 关联委托单号
  14449. type: string
  14450. orderprice:
  14451. description: 价格
  14452. type: number
  14453. orderqty:
  14454. description: 数量
  14455. type: number
  14456. orderstatus:
  14457. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14458. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14459. 16:成交失败违约(荷兰式竞拍专用)
  14460. type: integer
  14461. ordertime:
  14462. description: 委托时间
  14463. type: string
  14464. qtydecimalplace:
  14465. description: 成交量小数位
  14466. type: integer
  14467. tradedate:
  14468. description: 交易日
  14469. type: string
  14470. trademode:
  14471. description: 交易模式
  14472. type: integer
  14473. userid:
  14474. description: 用户id
  14475. type: integer
  14476. userinfotype:
  14477. description: 账户类型 1-个人 2-企业
  14478. type: integer
  14479. type: object
  14480. models.QhjMgrTradePayOrder:
  14481. properties:
  14482. accountname:
  14483. description: 用户名称
  14484. type: string
  14485. advanceratio:
  14486. description: 首付比率
  14487. type: number
  14488. agreeunit:
  14489. description: 合约乘数
  14490. type: number
  14491. buyaccountid:
  14492. description: 买方账号ID[报价币种]
  14493. type: integer
  14494. buyorderid:
  14495. description: 买方委托单号(关联单号)
  14496. type: string
  14497. createtime:
  14498. description: 创建时间
  14499. type: string
  14500. decimalplace:
  14501. description: 报价小数位
  14502. type: integer
  14503. enumdicname:
  14504. description: 单位名称(商品)
  14505. type: string
  14506. goodscode:
  14507. description: 商品代码(内部)
  14508. type: string
  14509. goodsid:
  14510. description: 商品ID
  14511. type: integer
  14512. goodsname:
  14513. description: 商品名称
  14514. type: string
  14515. goodunitid:
  14516. description: 报价单位ID
  14517. type: integer
  14518. logincode:
  14519. description: 登录代码(账户)
  14520. type: string
  14521. marketid:
  14522. description: 市场id
  14523. type: integer
  14524. offamount:
  14525. description: 优惠金额
  14526. type: number
  14527. operatetype:
  14528. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14529. type: integer
  14530. payamount:
  14531. description: 支付金额(金额)
  14532. type: number
  14533. payflag:
  14534. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14535. type: integer
  14536. paylimitedtime:
  14537. description: 支付期限
  14538. type: string
  14539. paytime:
  14540. description: 付款时间
  14541. type: string
  14542. qtydecimalplace:
  14543. description: 成交量小数位
  14544. type: integer
  14545. sellaccountid:
  14546. description: 卖方账号ID[报价币种]
  14547. type: integer
  14548. sellorderid:
  14549. description: 卖方委托单号
  14550. type: string
  14551. tradeamount:
  14552. description: 成交金额(优惠后金额)
  14553. type: number
  14554. tradecharge:
  14555. description: 成交手续费(买方)
  14556. type: number
  14557. tradedate:
  14558. description: 交易日(yyyyMMdd)
  14559. type: string
  14560. tradeid:
  14561. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14562. type: string
  14563. trademode:
  14564. description: 交易模式
  14565. type: integer
  14566. tradeprice:
  14567. description: 成交价格(价格)
  14568. type: number
  14569. tradeqty:
  14570. description: 成交数量(数量)
  14571. type: number
  14572. tradetime:
  14573. description: 成交时间
  14574. type: string
  14575. userid:
  14576. description: 用户id
  14577. type: integer
  14578. userinfotype:
  14579. description: 账户类型 1-个人 2-企业
  14580. type: integer
  14581. type: object
  14582. models.QhjMyTeamEx:
  14583. properties:
  14584. accountname:
  14585. description: 用户名称
  14586. type: string
  14587. accountstatus:
  14588. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14589. type: integer
  14590. createtime:
  14591. description: 创建时间
  14592. type: string
  14593. mobile:
  14594. description: 手机号码
  14595. type: string
  14596. refereeuserid:
  14597. description: 推荐人id
  14598. type: integer
  14599. refernum:
  14600. description: 推荐码
  14601. type: string
  14602. subList:
  14603. items:
  14604. $ref: '#/definitions/models.QhjMyTeamEx'
  14605. type: array
  14606. userid:
  14607. description: 用户id
  14608. type: integer
  14609. userinfotype:
  14610. description: 用户类型 1-个人 2-企业
  14611. type: integer
  14612. type: object
  14613. models.QhjNodeAgreementConfig:
  14614. properties:
  14615. agreementcontent:
  14616. description: 协议内容
  14617. type: string
  14618. agreementid:
  14619. description: 协议ID
  14620. type: integer
  14621. agreementname:
  14622. description: 协议名称
  14623. type: string
  14624. agreementno:
  14625. description: 协议编号
  14626. type: string
  14627. agreementtype:
  14628. description: 协议类型 - 1:注册 2:登录 3:交易
  14629. type: integer
  14630. agreementversion:
  14631. description: 协议版本号
  14632. type: integer
  14633. configid:
  14634. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14635. type: integer
  14636. createtime:
  14637. description: 创建时间
  14638. type: string
  14639. goodsid:
  14640. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14641. type: integer
  14642. nodetype:
  14643. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14644. type: integer
  14645. type: object
  14646. models.QhjParentAreaList:
  14647. properties:
  14648. accountname:
  14649. description: 账户名称(机构名称)
  14650. type: string
  14651. userid:
  14652. description: 用户ID
  14653. type: integer
  14654. usertype:
  14655. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14656. type: integer
  14657. type: object
  14658. models.QhjPayOrder:
  14659. properties:
  14660. advanceratio:
  14661. description: 首付比率
  14662. type: number
  14663. buyaccountid:
  14664. description: 买方账号ID[报价币种]
  14665. type: integer
  14666. buyorderid:
  14667. description: 买方委托单号
  14668. type: string
  14669. createtime:
  14670. description: 创建时间
  14671. type: string
  14672. decimalplace:
  14673. description: 商品报价小数位
  14674. type: integer
  14675. enumdicname:
  14676. description: 单位名称
  14677. type: string
  14678. goodscode:
  14679. description: 商品代码
  14680. type: string
  14681. goodsid:
  14682. description: 商品ID
  14683. type: integer
  14684. goodsname:
  14685. description: 商品名称
  14686. type: string
  14687. goodunitid:
  14688. description: 商品单位id
  14689. type: integer
  14690. marketid:
  14691. description: 市场ID
  14692. type: integer
  14693. offamount:
  14694. description: 优惠金额
  14695. type: number
  14696. operatetype:
  14697. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14698. type: integer
  14699. payamount:
  14700. description: 支付金额
  14701. type: number
  14702. payflag:
  14703. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14704. type: integer
  14705. paylimitedtime:
  14706. description: 支付期限
  14707. type: string
  14708. paytime:
  14709. description: 付款时间
  14710. type: string
  14711. qtydecimalplace:
  14712. description: 成交量小数位
  14713. type: integer
  14714. sellaccountid:
  14715. description: 卖方账号ID[报价币种]
  14716. type: integer
  14717. sellorderid:
  14718. description: 卖方委托单号
  14719. type: string
  14720. tradeamount:
  14721. description: 成交金额(优惠后金额)
  14722. type: number
  14723. tradecharge:
  14724. description: 成交手续费(买方)
  14725. type: number
  14726. tradedate:
  14727. description: 交易日(yyyyMMdd)
  14728. type: string
  14729. tradeid:
  14730. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14731. type: string
  14732. tradeprice:
  14733. description: 成交价格
  14734. type: number
  14735. tradeqty:
  14736. description: 成交数量
  14737. type: number
  14738. type: object
  14739. models.QhjPickArea:
  14740. properties:
  14741. address:
  14742. description: 详细地址
  14743. type: string
  14744. cityid:
  14745. description: 市
  14746. type: integer
  14747. cityname:
  14748. description: 城市名称
  14749. type: string
  14750. countryid:
  14751. description: 国家
  14752. type: integer
  14753. countryname:
  14754. description: 国家名称
  14755. type: string
  14756. districtid:
  14757. description: 地区
  14758. type: integer
  14759. districtname:
  14760. description: 地区名称
  14761. type: string
  14762. fromuserid:
  14763. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  14764. type: integer
  14765. fromusername:
  14766. description: 所属机构名称
  14767. type: string
  14768. provinceid:
  14769. description: 省
  14770. type: integer
  14771. provincename:
  14772. description: 省名称
  14773. type: string
  14774. suborgtype:
  14775. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  14776. type: integer
  14777. userid:
  14778. description: 机构用户ID 其他做市关系,都设置为 1
  14779. type: integer
  14780. username:
  14781. description: 机构用户名称(门店门称)
  14782. type: string
  14783. type: object
  14784. models.QhjPickGoods:
  14785. properties:
  14786. enumdicname:
  14787. description: 单位名称(提货商品)
  14788. type: string
  14789. goodsid:
  14790. description: 商品id
  14791. type: integer
  14792. imageaddress:
  14793. description: 图片
  14794. type: string
  14795. modifierid:
  14796. description: 修改人
  14797. type: integer
  14798. modifiername:
  14799. description: 修改人名称
  14800. type: string
  14801. modifysrc:
  14802. description: 修改来源 - 1:管理端 2:终端
  14803. type: integer
  14804. pickupgoodsagreeunit:
  14805. description: 合约乘数
  14806. type: number
  14807. pickupgoodsdesc:
  14808. description: 描述
  14809. type: string
  14810. pickupgoodsid:
  14811. description: 提货商品ID
  14812. type: string
  14813. pickupgoodsname:
  14814. description: 提货商品名称
  14815. type: string
  14816. pickupgoodsstatus:
  14817. description: 状态 - 1:正常 2:停用 3:注销
  14818. type: integer
  14819. pickupgoodsunitid:
  14820. description: 单位ID
  14821. type: integer
  14822. pickupratio:
  14823. description: 提货系数
  14824. type: number
  14825. preparedays:
  14826. description: 备货期(天)
  14827. type: integer
  14828. remark:
  14829. description: 备注
  14830. type: string
  14831. updatetime:
  14832. description: 更新时间
  14833. type: string
  14834. type: object
  14835. models.QhjRSTriggerLog:
  14836. properties:
  14837. accountid:
  14838. description: 用户资金账户
  14839. type: integer
  14840. accountname:
  14841. description: 账号名称(ACCOUNTID对应的名称)
  14842. type: string
  14843. currencyid:
  14844. description: 币种id
  14845. type: integer
  14846. currencyname:
  14847. description: 币种名称
  14848. type: string
  14849. decimalplace:
  14850. description: 商品报价小数位
  14851. type: integer
  14852. enumdicname:
  14853. description: 单位名称
  14854. type: string
  14855. goodscode:
  14856. description: 定投商品代码
  14857. type: string
  14858. goodsid:
  14859. description: 定投商品ID
  14860. type: integer
  14861. goodsname:
  14862. description: 定投商品名称
  14863. type: string
  14864. goodunitid:
  14865. description: 定投商品单位id
  14866. type: integer
  14867. logid:
  14868. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14869. type: string
  14870. logincode:
  14871. description: 账号(登录代码)
  14872. type: string
  14873. qtydecimalplace:
  14874. description: 成交量小数位
  14875. type: integer
  14876. regularlycycle:
  14877. description: 定投频率 - 1:每周 2:每月
  14878. type: integer
  14879. regularlycyclevalue:
  14880. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14881. type: string
  14882. regularlymode:
  14883. description: 定投方式 - 1:按数量 2:按金额
  14884. type: integer
  14885. regularlymodevalue:
  14886. description: 定投方式值 - 数量或金额
  14887. type: number
  14888. regularlystrategyid:
  14889. description: 定投策略ID
  14890. type: integer
  14891. retcode:
  14892. description: 错误码
  14893. type: string
  14894. tradeid:
  14895. description: 成交单ID
  14896. type: string
  14897. triggeramount:
  14898. description: 触发金额
  14899. type: number
  14900. triggerqty:
  14901. description: 触发数量
  14902. type: number
  14903. triggerstatus:
  14904. description: 触发状态 - 1:成功 2:失败
  14905. type: integer
  14906. triggertime:
  14907. description: 触发时间
  14908. type: string
  14909. triggertradedate:
  14910. description: 触发交易日
  14911. type: string
  14912. userid:
  14913. description: 所属用户ID
  14914. type: integer
  14915. userinfotype:
  14916. description: 用户类型 1-个人 2-企业
  14917. type: integer
  14918. username:
  14919. description: 用户名称(userid对应的名称)
  14920. type: string
  14921. type: object
  14922. models.QhjRStrategy:
  14923. properties:
  14924. accountid:
  14925. description: 用户资金账户
  14926. type: integer
  14927. accountname:
  14928. description: 账号名称(ACCOUNTID对应的名称)
  14929. type: string
  14930. currencyid:
  14931. description: 币种id
  14932. type: integer
  14933. currencyname:
  14934. description: 币种名称
  14935. type: string
  14936. decimalplace:
  14937. description: 商品报价小数位
  14938. type: integer
  14939. enumdicname:
  14940. description: 单位名称
  14941. type: string
  14942. goodscode:
  14943. description: 定投商品代码
  14944. type: string
  14945. goodsid:
  14946. description: 定投商品ID
  14947. type: integer
  14948. goodsname:
  14949. description: 定投商品名称
  14950. type: string
  14951. goodunitid:
  14952. description: 定投商品单位id
  14953. type: integer
  14954. lasteffecttradedate:
  14955. description: 最新生效交易日
  14956. type: string
  14957. laststoptradedate:
  14958. description: 最新暂停交易日
  14959. type: string
  14960. lasttriggertradedate:
  14961. description: 最新触发交易日
  14962. type: string
  14963. logincode:
  14964. description: 账号(登录代码)
  14965. type: string
  14966. nexttriggeramount:
  14967. description: 下次触发金额
  14968. type: number
  14969. nexttriggerdate:
  14970. description: 下次触发日期
  14971. type: string
  14972. nexttriggerqty:
  14973. description: 下次触发数量 [按小数位放大值]
  14974. type: number
  14975. qtydecimalplace:
  14976. description: 成交量小数位
  14977. type: integer
  14978. regularlycycle:
  14979. description: 定投频率 - 1:每周 2:每月
  14980. type: integer
  14981. regularlycyclevalue:
  14982. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14983. type: string
  14984. regularlymode:
  14985. description: 定投方式 - 1:按数量 2:按金额
  14986. type: integer
  14987. regularlymodevalue:
  14988. description: 定投方式值 - 数量或金额
  14989. type: number
  14990. regularlystrategyid:
  14991. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14992. type: integer
  14993. regularlystrategystatus:
  14994. description: 策略状态 - 1:正常 2:暂停 3:终止
  14995. type: integer
  14996. remark:
  14997. description: 备注
  14998. type: string
  14999. triggersuccesstimes:
  15000. description: 累计定投成功次数
  15001. type: string
  15002. triggertotalamount:
  15003. description: 累计定投金额(成功)
  15004. type: number
  15005. triggertotalqty:
  15006. description: 累计定投数量(成功) [按小数位放大值]
  15007. type: number
  15008. triggertotaltimes:
  15009. description: 累计定投总次数
  15010. type: string
  15011. updatesrc:
  15012. description: 更新来源 - 1:管理端 2:终端
  15013. type: integer
  15014. updatetime:
  15015. description: 更新时间
  15016. type: string
  15017. updatorid:
  15018. description: 更新人
  15019. type: string
  15020. userid:
  15021. description: 所属用户ID
  15022. type: integer
  15023. userinfotype:
  15024. description: 用户类型 1-个人 2-企业
  15025. type: integer
  15026. username:
  15027. description: 用户名称(userid对应的名称)
  15028. type: string
  15029. type: object
  15030. models.QhjReckonPriceLog:
  15031. properties:
  15032. decimalplace:
  15033. description: 商品报价小数位
  15034. type: integer
  15035. goodscode:
  15036. description: 商品代码
  15037. type: string
  15038. goodsid:
  15039. description: 商品ID
  15040. type: integer
  15041. goodsname:
  15042. description: 商品名称
  15043. type: string
  15044. lastreckonprice:
  15045. description: 上日结算价
  15046. type: number
  15047. nextdnlimitprice:
  15048. description: 下个交易日跌停价
  15049. type: number
  15050. nexttrade:
  15051. description: 下个交易日
  15052. type: string
  15053. nextuplimitprice:
  15054. description: 下个交易日涨停价
  15055. type: number
  15056. reckonprice:
  15057. description: 今日结算价(定投价)
  15058. type: number
  15059. reckontime:
  15060. description: 结算时间
  15061. type: string
  15062. totalholderqty:
  15063. description: 总持仓数
  15064. type: integer
  15065. totalstock:
  15066. description: 总库存
  15067. type: integer
  15068. tradedate:
  15069. description: 交易日
  15070. type: string
  15071. updowncount:
  15072. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  15073. type: integer
  15074. updownflag:
  15075. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  15076. type: integer
  15077. updownrate:
  15078. description: 今日涨跌幅
  15079. type: number
  15080. updownrate_2d:
  15081. description: 连续两日涨跌幅
  15082. type: number
  15083. updownrate_3d:
  15084. description: 连续三日涨跌幅
  15085. type: number
  15086. type: object
  15087. models.QhjScoreLog:
  15088. properties:
  15089. accountid:
  15090. description: 账户ID
  15091. type: integer
  15092. createtime:
  15093. description: 创建时间(时间)
  15094. type: string
  15095. goodsid:
  15096. description: 商品ID
  15097. type: integer
  15098. hasuploaded:
  15099. description: 是否已同步(千海金) 0:未同步 1;已同步
  15100. type: integer
  15101. logid:
  15102. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15103. type: string
  15104. marketid:
  15105. description: 市场ID
  15106. type: integer
  15107. relatedamount:
  15108. description: 关联金额
  15109. type: number
  15110. relatedorderid:
  15111. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  15112. type: string
  15113. scoreconfigvalue1:
  15114. description: 积分配置1
  15115. type: integer
  15116. scoreconfigvalue2:
  15117. description: 积分配置1
  15118. type: integer
  15119. scoretype:
  15120. description: 积分类型 - 1:提货积分
  15121. type: integer
  15122. scorevalue:
  15123. description: 积分
  15124. type: number
  15125. tradedate:
  15126. description: 交易日(yyyyMMdd)
  15127. type: string
  15128. uploadedtime:
  15129. description: 同步时间
  15130. type: string
  15131. userid:
  15132. description: 用户ID
  15133. type: integer
  15134. type: object
  15135. models.QhjSiteColumnDetail:
  15136. properties:
  15137. author:
  15138. description: 作者
  15139. type: string
  15140. brief:
  15141. description: 简介
  15142. type: string
  15143. columnid:
  15144. description: 所属栏目
  15145. type: integer
  15146. context:
  15147. description: 内容
  15148. type: string
  15149. coverimage:
  15150. description: 封面图片
  15151. type: string
  15152. creaedate:
  15153. description: 创建时间
  15154. type: string
  15155. creatorid:
  15156. description: 创建人
  15157. type: integer
  15158. hits:
  15159. description: 点击数
  15160. type: integer
  15161. id:
  15162. description: ID(SEQ_SITE_COLUMNDETAIL)
  15163. type: integer
  15164. isshow:
  15165. description: 是否展示 - 0:不展示 1:展示
  15166. type: integer
  15167. istop:
  15168. description: 是否置顶 - 0:不置 1:置顶
  15169. type: integer
  15170. modifierid:
  15171. description: 操作人
  15172. type: integer
  15173. publishdate:
  15174. description: 发布日期
  15175. type: string
  15176. status:
  15177. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  15178. type: integer
  15179. title:
  15180. description: 标题
  15181. type: string
  15182. updatedate:
  15183. description: 修改时间
  15184. type: string
  15185. userid:
  15186. description: 用户ID(默认为0, 核心为为机构用户ID)
  15187. type: integer
  15188. username:
  15189. description: 用户名称
  15190. type: string
  15191. type: object
  15192. models.QhjTeamOrder:
  15193. properties:
  15194. accountid:
  15195. description: 账户ID[报价币种]
  15196. type: integer
  15197. accountname:
  15198. description: 账户名称
  15199. type: string
  15200. agreeunit:
  15201. description: 合约乘数
  15202. type: number
  15203. buyorsell:
  15204. description: 方向 - 0:买 1:卖
  15205. type: integer
  15206. decimalplace:
  15207. description: 报价小数位
  15208. type: integer
  15209. enumdicname:
  15210. description: 单位名称
  15211. type: string
  15212. goodscode:
  15213. description: 商品代码(内部)
  15214. type: string
  15215. goodsid:
  15216. description: 商品ID
  15217. type: integer
  15218. goodsname:
  15219. description: 商品名称
  15220. type: string
  15221. goodunitid:
  15222. description: 报价单位ID
  15223. type: integer
  15224. marketid:
  15225. description: 市场ID
  15226. type: integer
  15227. marketname:
  15228. description: 市场名称
  15229. type: string
  15230. qtydecimalplace:
  15231. description: 成交量小数位
  15232. type: integer
  15233. refereeuserid:
  15234. description: 推荐人ID
  15235. type: integer
  15236. tradeamount:
  15237. description: 成交金额[账户币种,用于所有权]
  15238. type: number
  15239. tradedate:
  15240. description: 交易日(yyyyMMdd)
  15241. type: string
  15242. trademode:
  15243. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15244. 21:竞拍-大宗式 22:受托竞价
  15245. type: integer
  15246. tradeprice:
  15247. description: 成交价格
  15248. type: number
  15249. tradeqty:
  15250. description: 成交数量
  15251. type: number
  15252. tradetime:
  15253. description: 成交时间
  15254. type: string
  15255. userid:
  15256. description: 用户ID
  15257. type: integer
  15258. type: object
  15259. models.QhjTradeGoodsPickup:
  15260. properties:
  15261. accountid:
  15262. description: 账户ID
  15263. type: integer
  15264. address:
  15265. description: 提货人详细地址
  15266. type: string
  15267. amount:
  15268. description: 提货金额
  15269. type: number
  15270. artradedate:
  15271. description: 自动收货交易日(yyyyMMdd)
  15272. type: string
  15273. auditer:
  15274. description: 审核人
  15275. type: integer
  15276. auditsrc:
  15277. description: 更新来源 - 1:管理端 2:终端
  15278. type: integer
  15279. audittime:
  15280. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  15281. type: string
  15282. audittradedate:
  15283. description: 审核交易日(yyyyMMdd)
  15284. type: string
  15285. cardnum:
  15286. description: 提货人证件号码
  15287. type: string
  15288. cardtypeid:
  15289. description: 提货人证件类型
  15290. type: integer
  15291. checkremark:
  15292. description: 审核备注
  15293. type: string
  15294. cityid:
  15295. description: 市
  15296. type: integer
  15297. cityname:
  15298. description: 城市名称
  15299. type: string
  15300. confirmtime:
  15301. description: 取货时间 或 收货时间
  15302. type: string
  15303. countryid:
  15304. description: 国家
  15305. type: integer
  15306. countryname:
  15307. description: 国家名称
  15308. type: string
  15309. decimalplace:
  15310. description: 商品报价小数位
  15311. type: integer
  15312. districtid:
  15313. description: 地区
  15314. type: integer
  15315. districtname:
  15316. description: 地区名称
  15317. type: string
  15318. enumdicname:
  15319. description: 单位名称(提货商品)
  15320. type: string
  15321. expresscompany:
  15322. description: 物流公司
  15323. type: string
  15324. expressnum:
  15325. description: 物流单号
  15326. type: string
  15327. goodsagreeunit:
  15328. description: 交易商品乘数
  15329. type: number
  15330. goodscode:
  15331. description: 商品代码
  15332. type: string
  15333. goodsid:
  15334. description: 商品ID
  15335. type: integer
  15336. goodsname:
  15337. description: 商品名称
  15338. type: string
  15339. goodsqty:
  15340. description: 交易商品手数(69模式按成交量小数位放大取整)
  15341. type: number
  15342. handlestatus:
  15343. description: 处理状态
  15344. type: integer
  15345. logincode:
  15346. description: 账号(登录代码, 有可能为空)
  15347. type: string
  15348. marketid:
  15349. description: 市场ID
  15350. type: integer
  15351. phonenum:
  15352. description: 提货人联系方式
  15353. type: string
  15354. pickupgoodsagreeunit:
  15355. description: 提货商品合约乘数
  15356. type: number
  15357. pickupgoodsid:
  15358. description: 提货商品ID
  15359. type: string
  15360. pickupgoodsname:
  15361. description: 提货商品名称
  15362. type: string
  15363. pickupgoodsqty:
  15364. description: 提货商品手数(数量)
  15365. type: number
  15366. pickupgoodsunitid:
  15367. description: 单位ID(提货商品)
  15368. type: integer
  15369. pickupratio:
  15370. description: 提货系数
  15371. type: number
  15372. preparedays:
  15373. description: 备货期(天)-提货单明细表
  15374. type: integer
  15375. provinceid:
  15376. description: 省
  15377. type: integer
  15378. provincename:
  15379. description: 省名称
  15380. type: string
  15381. qty:
  15382. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  15383. type: number
  15384. qtydecimalplace:
  15385. description: 商品数量小数位
  15386. type: integer
  15387. recivername:
  15388. description: 提货人姓名
  15389. type: string
  15390. reqtime:
  15391. description: 提货申请时间
  15392. type: string
  15393. storeuserid:
  15394. description: 门店用户ID (千海金)
  15395. type: integer
  15396. storeusername:
  15397. description: 门店用户名称
  15398. type: string
  15399. takemode:
  15400. description: 提货方式 - 2:自提 3:配送(邮寄)
  15401. type: integer
  15402. takeorderid:
  15403. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  15404. type: string
  15405. takeorderstatus:
  15406. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  15407. 7:已拒绝 8:已撤销
  15408. type: integer
  15409. takeremark:
  15410. description: 提货备注
  15411. type: string
  15412. tradedate:
  15413. description: 交易日(yyyyMMdd)
  15414. type: string
  15415. updatetime:
  15416. description: 更新时间
  15417. type: string
  15418. userid:
  15419. description: 用户ID
  15420. type: integer
  15421. userinfotype:
  15422. description: 客户类型 1-个人 2-企业
  15423. type: integer
  15424. username:
  15425. description: 用户名称
  15426. type: string
  15427. type: object
  15428. models.QhjUserNodeCfgAndStatus:
  15429. properties:
  15430. agreementcontent:
  15431. description: 协议内容
  15432. type: string
  15433. agreementid:
  15434. description: 协议ID
  15435. type: integer
  15436. agreementname:
  15437. description: 协议名称
  15438. type: string
  15439. agreementno:
  15440. description: 协议编号
  15441. type: string
  15442. agreementtype:
  15443. description: 协议类型 - 1:注册 2:登录 3:交易
  15444. type: integer
  15445. agreementversion:
  15446. description: 协议版本号
  15447. type: integer
  15448. configid:
  15449. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  15450. type: integer
  15451. createtime:
  15452. description: 创建时间
  15453. type: string
  15454. goodsid:
  15455. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15456. type: integer
  15457. nodetype:
  15458. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  15459. type: integer
  15460. signtimestamp:
  15461. description: 签约状态时间戳(最近一次)
  15462. type: string
  15463. tradedate:
  15464. description: 签约交易日(yyyyMMdd)
  15465. type: string
  15466. userid:
  15467. description: 客户ID
  15468. type: integer
  15469. type: object
  15470. models.Qhjgoodsex:
  15471. properties:
  15472. canfinance:
  15473. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  15474. type: integer
  15475. canregularlybuy:
  15476. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  15477. type: integer
  15478. defaulttradeuserid:
  15479. description: 默认交易用户ID
  15480. type: integer
  15481. deliverygoodsid:
  15482. description: 现货品种ID
  15483. type: integer
  15484. goodsid:
  15485. description: 商品ID(自增ID SEQ_GOODS)
  15486. type: integer
  15487. minamount:
  15488. description: 最小购买金额
  15489. type: number
  15490. regularlybuyminamount:
  15491. description: 定投最小金额
  15492. type: number
  15493. regularlybuyminqty:
  15494. description: 定投最小数量
  15495. type: number
  15496. spotgoodsbrandid:
  15497. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  15498. type: integer
  15499. visibilityforenterprise:
  15500. description: 企业客户是否可见 - 0:不可见 1:可见
  15501. type: integer
  15502. visibilityforpersonal:
  15503. description: 个人客户是否可见 - 0:不可见 1:可见
  15504. type: integer
  15505. wrstandardid:
  15506. description: 现货商品ID
  15507. type: integer
  15508. type: object
  15509. models.QueryErrorInfosRsp:
  15510. properties:
  15511. description:
  15512. description: 异常描述
  15513. type: string
  15514. errorcode:
  15515. description: 异常代码
  15516. type: string
  15517. errorid:
  15518. description: 异常ID
  15519. type: integer
  15520. modulecode:
  15521. description: 所属模块
  15522. type: string
  15523. operatecode:
  15524. description: 所属操作
  15525. type: string
  15526. rownumber:
  15527. description: 行号
  15528. type: string
  15529. required:
  15530. - errorid
  15531. type: object
  15532. models.QueryHedgeOrderDetailRsp:
  15533. properties:
  15534. accountid:
  15535. description: 账户ID
  15536. type: integer
  15537. buyorsell:
  15538. description: 买卖 - 0:买 1:卖
  15539. type: integer
  15540. cancellogincode:
  15541. description: 撤单人
  15542. type: string
  15543. channelbuildtype:
  15544. description: 开平标志 - 0:无 1:建仓 2:平仓
  15545. type: integer
  15546. channelinnerorderstatus:
  15547. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  15548. 9:全部成交
  15549. type: integer
  15550. channeloperatetype:
  15551. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  15552. type: integer
  15553. closetype:
  15554. description: 平仓方式 - 0:无 1:平今 2:平昨
  15555. type: integer
  15556. curexchangerate:
  15557. description: 当前汇率
  15558. type: number
  15559. decimalplace:
  15560. description: 商品报价小数位
  15561. type: integer
  15562. exchangefullname:
  15563. description: 外部交易所全称
  15564. type: string
  15565. goodscode:
  15566. description: 商品代码(内部)
  15567. type: string
  15568. goodsid:
  15569. description: 商品ID
  15570. type: integer
  15571. goodsname:
  15572. description: 商品名称
  15573. type: string
  15574. marketid:
  15575. description: 市场ID
  15576. type: integer
  15577. openfreezemargin:
  15578. description: 冻结保证金(冻结交易金额)
  15579. type: number
  15580. orderid:
  15581. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15582. type: string
  15583. orderlogincode:
  15584. description: 委托人
  15585. type: string
  15586. orderprice:
  15587. description: 委托价格(账户)
  15588. type: number
  15589. orderqty:
  15590. description: 委托数量
  15591. type: integer
  15592. ordertime:
  15593. description: 委托时间
  15594. type: string
  15595. pricemode:
  15596. description: '取价方式 - 1:市价 2: 限价'
  15597. type: integer
  15598. tradedate:
  15599. description: 交易日(yyyyMMdd)
  15600. type: string
  15601. tradeqty:
  15602. description: 成交数量
  15603. type: integer
  15604. type: object
  15605. models.QueryHedgeTradeDetailRsp:
  15606. properties:
  15607. accountid:
  15608. description: 账号ID
  15609. type: integer
  15610. buyorsell:
  15611. description: 方向 - 0:买 1:卖
  15612. type: integer
  15613. channelbuildtype:
  15614. description: 委托单据类型 0:无 1:建仓 2:平仓
  15615. type: integer
  15616. closecharge:
  15617. description: 平仓手续费(账户)
  15618. type: number
  15619. closecharge2:
  15620. description: 平仓手续费(商品)
  15621. type: number
  15622. closepl:
  15623. description: 平仓盈亏(账户)
  15624. type: number
  15625. closepl2:
  15626. description: 平仓盈亏(商品)
  15627. type: number
  15628. closepl3:
  15629. description: 平仓盈亏(账户)(逐笔)
  15630. type: number
  15631. closepl4:
  15632. description: 平仓盈亏(商品)(逐笔)
  15633. type: number
  15634. closetype:
  15635. description: 平仓方式 - 0:无 1:平今 2:平昨
  15636. type: integer
  15637. curexchangerate:
  15638. description: 当前汇率
  15639. type: number
  15640. decimalplace:
  15641. description: 商品报价小数位
  15642. type: integer
  15643. exchangefullname:
  15644. description: 外部交易所全称
  15645. type: string
  15646. goodscode:
  15647. description: 商品代码(内部)
  15648. type: string
  15649. goodsid:
  15650. description: 商品ID
  15651. type: integer
  15652. goodsname:
  15653. description: 商品名称
  15654. type: string
  15655. marketid:
  15656. description: 市场ID
  15657. type: integer
  15658. opencharge:
  15659. description: 建仓手续费(账户)
  15660. type: number
  15661. opencharge2:
  15662. description: 建仓手续费(商品)
  15663. type: number
  15664. orderid:
  15665. description: 委托单号
  15666. type: string
  15667. orderlogincode:
  15668. description: 委托人
  15669. type: string
  15670. tradeamount:
  15671. description: 成交金额(账户)
  15672. type: number
  15673. tradedate:
  15674. description: 交易日(yyyyMMdd)
  15675. type: string
  15676. tradeid:
  15677. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15678. type: string
  15679. tradeprice:
  15680. description: 成交价格
  15681. type: number
  15682. tradeqty:
  15683. description: 成交数量
  15684. type: integer
  15685. tradetime:
  15686. description: 成交时间
  15687. type: string
  15688. tradetype:
  15689. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  15690. type: integer
  15691. type: object
  15692. models.QuotePrimaryMenu:
  15693. properties:
  15694. Index:
  15695. description: 序号
  15696. type: integer
  15697. Key:
  15698. description: 键名
  15699. type: string
  15700. Name:
  15701. description: 菜单名称
  15702. type: string
  15703. SubMenus:
  15704. description: 子菜单
  15705. items:
  15706. $ref: '#/definitions/models.QuoteSecondaryMenu'
  15707. type: array
  15708. SubTitleType:
  15709. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  15710. type: integer
  15711. TradeModes:
  15712. description: 包含市场交易类型
  15713. type: string
  15714. type: object
  15715. models.QuoteSecondaryMenu:
  15716. properties:
  15717. ExExchangeCode:
  15718. description: 外部交易所代码
  15719. type: string
  15720. ExExchangeID:
  15721. description: 外部交易所ID
  15722. type: integer
  15723. GoodsGroupIDs:
  15724. description: 商品组ID列表
  15725. items:
  15726. type: integer
  15727. type: array
  15728. Index:
  15729. description: 序号
  15730. type: integer
  15731. MarketID:
  15732. description: 市场ID
  15733. type: integer
  15734. MenuTitle:
  15735. description: 菜单标题(市场名称或外部交易所名称)
  15736. type: string
  15737. TradeMode:
  15738. description: 交易模式
  15739. type: integer
  15740. type: object
  15741. models.Reckondaytaaccount:
  15742. properties:
  15743. accountid:
  15744. description: 资金账户ID
  15745. type: integer
  15746. accountname:
  15747. description: 账户名称
  15748. type: string
  15749. accountpl:
  15750. description: 今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新
  15751. type: number
  15752. avaiablemoney:
  15753. description: 可用资金
  15754. type: number
  15755. avaiableoutmoney:
  15756. description: 可出资金
  15757. type: number
  15758. balance:
  15759. description: 期初余额
  15760. type: number
  15761. capitalbalance:
  15762. description: 本金余额[外部子账户实际出入金余额]
  15763. type: number
  15764. changeflag:
  15765. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15766. type: integer
  15767. clearbalance:
  15768. description: 清算余额 = 期末余额 - 授信金额 - 其它授信金额
  15769. type: number
  15770. clearpl:
  15771. description: 真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费
  15772. - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 =
  15773. 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费
  15774. type: number
  15775. closepl:
  15776. description: 今日平仓盈亏
  15777. type: number
  15778. closepl2:
  15779. description: 平仓盈亏(逐笔)
  15780. type: number
  15781. creditdecrease:
  15782. description: 今日授信减少
  15783. type: number
  15784. creditincrease:
  15785. description: 今日授信增加
  15786. type: number
  15787. curdebt:
  15788. description: 期末欠款
  15789. type: number
  15790. currencyid:
  15791. description: 货币ID
  15792. type: integer
  15793. currentbalance:
  15794. description: 期末余额
  15795. type: number
  15796. cycletype:
  15797. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  15798. type: integer
  15799. defercharge:
  15800. description: 今日递延费2支出[111, 112]
  15801. type: number
  15802. deliveryamountin:
  15803. description: 今日交收货款收入
  15804. type: number
  15805. deliveryamountout:
  15806. description: 今日交收货款支出
  15807. type: number
  15808. deliverycharge:
  15809. description: 今日交收手续费支出 [105,106]
  15810. type: number
  15811. deliverycompensationfeein:
  15812. description: 今日交收补偿费收入
  15813. type: number
  15814. deliverycompensationfeeout:
  15815. description: 今日交收补偿费支出
  15816. type: number
  15817. dividedcharge:
  15818. description: 今日已收手续费分成
  15819. type: number
  15820. floatnetvalue:
  15821. description: 浮动净值 = 净值 + 浮动盈亏
  15822. type: number
  15823. floatpl:
  15824. description: 浮动盈亏 - 每日有负债类商品
  15825. type: number
  15826. freezecharge:
  15827. description: 手续费冻结
  15828. type: number
  15829. freezemargin:
  15830. description: 冻结保证金
  15831. type: number
  15832. fromaccountid:
  15833. description: 所属上级账户
  15834. type: integer
  15835. holdcharge:
  15836. description: 今日持仓过夜费支出[108,109,110]
  15837. type: number
  15838. inamount:
  15839. description: 今日入金金额
  15840. type: number
  15841. interestcharge:
  15842. description: 今日递延费支出[103, 104]
  15843. type: number
  15844. ismain:
  15845. description: 是否账号 0:不是母账户 1:是母账户
  15846. type: integer
  15847. ismarketaccount:
  15848. description: 是否机构接单账号 0:不是 1:是
  15849. type: integer
  15850. isreckonaccount:
  15851. description: 是否机构分润账号 0:不是 1:是
  15852. type: integer
  15853. mortgagecredit:
  15854. description: 授信金额
  15855. type: number
  15856. netvalue:
  15857. description: 净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新
  15858. type: number
  15859. oridebt:
  15860. description: 期初欠款
  15861. type: number
  15862. orifreezecharge:
  15863. description: 期初手续费冻结
  15864. type: number
  15865. orifreezemargin:
  15866. description: 期初冻结保证金
  15867. type: number
  15868. orimortgagecredit:
  15869. description: 期初授信金额
  15870. type: number
  15871. oriothercredit:
  15872. description: 期初其它授信金额
  15873. type: number
  15874. oriotherfreezemargin:
  15875. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15876. type: number
  15877. orioutamountfreeze:
  15878. description: 期初出金冻结
  15879. type: number
  15880. oriusedmargin:
  15881. description: 期初占用保证金
  15882. type: number
  15883. othercredit:
  15884. description: 其它授信金额
  15885. type: number
  15886. othercreditdecrease:
  15887. description: 今日其它授信减少
  15888. type: number
  15889. othercreditincrease:
  15890. description: 今日其它授信增加
  15891. type: number
  15892. otherfreezemargin:
  15893. description: 其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15894. type: number
  15895. otherincome:
  15896. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  15897. type: number
  15898. otherpay:
  15899. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  15900. type: number
  15901. outamount:
  15902. description: 今日出金金额
  15903. type: number
  15904. outamountfreeze:
  15905. description: 出金冻结
  15906. type: number
  15907. outthreshold:
  15908. description: 出金阈值
  15909. type: number
  15910. ownershipvalue:
  15911. description: 所有权市值
  15912. type: number
  15913. parentaccountid:
  15914. description: 所属根账户
  15915. type: integer
  15916. password:
  15917. description: 资金密码
  15918. type: string
  15919. paycharge:
  15920. description: 今日手续费支出
  15921. type: number
  15922. paycharge2:
  15923. description: 今日手续费支出(外部配置)
  15924. type: number
  15925. payexchcharge:
  15926. description: 今日应付交易所手续费
  15927. type: number
  15928. reckondate:
  15929. description: 日照日期(yyyyMMdd)
  15930. type: string
  15931. reckonpl:
  15932. description: 今日结算盈亏
  15933. type: number
  15934. reckonpl2:
  15935. description: 结算盈亏(逐笔) - 汇总取期末
  15936. type: number
  15937. relatedaccountstatus:
  15938. description: 关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15939. type: integer
  15940. relateuserid:
  15941. description: 关联用户
  15942. type: integer
  15943. riskrate:
  15944. description: 风险率 = 占用/ 浮动净值 或 浮动净值/占用
  15945. type: number
  15946. signstatus:
  15947. description: 签约状态 - 1:未签约 2:已签约 3:已解约
  15948. type: integer
  15949. spotvalue:
  15950. description: 现货市值-统计服务更新
  15951. type: number
  15952. sublevelpath:
  15953. description: 账号层级路径(逗号分隔,首尾加逗号)
  15954. type: string
  15955. taaccounttype:
  15956. description: 外部/内部账号 - 1:外部账号 2:内部账号
  15957. type: integer
  15958. thirdinamount:
  15959. description: 今日三方入金
  15960. type: number
  15961. thirdoutamount:
  15962. description: 今日三方出金
  15963. type: number
  15964. tradeamount:
  15965. description: 今日成交金额
  15966. type: number
  15967. tradecharge:
  15968. description: 今日交易手续费支出 [101,102]
  15969. type: number
  15970. tradeqty:
  15971. description: 今日成交量
  15972. type: integer
  15973. tradestatus:
  15974. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)
  15975. type: integer
  15976. transferamount:
  15977. description: 今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)
  15978. type: number
  15979. usedmargin:
  15980. description: 占用保证金
  15981. type: number
  15982. userid:
  15983. description: 用户ID
  15984. type: integer
  15985. required:
  15986. - userid
  15987. type: object
  15988. models.Reckongzmemtradesum:
  15989. properties:
  15990. buylistingamount:
  15991. description: 买挂牌金额 - 无数据,预留
  15992. type: number
  15993. buylistinglot:
  15994. description: 买挂牌宗数
  15995. type: integer
  15996. buylistingqty:
  15997. description: 买挂牌数量 - 无数据,预留
  15998. type: number
  15999. buytradeamount:
  16000. description: 购买金额
  16001. type: number
  16002. buytradelot:
  16003. description: 购买宗数
  16004. type: integer
  16005. buytradeqty:
  16006. description: 购买数量
  16007. type: number
  16008. marketid:
  16009. description: 市场ID
  16010. type: integer
  16011. reckondate:
  16012. description: 日照日期(yyyyMMdd)
  16013. type: string
  16014. selllistingamount:
  16015. description: 卖挂牌金额
  16016. type: number
  16017. selllistinglot:
  16018. description: 卖挂牌宗数
  16019. type: integer
  16020. selllistingqty:
  16021. description: 卖挂牌数量
  16022. type: number
  16023. selltradeamount:
  16024. description: 销售金额
  16025. type: number
  16026. selltradelot:
  16027. description: 销售宗数
  16028. type: integer
  16029. selltradeqty:
  16030. description: 销售数量
  16031. type: number
  16032. updatetime:
  16033. description: 更新时间
  16034. type: string
  16035. userid:
  16036. description: 用户ID
  16037. type: integer
  16038. zscategory:
  16039. description: 钻石分类 - 枚举”ZSCategory“
  16040. type: integer
  16041. zscategorydisplay:
  16042. type: string
  16043. zscurrencytype:
  16044. description: 货币类型 - 枚举“ZSCurrencyType”
  16045. type: integer
  16046. zscurrencytypedisplay:
  16047. type: string
  16048. zscurrencytypedisplayunit:
  16049. type: string
  16050. required:
  16051. - userid
  16052. type: object
  16053. models.RelatedTaAccount:
  16054. properties:
  16055. accountid:
  16056. description: 资金账户ID
  16057. type: integer
  16058. type: object
  16059. models.RoleMenu:
  16060. properties:
  16061. hasright:
  16062. description: 是否有权限 0-没有权限 1-有权限
  16063. type: integer
  16064. iconame:
  16065. description: 菜单图标
  16066. type: string
  16067. menutype:
  16068. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  16069. type: integer
  16070. parentcode:
  16071. description: 上级资源代码
  16072. type: string
  16073. remark:
  16074. description: 菜单备注
  16075. type: string
  16076. resourcecode:
  16077. description: 菜单代码
  16078. type: string
  16079. resourcelevel:
  16080. description: 级别
  16081. type: integer
  16082. resourcename:
  16083. description: 菜单名称
  16084. type: string
  16085. roleid:
  16086. description: 角色id
  16087. type: integer
  16088. sort:
  16089. description: 排序
  16090. type: integer
  16091. subMenu:
  16092. description: 子级菜单(结构同上层一样, swag解析不出来)
  16093. items:
  16094. $ref: '#/definitions/models.RoleMenu'
  16095. type: array
  16096. url:
  16097. description: URL
  16098. type: string
  16099. userid:
  16100. description: 用户id
  16101. type: integer
  16102. type: object
  16103. models.SearchGoods:
  16104. properties:
  16105. goodscode:
  16106. description: 商品代码(内部)
  16107. type: string
  16108. goodsid:
  16109. description: 商品ID(自增ID SEQ_GOODS)
  16110. type: integer
  16111. goodsname:
  16112. description: 商品名称
  16113. type: string
  16114. marketid:
  16115. description: 所属市场ID
  16116. type: integer
  16117. marketname:
  16118. description: 市场名称
  16119. type: string
  16120. trademode:
  16121. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16122. 21:竞拍-大宗式 22:受托竞价
  16123. type: integer
  16124. required:
  16125. - goodscode
  16126. - goodsid
  16127. - goodsname
  16128. - marketid
  16129. - trademode
  16130. type: object
  16131. models.SellOrder:
  16132. properties:
  16133. accountid:
  16134. description: 资金账号
  16135. type: integer
  16136. applyid:
  16137. description: 申请单ID
  16138. type: integer
  16139. attachment1:
  16140. description: 附件1
  16141. type: string
  16142. attachment2:
  16143. description: 附件2
  16144. type: string
  16145. buyorsell:
  16146. description: 买卖 - 0:买 1:卖
  16147. type: integer
  16148. canbargain:
  16149. description: 是否可议价 - 0:不可 1:可
  16150. type: integer
  16151. cancelqty:
  16152. description: 撤销数量
  16153. type: integer
  16154. canceltime:
  16155. description: 撤销时间
  16156. type: string
  16157. cerno:
  16158. type: string
  16159. chargealgorithm:
  16160. description: 手续费收取方式 1:比率 2:固定
  16161. type: integer
  16162. chargealgorithmvalue:
  16163. description: 手续费设置值(交易所部分)
  16164. type: number
  16165. chargealgorithmvalue2:
  16166. description: 手续费设置值(会员部分)
  16167. type: number
  16168. clientordertime:
  16169. description: 客户端委托时间
  16170. type: string
  16171. cpcertno:
  16172. type: string
  16173. exchangerate:
  16174. description: 汇率[67]
  16175. type: number
  16176. firstratio:
  16177. description: 首付比率 - [挂牌时指定,摘牌时使用]
  16178. type: number
  16179. fixedprice:
  16180. description: '[克拉单价]固定价格 - [挂牌]'
  16181. type: number
  16182. freezecharge:
  16183. description: 冻结手续费
  16184. type: number
  16185. freezefirstamount:
  16186. description: 冻结首付金额 - [摘牌]
  16187. type: number
  16188. freezemargin:
  16189. description: 冻结保证金
  16190. type: number
  16191. goodsno:
  16192. description: 商品编号
  16193. type: string
  16194. imagepath:
  16195. type: string
  16196. isQueryDiamond:
  16197. description: 是否钻石查询
  16198. type: boolean
  16199. isspecified:
  16200. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16201. type: integer
  16202. kppath:
  16203. type: string
  16204. kpweight:
  16205. type: string
  16206. marginalgorithm:
  16207. description: 保证金方式 - 1:比率 2:固定
  16208. type: integer
  16209. marginvalue:
  16210. description: 保证金设置值
  16211. type: number
  16212. marketid:
  16213. description: 市场ID
  16214. type: integer
  16215. marketprice:
  16216. type: string
  16217. orderamount:
  16218. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  16219. type: number
  16220. ordertime:
  16221. description: 委托时间
  16222. type: string
  16223. performancetemplateid:
  16224. description: 履约计划模板ID
  16225. type: integer
  16226. price:
  16227. description: 价格
  16228. type: number
  16229. pricefactor:
  16230. description: 价格系数(浮动价时填写) - [挂牌]
  16231. type: number
  16232. pricemove:
  16233. description: 升贴水(浮动价时填写) - [挂牌]
  16234. type: number
  16235. priceper:
  16236. type: string
  16237. relatedwrtradeorderid:
  16238. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  16239. type: integer
  16240. remainqty:
  16241. description: 剩余重量
  16242. type: number
  16243. remark:
  16244. type: string
  16245. retcode:
  16246. description: 错误代码
  16247. type: integer
  16248. sellusername:
  16249. description: 卖方(查询字段-模糊查询)
  16250. type: string
  16251. settingmaterial:
  16252. description: 镶嵌材料
  16253. type: string
  16254. size1:
  16255. type: string
  16256. size2:
  16257. type: string
  16258. size3:
  16259. type: string
  16260. sizedisplay:
  16261. description: 尺寸
  16262. type: string
  16263. stonedesc:
  16264. description: 配石描述
  16265. type: string
  16266. totalqty:
  16267. description: 总重量
  16268. type: number
  16269. tradedate:
  16270. description: 交易日(yyyyMMdd)
  16271. type: string
  16272. tradeprice:
  16273. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  16274. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  16275. type: number
  16276. unfreezecharge:
  16277. description: 解冻手续费
  16278. type: number
  16279. unfreezefirstamount:
  16280. description: 解冻首付金额 - [摘牌]
  16281. type: number
  16282. unfreezemargin:
  16283. description: 解冻保证金
  16284. type: number
  16285. userid:
  16286. description: 用户ID
  16287. type: integer
  16288. uuid:
  16289. description: 发起端唯一id
  16290. type: string
  16291. validtime:
  16292. description: 有效期限
  16293. type: string
  16294. validtype:
  16295. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16296. type: integer
  16297. warehousenamedisplay:
  16298. type: string
  16299. wrbargainid:
  16300. description: 议价申请单ID
  16301. type: integer
  16302. wrfactortypeid:
  16303. description: 仓单要素类型ID/商品ID(77)
  16304. type: integer
  16305. wrpath:
  16306. type: string
  16307. wrpricetype:
  16308. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16309. type: integer
  16310. wrstandardid:
  16311. description: 现货商品ID
  16312. type: integer
  16313. wrtradeorderid:
  16314. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16315. type: string
  16316. wrtradeorderstatus:
  16317. 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:撤单解冻贷款失败
  16318. type: integer
  16319. wrtradetype:
  16320. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16321. type: integer
  16322. wrtransferuserid:
  16323. description: 仓单受让用户 - [摘牌]
  16324. type: integer
  16325. zscategory:
  16326. description: 钻石分类 - 枚举”ZSCategory“
  16327. type: integer
  16328. zscategorydisplay:
  16329. description: 钻石分类 - 描述
  16330. type: string
  16331. zscerttypedisplay:
  16332. type: string
  16333. zsclaritytype1display:
  16334. type: string
  16335. zsclaritytype2display:
  16336. type: string
  16337. zscolortype1display:
  16338. type: string
  16339. zscolortype2display:
  16340. type: string
  16341. zscrystaltype:
  16342. type: string
  16343. zscrystaltypedisplay:
  16344. type: string
  16345. zscurrencytype:
  16346. description: 货币类型 - 枚举“ZSCurrencyType”
  16347. type: integer
  16348. zscurrencytypedisplay:
  16349. type: string
  16350. zscurrencytypedisplayunit:
  16351. type: string
  16352. zscuttype1display:
  16353. type: string
  16354. zscuttype2display:
  16355. type: string
  16356. zsczcolor1typedisplay:
  16357. type: string
  16358. zsczcolor2typedisplay:
  16359. type: string
  16360. zsczcolor3typedisplay:
  16361. type: string
  16362. zsfluorescencetype1display:
  16363. type: string
  16364. zsfluorescencetype2display:
  16365. type: string
  16366. zspolishtype1display:
  16367. type: string
  16368. zspolishtype2display:
  16369. type: string
  16370. zsshapetypedisplay:
  16371. type: string
  16372. zsstyletypedisplay:
  16373. type: string
  16374. zssymmetrytype1display:
  16375. type: string
  16376. zssymmetrytype2display:
  16377. type: string
  16378. type: object
  16379. models.SellOrderQueryReq:
  16380. properties:
  16381. origin:
  16382. description: 原产地
  16383. type: string
  16384. page:
  16385. description: 页码
  16386. type: integer
  16387. pagesize:
  16388. description: 每页大小
  16389. type: integer
  16390. total:
  16391. description: 总条数
  16392. type: integer
  16393. warehouseid:
  16394. description: 仓库ID
  16395. type: integer
  16396. weight1:
  16397. description: 总重量(克拉重量)-从
  16398. type: number
  16399. weight2:
  16400. description: 总重量(克拉重量)-至
  16401. type: number
  16402. weightavg1:
  16403. description: 平均单颗重量-从
  16404. type: number
  16405. weightavg2:
  16406. description: 平均单颗重量-至
  16407. type: number
  16408. zscategory:
  16409. description: 钻石分类 - 枚举”ZSCategory“
  16410. type: integer
  16411. zscerttype:
  16412. description: 证书类型
  16413. items:
  16414. type: string
  16415. type: array
  16416. zsclaritytype:
  16417. description: 净度
  16418. items:
  16419. type: integer
  16420. type: array
  16421. zscolortype:
  16422. description: 颜色
  16423. items:
  16424. type: integer
  16425. type: array
  16426. zscurrencytype:
  16427. description: 货币类型 - 枚举“ZSCurrencyType”
  16428. items:
  16429. type: string
  16430. type: array
  16431. zscuttype:
  16432. description: 切工
  16433. items:
  16434. type: integer
  16435. type: array
  16436. zsczcolor1type:
  16437. description: 彩钻颜色1
  16438. items:
  16439. type: string
  16440. type: array
  16441. zsfluorescencetype:
  16442. description: 荧光
  16443. items:
  16444. type: integer
  16445. type: array
  16446. zspolishtype:
  16447. description: 抛光度
  16448. items:
  16449. type: integer
  16450. type: array
  16451. zsshapetype:
  16452. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  16453. items:
  16454. type: string
  16455. type: array
  16456. zsstyletype:
  16457. description: 款式
  16458. items:
  16459. type: string
  16460. type: array
  16461. zssymmetrytype:
  16462. description: 对称度
  16463. items:
  16464. type: integer
  16465. type: array
  16466. required:
  16467. - zscategory
  16468. type: object
  16469. models.Systemparam:
  16470. properties:
  16471. loginid:
  16472. description: 更新用户账号,登录账号
  16473. type: string
  16474. modifyflag:
  16475. description: 修改标志0 不允许修改 1 允许修改
  16476. type: integer
  16477. paramcode:
  16478. description: 参数代码
  16479. type: string
  16480. paramname:
  16481. description: 参数名
  16482. type: string
  16483. paramtype:
  16484. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  16485. type: integer
  16486. paramvalue:
  16487. description: 参数值
  16488. type: string
  16489. paramvalue2:
  16490. description: 参数值(CLOB)
  16491. type: string
  16492. regexpress:
  16493. description: 正则表达式
  16494. type: string
  16495. remark:
  16496. description: 备注
  16497. type: string
  16498. serverip:
  16499. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  16500. type: string
  16501. showflag:
  16502. description: 是否显示0 不显示 1 显示
  16503. type: integer
  16504. updatetime:
  16505. description: 更新时间
  16506. type: string
  16507. userid:
  16508. description: 更新用户ID
  16509. type: integer
  16510. required:
  16511. - paramcode
  16512. type: object
  16513. models.Szdz3convertconfig:
  16514. properties:
  16515. canin:
  16516. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  16517. type: integer
  16518. canout:
  16519. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  16520. type: integer
  16521. converttype:
  16522. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  16523. 6:交易转花生米(不设置)
  16524. type: integer
  16525. createtime:
  16526. description: 创建时间
  16527. type: string
  16528. creatorid:
  16529. description: 创建人
  16530. type: integer
  16531. daymaxvalue:
  16532. description: 当日最大转入限制
  16533. type: number
  16534. freezedays:
  16535. description: 冻结天数 [5:花生米转交易]
  16536. type: integer
  16537. innergoodsid:
  16538. description: 内部商品ID[交易]
  16539. type: integer
  16540. inratio:
  16541. description: 目标值
  16542. type: integer
  16543. modifierid:
  16544. description: 修改人
  16545. type: integer
  16546. modifytime:
  16547. description: 修改时间
  16548. type: string
  16549. outergoodscode:
  16550. description: 外部商品代码[JD\PD]
  16551. type: string
  16552. outratio:
  16553. description: 源值
  16554. type: integer
  16555. pddecimalplace:
  16556. description: PD小数位
  16557. type: integer
  16558. timemaxvalue:
  16559. description: 单次最大转入限制
  16560. type: number
  16561. timeminvalue:
  16562. description: 单次最小转入限制
  16563. type: number
  16564. required:
  16565. - converttype
  16566. - innergoodsid
  16567. - outergoodscode
  16568. type: object
  16569. models.Szdz3searchwhitelist:
  16570. properties:
  16571. createtime:
  16572. description: 创建时间
  16573. type: string
  16574. creatorid:
  16575. description: 创建人
  16576. type: integer
  16577. modifierid:
  16578. description: 修改人
  16579. type: integer
  16580. modifytime:
  16581. description: 修改时间
  16582. type: string
  16583. userid:
  16584. description: 用户ID
  16585. type: integer
  16586. required:
  16587. - userid
  16588. type: object
  16589. models.TBGoods:
  16590. properties:
  16591. agreeunit:
  16592. description: 合约乘数
  16593. type: number
  16594. enumdicname:
  16595. description: 单位名称
  16596. type: string
  16597. goodscode:
  16598. description: 商品代码(内部)
  16599. type: string
  16600. goodsid:
  16601. description: 商品ID(自增ID SEQ_GOODS)
  16602. type: integer
  16603. goodsname:
  16604. description: 商品名称
  16605. type: string
  16606. type: object
  16607. models.TBGoodsGroup:
  16608. properties:
  16609. GDLST:
  16610. description: 商品列表
  16611. items:
  16612. $ref: '#/definitions/models.TBGoods'
  16613. type: array
  16614. convertratio:
  16615. description: 折算系数
  16616. type: number
  16617. enumdicname:
  16618. description: 单位名称
  16619. type: string
  16620. exexchangecode:
  16621. description: 交易所代码
  16622. type: string
  16623. exexchangename:
  16624. description: 交易所名称
  16625. type: string
  16626. goodsgroupid:
  16627. description: 商品组ID(自增ID)
  16628. type: integer
  16629. goodsgroupname:
  16630. description: 商品组名称
  16631. type: string
  16632. goodunitid:
  16633. description: 报价单位ID
  16634. type: integer
  16635. type: object
  16636. models.TBMiddleGoods:
  16637. properties:
  16638. GPLST:
  16639. description: 期货品种列表
  16640. items:
  16641. $ref: '#/definitions/models.TBGoodsGroup'
  16642. type: array
  16643. WDLST:
  16644. description: 商品信息列表(现货品类)
  16645. items:
  16646. $ref: '#/definitions/models.TBWrstandard'
  16647. type: array
  16648. areauserid:
  16649. description: 机构用户ID
  16650. type: integer
  16651. enumdicname:
  16652. description: 单位名称
  16653. type: string
  16654. goodsunitid:
  16655. description: 套保品种单位id
  16656. type: integer
  16657. middlegoodscode:
  16658. description: 套保品种代码
  16659. type: string
  16660. middlegoodsid:
  16661. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  16662. type: integer
  16663. middlegoodsname:
  16664. description: 套保品种名称
  16665. type: string
  16666. needarbitrageratio:
  16667. description: 套利比率
  16668. type: number
  16669. needhedgeratio:
  16670. description: 套保比率
  16671. type: number
  16672. type: object
  16673. models.TBWrstandard:
  16674. properties:
  16675. convertratio:
  16676. description: 折算系数
  16677. type: number
  16678. deliverygoodsname:
  16679. description: 品种名称
  16680. type: string
  16681. enumdicname:
  16682. description: 单位名称
  16683. type: string
  16684. vatrate:
  16685. description: 增值税率
  16686. type: number
  16687. wrstandardcode:
  16688. description: 现货商品代码
  16689. type: string
  16690. wrstandardid:
  16691. description: 现货商品ID(SEQ_WRSTANDARD)
  16692. type: integer
  16693. wrstandardname:
  16694. description: 现货商品名称
  16695. type: string
  16696. type: object
  16697. models.Taaccount:
  16698. properties:
  16699. accountflag:
  16700. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  16701. type: integer
  16702. accountid:
  16703. description: 资金账户ID
  16704. type: integer
  16705. accountname:
  16706. description: 账户名称
  16707. type: string
  16708. balance:
  16709. description: 期初余额
  16710. type: number
  16711. capitalbalance:
  16712. description: 本金余额[外部子账户实际出入金余额]
  16713. type: number
  16714. changeflag:
  16715. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  16716. type: integer
  16717. changetime:
  16718. description: 账户状态变更时间
  16719. type: string
  16720. closepl:
  16721. description: 今日平仓盈亏
  16722. type: number
  16723. creditdecrease:
  16724. description: 今日授信减少
  16725. type: number
  16726. creditincrease:
  16727. description: 今日授信增加
  16728. type: number
  16729. curamount:
  16730. description: 总市值(从持仓中统计)
  16731. type: number
  16732. currencyid:
  16733. description: 货币ID
  16734. type: integer
  16735. currentbalance:
  16736. description: 期末余额
  16737. type: number
  16738. freezecharge:
  16739. description: 手续费冻结
  16740. type: number
  16741. freezemargin:
  16742. description: 冻结保证金
  16743. type: number
  16744. fromaccountid:
  16745. description: 所属上级账户
  16746. type: integer
  16747. inamount:
  16748. description: 今日入金金额(包括三方入金)
  16749. type: number
  16750. ismain:
  16751. description: 是否母账号 0:不是母账户 1:是母账户
  16752. type: integer
  16753. ismarketaccount:
  16754. description: 是否机构接单账号 0:不是 1:是
  16755. type: integer
  16756. isreckonaccount:
  16757. description: 是否机构分润账号 0:不是 1:是
  16758. type: integer
  16759. mortgagecredit:
  16760. description: 授信金额
  16761. type: number
  16762. orifreezecharge:
  16763. description: 期初手续费冻结
  16764. type: number
  16765. orifreezemargin:
  16766. description: 期初冻结保证金
  16767. type: number
  16768. orimortgagecredit:
  16769. description: 期初授信金额
  16770. type: number
  16771. oriothercredit:
  16772. description: 期初其它授信金额
  16773. type: number
  16774. oriotherfreezemargin:
  16775. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  16776. type: number
  16777. orioutamountfreeze:
  16778. description: 期初出金冻结
  16779. type: number
  16780. oriusedmargin:
  16781. description: 期初占用保证金
  16782. type: number
  16783. othercredit:
  16784. description: 其它授信金额
  16785. type: number
  16786. othercreditdecrease:
  16787. description: 今日其它授信减少
  16788. type: number
  16789. othercreditincrease:
  16790. description: 今日其它授信增加
  16791. type: number
  16792. otherfreezemargin:
  16793. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  16794. type: number
  16795. otherincome:
  16796. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  16797. type: number
  16798. otherpay:
  16799. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  16800. type: number
  16801. outamount:
  16802. description: 今日出金金额(包括三方出金)
  16803. type: number
  16804. outamountfreeze:
  16805. description: 出金冻结
  16806. type: number
  16807. outthreshold:
  16808. description: 出金阈值
  16809. type: number
  16810. parentaccountid:
  16811. description: 所属根账号
  16812. type: integer
  16813. paycharge:
  16814. description: 今日手续费支出
  16815. type: number
  16816. relatedaccountstatus:
  16817. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  16818. type: integer
  16819. relateduserid:
  16820. description: 关联用户
  16821. type: integer
  16822. remainamount:
  16823. description: 融资额(从融资合同中统计)
  16824. type: number
  16825. serivcegroup:
  16826. description: 服务分组
  16827. type: integer
  16828. signstatus:
  16829. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  16830. type: integer
  16831. sublevelpath:
  16832. description: 账号层级路径(逗号分隔,首尾加逗号)
  16833. type: string
  16834. taaccounttype:
  16835. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  16836. type: integer
  16837. thirdinamount:
  16838. description: 今日三方入金
  16839. type: number
  16840. thirdoutamount:
  16841. description: 今日三方出金
  16842. type: number
  16843. tradestatus:
  16844. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  16845. type: integer
  16846. tradestatuschangetime:
  16847. description: 激活时间
  16848. type: string
  16849. transferamount:
  16850. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  16851. type: number
  16852. usedmargin:
  16853. description: 占用保证金
  16854. type: number
  16855. userid:
  16856. description: 用户ID
  16857. type: integer
  16858. required:
  16859. - accountid
  16860. - userid
  16861. type: object
  16862. models.Tablecolumnconfig:
  16863. properties:
  16864. aligntype:
  16865. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  16866. type: integer
  16867. autoid:
  16868. description: AutoID
  16869. type: integer
  16870. columnfield:
  16871. description: 列字段
  16872. type: string
  16873. columntitle:
  16874. description: 列Title
  16875. type: string
  16876. columnwidth:
  16877. description: 列宽
  16878. type: string
  16879. fixed:
  16880. description: 固定类型 - 空 | left | right
  16881. type: string
  16882. formatterstring:
  16883. description: 格式化字符
  16884. type: string
  16885. formattertype:
  16886. description: 格式化类型
  16887. type: string
  16888. groupname:
  16889. description: 表头分组名称
  16890. type: string
  16891. ismerge:
  16892. description: 是否合并显示 - 0:不合并 1:合并
  16893. type: integer
  16894. isshow:
  16895. description: 是否显示 - 0:不显示 1:显示
  16896. type: integer
  16897. needsummary:
  16898. description: 是否需要汇总 - 0:不需要 1:需要
  16899. type: integer
  16900. orderindex:
  16901. description: 顺序
  16902. type: integer
  16903. remark:
  16904. description: 备注
  16905. type: string
  16906. summarytype:
  16907. description: 汇总类型 - 1:加总 2:最后一个
  16908. type: integer
  16909. tablekey:
  16910. description: 列表Key
  16911. type: string
  16912. required:
  16913. - autoid
  16914. type: object
  16915. models.TjmdHolderDetailTradeInfo:
  16916. properties:
  16917. agreeunit:
  16918. description: 合约乘数
  16919. type: number
  16920. buyaccountid:
  16921. description: 买方账户
  16922. type: string
  16923. buyusername:
  16924. description: 买方
  16925. type: string
  16926. delistingdate:
  16927. description: 最后结算日
  16928. type: string
  16929. expiredate:
  16930. description: 到期结算价定价日
  16931. type: string
  16932. exprieprice:
  16933. description: 到期清算价格
  16934. type: string
  16935. goodscode:
  16936. description: 商品代码
  16937. type: string
  16938. goodsid:
  16939. description: 商品ID
  16940. type: integer
  16941. goodsname:
  16942. description: 商品名称(交易标的)
  16943. type: string
  16944. lasttradedate:
  16945. description: 最后交易日
  16946. type: string
  16947. listingdate:
  16948. description: 开始交易日
  16949. type: string
  16950. openprice:
  16951. description: 成交价
  16952. type: number
  16953. openqty:
  16954. description: 交易数量
  16955. type: integer
  16956. sellaccountid:
  16957. description: 卖方账户
  16958. type: string
  16959. sellusername:
  16960. description: 卖方
  16961. type: string
  16962. tradeamount:
  16963. description: 初始名义价值
  16964. type: number
  16965. tradedate:
  16966. description: 成交日期
  16967. type: string
  16968. tradeid:
  16969. description: 成交编号
  16970. type: string
  16971. type: object
  16972. models.TjmdMarketSection:
  16973. properties:
  16974. marketsectionid:
  16975. description: 市场版块ID(SEQ_MARKETSECTION)
  16976. type: integer
  16977. marketsectionname:
  16978. description: 市场版块名称
  16979. type: string
  16980. mlist:
  16981. description: 市场列表(板块下面有多少个市场)
  16982. items:
  16983. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  16984. type: array
  16985. orderindex:
  16986. description: 排序
  16987. type: integer
  16988. pictureurl:
  16989. description: 图片url, 规格(90*90)
  16990. type: string
  16991. remark:
  16992. description: 备注
  16993. type: string
  16994. type: object
  16995. models.TjmdMarketSectionConfig:
  16996. properties:
  16997. auctionwrtype:
  16998. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  16999. type: integer
  17000. canacceptquote:
  17001. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  17002. type: integer
  17003. cangoodsexercise:
  17004. description: '[期权]是否可现货行权- 0:否 1:是'
  17005. type: integer
  17006. cangoodsexercisetype:
  17007. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  17008. type: integer
  17009. canmanualquotestrike:
  17010. description: 是否可手动报行权价- 0:否 1:是 [期权]
  17011. type: integer
  17012. canmutistage:
  17013. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  17014. type: integer
  17015. canpreexercise:
  17016. description: '[期权]是否可预申报- 0:否 1:是'
  17017. type: integer
  17018. clearinterval:
  17019. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  17020. type: integer
  17021. contracttmp:
  17022. description: 合同模板[荷兰式][竞价式][仓单贸易]
  17023. type: string
  17024. exchareaid:
  17025. description: 所属交易所,可以没有
  17026. type: integer
  17027. financemarketid:
  17028. description: 融资回购市场ID [仓单贸易]
  17029. type: integer
  17030. goodstype:
  17031. description: 商品类型 - 1:交易商品 2:仓单商品
  17032. type: integer
  17033. hasrebate:
  17034. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  17035. type: integer
  17036. hastradecredit:
  17037. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  17038. type: integer
  17039. haswr:
  17040. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  17041. type: integer
  17042. isdeductmargin:
  17043. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  17044. type: integer
  17045. isrecordsource:
  17046. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  17047. type: integer
  17048. isreleasemargin:
  17049. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  17050. type: integer
  17051. isupdatereckonprice:
  17052. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  17053. type: integer
  17054. listingmode:
  17055. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  17056. type: integer
  17057. marginformula:
  17058. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  17059. type: integer
  17060. marginformula2:
  17061. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  17062. type: integer
  17063. marketid:
  17064. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  17065. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  17066. type: integer
  17067. marketname:
  17068. description: 市场名称
  17069. type: string
  17070. marketsectionid:
  17071. description: 市场版块ID(SEQ_MARKETSECTION)
  17072. type: integer
  17073. marketserviceid:
  17074. description: 市场服务ID
  17075. type: integer
  17076. marketstatus:
  17077. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  17078. type: integer
  17079. markettype:
  17080. description: 市场类型- 1:非交易服务 2:交易服务
  17081. type: integer
  17082. matchermode:
  17083. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  17084. type: integer
  17085. nowrquotaflag:
  17086. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  17087. type: integer
  17088. openmethod:
  17089. description: 开盘模式 - 0 自动 1手动
  17090. type: integer
  17091. orderindex:
  17092. description: 排序
  17093. type: integer
  17094. otcuserid:
  17095. description: 场外期权做市商[场外期权]
  17096. type: integer
  17097. outersynctime:
  17098. description: 外部同步时间点(h24:mi:ss)[场外期权]
  17099. type: string
  17100. paylaterflag:
  17101. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  17102. type: integer
  17103. pendingflag:
  17104. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  17105. type: integer
  17106. pendingtime:
  17107. description: 待开市时间[通道交易-对冲](HH:mm)
  17108. type: string
  17109. performancetempid:
  17110. description: 履约计划模板ID - 作废
  17111. type: integer
  17112. premiumquotemode:
  17113. description: 权利金报价方式 - 1:自动 2:手动
  17114. type: integer
  17115. rebateratio:
  17116. description: 返利比率[竞价式]
  17117. type: number
  17118. reckonorder:
  17119. description: 结算顺序
  17120. type: integer
  17121. reckonpricealgorithm:
  17122. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  17123. 6.卖一价 7.买一卖一均价 8.外部结算价'
  17124. type: integer
  17125. reckonpriceparam:
  17126. description: 结算价参数
  17127. type: integer
  17128. reckontime:
  17129. description: 结算时间[通道交易-对冲](HH:mm)
  17130. type: string
  17131. roleprioritytype:
  17132. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  17133. type: integer
  17134. selllistingauditflag:
  17135. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  17136. type: integer
  17137. trademarkettype:
  17138. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  17139. type: integer
  17140. trademode:
  17141. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17142. 21:竞拍-大宗式 22:受托竞价
  17143. type: integer
  17144. tradeproperty:
  17145. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  17146. 8:场外期权
  17147. type: integer
  17148. tradetype:
  17149. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  17150. type: integer
  17151. updatereckonpriceinterval:
  17152. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  17153. type: integer
  17154. type: object
  17155. models.TjmdQuoteGoods:
  17156. properties:
  17157. buyqty:
  17158. description: 买量(暂不做, 无值, 保留字段)
  17159. type: number
  17160. decimalplace:
  17161. description: 报价小数位
  17162. type: integer
  17163. goodscode:
  17164. description: 合约代码
  17165. type: string
  17166. goodsgroupid:
  17167. description: 商品组ID(自增ID)
  17168. type: integer
  17169. goodsgroupname:
  17170. description: 商品组名称
  17171. type: string
  17172. goodsid:
  17173. description: 合约id
  17174. type: integer
  17175. goodsname:
  17176. description: 合约名称
  17177. type: string
  17178. refgoodscode:
  17179. description: 标的合约代码
  17180. type: string
  17181. refgoodsid:
  17182. description: 标的合约id
  17183. type: integer
  17184. refgoodsname:
  17185. description: 标的合约名称
  17186. type: string
  17187. sellqty:
  17188. description: 卖量(暂不做, 无值, 保留字段)
  17189. type: number
  17190. type: object
  17191. models.TjmdTodayAccountMargin:
  17192. properties:
  17193. accountid:
  17194. description: 账号ID
  17195. type: integer
  17196. goodsid:
  17197. description: 商品ID
  17198. type: integer
  17199. infoc:
  17200. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  17201. description: 配置参数
  17202. marketid:
  17203. description: 市场ID
  17204. type: integer
  17205. type: object
  17206. models.TjmdTradeOrderDetail:
  17207. properties:
  17208. buyorsell:
  17209. description: 买卖方向 0-买 1-卖
  17210. type: integer
  17211. goodsid:
  17212. description: 商品id
  17213. type: integer
  17214. marketmaxsub:
  17215. description: 市价最大偏移范围 [浮动价 - 点差]
  17216. type: number
  17217. orderid:
  17218. description: 委托单号
  17219. type: string
  17220. orderprice:
  17221. description: 期初均价
  17222. type: number
  17223. orderqty:
  17224. description: 委托数量
  17225. type: integer
  17226. pricemode:
  17227. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  17228. type: integer
  17229. userid:
  17230. description: 用户id
  17231. type: integer
  17232. username:
  17233. description: 用户名称(已脱敏)
  17234. type: string
  17235. type: object
  17236. models.TjmdTransferApply:
  17237. properties:
  17238. applyid:
  17239. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  17240. type: integer
  17241. applystatus:
  17242. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  17243. type: integer
  17244. applytime:
  17245. description: 申请时间(时间)
  17246. type: string
  17247. auditremark:
  17248. description: 审核备注(拒绝原因?)
  17249. type: string
  17250. begindate:
  17251. description: 开始交易日(yyyymmdd)
  17252. type: string
  17253. buyorsell:
  17254. description: 买卖 - 0:买 1:卖
  17255. type: integer
  17256. enddate:
  17257. description: 结束交易日(yyyymmdd)
  17258. type: string
  17259. goodscode:
  17260. description: 商品代码
  17261. type: string
  17262. goodsid:
  17263. description: 商品ID
  17264. type: integer
  17265. goodsname:
  17266. description: 商品名称
  17267. type: string
  17268. marketid:
  17269. description: 市场ID
  17270. type: integer
  17271. qty:
  17272. description: 期初均价
  17273. type: number
  17274. tradeid:
  17275. description: 成交单号(关联持仓)
  17276. type: string
  17277. transferamount:
  17278. description: 转让总金额(金额)
  17279. type: number
  17280. transferprice:
  17281. description: 转让价格(协议价格)
  17282. type: number
  17283. type: object
  17284. models.TradeHolderDetail:
  17285. properties:
  17286. accountid:
  17287. description: 账号ID
  17288. type: integer
  17289. agreeunit:
  17290. description: 合约乘数
  17291. type: number
  17292. buyorsell:
  17293. description: 方向 - 0:买 1:卖
  17294. type: integer
  17295. currencyid:
  17296. description: 商品币种id
  17297. type: integer
  17298. currencyname:
  17299. description: 币种名称
  17300. type: string
  17301. decimalplace:
  17302. description: 商品价格小数位
  17303. type: integer
  17304. enumdicname:
  17305. description: 商品单位名称
  17306. type: string
  17307. expirecycle:
  17308. description: 行权周期(天) - 1:滚动行权时填写
  17309. type: integer
  17310. expiredate:
  17311. description: 行权日(yyyyMMdd) - 到期日
  17312. type: string
  17313. expiretype:
  17314. description: 行权日类型 - 1:滚动行权 2:固定日行权
  17315. type: integer
  17316. freezeqty:
  17317. description: 期初均价
  17318. type: number
  17319. goodscode:
  17320. description: 商品代码
  17321. type: string
  17322. goodsid:
  17323. description: 商品ID
  17324. type: integer
  17325. goodsname:
  17326. description: 商品名称
  17327. type: string
  17328. goodunitid:
  17329. description: 商品单位id
  17330. type: integer
  17331. holderamount:
  17332. description: 持仓金额
  17333. type: number
  17334. holdercredit:
  17335. description: 持仓授信金额
  17336. type: number
  17337. holderdays:
  17338. description: 剩余冻结天数
  17339. type: integer
  17340. holderprice:
  17341. description: 持仓价格
  17342. type: number
  17343. holderqty:
  17344. description: 期初均价
  17345. type: number
  17346. isconfirmexercise:
  17347. description: 是否确认行权- 0:否 1:是
  17348. type: integer
  17349. ispreexercise:
  17350. description: 是否预申报- 0:否 1:是 2:不可行权
  17351. type: integer
  17352. marketid:
  17353. description: 市场id
  17354. type: integer
  17355. marketname:
  17356. description: 市场名称
  17357. type: string
  17358. openprice:
  17359. description: 建仓价格
  17360. type: number
  17361. openqty:
  17362. description: 期初均价
  17363. type: number
  17364. optiontype:
  17365. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17366. type: integer
  17367. preexerciseprice:
  17368. description: 预申报价格
  17369. type: number
  17370. premium:
  17371. description: 权利金
  17372. type: number
  17373. qtydecimalplace:
  17374. description: 商品成交量小数位
  17375. type: integer
  17376. refgoodscode:
  17377. description: 标的合约代码
  17378. type: string
  17379. refgoodsid:
  17380. description: 标的合约id
  17381. type: integer
  17382. releaseamount:
  17383. description: 释放持仓金额
  17384. type: number
  17385. releaseholdercredit:
  17386. description: 释放持仓授信金额
  17387. type: number
  17388. taname:
  17389. description: 资金账号名称
  17390. type: string
  17391. tradeamount:
  17392. description: 成交金额
  17393. type: number
  17394. tradedate:
  17395. description: 交易日(yyyyMMdd)
  17396. type: string
  17397. tradeid:
  17398. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17399. type: string
  17400. trademode:
  17401. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17402. 21:竞拍-大宗式 22:受托竞价 46:掉期
  17403. type: integer
  17404. tradeproperty:
  17405. description: 交易属性
  17406. type: integer
  17407. tradetime:
  17408. description: 交易时间
  17409. type: string
  17410. userid:
  17411. description: 用户id
  17412. type: integer
  17413. username:
  17414. description: 用户名称
  17415. type: string
  17416. type: object
  17417. models.Unlinkermcphedgeplan:
  17418. properties:
  17419. accountid:
  17420. description: 期货账户ID - 作废
  17421. type: integer
  17422. accountname:
  17423. description: 交易用户
  17424. type: string
  17425. applyid:
  17426. description: 申请人
  17427. type: integer
  17428. applysrc:
  17429. description: 申请来源 - 1:管理端 2:终端
  17430. type: integer
  17431. applytime:
  17432. description: 申请时间
  17433. type: string
  17434. areauserid:
  17435. description: '[企业ID]机构ID'
  17436. type: integer
  17437. auditid:
  17438. description: 审核人
  17439. type: integer
  17440. auditremark:
  17441. description: 审核备注
  17442. type: string
  17443. auditsrc:
  17444. description: 审核来源 - 1:管理端 2:终端
  17445. type: integer
  17446. audittime:
  17447. description: 审核时间
  17448. type: string
  17449. audittradedate:
  17450. description: 审核交易日(yyyyMMdd)
  17451. type: string
  17452. biztype:
  17453. description: 业务类型 - 1:套保
  17454. type: integer
  17455. contracttype:
  17456. description: 计划类型 - 1:采购 -1:销售
  17457. type: integer
  17458. convertfactor:
  17459. description: 标仓系数 - 作废
  17460. type: number
  17461. createtime:
  17462. description: 创建时间
  17463. type: string
  17464. currencyid:
  17465. description: 结算币种ID - 作废
  17466. type: integer
  17467. deliverygoodsid:
  17468. description: 现货品种ID
  17469. type: integer
  17470. enumdicname:
  17471. description: 结算币种
  17472. type: string
  17473. hedgeplanid:
  17474. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  17475. type: string
  17476. hedgeplanno:
  17477. description: '[计划编号]套保计划编号,模糊查询'
  17478. type: string
  17479. hedgeplanstatus:
  17480. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  17481. type: integer
  17482. isrelated:
  17483. description: 是否已关联计划项目 - 0:否 1:是
  17484. type: integer
  17485. planqty:
  17486. description: '[计划量]计划数量'
  17487. type: number
  17488. plantime:
  17489. description: 计划时间
  17490. type: string
  17491. producttype:
  17492. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  17493. type: integer
  17494. remark:
  17495. description: 备注
  17496. type: string
  17497. spotgoodsdesc:
  17498. description: 商品型号
  17499. type: string
  17500. tradedate:
  17501. description: 交易日(yyyyMMdd)
  17502. type: string
  17503. tradeuserid:
  17504. description: 交易用户ID
  17505. type: integer
  17506. updatetime:
  17507. description: 更新时间
  17508. type: string
  17509. wrstandardid:
  17510. description: 现货商品ID
  17511. type: integer
  17512. wrstandardname:
  17513. description: 现货商品,模糊查询
  17514. type: string
  17515. required:
  17516. - areauserid
  17517. type: object
  17518. models.UserCollectConfig:
  17519. properties:
  17520. accountstatus:
  17521. description: 账户状态 - 1:正常 2:停用 3:注销
  17522. type: integer
  17523. collectaccountname:
  17524. description: 收款人账户名称
  17525. type: string
  17526. collectaccountno:
  17527. description: 收款人账户
  17528. type: string
  17529. collectbankname:
  17530. description: 收款人开户行
  17531. type: string
  17532. collectbranchbankname:
  17533. description: 收款人开户支行
  17534. type: string
  17535. collectconfigid:
  17536. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  17537. type: string
  17538. remark:
  17539. description: 备注
  17540. type: string
  17541. userid:
  17542. description: 收款人用户ID
  17543. type: integer
  17544. type: object
  17545. models.UserReceiveInfo:
  17546. properties:
  17547. address:
  17548. description: 提货人详细地址
  17549. type: string
  17550. autoid:
  17551. description: AutoID
  17552. type: integer
  17553. cardnum:
  17554. description: 证件号码(加密存储)
  17555. type: string
  17556. cardtypeid:
  17557. description: 证件类型
  17558. type: integer
  17559. cityid:
  17560. description: 市
  17561. type: integer
  17562. cityname:
  17563. description: 城市名称
  17564. type: string
  17565. countryid:
  17566. description: 国家
  17567. type: integer
  17568. countryname:
  17569. description: 国家名称
  17570. type: string
  17571. districtid:
  17572. description: 地区
  17573. type: integer
  17574. districtname:
  17575. description: 地区名称
  17576. type: string
  17577. hasencrypt:
  17578. description: 数据是否已加密 - 0:未加密 1:已加密
  17579. type: integer
  17580. isdefault:
  17581. description: 是否默认地址 - 0:否 1:是
  17582. type: integer
  17583. phonenum:
  17584. description: 提货人联系方式(加密存储)
  17585. type: string
  17586. provinceid:
  17587. description: 省
  17588. type: integer
  17589. provincename:
  17590. description: 省名称
  17591. type: string
  17592. receivername:
  17593. description: 提货人姓名
  17594. type: string
  17595. takeremark:
  17596. description: 提货备注
  17597. type: string
  17598. userid:
  17599. description: 用户ID
  17600. type: integer
  17601. type: object
  17602. models.Useraccount:
  17603. properties:
  17604. accountname:
  17605. description: 账户名称(机构名称)
  17606. type: string
  17607. accountstatus:
  17608. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  17609. type: integer
  17610. applysrc:
  17611. description: 申请来源 - 1:管理端 2:终端
  17612. type: integer
  17613. auditremark:
  17614. description: 审核备注
  17615. type: string
  17616. auditsrc:
  17617. description: 审核来源 - 1:管理端 2:终端
  17618. type: integer
  17619. audittime:
  17620. description: 审核时间
  17621. type: string
  17622. audituserid:
  17623. description: 审核人
  17624. type: integer
  17625. broker:
  17626. description: 所属经纪人ID
  17627. type: integer
  17628. canceltime:
  17629. description: 销户时间
  17630. type: string
  17631. canceluserid:
  17632. description: 销户人
  17633. type: integer
  17634. canrecommend:
  17635. description: 是否可推荐 - 0:不可 1;可
  17636. type: integer
  17637. createtime:
  17638. description: 创建时间
  17639. type: string
  17640. creatorid:
  17641. description: 创建人
  17642. type: integer
  17643. hasauth:
  17644. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  17645. type: integer
  17646. isanonymous:
  17647. description: 是否匿名下单 - 0:否 1:是
  17648. type: integer
  17649. maxinvestornum:
  17650. description: 最大用户数(经纪会员下投资者个数)
  17651. type: integer
  17652. memberuserid:
  17653. description: 所属会员ID
  17654. type: integer
  17655. modifierid:
  17656. description: 修改人
  17657. type: integer
  17658. modifyremark:
  17659. description: 变更备注
  17660. type: string
  17661. modifystatus:
  17662. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  17663. type: integer
  17664. modifytime:
  17665. description: 修改时间
  17666. type: string
  17667. parenttopuser:
  17668. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  17669. type: string
  17670. parentuserid:
  17671. description: 所属机构ID
  17672. type: integer
  17673. reckonaccountid:
  17674. description: 默认结算资金账号ID(机构分润使用) 作废
  17675. type: integer
  17676. refercount:
  17677. description: 推荐总人数
  17678. type: integer
  17679. refereeuserid:
  17680. description: 推荐人ID
  17681. type: integer
  17682. refernum:
  17683. description: 推荐码
  17684. type: string
  17685. rootuserid:
  17686. description: 根用户ID
  17687. type: integer
  17688. subaccountlevel:
  17689. description: 子账户层数
  17690. type: integer
  17691. subarealevelpath:
  17692. description: 子机构层级路径(逗号分隔,首尾加逗号)
  17693. type: string
  17694. userid:
  17695. description: 用户ID
  17696. type: integer
  17697. usertype:
  17698. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  17699. type: integer
  17700. required:
  17701. - userid
  17702. type: object
  17703. models.Userfavoritegoods:
  17704. properties:
  17705. goodsid:
  17706. description: 商品ID
  17707. type: integer
  17708. required:
  17709. - goodsid
  17710. type: object
  17711. models.Userinfo:
  17712. properties:
  17713. address:
  17714. description: 地址
  17715. type: string
  17716. attachment1:
  17717. description: 附件1
  17718. type: string
  17719. attachment2:
  17720. description: 附件2
  17721. type: string
  17722. bankaccount:
  17723. description: 银行帐号 (加密存储)
  17724. type: string
  17725. bankaccountname:
  17726. description: 收款人名称
  17727. type: string
  17728. bankcardfrontphotourl:
  17729. description: 银行卡正面照地址
  17730. type: string
  17731. bankid:
  17732. description: 银行编码
  17733. type: string
  17734. bankname:
  17735. description: 银行名称
  17736. type: string
  17737. biznature:
  17738. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17739. type: integer
  17740. bizscope:
  17741. description: 企业经营范围(企业)
  17742. type: string
  17743. cardbackphotourl:
  17744. description: 证件背面图片地址
  17745. type: string
  17746. cardfrontphotourl:
  17747. description: 证件正面图片地址
  17748. type: string
  17749. cardnum:
  17750. description: 证件号码(加密存储)
  17751. type: string
  17752. cardtypeid:
  17753. description: 证件类型ID
  17754. type: integer
  17755. cityid:
  17756. description: 市
  17757. type: integer
  17758. company:
  17759. description: 公司(个人)
  17760. type: string
  17761. contactname:
  17762. description: 联系人
  17763. type: string
  17764. countryid:
  17765. description: 国家
  17766. type: integer
  17767. createtime:
  17768. description: 创建时间
  17769. type: string
  17770. creatorid:
  17771. description: 创建人
  17772. type: integer
  17773. customername:
  17774. description: 客户名称(企业名称)
  17775. type: string
  17776. districtid:
  17777. description: 地区
  17778. type: integer
  17779. email:
  17780. description: 邮件(加密存储)
  17781. type: string
  17782. fax:
  17783. description: 传真(加密存储)
  17784. type: string
  17785. halfbodyphotourl:
  17786. description: 半身照地址
  17787. type: string
  17788. hasencrypt:
  17789. description: 数据是否已加密 - 0:未加密 1:已加密
  17790. type: integer
  17791. headurl:
  17792. description: 头像地址
  17793. type: string
  17794. legalcardbackphotourl:
  17795. description: 法人身份证背面照地址
  17796. type: string
  17797. legalcardfrontphotourl:
  17798. description: 法人身份证正面照地址
  17799. type: string
  17800. legalpersonname:
  17801. description: 法人姓名(企业)
  17802. type: string
  17803. mobile:
  17804. description: 手机号码(加密存储)
  17805. type: string
  17806. mobile2:
  17807. description: 手机号码[明文-尚志]
  17808. type: string
  17809. modifierid:
  17810. description: 修改人
  17811. type: integer
  17812. modifiertime:
  17813. description: 修改时间
  17814. type: string
  17815. needinvoice:
  17816. description: 是否需要发票 - 0:不需要 1:需要
  17817. type: integer
  17818. nickname:
  17819. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17820. type: string
  17821. openmode:
  17822. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  17823. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  17824. type: integer
  17825. otherurl:
  17826. description: 其它图片地址[使用分号分隔]
  17827. type: string
  17828. postalcode:
  17829. description: 邮政编码
  17830. type: string
  17831. provinceid:
  17832. description: 省
  17833. type: integer
  17834. qq:
  17835. description: QQ(加密存储
  17836. type: string
  17837. remark:
  17838. description: 备注
  17839. type: string
  17840. sex:
  17841. description: '用户性别 0: 女 1: 男'
  17842. type: integer
  17843. signpdfurl:
  17844. description: 签约pdf文件
  17845. type: string
  17846. telphone:
  17847. description: 联系电话(加密存储)
  17848. type: string
  17849. userid:
  17850. description: 用户ID
  17851. type: integer
  17852. userinfotype:
  17853. description: 用户信息类型 - 1:个人 2:企业
  17854. type: integer
  17855. userstatus:
  17856. description: 用户状态 - 1:正常 2:注销
  17857. type: integer
  17858. usertype:
  17859. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  17860. type: integer
  17861. wechat:
  17862. description: 微信(加密存储)
  17863. type: string
  17864. wskhinfo:
  17865. description: 开户申请信息(JSON)
  17866. type: string
  17867. required:
  17868. - userid
  17869. type: object
  17870. models.WRPositionReport:
  17871. properties:
  17872. accountid:
  17873. description: 帐户ID
  17874. type: integer
  17875. brandid:
  17876. description: 品牌ID(1交割品种升贴水参数表 AutoID) - 作废
  17877. type: integer
  17878. buylistinglot:
  17879. description: 买挂牌宗数
  17880. type: integer
  17881. buytradeamount:
  17882. description: 购买金额
  17883. type: number
  17884. buytradelot:
  17885. description: 购买宗数
  17886. type: integer
  17887. buytradeqty:
  17888. description: 购买数量
  17889. type: number
  17890. creditcurqty:
  17891. description: 授信当前数量
  17892. type: integer
  17893. creditfreezeqty:
  17894. description: 授信冻结数量
  17895. type: integer
  17896. credittotalqty:
  17897. description: 授信总数量
  17898. type: integer
  17899. credittradeqty:
  17900. description: 授信成交数量
  17901. type: integer
  17902. decreaseqty:
  17903. description: 今日减少数量
  17904. type: integer
  17905. deliverygoodsid:
  17906. description: 交割商品ID
  17907. type: integer
  17908. deliverymonthid:
  17909. description: 月份ID(1交割品种升贴水参数表 AutoID) - 作废
  17910. type: integer
  17911. freezeqty:
  17912. description: 总冻结数量
  17913. type: integer
  17914. increaseqty:
  17915. description: 今日增加数量
  17916. type: integer
  17917. marketvalue:
  17918. description: 市值
  17919. type: number
  17920. pickupqty:
  17921. description: 今日提货数量
  17922. type: integer
  17923. qualityid:
  17924. description: 品质ID(1交割品种升贴水参数表 AutoID) - 作废
  17925. type: integer
  17926. reckondate:
  17927. description: 日照时期(yyyyMMdd)
  17928. type: string
  17929. relatedqty:
  17930. description: 关联数量
  17931. type: integer
  17932. selllistingamount:
  17933. description: 卖挂牌金额
  17934. type: number
  17935. selllistinglot:
  17936. description: 卖挂牌宗数
  17937. type: integer
  17938. selllistingqty:
  17939. description: 卖挂牌数量
  17940. type: number
  17941. selltradeamount:
  17942. description: 销售金额
  17943. type: number
  17944. selltradelot:
  17945. description: 销售宗数
  17946. type: integer
  17947. selltradeqty:
  17948. description: 销售数量
  17949. type: number
  17950. specid:
  17951. description: 规格ID(1交割品种升贴水参数表 AutoID) - 作废
  17952. type: integer
  17953. totalprice:
  17954. description: 销售金额(¥)
  17955. type: number
  17956. totalqty:
  17957. description: 总数量
  17958. type: integer
  17959. totalweight:
  17960. description: 销售重量(ct)
  17961. type: number
  17962. tradewrqty:
  17963. description: 订单仓单头寸总数量
  17964. type: integer
  17965. transfertradewrqty:
  17966. description: 今日转订单数量
  17967. type: integer
  17968. warehouseid:
  17969. description: 仓库ID(1交割品种升贴水参数表 AutoID) - 作废
  17970. type: integer
  17971. wrfactortypeid:
  17972. description: 仓单要素类型ID
  17973. type: integer
  17974. wrpositionid:
  17975. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  17976. type: integer
  17977. wrstandardcode:
  17978. description: 现货商品代码
  17979. type: string
  17980. wrstandardid:
  17981. description: 现货商品ID
  17982. type: integer
  17983. wruserid:
  17984. description: 持有人ID
  17985. type: integer
  17986. zscategory:
  17987. description: 商品分类
  17988. type: integer
  17989. zscategorydisplay:
  17990. type: string
  17991. zscurrencytype:
  17992. description: 商品币种
  17993. type: integer
  17994. zscurrencytypedisplay:
  17995. type: string
  17996. zscurrencytypedisplayunit:
  17997. type: string
  17998. type: object
  17999. models.WRSConverTDetail:
  18000. properties:
  18001. convertratio:
  18002. description: 套保系数
  18003. type: number
  18004. deliverygoodscode:
  18005. description: 现货商品代码
  18006. type: string
  18007. deliverygoodsid:
  18008. description: 现货品种ID
  18009. type: integer
  18010. deliverygoodsname:
  18011. description: 现货商品名称
  18012. type: string
  18013. enumdicname:
  18014. description: 单位名称
  18015. type: string
  18016. goodsunitid:
  18017. description: 套保品种单位id
  18018. type: integer
  18019. middlegoodscode:
  18020. description: 套保品种代码
  18021. type: string
  18022. middlegoodsid:
  18023. description: 套保品种ID
  18024. type: integer
  18025. middlegoodsname:
  18026. description: 套保品种名称
  18027. type: string
  18028. modifytime:
  18029. description: 修改时间
  18030. type: string
  18031. wrstandardid:
  18032. description: 品类ID
  18033. type: integer
  18034. type: object
  18035. models.WRStandardInfo:
  18036. properties:
  18037. areauserid:
  18038. description: 所属机构
  18039. type: integer
  18040. convertfactor:
  18041. description: 标仓系数
  18042. type: number
  18043. createtime:
  18044. description: 创建时间
  18045. type: string
  18046. creatorid:
  18047. description: 创建人
  18048. type: integer
  18049. deliverygoodsid:
  18050. description: 品种ID
  18051. type: integer
  18052. deliverygoodsname:
  18053. description: 交割商品名称
  18054. type: string
  18055. factoryitemjson:
  18056. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  18057. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  18058. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  18059. 逗号分隔'
  18060. type: string
  18061. isvalid:
  18062. description: 是否有效 - 0:无效 1:有效
  18063. type: integer
  18064. minivalue:
  18065. description: 最小变动值
  18066. type: integer
  18067. minivaluedp:
  18068. description: 最小变动值小数位
  18069. type: integer
  18070. realminivalue:
  18071. description: 实际最小变动值
  18072. type: integer
  18073. realminivaluedp:
  18074. description: 实际最小变动值小数位
  18075. type: integer
  18076. remark:
  18077. description: 备注
  18078. type: string
  18079. unitid:
  18080. description: 单位ID
  18081. type: integer
  18082. unitname:
  18083. description: 单位
  18084. type: string
  18085. updatetime:
  18086. description: 更新时间
  18087. type: string
  18088. updatorid:
  18089. description: 更新人
  18090. type: integer
  18091. wrsstatus:
  18092. description: 状态 - 作废 - 0:未激活 1:正常
  18093. type: integer
  18094. wrstandardcode:
  18095. description: 现货品类代码
  18096. type: string
  18097. wrstandardid:
  18098. description: 现货品类ID(SEQ_WRSTANDARD)
  18099. type: integer
  18100. wrstandardname:
  18101. description: 现货品类名称
  18102. type: string
  18103. required:
  18104. - wrstandardid
  18105. type: object
  18106. models.WRTradeBargainApply:
  18107. properties:
  18108. accountid:
  18109. description: 摘牌资金账号
  18110. type: integer
  18111. applyprice:
  18112. description: 申请价格(议价价格)
  18113. type: string
  18114. applyqty:
  18115. description: 摘牌数量(议价数量)
  18116. type: number
  18117. applyremark:
  18118. description: 申请备注
  18119. type: string
  18120. applystatus:
  18121. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  18122. type: integer
  18123. applytime:
  18124. description: 申请时间(议价时间)
  18125. type: string
  18126. begindate:
  18127. description: 开始交易日(yyyymmdd)
  18128. type: string
  18129. buyorsell:
  18130. description: 买卖(挂牌类型) - 0:买 1:卖
  18131. type: integer
  18132. confirmremark:
  18133. description: 确认备注
  18134. type: string
  18135. confirmtime:
  18136. description: 确认时间
  18137. type: string
  18138. confirmuserid:
  18139. description: 确认人
  18140. type: integer
  18141. deliverygoodscode:
  18142. description: 品种代码
  18143. type: string
  18144. deliverygoodsid:
  18145. description: 品种ID
  18146. type: integer
  18147. deliverygoodsname:
  18148. description: 品种名称
  18149. type: string
  18150. deliverymonth:
  18151. description: 交收月
  18152. type: string
  18153. enddate:
  18154. description: 结束交易日(yyyymmdd)
  18155. type: string
  18156. enumdicname:
  18157. description: 单位名称
  18158. type: string
  18159. fixedprice:
  18160. description: 期初均价
  18161. type: number
  18162. handlestatus:
  18163. description: 处理状态
  18164. type: integer
  18165. marginvalue:
  18166. description: 期初均价
  18167. type: number
  18168. marketid:
  18169. description: 市场ID
  18170. type: integer
  18171. matchaccountid:
  18172. description: 挂牌方资金账号
  18173. type: integer
  18174. matchuserid:
  18175. description: 挂牌方用户id
  18176. type: integer
  18177. matchusername:
  18178. description: 挂牌方用户名称(已脱敏)
  18179. type: string
  18180. minivalue:
  18181. description: 现货商品最小变动值
  18182. type: integer
  18183. optioncompare:
  18184. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18185. type: string
  18186. orderqty:
  18187. description: 挂牌数量
  18188. type: integer
  18189. refprice:
  18190. description: 参考价格
  18191. type: string
  18192. retcode:
  18193. description: 委托返回代码
  18194. type: integer
  18195. templatename:
  18196. description: 履约方式(履约模板名称)
  18197. type: string
  18198. tradedate:
  18199. description: 交易日(yyyyMMdd)
  18200. type: string
  18201. userid:
  18202. description: 摘牌人用户ID(议价人ID)
  18203. type: integer
  18204. username:
  18205. description: 议价人名字(已脱敏)
  18206. type: string
  18207. validtime:
  18208. description: 有效期限
  18209. type: string
  18210. warehouseid:
  18211. description: 仓库ID
  18212. type: integer
  18213. warehousename:
  18214. description: 仓库名称
  18215. type: string
  18216. wrbargainid:
  18217. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  18218. type: string
  18219. wrfactortypeid:
  18220. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18221. type: string
  18222. wrfactortypename:
  18223. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18224. type: string
  18225. wrstandardcode:
  18226. description: 现货商品代码
  18227. type: string
  18228. wrstandardid:
  18229. description: 现货商品ID
  18230. type: integer
  18231. wrstandardname:
  18232. description: 商品名称
  18233. type: string
  18234. wrtradeorderid:
  18235. description: 关联委托单ID
  18236. type: string
  18237. wrtypename:
  18238. description: 商品
  18239. type: string
  18240. type: object
  18241. models.Warehouseinfo:
  18242. properties:
  18243. address:
  18244. description: 详细地址
  18245. type: string
  18246. areauserid:
  18247. description: 所属机构
  18248. type: integer
  18249. autoid:
  18250. description: 自增ID
  18251. type: integer
  18252. cityid:
  18253. description: 市
  18254. type: integer
  18255. contactname:
  18256. description: 联系人
  18257. type: string
  18258. contactnum:
  18259. description: 联系电话
  18260. type: string
  18261. countryid:
  18262. description: 国家
  18263. type: integer
  18264. createtime:
  18265. description: 创建时间
  18266. type: string
  18267. districtid:
  18268. description: 区
  18269. type: integer
  18270. hasvideo:
  18271. description: 是否有视频 - 0:无 1:有
  18272. type: integer
  18273. provinceid:
  18274. description: 省
  18275. type: integer
  18276. remark:
  18277. description: 审核备注
  18278. type: string
  18279. videourl:
  18280. description: 视频地址
  18281. type: string
  18282. warehousecode:
  18283. description: 仓库代码
  18284. type: string
  18285. warehousename:
  18286. description: 仓库名称
  18287. type: string
  18288. warehousestatus:
  18289. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  18290. type: integer
  18291. warehousetype:
  18292. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  18293. type: integer
  18294. required:
  18295. - autoid
  18296. - warehousecode
  18297. type: object
  18298. models.WrAverageTradePrice:
  18299. properties:
  18300. averageprice:
  18301. description: 期初均价
  18302. type: number
  18303. tradedate:
  18304. description: 交易日yyyymm
  18305. type: string
  18306. type: object
  18307. models.WrBrandAndYears:
  18308. properties:
  18309. brandlst:
  18310. description: 品牌列表
  18311. items:
  18312. $ref: '#/definitions/models.DgFactoryItem'
  18313. type: array
  18314. yearslst:
  18315. description: 年份列表
  18316. items:
  18317. $ref: '#/definitions/models.DgFactoryItem'
  18318. type: array
  18319. type: object
  18320. models.WrBsGoodsInfo:
  18321. properties:
  18322. buyorsell:
  18323. description: 买卖方向 0-买 1-卖
  18324. type: integer
  18325. goodsid:
  18326. description: 交易合约ID
  18327. type: integer
  18328. lstitem:
  18329. description: 商品信息项
  18330. items:
  18331. $ref: '#/definitions/models.WrTypeItem'
  18332. type: array
  18333. lststep:
  18334. description: 履约规则
  18335. items:
  18336. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18337. type: array
  18338. type: object
  18339. models.WrBuybackDetail:
  18340. properties:
  18341. buybackamount:
  18342. description: 回购金额
  18343. type: number
  18344. buybackqty:
  18345. description: 回购数量
  18346. type: number
  18347. buybackreleasemargin:
  18348. description: 回购释放保证金
  18349. type: number
  18350. buybacktime:
  18351. description: 回购时间
  18352. type: string
  18353. errordesc:
  18354. description: 错误描述
  18355. type: string
  18356. handlestatus:
  18357. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  18358. type: integer
  18359. relatedwrid:
  18360. description: 关联仓单ID
  18361. type: integer
  18362. scfcontractid:
  18363. description: SCF合同ID
  18364. type: string
  18365. scfwrbuybackid:
  18366. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  18367. type: integer
  18368. tradedate:
  18369. description: 交易日(yyyyMMdd)
  18370. type: string
  18371. type: object
  18372. models.WrClientAdSpaceConfig:
  18373. properties:
  18374. adspaceid:
  18375. description: 广告位ID
  18376. type: integer
  18377. adspacename:
  18378. description: 广告位名称
  18379. type: string
  18380. adspacetype:
  18381. description: 广告位类型 - 1:固定广告位
  18382. type: integer
  18383. areauserid:
  18384. description: 所属机构ID
  18385. type: integer
  18386. createdate:
  18387. description: 创建时间
  18388. type: string
  18389. imagepath:
  18390. description: 图片
  18391. type: string
  18392. modifierid:
  18393. description: 操作人
  18394. type: integer
  18395. recsize:
  18396. description: 推荐尺寸
  18397. type: string
  18398. title:
  18399. description: 标题
  18400. type: string
  18401. updatedate:
  18402. description: 更新时间
  18403. type: string
  18404. urlcontent:
  18405. description: 链接(地址\商品ID\功能菜单Key\appid)
  18406. type: string
  18407. urltype:
  18408. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  18409. type: integer
  18410. type: object
  18411. models.WrDeliveryAvalidHoldLB:
  18412. properties:
  18413. accountid:
  18414. description: 资金账号
  18415. type: integer
  18416. avalidqty:
  18417. description: 数量(可点选数量)
  18418. type: number
  18419. deliverygoodsid:
  18420. description: 品种id
  18421. type: integer
  18422. enumdicname:
  18423. description: 单位名称
  18424. type: string
  18425. goodsid:
  18426. description: x合约商品id
  18427. type: integer
  18428. ladingbillid:
  18429. description: 提单id
  18430. type: string
  18431. pgoodscode:
  18432. description: p商品代码(点价合约)
  18433. type: string
  18434. pgoodsid:
  18435. description: p商品id(点价合约)
  18436. type: integer
  18437. pgoodsname:
  18438. description: p商品名称(点价合约)
  18439. type: string
  18440. pricemove:
  18441. description: 升贴水
  18442. type: number
  18443. subnum:
  18444. description: 提单子id
  18445. type: integer
  18446. userid:
  18447. description: 用户id
  18448. type: integer
  18449. username:
  18450. description: 仓单持有人
  18451. type: string
  18452. warehousecode:
  18453. description: 仓库代码
  18454. type: string
  18455. warehouseid:
  18456. description: 仓库id
  18457. type: integer
  18458. warehousename:
  18459. description: 仓库名称
  18460. type: string
  18461. wrfactortypeid:
  18462. description: 仓单要素id
  18463. type: string
  18464. wrstandardcode:
  18465. description: 品代码
  18466. type: string
  18467. wrstandardid:
  18468. description: 品类d
  18469. type: integer
  18470. wrstandardname:
  18471. description: 品类名称
  18472. type: string
  18473. wrtypename:
  18474. description: 商品
  18475. type: string
  18476. xgoodscode:
  18477. description: x合约代码
  18478. type: string
  18479. xgoodsname:
  18480. description: x合约名称
  18481. type: string
  18482. type: object
  18483. models.WrDeliveryDetail:
  18484. properties:
  18485. accountid:
  18486. description: 账号ID
  18487. type: integer
  18488. averageprice:
  18489. description: 期初均价
  18490. type: number
  18491. begindate:
  18492. description: 开始交易日(yyyymmdd)
  18493. type: string
  18494. buyorsell:
  18495. description: 方向 - 0:买 1:卖
  18496. type: integer
  18497. deliveryamount:
  18498. description: 货款金额(X总货款+P总货款)
  18499. type: number
  18500. deliveryid:
  18501. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  18502. type: string
  18503. deliveryorderid:
  18504. description: 申报单号
  18505. type: string
  18506. deliverypricemove:
  18507. description: 升贴水(升贴水总额)
  18508. type: number
  18509. deliveryqty:
  18510. description: 交收数量(点选数量)
  18511. type: number
  18512. deliverystatus:
  18513. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  18514. type: integer
  18515. deliverytime:
  18516. description: 交割时间
  18517. type: string
  18518. deliverytotalamount:
  18519. description: 交收金额
  18520. type: number
  18521. enddate:
  18522. description: 结束交易日(yyyymmdd)
  18523. type: string
  18524. enumdicname:
  18525. description: 单位名称
  18526. type: string
  18527. matchaccountid:
  18528. description: 对手账号ID
  18529. type: integer
  18530. matchusername:
  18531. description: 对手方名称(仓单持有人)
  18532. type: string
  18533. p1goodsremainamount:
  18534. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  18535. type: number
  18536. pdeliverycloseqty:
  18537. description: p合约平仓数量
  18538. type: number
  18539. pdeliveryprice:
  18540. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  18541. type: number
  18542. pgoodscode:
  18543. description: 商品代码
  18544. type: string
  18545. pgoodsid:
  18546. description: p点选合约id
  18547. type: integer
  18548. pgoodsname:
  18549. description: 商品名称
  18550. type: string
  18551. ppricemode:
  18552. description: 点价价格方式 - 1:商品价 2:固定值
  18553. type: integer
  18554. tradedate:
  18555. description: 交易日(yyyymmdd)
  18556. type: string
  18557. userid:
  18558. description: 用户id
  18559. type: integer
  18560. username:
  18561. description: 用户名称
  18562. type: string
  18563. warehousename:
  18564. description: 仓库名称
  18565. type: string
  18566. wrfactortypeid:
  18567. description: 仓单要素类型ID
  18568. type: string
  18569. wrtypename:
  18570. description: 商品
  18571. type: string
  18572. xdeliverycloseqty:
  18573. description: 合约数量
  18574. type: number
  18575. xgoodsamount:
  18576. description: 期初均价
  18577. type: number
  18578. xgoodscode:
  18579. description: 商品代码
  18580. type: string
  18581. xgoodsid:
  18582. description: x交易合约ID
  18583. type: integer
  18584. xgoodsname:
  18585. description: 商品名称
  18586. type: string
  18587. type: object
  18588. models.WrDeliveryGoodsSection:
  18589. properties:
  18590. dglst:
  18591. description: 板块商品列表
  18592. items:
  18593. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  18594. type: array
  18595. imagepath:
  18596. description: 图片地址
  18597. type: string
  18598. orderindex:
  18599. description: 排序
  18600. type: integer
  18601. sectionid:
  18602. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  18603. = 1的版块1 - 云融指数
  18604. type: integer
  18605. sectionname:
  18606. description: 版块名称
  18607. type: string
  18608. sectiontype:
  18609. description: 版块类型 - 1:指数版块 2:普通版块
  18610. type: integer
  18611. type: object
  18612. models.WrDeliveryGoodsSectionConfig:
  18613. properties:
  18614. deliverygoodscode:
  18615. description: 现货商品代码
  18616. type: string
  18617. deliverygoodsid:
  18618. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18619. type: integer
  18620. deliverygoodsname:
  18621. description: 现货商品名称
  18622. type: string
  18623. orderindex:
  18624. description: 排序
  18625. type: integer
  18626. type: object
  18627. models.WrDraftUserInfo:
  18628. properties:
  18629. address:
  18630. description: 地址
  18631. type: string
  18632. attachment1:
  18633. description: 附件1
  18634. type: string
  18635. attachment2:
  18636. description: 附件2
  18637. type: string
  18638. attachment3:
  18639. description: 附件3
  18640. type: string
  18641. attachment4:
  18642. description: 附件4
  18643. type: string
  18644. attachment5:
  18645. description: 附件5
  18646. type: string
  18647. bankaccount:
  18648. description: 银行帐号 (加密存储)
  18649. type: string
  18650. bankaccountname:
  18651. description: 收款人名称
  18652. type: string
  18653. bankcardfrontphotourl:
  18654. description: 银行卡正面照地址
  18655. type: string
  18656. bankid:
  18657. description: 银行编码
  18658. type: string
  18659. bankname:
  18660. description: 银行名称
  18661. type: string
  18662. birthday:
  18663. description: 生日(个人:年月日)
  18664. type: string
  18665. biznature:
  18666. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  18667. type: integer
  18668. bizscope:
  18669. description: 企业经营范围(企业)
  18670. type: string
  18671. biztype:
  18672. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  18673. type: integer
  18674. cardbackphotourl:
  18675. description: 证件背面图片地址
  18676. type: string
  18677. cardfrontphotourl:
  18678. description: 证件正面图片地址
  18679. type: string
  18680. cardnum:
  18681. description: 证件号码(加密存储)
  18682. type: string
  18683. cardtypeid:
  18684. description: 证件类型ID
  18685. type: integer
  18686. cityid:
  18687. description: 市
  18688. type: integer
  18689. company:
  18690. description: 公司(个人)
  18691. type: string
  18692. contactcardbackphotourl:
  18693. description: 联系人证件背面图片地址
  18694. type: string
  18695. contactcardfrontphotourl:
  18696. description: 联系人证件正面图片地址
  18697. type: string
  18698. contactname:
  18699. description: 联系人
  18700. type: string
  18701. countryid:
  18702. description: 国家
  18703. type: integer
  18704. createtime:
  18705. description: 创建时间
  18706. type: string
  18707. creatorid:
  18708. description: 创建人
  18709. type: integer
  18710. creditquota:
  18711. description: 授信额度(金瑞)
  18712. type: number
  18713. customername:
  18714. description: 客户名称(企业名称)
  18715. type: string
  18716. districtid:
  18717. description: 地区
  18718. type: integer
  18719. email:
  18720. description: 邮件(加密存储)
  18721. type: string
  18722. fax:
  18723. description: 传真(加密存储)
  18724. type: string
  18725. halfbodyphotourl:
  18726. description: 半身照地址
  18727. type: string
  18728. hasencrypt:
  18729. description: 数据是否已加密 - 0:未加密 1:已加密
  18730. type: integer
  18731. headurl:
  18732. description: 头像地址
  18733. type: string
  18734. legalcardbackphotourl:
  18735. description: 法人身份证背面照地址
  18736. type: string
  18737. legalcardfrontphotourl:
  18738. description: 法人身份证正面照地址
  18739. type: string
  18740. legalpersonname:
  18741. description: 法人姓名(企业)
  18742. type: string
  18743. mobile:
  18744. description: 手机号码(加密存储)
  18745. type: string
  18746. mobile2:
  18747. description: 手机号码[明文-尚志]
  18748. type: string
  18749. modifierid:
  18750. description: 修改人
  18751. type: integer
  18752. modifiertime:
  18753. description: 修改时间
  18754. type: string
  18755. needinvoice:
  18756. description: 是否需要发票 - 0:不需要 1:需要
  18757. type: integer
  18758. nickname:
  18759. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  18760. type: string
  18761. openmode:
  18762. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  18763. 6:苹果手机端注册 7:PC交易端注册"
  18764. type: integer
  18765. otherurl:
  18766. description: 其它图片地址[使用分号分隔]
  18767. type: string
  18768. postalcode:
  18769. description: 邮政编码
  18770. type: string
  18771. provinceid:
  18772. description: 省
  18773. type: integer
  18774. proxystatementurl:
  18775. description: 授权委托书
  18776. type: string
  18777. qq:
  18778. description: QQ(加密存储
  18779. type: string
  18780. remark:
  18781. description: 备注
  18782. type: string
  18783. sex:
  18784. description: '用户性别 0: 女 1: 男'
  18785. type: integer
  18786. signpdfurl:
  18787. description: 签约pdf文件
  18788. type: string
  18789. taxpayernum:
  18790. description: 纳税人识别号
  18791. type: string
  18792. telphone:
  18793. description: 联系电话(加密存储)
  18794. type: string
  18795. userid:
  18796. description: 用户ID
  18797. type: integer
  18798. userinfotype:
  18799. description: 用户信息类型 - 1:个人 2:企业
  18800. type: integer
  18801. userstatus:
  18802. description: 用户状态 - 1:正常 2:注销
  18803. type: integer
  18804. usertype:
  18805. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  18806. type: integer
  18807. wechat:
  18808. description: 微信(加密存储)
  18809. type: string
  18810. wskhinfo:
  18811. description: 开户申请信息(JSON)
  18812. type: string
  18813. type: object
  18814. models.WrFAProductDetail:
  18815. properties:
  18816. accountid:
  18817. description: 资金账号
  18818. type: integer
  18819. areauserid:
  18820. description: 金融机构ID
  18821. type: integer
  18822. financingdays:
  18823. description: 天数(天)
  18824. type: integer
  18825. interestminlen:
  18826. description: 最小起息天数
  18827. type: integer
  18828. interestrate:
  18829. description: 利率
  18830. type: number
  18831. interestratemode:
  18832. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18833. type: integer
  18834. interestsettlemode:
  18835. description: 结息方式 - 1:按日结息 3:按月结息
  18836. type: integer
  18837. interestsettlevalue:
  18838. description: 结息方式值
  18839. type: integer
  18840. isautoloan:
  18841. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  18842. type: integer
  18843. loantag:
  18844. description: '放款标识: "放款快" 或者为空'
  18845. type: string
  18846. marginratio:
  18847. description: 保证金比率质押率 - [仓单质押]
  18848. type: number
  18849. productdetailid:
  18850. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  18851. type: integer
  18852. productid:
  18853. description: 金融产品ID
  18854. type: integer
  18855. productname:
  18856. description: 产品名称
  18857. type: string
  18858. updatetime:
  18859. description: 更新时间
  18860. type: string
  18861. username:
  18862. description: 融出方
  18863. type: string
  18864. type: object
  18865. models.WrFactorTypeInfo:
  18866. properties:
  18867. deliverygoodscode:
  18868. description: 品种代码
  18869. type: string
  18870. deliverygoodsname:
  18871. description: 品种名称
  18872. type: string
  18873. dgfactoryitemid:
  18874. description: 选择项id
  18875. type: integer
  18876. dgfactoryitemtypeid:
  18877. description: 要素选择项ID (1-仓库 2-品牌)
  18878. type: integer
  18879. dgfactoryitemvalue:
  18880. description: 要素项值
  18881. type: string
  18882. itemtypename:
  18883. description: 要素项名称
  18884. type: string
  18885. optioncompare:
  18886. description: 选择比较串
  18887. type: string
  18888. warehouseid:
  18889. description: 仓库id
  18890. type: integer
  18891. wrfactortypeid:
  18892. description: 仓单要素ID
  18893. type: string
  18894. wrfactortypename:
  18895. description: 要素名称
  18896. type: string
  18897. wrfactortypename2:
  18898. description: 要素名称(不含仓库)
  18899. type: string
  18900. wrstandardcode:
  18901. description: 品类代码
  18902. type: string
  18903. wrstandardid:
  18904. description: 品类id
  18905. type: integer
  18906. wrstandardname:
  18907. description: 品类名称
  18908. type: string
  18909. type: object
  18910. models.WrFilterItem:
  18911. properties:
  18912. itemcode:
  18913. description: 代码
  18914. type: string
  18915. itemid:
  18916. description: 项id
  18917. type: integer
  18918. itemname:
  18919. description: 名称
  18920. type: string
  18921. itemtype:
  18922. description: 类型 1-品种 2-品类(商品) 3-仓库
  18923. type: integer
  18924. type: object
  18925. models.WrFinanceBuyApply:
  18926. properties:
  18927. applydate:
  18928. description: 申请时间
  18929. type: string
  18930. applystatus:
  18931. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  18932. type: integer
  18933. applyuserid:
  18934. description: 申请人
  18935. type: integer
  18936. auditdate:
  18937. description: 审核时间
  18938. type: string
  18939. auditremark:
  18940. description: 审核备注
  18941. type: string
  18942. audituserid:
  18943. description: 审核人
  18944. type: integer
  18945. buyaccountid:
  18946. description: 买方资金账号
  18947. type: integer
  18948. buyorsell:
  18949. description: 买卖 - 0:买 1:卖
  18950. type: integer
  18951. buyuserid:
  18952. description: 买方用户ID
  18953. type: integer
  18954. buyusername:
  18955. description: 买方名称
  18956. type: string
  18957. buywrtradeorderid:
  18958. description: 融资方买委托单ID
  18959. type: string
  18960. deliverygoodscode:
  18961. description: 品种代码
  18962. type: string
  18963. deliverygoodsid:
  18964. description: 品种ID
  18965. type: integer
  18966. deliverygoodsname:
  18967. description: 品种名称
  18968. type: string
  18969. deliverymonth:
  18970. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  18971. type: string
  18972. enumdicname:
  18973. description: 单位名称
  18974. type: string
  18975. financeaccountid:
  18976. description: 融资方资金帐户ID
  18977. type: integer
  18978. financeapplyid:
  18979. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18980. type: string
  18981. financeareauserid:
  18982. description: 融资方用户ID
  18983. type: string
  18984. financename:
  18985. description: 融出方名称
  18986. type: string
  18987. financetype:
  18988. description: 融资类型 1-融资回购
  18989. type: integer
  18990. financingdays:
  18991. description: 天数(天)
  18992. type: integer
  18993. freezebuymargin:
  18994. description: 冻结融资保证金(买方)
  18995. type: number
  18996. handleremark:
  18997. description: 处理备注
  18998. type: string
  18999. handlestatus:
  19000. description: 处理状态
  19001. type: integer
  19002. interestminlen:
  19003. description: 最小起息天数
  19004. type: integer
  19005. interestrate:
  19006. description: 利率
  19007. type: number
  19008. interestratemode:
  19009. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19010. type: integer
  19011. interestsettlemode:
  19012. description: 结息方式 - 1:按日结息 3:按月结息
  19013. type: integer
  19014. interestsettlevalue:
  19015. description: 结息方式值
  19016. type: integer
  19017. isautoloan:
  19018. description: 是否自动放款 - 0:手动 1:自动
  19019. type: integer
  19020. marginratio:
  19021. description: 保证金比率质押率 - [仓单质押]
  19022. type: number
  19023. marketid:
  19024. description: 市场ID
  19025. type: integer
  19026. minivalue:
  19027. description: 现货商品最小变动值
  19028. type: integer
  19029. optioncompare:
  19030. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19031. type: string
  19032. orderqty:
  19033. description: 委托数量(商品数量)
  19034. type: number
  19035. productdetailid:
  19036. description: 产品组合ID
  19037. type: integer
  19038. productid:
  19039. description: 金融产品ID
  19040. type: integer
  19041. productname:
  19042. description: 产品名称
  19043. type: string
  19044. remark:
  19045. description: 备注
  19046. type: string
  19047. scfcontractid:
  19048. description: 仓单回购合同ID
  19049. type: string
  19050. sellaccountid:
  19051. description: 卖方资金账号
  19052. type: integer
  19053. selluserid:
  19054. description: 卖方用户ID
  19055. type: integer
  19056. sellwrtradeorderid:
  19057. description: 卖方委托单ID
  19058. type: string
  19059. tradeamount:
  19060. description: 成交金额(借款金额)
  19061. type: number
  19062. tradedate:
  19063. description: 交易日(yyyyMMdd)
  19064. type: string
  19065. tradeprice:
  19066. description: 成交价格
  19067. type: number
  19068. warehouseid:
  19069. description: 仓库ID
  19070. type: integer
  19071. warehousename:
  19072. description: 仓库名称
  19073. type: string
  19074. wrfactortypeid:
  19075. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19076. type: string
  19077. wrfactortypename:
  19078. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19079. type: string
  19080. wrpricetype:
  19081. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  19082. type: integer
  19083. wrstandardcode:
  19084. description: 现货商品代码
  19085. type: string
  19086. wrstandardid:
  19087. description: 现货商品ID
  19088. type: integer
  19089. wrstandardname:
  19090. description: 商品名称
  19091. type: string
  19092. wrtypename:
  19093. description: 商品
  19094. type: string
  19095. type: object
  19096. models.WrFriendApply:
  19097. properties:
  19098. applicantid:
  19099. description: 申请人
  19100. type: integer
  19101. applyname:
  19102. description: 申请人名称
  19103. type: string
  19104. applysrc:
  19105. description: 申请来源 - 1:管理端 2:终端
  19106. type: integer
  19107. applystatus:
  19108. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19109. type: integer
  19110. applytime:
  19111. description: 申请时间
  19112. type: string
  19113. auditname:
  19114. description: 审核人名称
  19115. type: string
  19116. auditorid:
  19117. description: 审核人
  19118. type: integer
  19119. auditremark:
  19120. description: 审核备注
  19121. type: string
  19122. auditsrc:
  19123. description: 审核来源 - 1:管理端 2:终端
  19124. type: integer
  19125. audittime:
  19126. description: 审核时间
  19127. type: string
  19128. friendapplyid:
  19129. description: 申请ID(SEQ_FRIENDAPPLY)
  19130. type: string
  19131. friendname:
  19132. description: 好友名字(已脱敏)
  19133. type: string
  19134. frienduserid:
  19135. description: 好友用户ID
  19136. type: string
  19137. remark:
  19138. description: 备注
  19139. type: string
  19140. userid:
  19141. description: 申请人用户ID
  19142. type: integer
  19143. type: object
  19144. models.WrFtDeliveryGoods:
  19145. properties:
  19146. deliverygoodscode:
  19147. description: 品种代码
  19148. type: string
  19149. deliverygoodsid:
  19150. description: 品种ID
  19151. type: integer
  19152. deliverygoodsname:
  19153. description: 品种名称
  19154. type: string
  19155. wdlst:
  19156. description: 商品列表
  19157. items:
  19158. $ref: '#/definitions/models.WrFtWrstandard'
  19159. type: array
  19160. type: object
  19161. models.WrFtWrstandard:
  19162. properties:
  19163. enumdicname:
  19164. description: 单位名称
  19165. type: string
  19166. minivalue:
  19167. description: 最小变动值
  19168. type: integer
  19169. wrstandardcode:
  19170. description: 现货商品代码
  19171. type: string
  19172. wrstandardid:
  19173. description: 现货商品ID
  19174. type: integer
  19175. wrstandardname:
  19176. description: 商品名称
  19177. type: string
  19178. type: object
  19179. models.WrGoodsInfo:
  19180. properties:
  19181. haswr:
  19182. description: 0:仓单预售 1:仓单贸易
  19183. type: integer
  19184. lstitem:
  19185. description: 商品信息项
  19186. items:
  19187. $ref: '#/definitions/models.WrTypeItem'
  19188. type: array
  19189. lststep:
  19190. description: 履约规则
  19191. items:
  19192. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19193. type: array
  19194. marketid:
  19195. description: 市场id
  19196. type: integer
  19197. type: object
  19198. models.WrGoodsPerformanceStep:
  19199. properties:
  19200. autoid:
  19201. description: AutoID
  19202. type: integer
  19203. isauto:
  19204. description: 是否自动 - 0:不自动 1:自动
  19205. type: integer
  19206. remark:
  19207. description: 备注
  19208. type: string
  19209. stepdate:
  19210. description: 天数信息(T+N)
  19211. type: string
  19212. stepdays:
  19213. description: 距离上一步天数
  19214. type: integer
  19215. stepindex:
  19216. description: 步骤序号
  19217. type: integer
  19218. stepinfo:
  19219. description: 步骤信息(步骤名称+步骤值)
  19220. type: string
  19221. steptypeid:
  19222. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19223. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19224. type: integer
  19225. steptypename:
  19226. description: 步骤名称
  19227. type: string
  19228. stepvalue:
  19229. description: 期初均价
  19230. type: number
  19231. templateid:
  19232. description: 履约计划模板ID
  19233. type: integer
  19234. type: object
  19235. models.WrHoldLB:
  19236. properties:
  19237. accountid:
  19238. description: 持有人帐户ID
  19239. type: integer
  19240. bannerpicurl:
  19241. description: Banner图
  19242. type: string
  19243. createtime:
  19244. description: 创建时间(过户时间)
  19245. type: string
  19246. deliverygoodscode:
  19247. description: 品种代码
  19248. type: string
  19249. deliverygoodsid:
  19250. description: 品种ID
  19251. type: integer
  19252. deliverygoodsname:
  19253. description: 品种名称
  19254. type: string
  19255. enableqty:
  19256. description: 可用数量
  19257. type: number
  19258. enumdicname:
  19259. description: 单位名称
  19260. type: string
  19261. freezerqty:
  19262. description: 冻结数量
  19263. type: number
  19264. ladingbillid:
  19265. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  19266. type: string
  19267. minivalue:
  19268. description: 现货商品最小变动值
  19269. type: integer
  19270. optioncompare:
  19271. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19272. type: string
  19273. parentsubnum:
  19274. description: 拆分父子单号
  19275. type: integer
  19276. pledgeqty:
  19277. description: 质押数量
  19278. type: number
  19279. qty:
  19280. description: 数量
  19281. type: number
  19282. subnum:
  19283. description: 提单子单号
  19284. type: integer
  19285. thumurls:
  19286. description: 缩略图
  19287. type: string
  19288. tradedate:
  19289. description: 交易日(yyyyMMdd)
  19290. type: string
  19291. userid:
  19292. description: 持有人ID
  19293. type: integer
  19294. warehouseid:
  19295. description: 仓库ID
  19296. type: integer
  19297. warehousename:
  19298. description: 仓库名称
  19299. type: string
  19300. wrfactortypeid:
  19301. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19302. type: string
  19303. wrfactortypename:
  19304. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19305. type: string
  19306. wrholdeno:
  19307. description: 仓单编号
  19308. type: string
  19309. wrid:
  19310. description: 仓单变更ID
  19311. type: string
  19312. wrstandardcode:
  19313. description: 现货商品代码
  19314. type: string
  19315. wrstandardid:
  19316. description: 现货商品ID
  19317. type: integer
  19318. wrstandardname:
  19319. description: 商品名称
  19320. type: string
  19321. wrtypename:
  19322. description: 商品
  19323. type: string
  19324. type: object
  19325. models.WrMarketTradeConfig:
  19326. properties:
  19327. basisdownratio:
  19328. description: 浮动价基差下限比例(仓单贸易)
  19329. type: number
  19330. basisupratio:
  19331. description: 浮动价基差上限比例(仓单贸易)
  19332. type: number
  19333. buychargealgorithm:
  19334. description: 买方手续费收取方式 1:比率 2:固定
  19335. type: integer
  19336. buychargealgorithm2:
  19337. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  19338. type: integer
  19339. buychargealgorithmvalue:
  19340. description: 买方手续费设置值(交易所部分)
  19341. type: number
  19342. buychargealgorithmvalue2:
  19343. description: 买方手续费设置值(会员部分)
  19344. type: number
  19345. buychargealgorithmvalue3:
  19346. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  19347. type: number
  19348. buychargealgorithmvalue4:
  19349. description: 回购买方手续费设置值(会员部分) --77:现货商城
  19350. type: number
  19351. buyfirstmarginalgorithm:
  19352. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  19353. type: integer
  19354. buyfirstmarginvalue:
  19355. description: 买方出价保证金设置值 - [竞拍]
  19356. type: number
  19357. buymarginalgorithm:
  19358. description: 买方保证金方式 - 1:比率 2:固定
  19359. type: integer
  19360. buymarginvalue:
  19361. description: 买方保证金设置值
  19362. type: number
  19363. buyreleaseratio:
  19364. description: 买方释放比率[2:分步履约]
  19365. type: number
  19366. executemode:
  19367. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  19368. type: integer
  19369. executeside:
  19370. description: 执行方[2:分步履约] - 1:买方 2:卖方
  19371. type: integer
  19372. failedchargealgorithm:
  19373. description: 流拍手续费收取方式 1:比率 2:固定
  19374. type: integer
  19375. failedchargevalue:
  19376. description: 流拍手续费设置值
  19377. type: number
  19378. failedchargevalue2:
  19379. description: 流拍卖方手续费设置值
  19380. type: number
  19381. holddays:
  19382. description: 合同期限[2:分步履约]
  19383. type: integer
  19384. listingmode:
  19385. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  19386. type: integer
  19387. marketid:
  19388. description: 市场ID-仓单贸易、竞拍、预售
  19389. type: integer
  19390. minqty:
  19391. description: 最小执行量[2:分步履约]
  19392. type: number
  19393. modifierid:
  19394. description: 修改人
  19395. type: integer
  19396. nowrquotaflag:
  19397. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  19398. type: integer
  19399. performancetempid:
  19400. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  19401. 立即执行(-1)
  19402. type: integer
  19403. performancetempid2:
  19404. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  19405. 立即执行
  19406. type: integer
  19407. performancetempid2s:
  19408. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  19409. - 履约方式: 立即执行
  19410. type: string
  19411. performancetempids:
  19412. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  19413. - 履约方式: 立即执行(-1)
  19414. type: string
  19415. performanceway:
  19416. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  19417. type: integer
  19418. sellchargealgorithm:
  19419. description: 卖方手续费收取方式 1:比率 2:固定
  19420. type: integer
  19421. sellchargealgorithm2:
  19422. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  19423. type: integer
  19424. sellchargealgorithmvalue:
  19425. description: 卖方手续费设置值(交易所部分)
  19426. type: number
  19427. sellchargealgorithmvalue2:
  19428. description: 卖方手续费设置值(会员部分)
  19429. type: number
  19430. sellchargealgorithmvalue3:
  19431. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  19432. type: number
  19433. sellchargealgorithmvalue4:
  19434. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  19435. type: number
  19436. sellmarginalgorithm:
  19437. description: 卖方保证金方式 - 1:比率 2:固定
  19438. type: integer
  19439. sellmarginvalue:
  19440. description: 卖方保证金设置值
  19441. type: number
  19442. sellmarginvalue2:
  19443. description: 卖方保证金设置值(无仓单)
  19444. type: number
  19445. sellreleaseratio:
  19446. description: 卖方释放比率[2:分步履约]
  19447. type: number
  19448. updatetime:
  19449. description: 更新时间
  19450. type: string
  19451. type: object
  19452. models.WrOrderDetail:
  19453. properties:
  19454. accountid:
  19455. description: 交易账号(资金账号)
  19456. type: integer
  19457. allfriendsflag:
  19458. description: 是否全好友可见 - 0:否 1:是
  19459. type: integer
  19460. amount:
  19461. description: 期初均价
  19462. type: number
  19463. bannerpicurl:
  19464. description: Banner图
  19465. type: string
  19466. begindate:
  19467. description: 开始交易日(yyyymmdd)
  19468. type: string
  19469. buyorsell:
  19470. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19471. type: integer
  19472. canbargain:
  19473. description: 是否可议价 - 0:不可 1:可
  19474. type: integer
  19475. cancelqty:
  19476. description: 撤销数量
  19477. type: number
  19478. canpart:
  19479. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  19480. type: integer
  19481. delistminqty:
  19482. description: 起摘数量
  19483. type: integer
  19484. deliverygoodscode:
  19485. description: 品种代码
  19486. type: string
  19487. deliverygoodsid:
  19488. description: 品种ID
  19489. type: integer
  19490. deliverygoodsname:
  19491. description: 品种名称
  19492. type: string
  19493. deliverymonth:
  19494. description: 交收月
  19495. type: string
  19496. enddate:
  19497. description: 结束交易日(yyyymmdd)
  19498. type: string
  19499. enumdicname:
  19500. description: 单位名称
  19501. type: string
  19502. fixedprice:
  19503. description: 固定价格 - [挂牌]
  19504. type: number
  19505. freezecharge:
  19506. description: 期初均价
  19507. type: number
  19508. freezemargin:
  19509. description: 期初均价
  19510. type: number
  19511. futupricemove:
  19512. description: 期货升贴水
  19513. type: number
  19514. futushow:
  19515. description: 期货合约/升贴水
  19516. type: string
  19517. goodscode:
  19518. description: 期货合约
  19519. type: string
  19520. goodsid:
  19521. description: 期货商品id
  19522. type: integer
  19523. goodsname:
  19524. description: 商品名称
  19525. type: string
  19526. haswr:
  19527. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19528. type: integer
  19529. isspecified:
  19530. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  19531. type: integer
  19532. ladingbillid:
  19533. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  19534. type: string
  19535. marginvalue:
  19536. description: 期初均价
  19537. type: number
  19538. marketid:
  19539. description: 市场ID
  19540. type: integer
  19541. matchusername:
  19542. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  19543. type: string
  19544. minivalue:
  19545. description: 现货商品最小变动值
  19546. type: integer
  19547. optioncompare:
  19548. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19549. type: string
  19550. orderqty:
  19551. description: 委托数量
  19552. type: number
  19553. ordertime:
  19554. description: 委托时间(挂牌时间)
  19555. type: string
  19556. performancetemplateid:
  19557. description: 履约模板id
  19558. type: integer
  19559. pricemove:
  19560. description: 升贴水(浮动价时填写) - [挂牌]
  19561. type: number
  19562. taname:
  19563. description: 交易用户名称(资金账号名称)
  19564. type: string
  19565. thumurls:
  19566. description: 缩略图
  19567. type: string
  19568. tradedate:
  19569. description: 交易日(yyyyMMdd)
  19570. type: string
  19571. tradeprice:
  19572. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  19573. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  19574. type: number
  19575. tradeqty:
  19576. description: 成交数量
  19577. type: number
  19578. userid:
  19579. description: 用户ID
  19580. type: integer
  19581. validtime:
  19582. description: 挂牌有效期
  19583. type: string
  19584. validtype:
  19585. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  19586. type: integer
  19587. warehouseid:
  19588. description: 仓库ID
  19589. type: integer
  19590. warehousename:
  19591. description: 仓库名称
  19592. type: string
  19593. wrfactortypeid:
  19594. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19595. type: string
  19596. wrfactortypename:
  19597. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19598. type: string
  19599. wrpricetype:
  19600. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19601. type: integer
  19602. wrstandardcode:
  19603. description: 现货商品代码
  19604. type: string
  19605. wrstandardid:
  19606. description: 现货商品ID
  19607. type: integer
  19608. wrstandardname:
  19609. description: 商品名称
  19610. type: string
  19611. wrtradeorderid:
  19612. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19613. type: string
  19614. wrtradeorderstatus:
  19615. 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:撤单解冻贷款失败
  19616. type: integer
  19617. wrtradetype:
  19618. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19619. type: integer
  19620. wrtypename:
  19621. description: 商品
  19622. type: string
  19623. type: object
  19624. models.WrOrderQuote:
  19625. properties:
  19626. bannerpicurl:
  19627. description: Banner图
  19628. type: string
  19629. buyprice:
  19630. description: 买价
  19631. type: number
  19632. buypricemove:
  19633. description: 买升贴水(基差)
  19634. type: number
  19635. buyqty:
  19636. description: 买量
  19637. type: number
  19638. deliverygoodscode:
  19639. description: 品种代码
  19640. type: string
  19641. deliverygoodsid:
  19642. description: 品种id
  19643. type: integer
  19644. deliverygoodsname:
  19645. description: 品种名称
  19646. type: string
  19647. deliverymonth:
  19648. description: 交收月
  19649. type: string
  19650. enumdicname:
  19651. description: 单位名称
  19652. type: string
  19653. goodscode:
  19654. description: 商品合约(浮动价列表才有)
  19655. type: string
  19656. goodsid:
  19657. description: 商品id(浮动价列表才有)
  19658. type: integer
  19659. minivalue:
  19660. description: 现货商品最小变动值
  19661. type: integer
  19662. pictureurls:
  19663. description: 详情图片(逗号分隔)
  19664. type: string
  19665. sellprice:
  19666. description: 卖价
  19667. type: number
  19668. sellpricemove:
  19669. description: 卖升贴水(基差)
  19670. type: number
  19671. sellqty:
  19672. description: 卖量
  19673. type: number
  19674. thumurls:
  19675. description: 缩略图片(1:1)(逗号分隔)
  19676. type: string
  19677. warehousecode:
  19678. description: 仓库代码
  19679. type: string
  19680. warehouseid:
  19681. description: 仓库id
  19682. type: integer
  19683. warehousename:
  19684. description: 仓库名称
  19685. type: string
  19686. wrfactortypeid:
  19687. description: 仓单要素id
  19688. type: string
  19689. wrfactortypename:
  19690. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19691. type: string
  19692. wrgoodsname:
  19693. description: 商品(商品名称+仓库要素名称 拼接)
  19694. type: string
  19695. wrstandardcode:
  19696. description: 商品代码
  19697. type: string
  19698. wrstandardid:
  19699. description: 商品id
  19700. type: integer
  19701. wrstandardname:
  19702. description: 商品名称
  19703. type: string
  19704. type: object
  19705. models.WrOrderQuoteDetail:
  19706. properties:
  19707. buyorsell:
  19708. description: 买卖 - 0:买 1:卖
  19709. type: integer
  19710. delistminqty:
  19711. description: 期初均价
  19712. type: number
  19713. deliverymonth:
  19714. description: 交收月
  19715. type: string
  19716. enumdicname:
  19717. description: 单位名称
  19718. type: string
  19719. fixedprice:
  19720. description: 买(卖)价
  19721. type: number
  19722. marketid:
  19723. description: 市场id
  19724. type: integer
  19725. minivalue:
  19726. description: 现货商品最小变动值
  19727. type: integer
  19728. orderqty:
  19729. description: 买(卖)量(=委托量-成交量)
  19730. type: number
  19731. ordertime:
  19732. description: 委托时间
  19733. type: string
  19734. pricemove:
  19735. description: 买(卖)升贴水- 基差
  19736. type: number
  19737. userid:
  19738. description: 购买方(销售方)用户ID
  19739. type: integer
  19740. username:
  19741. description: 购买方(销售方)
  19742. type: string
  19743. wrtradeorderid:
  19744. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19745. type: string
  19746. type: object
  19747. models.WrOutInApply:
  19748. properties:
  19749. applyid:
  19750. description: 申请单id
  19751. type: string
  19752. applystatus:
  19753. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  19754. 8:已撤销
  19755. type: integer
  19756. applytime:
  19757. description: 申请时间
  19758. type: string
  19759. applytype:
  19760. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  19761. type: integer
  19762. bannerpicurl:
  19763. description: Banner图
  19764. type: string
  19765. begindate:
  19766. description: 开始交易日(yyyymmdd)
  19767. type: string
  19768. deliverygoodscode:
  19769. description: 品种代码
  19770. type: string
  19771. deliverygoodsid:
  19772. description: 品种ID
  19773. type: integer
  19774. deliverygoodsname:
  19775. description: 品种名称
  19776. type: string
  19777. enddate:
  19778. description: 结束交易日(yyyymmdd)
  19779. type: string
  19780. enumdicname:
  19781. description: 单位名称
  19782. type: string
  19783. expresscompany:
  19784. description: 物流公司
  19785. type: string
  19786. expressnum:
  19787. description: 物流单号
  19788. type: string
  19789. minivalue:
  19790. description: 现货商品最小变动值
  19791. type: integer
  19792. optioncompare:
  19793. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19794. type: string
  19795. qty:
  19796. description: 数量
  19797. type: integer
  19798. userid:
  19799. description: 用户id
  19800. type: integer
  19801. warehouseid:
  19802. description: 仓库ID
  19803. type: integer
  19804. warehousename:
  19805. description: 仓库名称
  19806. type: string
  19807. wrfactortypeid:
  19808. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19809. type: string
  19810. wrfactortypename:
  19811. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19812. type: string
  19813. wrstandardcode:
  19814. description: 现货商品代码
  19815. type: string
  19816. wrstandardid:
  19817. description: 现货商品ID
  19818. type: integer
  19819. wrstandardname:
  19820. description: 商品名称
  19821. type: string
  19822. wrtypename:
  19823. description: 商品
  19824. type: string
  19825. type: object
  19826. models.WrPerformancePlan:
  19827. properties:
  19828. activatemonth:
  19829. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  19830. type: string
  19831. amount:
  19832. description: 履约金额(总金额)
  19833. type: number
  19834. begindate:
  19835. description: 开始交易日(yyyymmdd)
  19836. type: string
  19837. buyaccountid:
  19838. description: 买方账号
  19839. type: integer
  19840. buyerfreezeamount:
  19841. description: 履约冻结(买履约)
  19842. type: number
  19843. buyerfreezeamountremain:
  19844. description: 履约冻结剩余(买履约)
  19845. type: number
  19846. buyorsell:
  19847. description: 买卖方向 0-买 1-卖
  19848. type: integer
  19849. buypaidamount:
  19850. description: 买方已冻/已扣金额 (已付金额)
  19851. type: number
  19852. buyusername:
  19853. description: 买方名字
  19854. type: string
  19855. contractid:
  19856. description: 合同ID
  19857. type: integer
  19858. createtime:
  19859. description: 创建时间
  19860. type: string
  19861. creatorid:
  19862. description: 创建人
  19863. type: integer
  19864. curstepdeadline:
  19865. description: 当前步骤到期时间
  19866. type: string
  19867. curstepid:
  19868. description: 当前步骤ID
  19869. type: string
  19870. curstepname:
  19871. description: 当前步骤名称
  19872. type: string
  19873. deliverygoodscode:
  19874. description: 品种代码
  19875. type: string
  19876. deliverygoodsid:
  19877. description: 品种ID
  19878. type: integer
  19879. deliverygoodsname:
  19880. description: 品种名称
  19881. type: string
  19882. enddate:
  19883. description: 结束交易日(yyyymmdd)
  19884. type: string
  19885. enumdicname:
  19886. description: 单位名称
  19887. type: string
  19888. expressfee:
  19889. description: 运费
  19890. type: number
  19891. expressfeeconfirmed:
  19892. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  19893. type: integer
  19894. hasovershort:
  19895. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  19896. type: integer
  19897. haswr:
  19898. description: 类型 0-仓单预售 1-仓单贸易
  19899. type: integer
  19900. marketid:
  19901. description: 市场ID
  19902. type: integer
  19903. middleaccountid:
  19904. description: 中间商资金账号ID
  19905. type: integer
  19906. middleuserid:
  19907. description: 中间商用户ID
  19908. type: integer
  19909. minivalue:
  19910. description: 现货商品最小变动值
  19911. type: integer
  19912. optioncompare:
  19913. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19914. type: string
  19915. overshortamount:
  19916. description: 溢短金额
  19917. type: number
  19918. overshortqty:
  19919. description: 溢短数量
  19920. type: number
  19921. paymenttype:
  19922. description: 付款方式 - 1:冻结 2:扣款
  19923. type: integer
  19924. performanceplanid:
  19925. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  19926. type: string
  19927. performancestatus:
  19928. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  19929. 9:超时待处理 10:超时关闭
  19930. type: integer
  19931. performancetype:
  19932. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  19933. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  19934. type: integer
  19935. qty:
  19936. description: 履约数量
  19937. type: number
  19938. relatedorderid:
  19939. description: 关联单号(履约类型的关联单号)
  19940. type: string
  19941. remark:
  19942. description: 备注
  19943. type: string
  19944. sellaccountid:
  19945. description: 卖方账号
  19946. type: integer
  19947. sellerfreezeamount:
  19948. description: 履约冻结(卖履约)
  19949. type: number
  19950. sellerfreezeamountremain:
  19951. description: 履约冻结剩余(卖履约)
  19952. type: number
  19953. sellreceivedamount:
  19954. description: 卖方已收金额
  19955. type: number
  19956. sellusername:
  19957. description: 卖方名字
  19958. type: string
  19959. shipremark:
  19960. description: 发货备注[物流单号]
  19961. type: string
  19962. starttime:
  19963. description: 开始时间
  19964. type: string
  19965. steptypeid:
  19966. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19967. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19968. type: integer
  19969. typename:
  19970. description: 履约类型 名称
  19971. type: string
  19972. unpaidamount:
  19973. description: 期初均价
  19974. type: number
  19975. userid:
  19976. description: 用户id
  19977. type: integer
  19978. warehouseid:
  19979. description: 仓库ID
  19980. type: integer
  19981. warehousename:
  19982. description: 仓库名称
  19983. type: string
  19984. wrfactortypeid:
  19985. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19986. type: string
  19987. wrfactortypename:
  19988. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19989. type: string
  19990. wrstandardcode:
  19991. description: 现货商品代码
  19992. type: string
  19993. wrstandardid:
  19994. description: 现货商品ID
  19995. type: integer
  19996. wrstandardname:
  19997. description: 商品名称
  19998. type: string
  19999. wrtransferuserid:
  20000. description: 仓单受让用户
  20001. type: integer
  20002. wrtypename:
  20003. description: 商品
  20004. type: string
  20005. required:
  20006. - userid
  20007. type: object
  20008. models.WrPerformancePlanStep:
  20009. properties:
  20010. delaydays:
  20011. description: 延期申请天数
  20012. type: integer
  20013. deliverygoodscode:
  20014. description: 品种代码
  20015. type: string
  20016. deliverygoodsid:
  20017. description: 品种ID
  20018. type: integer
  20019. deliverygoodsname:
  20020. description: 品种名称
  20021. type: string
  20022. endtime:
  20023. description: 结束日期
  20024. type: string
  20025. enumdicname:
  20026. description: 单位名称
  20027. type: string
  20028. executeside:
  20029. description: 步骤执行方 - 1:买方 2:卖方
  20030. type: integer
  20031. handlestatus:
  20032. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  20033. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  20034. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  20035. type: integer
  20036. isauto:
  20037. description: 是否自动 - 0:不自动 1:自动
  20038. type: integer
  20039. islastreceivestep:
  20040. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  20041. type: integer
  20042. minivalue:
  20043. description: 现货商品最小变动值
  20044. type: integer
  20045. optioncompare:
  20046. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20047. type: string
  20048. overdays:
  20049. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  20050. type: integer
  20051. performancestepid:
  20052. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  20053. type: string
  20054. planid:
  20055. description: 所属履约计划ID
  20056. type: string
  20057. realamount:
  20058. description: 实际完成金额
  20059. type: number
  20060. relatedorderid:
  20061. description: 关联单号
  20062. type: string
  20063. remaindays:
  20064. description: 剩余天数
  20065. type: integer
  20066. remark:
  20067. description: 错误备注
  20068. type: string
  20069. starttime:
  20070. description: 开始日期
  20071. type: string
  20072. stepamount:
  20073. description: 步骤金额
  20074. type: number
  20075. stepdays:
  20076. description: 距离上一步天数(分钟)
  20077. type: integer
  20078. stepindex:
  20079. description: 步骤序号
  20080. type: integer
  20081. steplanchtype:
  20082. description: 步骤启动类型 - 1:系统自动 2:手动
  20083. type: integer
  20084. stepremark:
  20085. description: 步骤备注
  20086. type: string
  20087. stepstatus:
  20088. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  20089. type: integer
  20090. steptypeid:
  20091. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  20092. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  20093. type: integer
  20094. steptypename:
  20095. description: 步骤名称
  20096. type: string
  20097. stepvalue:
  20098. description: 步骤值
  20099. type: number
  20100. warehouseid:
  20101. description: 仓库ID
  20102. type: integer
  20103. warehousename:
  20104. description: 仓库名称
  20105. type: string
  20106. wrfactortypeid:
  20107. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20108. type: string
  20109. wrfactortypename:
  20110. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20111. type: string
  20112. wrstandardcode:
  20113. description: 现货商品代码
  20114. type: string
  20115. wrstandardid:
  20116. description: 现货商品ID
  20117. type: integer
  20118. wrstandardname:
  20119. description: 商品名称
  20120. type: string
  20121. wrtypename:
  20122. description: 商品
  20123. type: string
  20124. type: object
  20125. models.WrPerformanceStepType:
  20126. properties:
  20127. canauto:
  20128. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  20129. type: integer
  20130. steptypeid:
  20131. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  20132. type: integer
  20133. steptypename:
  20134. description: 步骤类型名称
  20135. type: string
  20136. type: object
  20137. models.WrPerformanceTemplateEx:
  20138. properties:
  20139. autoid:
  20140. description: AutoID 模板id
  20141. type: integer
  20142. createtime:
  20143. description: 创建时间
  20144. type: string
  20145. creatorid:
  20146. description: 创建人
  20147. type: integer
  20148. lstStep:
  20149. description: 步骤信息列表
  20150. items:
  20151. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  20152. type: array
  20153. paymenttype:
  20154. description: 支付方式 - 1:冻结 2:扣款
  20155. type: integer
  20156. takemode:
  20157. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  20158. type: integer
  20159. templatename:
  20160. description: 模板名称
  20161. type: string
  20162. templatetype:
  20163. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  20164. (无仓单) 5:挂牌期权 6:竞拍-降价式
  20165. type: integer
  20166. userid:
  20167. description: 所属用户
  20168. type: integer
  20169. type: object
  20170. models.WrPosition:
  20171. properties:
  20172. accountid:
  20173. description: 帐户ID
  20174. type: integer
  20175. buyexcuteqty:
  20176. description: 采购履约中数量
  20177. type: number
  20178. creditcurqty:
  20179. description: 授信当前数量(预售仓单:预售当前量)
  20180. type: number
  20181. creditenableqty:
  20182. description: '授信可用数量(预售仓单: 可用数量)'
  20183. type: number
  20184. creditfreezeqty:
  20185. description: '授信冻结数量(预售仓单: 当前数量)'
  20186. type: number
  20187. credittotalqty:
  20188. description: 授信总数量(预售仓单:预售总量)
  20189. type: number
  20190. credittradeqty:
  20191. description: 授信成交数量(预售仓单:成交总量)
  20192. type: number
  20193. deliverygoodscode:
  20194. description: 品种代码
  20195. type: string
  20196. deliverygoodsid:
  20197. description: 品种ID
  20198. type: integer
  20199. deliverygoodsname:
  20200. description: 品种名称
  20201. type: string
  20202. enalbeqty:
  20203. description: 可用数量
  20204. type: number
  20205. enumdicname:
  20206. description: 单位名称
  20207. type: string
  20208. freezeqty:
  20209. description: 总冻结数量
  20210. type: number
  20211. haswr:
  20212. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20213. type: integer
  20214. minivalue:
  20215. description: 现货商品最小变动值
  20216. type: integer
  20217. modifytime:
  20218. description: 修改时间(过户时间)
  20219. type: string
  20220. optioncompare:
  20221. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20222. type: string
  20223. pledgeqty:
  20224. description: 质押数量
  20225. type: number
  20226. querytype:
  20227. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  20228. type: integer
  20229. sellexcuteqty:
  20230. description: 销售履约中数量
  20231. type: number
  20232. totalqty:
  20233. description: 总数量(库存数量)
  20234. type: number
  20235. warehouseid:
  20236. description: 仓库ID
  20237. type: integer
  20238. warehousename:
  20239. description: 仓库名称
  20240. type: string
  20241. wrfactortypeid:
  20242. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20243. type: string
  20244. wrfactortypename:
  20245. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20246. type: string
  20247. wrpositionid:
  20248. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  20249. type: string
  20250. wrpositionno:
  20251. description: 仓单编号
  20252. type: string
  20253. wrstandardcode:
  20254. description: 现货商品代码
  20255. type: string
  20256. wrstandardid:
  20257. description: 现货商品ID
  20258. type: integer
  20259. wrstandardname:
  20260. description: 商品名称
  20261. type: string
  20262. wrtypename:
  20263. description: 商品
  20264. type: string
  20265. wruserid:
  20266. description: 持有人ID
  20267. type: integer
  20268. type: object
  20269. models.WrPreSaleInfo:
  20270. properties:
  20271. bannerpicurl:
  20272. description: Banner图
  20273. type: string
  20274. baseqty:
  20275. description: 中签基数
  20276. type: number
  20277. createtime:
  20278. description: 创建时间
  20279. type: string
  20280. deliverygoodsid:
  20281. description: 现货品种ID
  20282. type: integer
  20283. enddate:
  20284. description: 预售结束日期
  20285. type: string
  20286. enumdicname:
  20287. description: 单位名称
  20288. type: string
  20289. lotteryflag:
  20290. description: 摇号标识 - 0:未摇号 1:已摇号
  20291. type: integer
  20292. lotteryqty:
  20293. description: 摇号总量
  20294. type: number
  20295. luckyqty:
  20296. description: 已中签量
  20297. type: number
  20298. marketid:
  20299. description: 市场ID
  20300. type: integer
  20301. maxbuyqty:
  20302. description: 单人最大申购量
  20303. type: number
  20304. maxluckyqty:
  20305. description: 单人最大中签量
  20306. type: number
  20307. pictureurls:
  20308. description: 详情图片(逗号分隔)
  20309. type: string
  20310. placeqty:
  20311. description: 已配售量
  20312. type: number
  20313. presaleapplyid:
  20314. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  20315. example: "0"
  20316. type: string
  20317. presaleqty:
  20318. description: 预售总量
  20319. type: number
  20320. presalestatus:
  20321. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  20322. type: integer
  20323. sellaccountid:
  20324. description: 发行方资金账户ID
  20325. type: integer
  20326. selluserid:
  20327. description: 发行方用户ID
  20328. type: integer
  20329. sellwrtradeorderid:
  20330. description: 发行方卖委托单ID
  20331. type: string
  20332. startdate:
  20333. description: 预售开始日期
  20334. type: string
  20335. takestartdate:
  20336. description: 提货开始日期
  20337. type: string
  20338. thumurls:
  20339. description: 缩略图片(1:1)(逗号分隔)
  20340. type: string
  20341. tradedate:
  20342. description: 交易日
  20343. type: string
  20344. unitid:
  20345. description: 单位ID
  20346. type: integer
  20347. unitprice:
  20348. description: 商品单价
  20349. type: number
  20350. username:
  20351. description: 发行方用户名称
  20352. type: string
  20353. warehousecode:
  20354. description: 仓库代码(仓库简称)
  20355. type: string
  20356. warehouseid:
  20357. description: 仓库ID
  20358. type: integer
  20359. warehousename:
  20360. description: 仓库名称
  20361. type: string
  20362. wrfactortypeid:
  20363. description: 仓单要素类型ID - 根据现货商品\仓库生成
  20364. example: "0"
  20365. type: string
  20366. wrstandardid:
  20367. description: 现货商品ID
  20368. type: integer
  20369. wrstandardname:
  20370. description: 现货商品名称
  20371. type: string
  20372. type: object
  20373. models.WrQuoteOrderMyq:
  20374. properties:
  20375. buyorsell:
  20376. description: 买卖 - 0:买 1:卖
  20377. type: integer
  20378. canbargain:
  20379. description: 是否可议价 - 0:不可 1:可
  20380. type: integer
  20381. canpart:
  20382. description: 是否允许部份摘牌 - 0:不允许 1:允许
  20383. type: integer
  20384. delistminqty:
  20385. description: 期初均价
  20386. type: number
  20387. deliverygoodscode:
  20388. description: 品种代码
  20389. type: string
  20390. deliverygoodsid:
  20391. description: 品种ID
  20392. type: integer
  20393. deliverygoodsname:
  20394. description: 品种名称
  20395. type: string
  20396. deliverymonth:
  20397. description: 交收月
  20398. type: string
  20399. enumdicname:
  20400. description: 单位名称
  20401. type: string
  20402. fixedprice:
  20403. description: 买(卖)价
  20404. type: number
  20405. goodscode:
  20406. description: 商品合约代码
  20407. type: string
  20408. marginflag:
  20409. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  20410. type: integer
  20411. marginvalue:
  20412. description: 保证金设置值
  20413. type: number
  20414. minivalue:
  20415. description: 现货商品最小变动值
  20416. type: integer
  20417. orderqty:
  20418. description: 买(卖)量(=委托量-成交量)
  20419. type: number
  20420. ordertime:
  20421. description: 委托时间
  20422. type: string
  20423. performancetemplateid:
  20424. description: 履约模板id
  20425. type: integer
  20426. pricemove:
  20427. description: 买(卖)升贴水- 基差
  20428. type: number
  20429. templatename:
  20430. description: 履约模板名称
  20431. type: string
  20432. userid:
  20433. description: 购买方(销售方)用户ID
  20434. type: integer
  20435. username:
  20436. description: 购买方(销售方)
  20437. type: string
  20438. validtime:
  20439. description: 有效期限
  20440. type: string
  20441. validtype:
  20442. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  20443. type: integer
  20444. warehousename:
  20445. description: 仓库名称
  20446. type: string
  20447. wrfactortypeid:
  20448. description: 仓单要素id
  20449. type: string
  20450. wrstandardcode:
  20451. description: 现货商品代码
  20452. type: string
  20453. wrstandardid:
  20454. description: 现货商品ID
  20455. type: integer
  20456. wrstandardname:
  20457. description: 商品名称
  20458. type: string
  20459. wrtradeorderid:
  20460. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20461. type: string
  20462. wrtypename:
  20463. description: 商品
  20464. type: string
  20465. type: object
  20466. models.WrReckonSpotGoodsTradeSum:
  20467. properties:
  20468. begindate:
  20469. description: 开始日期(结果含开始日期) yyyymmdd
  20470. type: string
  20471. enddate:
  20472. description: 结束日期(结果含结束日期) yyyymmdd
  20473. type: string
  20474. istoday:
  20475. description: 是否当日
  20476. type: boolean
  20477. marketid:
  20478. description: 市场ID
  20479. type: integer
  20480. price:
  20481. description: 价格 = 日成交金额 / 日成交数量
  20482. type: string
  20483. reckondate:
  20484. description: 日期 格式 yyyymmdd
  20485. type: string
  20486. tradeamount:
  20487. description: 期初均价
  20488. type: number
  20489. tradeqty:
  20490. description: 期初均价
  20491. type: number
  20492. wrstandardid:
  20493. description: 现货商品ID
  20494. type: integer
  20495. type: object
  20496. models.WrScfContract:
  20497. properties:
  20498. borroweruserid:
  20499. description: 借款用户ID
  20500. type: integer
  20501. buybackwrpositionqty:
  20502. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  20503. type: number
  20504. closeinterest:
  20505. description: 已结利息 -> 已结费用
  20506. type: number
  20507. currisklevel:
  20508. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  20509. type: integer
  20510. deadline:
  20511. description: 截止日期(yyyyMMdd) -> 借款到期时间
  20512. type: string
  20513. deliverygoodscode:
  20514. description: 品种代码
  20515. type: string
  20516. deliverygoodsid:
  20517. description: 品种ID
  20518. type: integer
  20519. deliverygoodsname:
  20520. description: 品种名称
  20521. type: string
  20522. enumdicname:
  20523. description: 单位名称
  20524. type: string
  20525. financingdays:
  20526. description: 天数(天)
  20527. type: integer
  20528. initmargin:
  20529. description: 保证金 - [仓单回购]
  20530. type: number
  20531. interestamount:
  20532. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  20533. type: number
  20534. interestdebt:
  20535. description: 利息欠款(记录负数) -> 费用欠款
  20536. type: number
  20537. interestminlen:
  20538. description: 最小起息天数
  20539. type: integer
  20540. interestrate:
  20541. description: 利率
  20542. type: number
  20543. interestratemode:
  20544. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  20545. type: integer
  20546. interestsettlemode:
  20547. description: 结息方式 - 1:按日结息 3:按月结息
  20548. type: integer
  20549. interestsettlevalue:
  20550. description: 结息方式值
  20551. type: integer
  20552. isautoloan:
  20553. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  20554. type: integer
  20555. lastcloseinterestday:
  20556. description: 最近结息日(yyyyMMdd)
  20557. type: string
  20558. lenderamount:
  20559. description: 贷款金额 -> 借款金额
  20560. type: number
  20561. lenderuserid:
  20562. description: 贷款方用户ID -> 融出方用户ID
  20563. type: integer
  20564. lenderusername:
  20565. description: 融出方
  20566. type: string
  20567. marginratio:
  20568. description: 保证金比率质押率 - [仓单质押]
  20569. type: number
  20570. marketid:
  20571. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  20572. type: integer
  20573. minivalue:
  20574. description: 现货商品最小变动值
  20575. type: integer
  20576. optioncompare:
  20577. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20578. type: string
  20579. pricemove:
  20580. description: 估值升贴水值
  20581. type: number
  20582. productdetailid:
  20583. description: 产品组合ID
  20584. type: integer
  20585. productid:
  20586. description: 金融产品ID
  20587. type: integer
  20588. productname:
  20589. description: 产品名称
  20590. type: string
  20591. remainamount:
  20592. description: 合同剩余金额 -> 剩余金额
  20593. type: number
  20594. remainwrpositionqty:
  20595. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  20596. type: number
  20597. remark:
  20598. description: 备注
  20599. type: string
  20600. scfcontractid:
  20601. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  20602. type: string
  20603. scfcontractstatus:
  20604. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  20605. 9:违约结束 10:已注销 11:已关闭 99:未提交
  20606. type: integer
  20607. scfcontracttype:
  20608. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  20609. type: integer
  20610. startinterestday:
  20611. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  20612. type: string
  20613. totalinterest:
  20614. description: 已计利息 -> 已计费用
  20615. type: number
  20616. unpaidinterest:
  20617. description: 期初均价
  20618. type: number
  20619. updatetime:
  20620. description: 更新时间
  20621. type: string
  20622. warehouseid:
  20623. description: 仓库ID
  20624. type: integer
  20625. warehousename:
  20626. description: 仓库名称
  20627. type: string
  20628. wrfactortypeid:
  20629. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20630. type: string
  20631. wrfactortypename:
  20632. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20633. type: string
  20634. wrqty:
  20635. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  20636. type: number
  20637. wrstandardcode:
  20638. description: 现货商品代码
  20639. type: string
  20640. wrstandardid:
  20641. description: 现货商品ID
  20642. type: integer
  20643. wrstandardname:
  20644. description: 商品名称
  20645. type: string
  20646. wrtypename:
  20647. description: 商品
  20648. type: string
  20649. type: object
  20650. models.WrScfContractInterest:
  20651. properties:
  20652. closeinterest:
  20653. description: 已结利息
  20654. type: number
  20655. closeintereststatus:
  20656. description: 结息状态 - 1:未结 2:已结
  20657. type: integer
  20658. closetime:
  20659. description: 结息时间
  20660. type: string
  20661. closetradedate:
  20662. description: 结息交易日
  20663. type: string
  20664. creatorid:
  20665. description: 操作人ID
  20666. type: integer
  20667. dayrate:
  20668. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  20669. type: number
  20670. interest:
  20671. description: 利息
  20672. type: number
  20673. interestamount:
  20674. description: 计息金额
  20675. type: number
  20676. interestday:
  20677. description: 计息日(yyyyMMdd)
  20678. type: string
  20679. scfcontractid:
  20680. description: SCF合同ID
  20681. type: string
  20682. scfcontractinterestid:
  20683. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  20684. type: integer
  20685. updatetime:
  20686. description: 更新时间
  20687. type: string
  20688. type: object
  20689. models.WrSearchUser:
  20690. properties:
  20691. userid:
  20692. description: 用户ID
  20693. type: integer
  20694. username:
  20695. description: 用户名称(已脱敏)
  20696. type: string
  20697. username2:
  20698. description: 用户名称(未脱敏)
  20699. type: string
  20700. usertype:
  20701. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  20702. type: integer
  20703. required:
  20704. - username
  20705. type: object
  20706. models.WrSiteColumnDetail:
  20707. properties:
  20708. brief:
  20709. description: 简介
  20710. type: string
  20711. context:
  20712. description: 内容
  20713. type: string
  20714. coverimage:
  20715. description: 封面图片
  20716. type: string
  20717. creaedate:
  20718. description: 创建时间
  20719. type: string
  20720. id:
  20721. description: ID(SEQ_SITE_COLUMNDETAIL)
  20722. type: integer
  20723. istop:
  20724. description: 是否置顶 - 0:不置 1:置顶
  20725. type: integer
  20726. publishdate:
  20727. description: 发布日期
  20728. type: string
  20729. title:
  20730. description: 标题
  20731. type: string
  20732. updatedate:
  20733. description: 修改时间
  20734. type: string
  20735. type: object
  20736. models.WrSpecialMatchOrder:
  20737. properties:
  20738. amount:
  20739. description: 金额 = 数量 * 价格
  20740. type: number
  20741. buyorsell:
  20742. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  20743. type: integer
  20744. cancelqty:
  20745. description: 撤销数量
  20746. type: number
  20747. deliverygoodscode:
  20748. description: 品种代码
  20749. type: string
  20750. deliverygoodsid:
  20751. description: 品种ID
  20752. type: integer
  20753. deliverygoodsname:
  20754. description: 品种名称
  20755. type: string
  20756. enumdicname:
  20757. description: 单位名称
  20758. type: string
  20759. fixedprice:
  20760. description: 固定价格(价格)
  20761. type: number
  20762. haswr:
  20763. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20764. type: integer
  20765. isspecified:
  20766. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  20767. type: integer
  20768. marketid:
  20769. description: 市场ID
  20770. type: integer
  20771. matchuserid:
  20772. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  20773. type: integer
  20774. matchusername:
  20775. description: 指定方
  20776. type: string
  20777. minivalue:
  20778. description: 现货商品最小变动值
  20779. type: integer
  20780. optioncompare:
  20781. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20782. type: string
  20783. orderqty:
  20784. description: 委托数量
  20785. type: number
  20786. ordertime:
  20787. description: 委托时间
  20788. type: string
  20789. pricemove:
  20790. description: 升贴水(浮动价时填写) - [挂牌]
  20791. type: number
  20792. tradedate:
  20793. description: 交易日(yyyyMMdd)
  20794. type: string
  20795. tradeprice:
  20796. description: 成交价格
  20797. type: number
  20798. tradeqty:
  20799. description: 成交数量
  20800. type: number
  20801. userid:
  20802. description: 用户ID
  20803. type: integer
  20804. username:
  20805. description: 发起方
  20806. type: string
  20807. warehouseid:
  20808. description: 仓库ID
  20809. type: integer
  20810. warehousename:
  20811. description: 仓库名称
  20812. type: string
  20813. wrfactortypeid:
  20814. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20815. type: string
  20816. wrfactortypename:
  20817. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20818. type: string
  20819. wrpricetype:
  20820. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  20821. type: integer
  20822. wrstandardcode:
  20823. description: 现货商品代码
  20824. type: string
  20825. wrstandardid:
  20826. description: 现货商品ID
  20827. type: integer
  20828. wrstandardname:
  20829. description: 商品名称
  20830. type: string
  20831. wrtradeorderid:
  20832. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20833. type: string
  20834. wrtradeorderstatus:
  20835. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  20836. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  20837. type: integer
  20838. wrtradetype:
  20839. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  20840. type: integer
  20841. wrtypename:
  20842. description: 商品
  20843. type: string
  20844. type: object
  20845. models.WrSpotGroupTradeSum:
  20846. properties:
  20847. deliverygoodscode:
  20848. description: 现货品种代码
  20849. type: string
  20850. deliverygoodsid:
  20851. description: 现货品种ID(SEQ_DELIVERYGOODS)
  20852. type: integer
  20853. deliverygoodsname:
  20854. description: 现货品种名称
  20855. type: string
  20856. lastavgprice:
  20857. description: 上上个交易日价格(前2天价格)
  20858. type: string
  20859. lastreckondate:
  20860. description: 上上个交易日(前2天交易日)
  20861. type: string
  20862. reckondate:
  20863. description: 上个交易日(前1天交易日)
  20864. type: string
  20865. todayavgprice:
  20866. description: 上个交易日价格(前1天价格)
  20867. type: string
  20868. updown:
  20869. description: 涨跌
  20870. type: string
  20871. updownratio:
  20872. description: 涨幅(已格式化, 直接显示即可)
  20873. type: string
  20874. type: object
  20875. models.WrSpotGroupTradeSumDetail:
  20876. properties:
  20877. deliverygoodsid:
  20878. description: 现货商品id
  20879. type: integer
  20880. price:
  20881. description: 价格
  20882. type: number
  20883. reckondate:
  20884. description: 日期(yyymmdd, 如:20211031)
  20885. type: string
  20886. type: object
  20887. models.WrSpotGroupTradeSumEx:
  20888. properties:
  20889. lst:
  20890. description: 指数列表
  20891. items:
  20892. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  20893. type: array
  20894. prereckondate:
  20895. description: 上上个交易日(yyymmdd)
  20896. type: string
  20897. reckondate:
  20898. description: 上个交易日(yyyymmdd)
  20899. type: string
  20900. type: object
  20901. models.WrStandardFactoryItem:
  20902. properties:
  20903. dgfactoryitemid:
  20904. description: 选择项id
  20905. type: integer
  20906. dgfactoryitemvalue:
  20907. description: 要素项值
  20908. type: string
  20909. warehouseid:
  20910. description: 仓库id
  20911. type: integer
  20912. type: object
  20913. models.WrStandardFactoryItemEx:
  20914. properties:
  20915. dgfactoryitemtypeid:
  20916. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  20917. type: integer
  20918. itemlst:
  20919. description: 要素项列表
  20920. items:
  20921. $ref: '#/definitions/models.WrStandardFactoryItem'
  20922. type: array
  20923. itemtypename:
  20924. description: 要素项类型名称
  20925. type: string
  20926. wrstandardid:
  20927. description: 品类
  20928. type: integer
  20929. type: object
  20930. models.WrTradeDetail:
  20931. properties:
  20932. accountid:
  20933. description: 资金账号
  20934. type: integer
  20935. bannerpicurl:
  20936. description: Banner图
  20937. type: string
  20938. begindate:
  20939. description: 开始交易日(yyyymmdd)
  20940. type: string
  20941. buyorsell:
  20942. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  20943. type: integer
  20944. chargevalue:
  20945. description: 手续费
  20946. type: number
  20947. deliverygoodscode:
  20948. description: 品种代码
  20949. type: string
  20950. deliverygoodsid:
  20951. description: 品种ID
  20952. type: integer
  20953. deliverygoodsname:
  20954. description: 品种名称
  20955. type: string
  20956. deliverymonth:
  20957. description: 交收月
  20958. type: string
  20959. enddate:
  20960. description: 结束交易日(yyyymmdd)
  20961. type: string
  20962. enumdicname:
  20963. description: 单位名称
  20964. type: string
  20965. haswr:
  20966. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20967. type: integer
  20968. marketid:
  20969. description: 市场ID
  20970. type: integer
  20971. matchaccountid:
  20972. description: 对手账号
  20973. type: integer
  20974. matchusername:
  20975. description: 对手方
  20976. type: string
  20977. minivalue:
  20978. description: 现货商品最小变动值
  20979. type: integer
  20980. optioncompare:
  20981. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20982. type: string
  20983. thumurls:
  20984. description: 缩略图
  20985. type: string
  20986. tradedate:
  20987. description: 交易日(yyyyMMdd)
  20988. type: string
  20989. tradeprice:
  20990. description: 成交价格
  20991. type: number
  20992. tradeqty:
  20993. description: 成交数量
  20994. type: number
  20995. tradetime:
  20996. description: 成交时间
  20997. type: string
  20998. userid:
  20999. description: 用户ID
  21000. type: integer
  21001. warehouseid:
  21002. description: 仓库ID
  21003. type: integer
  21004. warehousename:
  21005. description: 仓库名称
  21006. type: string
  21007. wrfactortypeid:
  21008. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21009. type: string
  21010. wrfactortypename:
  21011. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21012. type: string
  21013. wrstandardcode:
  21014. description: 现货商品代码
  21015. type: string
  21016. wrstandardid:
  21017. description: 现货商品ID
  21018. type: integer
  21019. wrstandardname:
  21020. description: 商品名称
  21021. type: string
  21022. wrtradedetailid:
  21023. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  21024. type: string
  21025. wrtradetype:
  21026. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  21027. type: integer
  21028. wrtypename:
  21029. description: 商品
  21030. type: string
  21031. type: object
  21032. models.WrTradeOrderDetail:
  21033. properties:
  21034. buyorsell:
  21035. description: 买卖方向 0-买 1-卖
  21036. type: integer
  21037. goodsid:
  21038. description: 商品id
  21039. type: integer
  21040. orderid:
  21041. description: 委托单号
  21042. type: string
  21043. orderprice:
  21044. description: 期初均价
  21045. type: number
  21046. orderqty:
  21047. description: 委托数量
  21048. type: integer
  21049. userid:
  21050. description: 用户id
  21051. type: integer
  21052. username:
  21053. description: 用户名称(已脱敏)
  21054. type: string
  21055. type: object
  21056. models.WrTypeItem:
  21057. properties:
  21058. name:
  21059. description: 名称
  21060. type: string
  21061. value:
  21062. description: 值
  21063. type: string
  21064. type: object
  21065. models.WrUserFriend:
  21066. properties:
  21067. friendname:
  21068. description: 朋友名称(已脱敏)
  21069. type: string
  21070. frienduserid:
  21071. description: 朋友id
  21072. type: integer
  21073. isfriend:
  21074. description: 是否好友 0-不是 1-是
  21075. type: integer
  21076. userid:
  21077. description: 用户id
  21078. type: integer
  21079. type: object
  21080. models.WrUserReceiptInfo:
  21081. properties:
  21082. address:
  21083. description: 地址[发票类型:企业]
  21084. type: string
  21085. autoid:
  21086. description: AutoID
  21087. type: integer
  21088. contactinfo:
  21089. description: 联系方式
  21090. type: string
  21091. idnum:
  21092. description: 身份证号码[发票类型:个人]
  21093. type: string
  21094. isdefault:
  21095. description: 是否默认地址 - 0:否 1:是
  21096. type: integer
  21097. receiptaccount:
  21098. description: 发票帐号[发票类型:企业]
  21099. type: string
  21100. receiptbank:
  21101. description: 发票开户行[发票类型:企业]
  21102. type: string
  21103. receipttype:
  21104. description: 发票类型 - 1:个人 2:企业
  21105. type: integer
  21106. taxpayerid:
  21107. description: 纳税人识别号
  21108. type: string
  21109. userid:
  21110. description: 用户ID
  21111. type: integer
  21112. username:
  21113. description: 户名(个人姓名或企业名称)
  21114. type: string
  21115. type: object
  21116. models.Wrtradetradequote:
  21117. properties:
  21118. buyaccountid:
  21119. description: 买方账号ID
  21120. type: integer
  21121. buychargevalue:
  21122. description: 买方手续费
  21123. type: number
  21124. buyuserid:
  21125. description: 买方用户ID
  21126. type: integer
  21127. deliverygoodsid:
  21128. description: 现货品种ID
  21129. type: integer
  21130. exchangerate:
  21131. description: 汇率
  21132. type: number
  21133. marketid:
  21134. description: 市场ID
  21135. type: integer
  21136. oritradeamount:
  21137. description: 成交金额[商品币种]
  21138. type: number
  21139. performanceplanid:
  21140. description: 履约计划ID/合同ID
  21141. type: integer
  21142. sellaccountid:
  21143. description: 卖方账号ID
  21144. type: integer
  21145. sellchargevalue:
  21146. description: 卖方手续费
  21147. type: number
  21148. selluserid:
  21149. description: 卖方用户ID
  21150. type: integer
  21151. tradeamount:
  21152. description: 成交金额
  21153. type: number
  21154. tradedate:
  21155. description: 交易日(yyyyMMdd)
  21156. type: string
  21157. tradeprice:
  21158. description: 成交价格
  21159. type: number
  21160. tradeqty:
  21161. description: 成交数量
  21162. type: integer
  21163. tradetime:
  21164. description: 成交时间
  21165. type: string
  21166. wrfactortypeid:
  21167. description: 仓单要素类型ID
  21168. type: integer
  21169. wrstandardid:
  21170. description: 现货商品ID
  21171. type: integer
  21172. wrtradedetailid:
  21173. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  21174. type: integer
  21175. type: object
  21176. models.XHBRAND:
  21177. properties:
  21178. brandid:
  21179. description: 品牌id
  21180. type: integer
  21181. brandname:
  21182. description: 品牌名称
  21183. type: string
  21184. isvalid:
  21185. description: 是否有效 0-无效 1-有效
  21186. type: integer
  21187. type: object
  21188. models.XHDeliveryGoods:
  21189. properties:
  21190. areauserid:
  21191. description: 所属机构
  21192. type: integer
  21193. bdlst:
  21194. description: 品牌列表
  21195. items:
  21196. $ref: '#/definitions/models.XHBRAND'
  21197. type: array
  21198. deliverygoodscode:
  21199. description: 现货品种代码
  21200. type: string
  21201. deliverygoodsid:
  21202. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21203. type: integer
  21204. deliverygoodsname:
  21205. description: 现货品种名称
  21206. type: string
  21207. dgstatus:
  21208. description: 品种状态 - 作废 - 0:未激活 1:正常
  21209. type: integer
  21210. filterSubEmpty:
  21211. description: 过滤下级为空的
  21212. type: integer
  21213. isvalid:
  21214. description: 是否有效 - 0:无效 1:有效
  21215. type: integer
  21216. remark:
  21217. description: 备注
  21218. type: string
  21219. unitid:
  21220. description: 单位id(目前看,数据库中是空值)
  21221. type: integer
  21222. wdlst:
  21223. description: 品类(现货商品)列表
  21224. items:
  21225. $ref: '#/definitions/models.XHWrstandard'
  21226. type: array
  21227. type: object
  21228. models.XHMiddleGoods:
  21229. properties:
  21230. GPLST:
  21231. description: 期货品种列表
  21232. items:
  21233. $ref: '#/definitions/models.TBGoodsGroup'
  21234. type: array
  21235. convertratio:
  21236. description: 拆算系数
  21237. type: number
  21238. costratio:
  21239. description: 成本权重
  21240. type: number
  21241. deliverygoodsid:
  21242. description: 现货商品id
  21243. type: integer
  21244. enumdicname:
  21245. description: 单位名称
  21246. type: string
  21247. middlegoodscode:
  21248. description: 套保品种代码
  21249. type: string
  21250. middlegoodsid:
  21251. description: 套保品种id
  21252. type: integer
  21253. middlegoodsname:
  21254. description: 套保品种名称
  21255. type: string
  21256. unitid:
  21257. description: 单位id
  21258. type: integer
  21259. type: object
  21260. models.XHWrstandard:
  21261. properties:
  21262. bannerpicurl:
  21263. description: banner图
  21264. type: string
  21265. deliverygoodsid:
  21266. description: 品种ID
  21267. type: integer
  21268. enumdicname:
  21269. description: 单位名称
  21270. type: string
  21271. mglst:
  21272. description: 套保品列表
  21273. items:
  21274. $ref: '#/definitions/models.XHMiddleGoods'
  21275. type: array
  21276. pictureurls:
  21277. description: 详情图片(逗号分隔)
  21278. type: string
  21279. thumurls:
  21280. description: 缩略图片(1:1)(逗号分隔)
  21281. type: string
  21282. unitid:
  21283. description: 单位id
  21284. type: integer
  21285. vatrate:
  21286. description: 增值税率
  21287. type: number
  21288. wrstandardcode:
  21289. description: 现货商品代码
  21290. type: string
  21291. wrstandardid:
  21292. description: 现货商品ID(SEQ_WRSTANDARD)
  21293. type: integer
  21294. wrstandardname:
  21295. description: 现货商品名称
  21296. type: string
  21297. type: object
  21298. models.XhcpSellBackApplyEx:
  21299. properties:
  21300. applyremark:
  21301. description: 申请备注
  21302. type: string
  21303. expirytype:
  21304. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  21305. type: integer
  21306. goodsspec:
  21307. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  21308. type: integer
  21309. holeflag:
  21310. description: 是否破洞[原封] - 1:无破洞 2:破洞
  21311. type: integer
  21312. isunopened:
  21313. description: 是否原封 - 1:否 2:是
  21314. type: integer
  21315. mpflag:
  21316. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  21317. type: integer
  21318. openflag:
  21319. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  21320. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  21321. type: integer
  21322. phonenum:
  21323. description: 联系电话
  21324. type: string
  21325. userid:
  21326. description: 所属用户ID
  21327. type: integer
  21328. zpflag:
  21329. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  21330. type: integer
  21331. required:
  21332. - userid
  21333. type: object
  21334. models.Xhcpsellbackapply:
  21335. properties:
  21336. applyid:
  21337. description: 申请人
  21338. type: integer
  21339. applyremark:
  21340. description: 申请备注
  21341. type: string
  21342. applysrc:
  21343. description: 申请来源 - 1:管理端 2:终端
  21344. type: integer
  21345. applystatus:
  21346. description: 申请状态 - 1:待确认 2:已处理
  21347. type: integer
  21348. applytime:
  21349. description: 申请时间
  21350. type: string
  21351. auditremark:
  21352. description: 审核备注
  21353. type: string
  21354. auditsrc:
  21355. description: 审核来源 - 1:管理端 2:终端
  21356. type: integer
  21357. expirytype:
  21358. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  21359. type: integer
  21360. goodsspec:
  21361. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  21362. type: integer
  21363. holeflag:
  21364. description: 是否破洞[原封] - 1:无破洞 2:破洞
  21365. type: integer
  21366. isunopened:
  21367. description: 是否原封 - 1:否 2:是
  21368. type: integer
  21369. mpflag:
  21370. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  21371. type: integer
  21372. openflag:
  21373. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  21374. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  21375. type: integer
  21376. phonenum:
  21377. description: 联系电话
  21378. type: string
  21379. sellbackapplyid:
  21380. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  21381. type: string
  21382. userid:
  21383. description: 所属用户ID
  21384. type: integer
  21385. zpflag:
  21386. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  21387. type: integer
  21388. required:
  21389. - userid
  21390. type: object
  21391. order.QueryHisTradeDetailRsp:
  21392. properties:
  21393. accountid:
  21394. description: 账户ID[报价币种]
  21395. type: integer
  21396. advanceratio:
  21397. description: 首付比率
  21398. type: number
  21399. buildtype:
  21400. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  21401. type: integer
  21402. buyorsell:
  21403. description: 方向 - 0:买 1:卖
  21404. type: integer
  21405. charge:
  21406. description: 手续费
  21407. type: number
  21408. closecharge:
  21409. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21410. type: number
  21411. closeexchagechargevalue:
  21412. description: 平仓交易所手续费设置值
  21413. type: number
  21414. closefeealgorithm:
  21415. description: 平仓手续费收取方式 1:比率 2:固定
  21416. type: integer
  21417. closememberchargevalue:
  21418. description: 平仓会员手续费设置值
  21419. type: number
  21420. closepl:
  21421. description: 平仓盈亏
  21422. type: number
  21423. closepl2:
  21424. description: 平仓盈亏[逐笔]
  21425. type: number
  21426. closeqty:
  21427. description: 平仓数量(先建后平操作 需要记录)
  21428. type: number
  21429. creditamount:
  21430. description: 授信金额
  21431. type: number
  21432. decimalplace:
  21433. description: 商品报价小数位
  21434. type: integer
  21435. enumdicname:
  21436. description: 单位名称
  21437. type: string
  21438. gcaccountid:
  21439. description: 账户ID[合约币种]
  21440. type: integer
  21441. goodscode:
  21442. description: 商品代码
  21443. type: string
  21444. goodsid:
  21445. description: 商品ID
  21446. type: integer
  21447. goodsname:
  21448. description: 商品名称
  21449. type: string
  21450. goodunitid:
  21451. description: 商品单位id
  21452. type: integer
  21453. histradedate:
  21454. description: 历史交易日
  21455. type: string
  21456. intclosepl:
  21457. description: 整型盈亏(用于交易结算试算平衡-收益权)
  21458. type: integer
  21459. isconfirmexercise:
  21460. description: 是否确认行权- 0:否 1:是
  21461. type: integer
  21462. ismain:
  21463. description: 是否主单 - 0:不是 1:是
  21464. type: integer
  21465. ispreexercise:
  21466. description: 是否预申报- 0:否 1:是
  21467. type: integer
  21468. isreckoned:
  21469. description: 是否结算 - 0:未结算 1:已结算
  21470. type: integer
  21471. isvaliddata:
  21472. description: 是否有效 - 0:无效 1:有效
  21473. type: integer
  21474. listingselecttype:
  21475. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21476. type: integer
  21477. marketid:
  21478. description: 市场ID
  21479. type: integer
  21480. marketname:
  21481. description: 市场名称
  21482. type: string
  21483. matchaccountid:
  21484. description: 对手账号id
  21485. type: integer
  21486. memberuserid:
  21487. description: 会员id 个人投资者 需要填写
  21488. type: integer
  21489. opencharge:
  21490. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21491. type: number
  21492. openexchagechargevalue:
  21493. description: 建仓交易所手续费设置值
  21494. type: number
  21495. openfeealgorithm:
  21496. description: 建仓手续费收取方式 1:比率 2:固定
  21497. type: integer
  21498. openmemberchargevalue:
  21499. description: 建仓会员手续费设置值
  21500. type: number
  21501. openqty:
  21502. description: 开仓数量(先建后平操作 需要记录)
  21503. type: number
  21504. optiontype:
  21505. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21506. type: integer
  21507. orderid:
  21508. description: 委托单号
  21509. type: string
  21510. payamount:
  21511. description: 支付金额(付款金额)
  21512. type: number
  21513. performanceplanid:
  21514. description: 履约计划ID[期权]
  21515. type: integer
  21516. performancestatus:
  21517. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  21518. type: integer
  21519. preexerciseprice:
  21520. description: 预申报价格
  21521. type: number
  21522. premium:
  21523. description: 权利金 - [持仓单的权利金]
  21524. type: number
  21525. qtydecimalplace:
  21526. description: 商品报价小数位
  21527. type: integer
  21528. recvamount:
  21529. description: 到账金额 = 成交金额 - 手续费
  21530. type: number
  21531. relatedouttradeid:
  21532. description: 关联外部成交单ID
  21533. type: integer
  21534. status:
  21535. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  21536. type: integer
  21537. totalamount:
  21538. description: 订单总额 = 成交金额 + 手续费
  21539. type: number
  21540. tradeamount:
  21541. description: 成交金额[账户币种,用于所有权]
  21542. type: number
  21543. tradedate:
  21544. description: 交易日(yyyyMMdd)
  21545. type: string
  21546. tradeid:
  21547. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21548. type: string
  21549. trademode:
  21550. description: 交易模式
  21551. type: integer
  21552. tradeprice:
  21553. description: 成交价格
  21554. type: number
  21555. tradeproperty:
  21556. description: 交易属性
  21557. type: integer
  21558. tradeqty:
  21559. description: 成交数量
  21560. type: number
  21561. tradetime:
  21562. description: 成交时间
  21563. type: string
  21564. tradetype:
  21565. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  21566. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  21567. type: integer
  21568. required:
  21569. - accountid
  21570. - buyorsell
  21571. - goodsid
  21572. - histradedate
  21573. - marketid
  21574. - memberuserid
  21575. - orderid
  21576. - tradeamount
  21577. - tradedate
  21578. - tradeid
  21579. - tradeprice
  21580. - tradeqty
  21581. - tradetime
  21582. type: object
  21583. order.QueryHisTradeOrderDetailRsp:
  21584. properties:
  21585. accountid:
  21586. description: 账户ID[报价币种]
  21587. type: integer
  21588. buildtype:
  21589. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  21590. type: integer
  21591. buyorsell:
  21592. description: 买卖 - 0:买 1:卖
  21593. type: integer
  21594. cancelorderid:
  21595. description: 撤单单号(撤单时填写)
  21596. type: string
  21597. cancelqty:
  21598. description: 撤单数量
  21599. type: number
  21600. clientordertime:
  21601. description: 客户端委托时间
  21602. type: string
  21603. clientticket:
  21604. description: 客户端流水号
  21605. type: string
  21606. clienttype:
  21607. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  21608. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  21609. type: integer
  21610. closeexchagechargevalue:
  21611. description: 平仓交易所手续费设置值
  21612. type: number
  21613. closefeealgorithm:
  21614. description: 平仓手续费收取方式 1:比率 2:固定
  21615. type: integer
  21616. closefreezecharge:
  21617. description: 平仓冻结手续费(先建后平操作,需要记录)
  21618. type: number
  21619. closememberchargevalue:
  21620. description: 平仓会员手续费设置值
  21621. type: number
  21622. closeqty:
  21623. description: 平仓数量(先建后平操作 需要记录)
  21624. type: number
  21625. closetradeqty:
  21626. description: 平仓成交数量(先建后平操作,需要记录)
  21627. type: number
  21628. closeunfreezecharge:
  21629. description: 平仓解冻手续费(先建后平操作,需要记录)
  21630. type: number
  21631. decimalplace:
  21632. description: 商品报价小数位
  21633. type: integer
  21634. delistingtype:
  21635. description: 摘牌类型 - 1:价格最优 2:点选成交
  21636. type: integer
  21637. enumdicname:
  21638. description: 单位名称
  21639. type: string
  21640. freezecharge:
  21641. description: 冻结手续费
  21642. type: number
  21643. freezemargin:
  21644. description: 冻结保证金(冻结交易金额)
  21645. type: number
  21646. gcaccountid:
  21647. description: 账户ID[合约币种]
  21648. type: integer
  21649. goodscode:
  21650. description: 商品代码
  21651. type: string
  21652. goodsid:
  21653. description: 商品ID
  21654. type: integer
  21655. goodsname:
  21656. description: 商品名称
  21657. type: string
  21658. goodunitid:
  21659. description: 商品单位id
  21660. type: integer
  21661. histradedate:
  21662. description: 历史交易日
  21663. type: string
  21664. isconfirmexercise:
  21665. description: 是否确认行权- 0:否 1:是
  21666. type: integer
  21667. ispreexercise:
  21668. description: 是否预申报- 0:否 1:是
  21669. type: integer
  21670. isvaliddata:
  21671. description: 是否有效 - 0:无效 1:有效
  21672. type: integer
  21673. listingselecttype:
  21674. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21675. type: integer
  21676. marginalgorithm:
  21677. description: 保证金收取方式 1:比率 2:固定
  21678. type: integer
  21679. marginvalue:
  21680. description: 即市保证金设置值
  21681. type: number
  21682. marketid:
  21683. description: 市场ID
  21684. type: integer
  21685. marketmaxsub:
  21686. description: 市价最大偏移范围
  21687. type: number
  21688. marketname:
  21689. description: 市场名称
  21690. type: string
  21691. memberuserid:
  21692. description: 所属会员UserID
  21693. type: integer
  21694. openexchagechargevalue:
  21695. description: 建仓交易所手续费设置值
  21696. type: number
  21697. openfeealgorithm:
  21698. description: 建仓手续费收取方式 1:比率 2:固定
  21699. type: integer
  21700. openfreezecharge:
  21701. description: 开仓冻结手续费(先建后平操作,需要记录)
  21702. type: number
  21703. openmemberchargevalue:
  21704. description: 建仓会员手续费设置值
  21705. type: number
  21706. openqty:
  21707. description: 开仓数量(先建后平操作,需要记录)
  21708. type: number
  21709. opentradeqty:
  21710. description: 开仓成交数量(先建后平操作,需要记录)
  21711. type: number
  21712. openunfreezecharge:
  21713. description: 开仓解冻手续费(先建后平操作,需要记录)
  21714. type: number
  21715. operatetype:
  21716. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  21717. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  21718. 15:管理端协议转让
  21719. type: integer
  21720. operatorid:
  21721. description: 登录账号(LoginID)
  21722. type: integer
  21723. optiontype:
  21724. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21725. type: integer
  21726. orderid:
  21727. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21728. type: string
  21729. orderprice:
  21730. description: 委托价格
  21731. type: number
  21732. orderqty:
  21733. description: 委托数量
  21734. type: number
  21735. ordersrc:
  21736. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  21737. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  21738. type: integer
  21739. orderstatus:
  21740. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  21741. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  21742. 16:成交失败违约(荷兰式竞拍专用)
  21743. type: integer
  21744. ordertime:
  21745. description: 委托时间
  21746. type: string
  21747. preexerciseprice:
  21748. description: 预申报价格
  21749. type: number
  21750. premium:
  21751. description: 权利金
  21752. type: number
  21753. preorderid:
  21754. description: 关联预埋单号(止盈止损单时填写)
  21755. type: string
  21756. pricemode:
  21757. description: '取价方式 - 1:市价 2: 限价'
  21758. type: integer
  21759. qtydecimalplace:
  21760. description: 成交量小数位
  21761. type: integer
  21762. quoteid:
  21763. description: 报价单ID
  21764. type: integer
  21765. relatedid:
  21766. description: 关联单号(交割单)
  21767. type: string
  21768. retcode:
  21769. description: 错误代码
  21770. type: integer
  21771. sessionid:
  21772. description: 会话ID
  21773. type: integer
  21774. tradedate:
  21775. description: 交易日(yyyyMMdd)
  21776. type: string
  21777. trademode:
  21778. description: 交易模式
  21779. type: integer
  21780. tradeproperty:
  21781. description: 交易属性
  21782. type: integer
  21783. tradeqty:
  21784. description: 成交数量
  21785. type: number
  21786. unfreezecharge:
  21787. description: 解冻手续费
  21788. type: number
  21789. unfreezemargin:
  21790. description: 解冻保证金
  21791. type: number
  21792. updatetime:
  21793. description: 更新时间
  21794. type: string
  21795. uuid:
  21796. description: 发起端唯一id
  21797. type: string
  21798. validtime:
  21799. description: 有效期限
  21800. type: string
  21801. validtype:
  21802. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  21803. type: integer
  21804. volumetype:
  21805. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  21806. type: integer
  21807. required:
  21808. - accountid
  21809. - buildtype
  21810. - buyorsell
  21811. - goodsid
  21812. - histradedate
  21813. - marketid
  21814. - memberuserid
  21815. - operatetype
  21816. - orderid
  21817. - orderqty
  21818. - ordertime
  21819. - pricemode
  21820. - tradedate
  21821. - validtype
  21822. type: object
  21823. order.QueryTradeDetailRsp:
  21824. properties:
  21825. accountid:
  21826. description: 账户ID[报价币种]
  21827. type: integer
  21828. advanceratio:
  21829. description: 首付比率
  21830. type: number
  21831. buildtype:
  21832. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  21833. type: integer
  21834. buyorsell:
  21835. description: 方向 - 0:买 1:卖
  21836. type: integer
  21837. charge:
  21838. description: 手续费
  21839. type: number
  21840. closecharge:
  21841. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21842. type: number
  21843. closeexchagechargevalue:
  21844. description: 平仓交易所手续费设置值
  21845. type: number
  21846. closefeealgorithm:
  21847. description: 平仓手续费收取方式 1:比率 2:固定
  21848. type: integer
  21849. closememberchargevalue:
  21850. description: 平仓会员手续费设置值
  21851. type: number
  21852. closepl:
  21853. description: 平仓盈亏
  21854. type: number
  21855. closepl2:
  21856. description: 平仓盈亏[逐笔]
  21857. type: number
  21858. closeqty:
  21859. description: 平仓数量(先建后平操作 需要记录)
  21860. type: number
  21861. creditamount:
  21862. description: 授信金额
  21863. type: number
  21864. decimalplace:
  21865. description: 商品报价小数位
  21866. type: integer
  21867. enumdicname:
  21868. description: 单位名称
  21869. type: string
  21870. gcaccountid:
  21871. description: 账户ID[合约币种]
  21872. type: integer
  21873. goodscode:
  21874. description: 商品代码
  21875. type: string
  21876. goodsid:
  21877. description: 商品ID
  21878. type: integer
  21879. goodsname:
  21880. description: 商品名称
  21881. type: string
  21882. goodunitid:
  21883. description: 商品单位id
  21884. type: integer
  21885. intclosepl:
  21886. description: 整型盈亏(用于交易结算试算平衡-收益权)
  21887. type: integer
  21888. isconfirmexercise:
  21889. description: 是否确认行权- 0:否 1:是
  21890. type: integer
  21891. ismain:
  21892. description: 是否主单 - 0:不是 1:是
  21893. type: integer
  21894. ispreexercise:
  21895. description: 是否预申报- 0:否 1:是
  21896. type: integer
  21897. isreckoned:
  21898. description: 是否结算 - 0:未结算 1:已结算
  21899. type: integer
  21900. listingselecttype:
  21901. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21902. type: integer
  21903. marketid:
  21904. description: 市场ID
  21905. type: integer
  21906. marketname:
  21907. description: 市场名称
  21908. type: string
  21909. matchaccountid:
  21910. description: 对手账号id
  21911. type: integer
  21912. memberuserid:
  21913. description: 会员id 个人投资者 需要填写
  21914. type: integer
  21915. opencharge:
  21916. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21917. type: number
  21918. openexchagechargevalue:
  21919. description: 建仓交易所手续费设置值
  21920. type: number
  21921. openfeealgorithm:
  21922. description: 建仓手续费收取方式 1:比率 2:固定
  21923. type: integer
  21924. openmemberchargevalue:
  21925. description: 建仓会员手续费设置值
  21926. type: number
  21927. openqty:
  21928. description: 开仓数量(先建后平操作 需要记录)
  21929. type: number
  21930. optiontype:
  21931. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21932. type: integer
  21933. orderid:
  21934. description: 委托单号
  21935. type: string
  21936. payamount:
  21937. description: 支付金额(付款金额)
  21938. type: number
  21939. performanceplanid:
  21940. description: 履约计划ID[期权]
  21941. type: integer
  21942. performancestatus:
  21943. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  21944. type: integer
  21945. preexerciseprice:
  21946. description: 预申报价格
  21947. type: number
  21948. premium:
  21949. description: 权利金 - [持仓单的权利金]
  21950. type: number
  21951. qtydecimalplace:
  21952. description: 商品报价小数位
  21953. type: integer
  21954. recvamount:
  21955. description: 到账金额 = 成交金额 - 手续费
  21956. type: number
  21957. relatedouttradeid:
  21958. description: 关联外部成交单ID
  21959. type: integer
  21960. status:
  21961. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  21962. type: integer
  21963. totalamount:
  21964. description: 订单总额 = 成交金额 + 手续费
  21965. type: number
  21966. tradeamount:
  21967. description: 成交金额[账户币种,用于所有权]
  21968. type: number
  21969. tradedate:
  21970. description: 交易日(yyyyMMdd)
  21971. type: string
  21972. tradeid:
  21973. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21974. type: string
  21975. trademode:
  21976. description: 交易模式
  21977. type: integer
  21978. tradeprice:
  21979. description: 成交价格
  21980. type: number
  21981. tradeproperty:
  21982. description: 交易属性
  21983. type: integer
  21984. tradeqty:
  21985. description: 成交数量
  21986. type: number
  21987. tradetime:
  21988. description: 成交时间
  21989. type: string
  21990. tradetype:
  21991. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  21992. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  21993. type: integer
  21994. required:
  21995. - accountid
  21996. - buyorsell
  21997. - goodsid
  21998. - marketid
  21999. - memberuserid
  22000. - orderid
  22001. - tradeamount
  22002. - tradedate
  22003. - tradeid
  22004. - tradeprice
  22005. - tradeqty
  22006. - tradetime
  22007. type: object
  22008. order.QueryTradeOrderDetailRsp:
  22009. properties:
  22010. accountid:
  22011. description: 账户ID[报价币种]
  22012. type: integer
  22013. buildtype:
  22014. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  22015. type: integer
  22016. buyorsell:
  22017. description: 买卖 - 0:买 1:卖
  22018. type: integer
  22019. cancelorderid:
  22020. description: 撤单单号(撤单时填写)
  22021. type: string
  22022. cancelqty:
  22023. description: 撤单数量
  22024. type: number
  22025. clienttype:
  22026. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  22027. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  22028. type: integer
  22029. closefreezecharge:
  22030. description: 平仓冻结手续费(先建后平操作,需要记录)
  22031. type: number
  22032. closeqty:
  22033. description: 平仓数量(先建后平操作 需要记录)
  22034. type: number
  22035. closetradeqty:
  22036. description: 平仓成交数量(先建后平操作,需要记录)
  22037. type: number
  22038. closeunfreezecharge:
  22039. description: 平仓解冻手续费(先建后平操作,需要记录)
  22040. type: number
  22041. decimalplace:
  22042. description: 商品报价小数位
  22043. type: integer
  22044. delistingtype:
  22045. description: 摘牌类型 - 1:价格最优 2:点选成交
  22046. type: integer
  22047. enableqty:
  22048. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  22049. type: number
  22050. enumdicname:
  22051. description: 单位名称
  22052. type: string
  22053. freezecharge:
  22054. description: 冻结手续费
  22055. type: number
  22056. freezemargin:
  22057. description: 冻结保证金(冻结交易金额)
  22058. type: number
  22059. goodscode:
  22060. description: 商品代码
  22061. type: string
  22062. goodsid:
  22063. description: 商品ID
  22064. type: integer
  22065. goodsname:
  22066. description: 商品名称
  22067. type: string
  22068. goodunitid:
  22069. description: 商品单位id
  22070. type: integer
  22071. listingselecttype:
  22072. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22073. type: integer
  22074. marketid:
  22075. description: 市场ID
  22076. type: integer
  22077. marketname:
  22078. description: 市场名称
  22079. type: string
  22080. openfreezecharge:
  22081. description: 开仓冻结手续费(先建后平操作,需要记录)
  22082. type: number
  22083. openqty:
  22084. description: 开仓数量(先建后平操作,需要记录)
  22085. type: number
  22086. opentradeqty:
  22087. description: 开仓成交数量(先建后平操作,需要记录)
  22088. type: number
  22089. openunfreezecharge:
  22090. description: 开仓解冻手续费(先建后平操作,需要记录)
  22091. type: number
  22092. operatetype:
  22093. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  22094. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  22095. 15:管理端协议转让
  22096. type: integer
  22097. operatorid:
  22098. description: 登录账号(LoginID)
  22099. type: integer
  22100. orderid:
  22101. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22102. type: string
  22103. orderprice:
  22104. description: 委托价格
  22105. type: number
  22106. orderqty:
  22107. description: 委托数量
  22108. type: number
  22109. ordersrc:
  22110. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  22111. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  22112. type: integer
  22113. orderstatus:
  22114. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  22115. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  22116. 16:成交失败违约(荷兰式竞拍专用)
  22117. type: integer
  22118. ordertime:
  22119. description: 委托时间
  22120. type: string
  22121. preorderid:
  22122. description: 关联预埋单号(止盈止损单时填写)
  22123. type: string
  22124. pricemode:
  22125. description: '取价方式 - 1:市价 2: 限价'
  22126. type: integer
  22127. qtydecimalplace:
  22128. description: 商品报价小数位
  22129. type: integer
  22130. relatedid:
  22131. description: 关联单号(交割单)
  22132. type: string
  22133. tradedate:
  22134. description: 交易日(yyyyMMdd)
  22135. type: string
  22136. trademode:
  22137. description: 交易模式
  22138. type: integer
  22139. tradeqty:
  22140. description: 成交数量
  22141. type: number
  22142. unfreezecharge:
  22143. description: 解冻手续费
  22144. type: number
  22145. unfreezemargin:
  22146. description: 解冻保证金
  22147. type: number
  22148. validtime:
  22149. description: 有效期限
  22150. type: string
  22151. validtype:
  22152. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  22153. type: integer
  22154. volumetype:
  22155. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  22156. type: integer
  22157. required:
  22158. - accountid
  22159. - buildtype
  22160. - buyorsell
  22161. - goodsid
  22162. - marketid
  22163. - operatetype
  22164. - orderqty
  22165. - ordertime
  22166. - pricemode
  22167. - tradedate
  22168. - validtype
  22169. type: object
  22170. order.QueryTradePositionRsp:
  22171. properties:
  22172. accountid:
  22173. description: 资金账户
  22174. type: integer
  22175. agreeunit:
  22176. description: 合约单位
  22177. type: number
  22178. averageprice:
  22179. description: 持仓均价
  22180. type: number
  22181. buyorsell:
  22182. description: 方向 - 0:买 1:卖
  22183. type: integer
  22184. closetotalqty:
  22185. description: 平仓总数量
  22186. type: number
  22187. curholderamount:
  22188. description: 当前持仓总金额[商品币种]
  22189. type: number
  22190. curpositionqty:
  22191. description: 当前持仓总数量
  22192. type: number
  22193. currencyid:
  22194. description: 报价货币ID
  22195. type: integer
  22196. curtdposition:
  22197. description: 期末今日头寸
  22198. type: number
  22199. decimalplace:
  22200. description: 报价小数位
  22201. type: integer
  22202. enableqty:
  22203. description: 可用量
  22204. type: number
  22205. fretdposition:
  22206. description: 冻结今日头寸
  22207. type: number
  22208. frozenqty:
  22209. description: 持仓冻结数量
  22210. type: number
  22211. goodscode:
  22212. description: 商品代码
  22213. type: string
  22214. goodsid:
  22215. description: 商品Id
  22216. type: integer
  22217. goodsname:
  22218. description: 商品名称
  22219. type: string
  22220. goodunit:
  22221. description: 报价单位
  22222. type: string
  22223. goodunitid:
  22224. description: 报价单位ID
  22225. type: integer
  22226. holderamount:
  22227. description: 期初持仓总金额[商品币种]
  22228. type: number
  22229. lastprice:
  22230. description: 最新价
  22231. type: number
  22232. marketamount:
  22233. description: 市值
  22234. type: number
  22235. marketid:
  22236. description: 所属市场ID
  22237. type: integer
  22238. openreqqty:
  22239. description: 开仓申请数量(用于比较最大持仓数量)
  22240. type: number
  22241. opentotalqty:
  22242. description: 开仓总数量
  22243. type: number
  22244. otherfrozenqty:
  22245. description: 持仓其他冻结数量(交割冻结)
  22246. type: number
  22247. positionpl:
  22248. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  22249. * 合约单位
  22250. type: number
  22251. positionplrate:
  22252. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  22253. type: number
  22254. positionqty:
  22255. description: 期初持仓数量
  22256. type: number
  22257. qtydecimalplace:
  22258. description: 成交量小数位
  22259. type: integer
  22260. refgoodscode:
  22261. description: 参考商品代码
  22262. type: string
  22263. refgoodsid:
  22264. description: 参考商品ID
  22265. type: integer
  22266. tnqty:
  22267. description: T+N冻结总量
  22268. type: number
  22269. tnusedqty:
  22270. description: T+N使用量(可以使用T+N的冻结数量)
  22271. type: number
  22272. trademode:
  22273. description: 交易模式
  22274. type: integer
  22275. tradeproperty:
  22276. description: 交易属性
  22277. type: integer
  22278. usedmargin:
  22279. description: 占用保证金[商品币种]
  22280. type: number
  22281. required:
  22282. - goodsid
  22283. type: object
  22284. pb.GoodsMarginCfgStruct:
  22285. properties:
  22286. CustomerTypeID:
  22287. description: 投资者客户类型
  22288. type: integer
  22289. GoodsID:
  22290. description: 商品ID
  22291. type: integer
  22292. IsDefault:
  22293. description: 是否默认标志位
  22294. type: integer
  22295. LockMarginValue:
  22296. description: 锁仓保证金
  22297. type: number
  22298. MarginAlgorithm:
  22299. description: 保证金计算方式
  22300. type: integer
  22301. MarketMarginValue:
  22302. description: 即市保证金值
  22303. type: number
  22304. RealMarginAlgorithm:
  22305. description: 实付保证金计算方式
  22306. type: integer
  22307. RealMarginValue:
  22308. description: 实付比例
  22309. type: number
  22310. ReckonMarginValue:
  22311. description: 结算保证金值
  22312. type: number
  22313. type: object
  22314. quote.HistoryData:
  22315. properties:
  22316. c:
  22317. description: 收盘价
  22318. type: number
  22319. f:
  22320. description: 是否补充数据
  22321. type: boolean
  22322. h:
  22323. description: 最高价
  22324. type: number
  22325. hv:
  22326. description: 持仓量
  22327. type: integer
  22328. l:
  22329. description: 最低价
  22330. type: number
  22331. o:
  22332. description: 开盘价
  22333. type: number
  22334. s:
  22335. description: 结算价,日线周期(包括)以上才有
  22336. type: number
  22337. ts:
  22338. description: 时间
  22339. type: string
  22340. tt:
  22341. description: 总金额
  22342. type: number
  22343. tv:
  22344. description: 总量(成交量)
  22345. type: integer
  22346. type: object
  22347. quote.HistoryTikData:
  22348. properties:
  22349. AV:
  22350. description: 卖量
  22351. type: integer
  22352. Ask:
  22353. description: 卖价
  22354. type: number
  22355. BV:
  22356. description: 买量
  22357. type: integer
  22358. Bid:
  22359. description: 买价
  22360. type: number
  22361. HI:
  22362. description: 单笔持仓
  22363. type: integer
  22364. HV:
  22365. description: 持仓量
  22366. type: integer
  22367. PE:
  22368. description: 现价
  22369. type: number
  22370. TDR:
  22371. description: 交易方向,0:买 1:卖
  22372. type: integer
  22373. TK:
  22374. description: 交易类型
  22375. type: integer
  22376. TS:
  22377. description: 行情时间文本
  22378. type: string
  22379. TT:
  22380. description: 现金额
  22381. type: number
  22382. Vol:
  22383. description: 现量
  22384. type: integer
  22385. type: object
  22386. quote.QueryQuoteDayRsp:
  22387. properties:
  22388. ask:
  22389. description: 卖1
  22390. type: number
  22391. ask2:
  22392. description: 卖2
  22393. type: number
  22394. ask3:
  22395. description: 卖3
  22396. type: number
  22397. ask4:
  22398. description: 卖4
  22399. type: number
  22400. ask5:
  22401. description: 卖5
  22402. type: number
  22403. ask6:
  22404. description: 卖6
  22405. type: number
  22406. ask7:
  22407. description: 卖7
  22408. type: number
  22409. ask8:
  22410. description: 卖8
  22411. type: number
  22412. ask9:
  22413. description: 卖9
  22414. type: number
  22415. ask10:
  22416. description: 卖10
  22417. type: number
  22418. askorderid:
  22419. description: 卖单号1
  22420. type: integer
  22421. askorderid2:
  22422. description: 卖单号2
  22423. type: integer
  22424. askorderid3:
  22425. description: 卖单号3
  22426. type: integer
  22427. askorderid4:
  22428. description: 卖单号4
  22429. type: integer
  22430. askorderid5:
  22431. description: 卖单号5
  22432. type: integer
  22433. askordervolume:
  22434. description: 卖单量1
  22435. type: integer
  22436. askordervolume2:
  22437. description: 卖单量2
  22438. type: integer
  22439. askordervolume3:
  22440. description: 卖单量3
  22441. type: integer
  22442. askordervolume4:
  22443. description: 卖单量4
  22444. type: integer
  22445. askordervolume5:
  22446. description: 卖单量5
  22447. type: integer
  22448. askordervolume6:
  22449. description: 卖单量6
  22450. type: integer
  22451. askordervolume7:
  22452. description: 卖单量7
  22453. type: integer
  22454. askordervolume8:
  22455. description: 卖单量8
  22456. type: integer
  22457. askordervolume9:
  22458. description: 卖单量9
  22459. type: integer
  22460. askordervolume10:
  22461. description: 卖单量10
  22462. type: integer
  22463. askqueueinfo:
  22464. description: 大利市卖港股用
  22465. type: string
  22466. askvolume:
  22467. description: 卖量1
  22468. type: integer
  22469. askvolume2:
  22470. description: 卖量2
  22471. type: integer
  22472. askvolume3:
  22473. description: 卖量3
  22474. type: integer
  22475. askvolume4:
  22476. description: 卖量4
  22477. type: integer
  22478. askvolume5:
  22479. description: 卖量5
  22480. type: integer
  22481. askvolume6:
  22482. description: 卖量6
  22483. type: integer
  22484. askvolume7:
  22485. description: 卖量7
  22486. type: integer
  22487. askvolume8:
  22488. description: 卖量8
  22489. type: integer
  22490. askvolume9:
  22491. description: 卖量9
  22492. type: integer
  22493. askvolume10:
  22494. description: 卖量10
  22495. type: integer
  22496. averageprice:
  22497. description: 均价
  22498. type: number
  22499. bid:
  22500. description: 买1
  22501. type: number
  22502. bid2:
  22503. description: 买2
  22504. type: number
  22505. bid3:
  22506. description: 买3
  22507. type: number
  22508. bid4:
  22509. description: 买4
  22510. type: number
  22511. bid5:
  22512. description: 买5
  22513. type: number
  22514. bid6:
  22515. description: 买6
  22516. type: number
  22517. bid7:
  22518. description: 买7
  22519. type: number
  22520. bid8:
  22521. description: 买8
  22522. type: number
  22523. bid9:
  22524. description: 买9
  22525. type: number
  22526. bid10:
  22527. description: 买10
  22528. type: number
  22529. bidorderid:
  22530. description: 买单号1
  22531. type: integer
  22532. bidorderid2:
  22533. description: 买单号2
  22534. type: integer
  22535. bidorderid3:
  22536. description: 买单号3
  22537. type: integer
  22538. bidorderid4:
  22539. description: 买单号4
  22540. type: integer
  22541. bidorderid5:
  22542. description: 买单号5
  22543. type: integer
  22544. bidordervolume:
  22545. description: 买单量1
  22546. type: integer
  22547. bidordervolume2:
  22548. description: 买单量2
  22549. type: integer
  22550. bidordervolume3:
  22551. description: 买单量3
  22552. type: integer
  22553. bidordervolume4:
  22554. description: 买单量4
  22555. type: integer
  22556. bidordervolume5:
  22557. description: 买单量5
  22558. type: integer
  22559. bidordervolume6:
  22560. description: 买单量6
  22561. type: integer
  22562. bidordervolume7:
  22563. description: 买单量7
  22564. type: integer
  22565. bidordervolume8:
  22566. description: 买单量8
  22567. type: integer
  22568. bidordervolume9:
  22569. description: 买单量9
  22570. type: integer
  22571. bidordervolume10:
  22572. description: 买单量10
  22573. type: integer
  22574. bidqueueinfo:
  22575. description: 大利市买港股用
  22576. type: string
  22577. bidvolume:
  22578. description: 买量1
  22579. type: integer
  22580. bidvolume2:
  22581. description: 买量2
  22582. type: integer
  22583. bidvolume3:
  22584. description: 买量3
  22585. type: integer
  22586. bidvolume4:
  22587. description: 买量4
  22588. type: integer
  22589. bidvolume5:
  22590. description: 买量5
  22591. type: integer
  22592. bidvolume6:
  22593. description: 买量6
  22594. type: integer
  22595. bidvolume7:
  22596. description: 买量7
  22597. type: integer
  22598. bidvolume8:
  22599. description: 买量8
  22600. type: integer
  22601. bidvolume9:
  22602. description: 买量9
  22603. type: integer
  22604. bidvolume10:
  22605. description: 买量10
  22606. type: integer
  22607. calloptionpremiums:
  22608. description: 认购期权1
  22609. type: integer
  22610. calloptionpremiums2:
  22611. description: 认购期权2
  22612. type: integer
  22613. calloptionpremiums3:
  22614. description: 认购期权3
  22615. type: integer
  22616. calloptionpremiums4:
  22617. description: 认购期权4
  22618. type: integer
  22619. calloptionpremiums5:
  22620. description: 认购期权5
  22621. type: integer
  22622. cleartime:
  22623. description: 清盘时间
  22624. type: integer
  22625. exchangecode:
  22626. description: 交易所代码
  22627. type: integer
  22628. exchangedate:
  22629. description: 交易日
  22630. type: integer
  22631. goodscode:
  22632. description: 商品代码
  22633. type: string
  22634. grepmarketprice:
  22635. description: 暗盘价 港股专用
  22636. type: number
  22637. highest:
  22638. description: 最高价
  22639. type: number
  22640. holdincrement:
  22641. description: 单笔持仓
  22642. type: integer
  22643. holdvolume:
  22644. description: 持仓
  22645. type: integer
  22646. iep:
  22647. description: 平衡价 港股专用
  22648. type: number
  22649. iev:
  22650. description: 平衡量 港股专用
  22651. type: number
  22652. inventory:
  22653. description: 库存
  22654. type: integer
  22655. iscleared:
  22656. description: 是否清盘标志
  22657. type: integer
  22658. issettled:
  22659. description: 是否结算标志
  22660. type: integer
  22661. last:
  22662. description: 最新价
  22663. type: number
  22664. lastlot:
  22665. description: 最新成交手数
  22666. type: integer
  22667. lasttime:
  22668. description: 行情时间(只有现价变化行情时间才变化)
  22669. type: string
  22670. lastturnover:
  22671. description: 最新成交金额
  22672. type: number
  22673. lastvolume:
  22674. description: 最新成交量
  22675. type: integer
  22676. limitdown:
  22677. description: 跌停价
  22678. type: number
  22679. limitup:
  22680. description: 涨停价
  22681. type: number
  22682. lowest:
  22683. description: 最低价
  22684. type: number
  22685. nontotalholdervolume:
  22686. description: 非交易持仓量
  22687. type: integer
  22688. nontotallot:
  22689. description: 非交易总手数
  22690. type: integer
  22691. nontotalturnover:
  22692. description: 非交易总金额
  22693. type: integer
  22694. nontotalvolume:
  22695. description: 非交易总量
  22696. type: integer
  22697. opened:
  22698. description: 开盘价
  22699. type: number
  22700. opentime:
  22701. description: 开盘时间
  22702. type: string
  22703. orderid:
  22704. description: 序号
  22705. type: integer
  22706. preclose:
  22707. description: 昨收
  22708. type: number
  22709. preholdvolume:
  22710. description: 昨持仓
  22711. type: integer
  22712. presettle:
  22713. description: 昨结价
  22714. type: number
  22715. publictradetype:
  22716. description: 公共交易标志类型 港股专用
  22717. type: string
  22718. putoptionpremiums:
  22719. description: 认沽期权1
  22720. type: integer
  22721. putoptionpremiums2:
  22722. description: 认沽期权2
  22723. type: integer
  22724. putoptionpremiums3:
  22725. description: 认沽期权3
  22726. type: integer
  22727. putoptionpremiums4:
  22728. description: 认沽期权4
  22729. type: integer
  22730. putoptionpremiums5:
  22731. description: 认沽期权5
  22732. type: integer
  22733. settle:
  22734. description: 结算价
  22735. type: number
  22736. strikeprice:
  22737. description: 发行价
  22738. type: number
  22739. totalaskvolume:
  22740. description: 内盘
  22741. type: integer
  22742. totalbidvolume:
  22743. description: 外盘
  22744. type: integer
  22745. totallot:
  22746. description: 总手数
  22747. type: integer
  22748. totalturnover:
  22749. description: 总金额
  22750. type: number
  22751. totalvolume:
  22752. description: 总量
  22753. type: integer
  22754. utclasttime:
  22755. description: utc的行情时间
  22756. type: string
  22757. type: object
  22758. quote.QueryTSDataRsp:
  22759. properties:
  22760. Count:
  22761. description: 交易日应有数据个数
  22762. type: integer
  22763. decimalPlace:
  22764. description: 小数位
  22765. type: integer
  22766. endTime:
  22767. description: 结束时间
  22768. type: string
  22769. goodsCode:
  22770. description: 商品代码
  22771. type: string
  22772. historyDatas:
  22773. description: 历史数据
  22774. items:
  22775. $ref: '#/definitions/quote.HistoryData'
  22776. type: array
  22777. outGoodsCode:
  22778. description: 外部商品代码
  22779. type: string
  22780. preSettle:
  22781. description: 昨结价
  22782. type: number
  22783. runSteps:
  22784. description: 交易日开休市计划
  22785. items:
  22786. $ref: '#/definitions/quote.TSDataRunStep'
  22787. type: array
  22788. startTime:
  22789. description: 开始时间
  22790. type: string
  22791. tradeDate:
  22792. description: 交易日
  22793. type: string
  22794. type: object
  22795. quote.TSDataRunStep:
  22796. properties:
  22797. end:
  22798. description: 真实结束时间
  22799. type: string
  22800. endflag:
  22801. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  22802. type: integer
  22803. endtime:
  22804. description: 结束时间(HH:mm)
  22805. type: string
  22806. endweekday:
  22807. description: 结束周几
  22808. type: integer
  22809. groupid:
  22810. description: 分组ID
  22811. type: integer
  22812. runstep:
  22813. description: 运行阶段 - 2:连续交易
  22814. type: integer
  22815. sectionid:
  22816. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  22817. 结束时间=结算时间 结束周几=结算周几
  22818. type: integer
  22819. start:
  22820. description: 真实开始时间
  22821. type: string
  22822. startflag:
  22823. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  22824. type: integer
  22825. starttime:
  22826. description: 起始时间(HH:mm)
  22827. type: string
  22828. startweekday:
  22829. description: 起始周几
  22830. type: integer
  22831. tradeweekday:
  22832. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  22833. type: integer
  22834. type: object
  22835. szdz.QueryConvertLogRsp:
  22836. properties:
  22837. accountid:
  22838. description: 资金账户ID
  22839. type: integer
  22840. clientticket:
  22841. description: 客户端流水号
  22842. type: string
  22843. converttype:
  22844. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  22845. type: integer
  22846. createtime:
  22847. description: 记账时间
  22848. type: string
  22849. daymaxvalue:
  22850. description: 配置当日最大转入限制
  22851. type: number
  22852. daymaxvalue2:
  22853. description: 配置当日最大转入限制(转入)
  22854. type: number
  22855. goodscode:
  22856. description: 商品代码
  22857. type: string
  22858. goodsname:
  22859. description: 商品名称
  22860. type: string
  22861. handlestatus:
  22862. description: 处理状态
  22863. type: integer
  22864. innergoodsid:
  22865. description: 内部商品ID
  22866. type: integer
  22867. inratio:
  22868. description: 配置转入比值
  22869. type: integer
  22870. invalue:
  22871. description: 目标值
  22872. type: number
  22873. logid:
  22874. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22875. type: integer
  22876. mobile:
  22877. description: 手机号码(加密存储)
  22878. type: string
  22879. outergoodscode:
  22880. description: 外部商品代码[JD\PD]
  22881. type: string
  22882. outratio:
  22883. description: 配置转出比值
  22884. type: integer
  22885. outvalue:
  22886. description: 源值
  22887. type: number
  22888. pddecimalplace:
  22889. description: PD小数位
  22890. type: integer
  22891. qty:
  22892. description: 数量
  22893. type: string
  22894. remark:
  22895. description: 备注
  22896. type: string
  22897. sessionid:
  22898. description: 会话ID
  22899. type: integer
  22900. timemaxvalue:
  22901. description: 配置单次最大转入限制
  22902. type: number
  22903. timemaxvalue2:
  22904. description: 配置单次最大转入限制(转入)
  22905. type: number
  22906. timeminvalue:
  22907. description: 配置单次最小数量限制
  22908. type: number
  22909. timeminvalue2:
  22910. description: 配置单次最小数量限制(转入)
  22911. type: number
  22912. tradedate:
  22913. description: 交易日(yyyyMMdd)
  22914. type: string
  22915. userid:
  22916. description: 用户ID
  22917. type: integer
  22918. required:
  22919. - logid
  22920. type: object
  22921. szdz.QueryGoodsPickupRsp:
  22922. properties:
  22923. accountid:
  22924. description: 账户ID
  22925. type: integer
  22926. address:
  22927. description: 提货人详细地址
  22928. type: string
  22929. auditer:
  22930. description: 审核人
  22931. type: integer
  22932. audittime:
  22933. description: 审核时间
  22934. type: string
  22935. cardnum:
  22936. description: 提货人证件号码
  22937. type: string
  22938. cardtypeid:
  22939. description: 提货人证件类型
  22940. type: integer
  22941. checkremark:
  22942. description: 审核备注
  22943. type: string
  22944. goodscode:
  22945. description: 商品代码
  22946. type: string
  22947. goodsid:
  22948. description: 商品ID
  22949. type: integer
  22950. goodsname:
  22951. description: 商品名称
  22952. type: string
  22953. handlestatus:
  22954. description: 处理状态
  22955. type: integer
  22956. marketid:
  22957. description: 市场ID
  22958. type: integer
  22959. phonenum:
  22960. description: 提货人联系方式
  22961. type: string
  22962. qty:
  22963. description: 提货数量
  22964. type: number
  22965. recivername:
  22966. description: 提货人姓名
  22967. type: string
  22968. reqtime:
  22969. description: 更新时间
  22970. type: string
  22971. takemode:
  22972. description: 提货方式 - 2:自提 3:配送
  22973. type: integer
  22974. takeorderid:
  22975. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  22976. type: string
  22977. takeorderstatus:
  22978. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  22979. type: integer
  22980. takeremark:
  22981. description: 提货备注
  22982. type: string
  22983. tradedate:
  22984. description: 交易日(yyyyMMdd)
  22985. type: string
  22986. userid:
  22987. description: 用户ID
  22988. type: integer
  22989. required:
  22990. - takeorderid
  22991. type: object
  22992. szdz.QueryRecieptOrderRsp:
  22993. properties:
  22994. accountName:
  22995. description: 所属账号名称(已脱敏)
  22996. type: string
  22997. accountid:
  22998. description: 资金账号
  22999. type: integer
  23000. buyorsell:
  23001. description: 方向 - 0:买 1:卖
  23002. type: integer
  23003. enableqty:
  23004. description: 可摘数量
  23005. type: integer
  23006. goodscode:
  23007. description: 商品代码
  23008. type: string
  23009. goodsid:
  23010. description: 商品ID
  23011. type: integer
  23012. goodsname:
  23013. description: 商品名称
  23014. type: string
  23015. orderid:
  23016. description: 委托单号
  23017. type: string
  23018. orderprice:
  23019. description: 委托价格
  23020. type: number
  23021. ordertime:
  23022. description: 委托时间
  23023. type: string
  23024. tradedate:
  23025. description: 交易日(yyyyMMdd)
  23026. type: string
  23027. required:
  23028. - ordertime
  23029. type: object
  23030. szdz.QuerySZDZTradePositionRsp:
  23031. properties:
  23032. accountid:
  23033. description: 账号Id
  23034. type: integer
  23035. agreeunit:
  23036. description: 合约单位
  23037. type: number
  23038. averageprice:
  23039. description: 持仓均价
  23040. type: number
  23041. buyorsell:
  23042. description: 方向 - 0:买 1:卖
  23043. type: integer
  23044. closetotalqty:
  23045. description: 平仓总数量
  23046. type: integer
  23047. curholderamount:
  23048. description: 当前持仓总金额
  23049. type: number
  23050. curpositionqty:
  23051. description: 当前持仓总数量
  23052. type: integer
  23053. currencyid:
  23054. description: 报价货币ID
  23055. type: integer
  23056. curtdposition:
  23057. description: 期末今日头寸
  23058. type: integer
  23059. decimalplace:
  23060. description: 报价小数位
  23061. type: integer
  23062. enableqty:
  23063. description: 可用量
  23064. type: integer
  23065. fretdposition:
  23066. description: 冻结今日头寸
  23067. type: integer
  23068. frozenqty:
  23069. description: 持仓冻结数量
  23070. type: integer
  23071. goodscode:
  23072. description: 商品代码(内部)
  23073. type: string
  23074. goodsid:
  23075. description: 商品Id
  23076. type: integer
  23077. goodsname:
  23078. description: 商品名称
  23079. type: string
  23080. goodunit:
  23081. description: 报价单位
  23082. type: string
  23083. goodunitid:
  23084. description: 报价单位ID
  23085. type: integer
  23086. holderamount:
  23087. description: 期初持仓总金额
  23088. type: number
  23089. marketid:
  23090. description: 市场ID
  23091. type: integer
  23092. openreqqty:
  23093. description: 开仓申请数量
  23094. type: integer
  23095. opentotalqty:
  23096. description: 开仓总数量
  23097. type: integer
  23098. otherfrozenqty:
  23099. description: 持仓其他冻结数量(交割冻结)
  23100. type: integer
  23101. positionqty:
  23102. description: 期初持仓数量
  23103. type: integer
  23104. szdz3freezqty:
  23105. description: 尚志大宗转换冻结总数量
  23106. type: integer
  23107. tnqty:
  23108. description: T+N冻结总量
  23109. type: integer
  23110. tnusedqty:
  23111. description: T+N使用量
  23112. type: integer
  23113. trademode:
  23114. description: 交易模式
  23115. type: integer
  23116. usedmargin:
  23117. description: 占用保证金
  23118. type: number
  23119. type: object
  23120. taaccount.QueryAmountLogRsp:
  23121. properties:
  23122. OPERATETYPENAME:
  23123. description: 资金操作类型名称
  23124. type: string
  23125. accountid:
  23126. description: 资金账户ID
  23127. type: integer
  23128. agoodscode:
  23129. description: 竞拍商品代码
  23130. type: string
  23131. agoodsname:
  23132. description: 竞拍商品名称
  23133. type: string
  23134. amount:
  23135. description: 资金金额
  23136. type: number
  23137. amountadjusttype:
  23138. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  23139. type: integer
  23140. autoid:
  23141. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  23142. type: integer
  23143. balance:
  23144. description: 期初余额
  23145. type: number
  23146. businesscode:
  23147. description: 业务编号
  23148. type: integer
  23149. createtime:
  23150. description: 发生时间
  23151. type: string
  23152. currencyid:
  23153. description: 币种ID
  23154. type: integer
  23155. currentbalance:
  23156. description: 期末余额(变动后金额)
  23157. type: number
  23158. dgoodscode:
  23159. description: 交割商品代码
  23160. type: string
  23161. dgoodsname:
  23162. description: 交割商品名称
  23163. type: string
  23164. goodscode:
  23165. description: 商品代码
  23166. type: string
  23167. goodsid:
  23168. description: 商品ID
  23169. type: integer
  23170. goodsname:
  23171. description: 商品名称
  23172. type: string
  23173. marketid:
  23174. description: 市场ID
  23175. type: integer
  23176. marketname:
  23177. description: 市场名称
  23178. type: string
  23179. moneyticket:
  23180. description: 资金流水号:银行端流水号
  23181. type: integer
  23182. operatetype:
  23183. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  23184. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  23185. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  23186. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  23187. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  23188. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  23189. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  23190. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  23191. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  23192. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  23193. type: integer
  23194. relationorderid:
  23195. description: 关联单号
  23196. type: string
  23197. remark:
  23198. description: 备注
  23199. type: string
  23200. trademode:
  23201. description: 交易模式
  23202. type: integer
  23203. required:
  23204. - accountid
  23205. - amount
  23206. - amountadjusttype
  23207. - autoid
  23208. - balance
  23209. - createtime
  23210. - currentbalance
  23211. - operatetype
  23212. type: object
  23213. taaccount.QueryHisAmountLogRsp:
  23214. properties:
  23215. OPERATETYPENAME:
  23216. description: 资金操作类型名称
  23217. type: string
  23218. accountid:
  23219. description: 资金账户ID
  23220. type: integer
  23221. agoodscode:
  23222. description: 竞拍商品代码
  23223. type: string
  23224. agoodsname:
  23225. description: 竞拍商品名称
  23226. type: string
  23227. amount:
  23228. description: 资金金额
  23229. type: number
  23230. amountadjusttype:
  23231. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  23232. type: integer
  23233. autoid:
  23234. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  23235. type: integer
  23236. balance:
  23237. description: 期初余额
  23238. type: number
  23239. businesscode:
  23240. description: 业务编号
  23241. type: integer
  23242. createtime:
  23243. description: 发生时间
  23244. type: string
  23245. currencyid:
  23246. description: 币种ID
  23247. type: integer
  23248. currentbalance:
  23249. description: 期末余额(变动后金额)
  23250. type: number
  23251. dgoodscode:
  23252. description: 交割商品代码
  23253. type: string
  23254. dgoodsname:
  23255. description: 交割商品名称
  23256. type: string
  23257. goodscode:
  23258. description: 商品代码
  23259. type: string
  23260. goodsid:
  23261. description: 商品ID
  23262. type: integer
  23263. goodsname:
  23264. description: 商品名称
  23265. type: string
  23266. histradedate:
  23267. description: 历史交易日
  23268. type: string
  23269. isvaliddata:
  23270. description: 是否有效 - 0:无效 1:有效
  23271. type: integer
  23272. marketid:
  23273. description: 市场ID
  23274. type: integer
  23275. marketname:
  23276. description: 市场名称
  23277. type: string
  23278. moneyticket:
  23279. description: 资金流水号:银行端流水号
  23280. type: integer
  23281. operatetype:
  23282. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  23283. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  23284. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  23285. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  23286. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  23287. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  23288. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  23289. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  23290. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  23291. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  23292. type: integer
  23293. relationorderid:
  23294. description: 关联单号
  23295. type: string
  23296. remark:
  23297. description: 备注
  23298. type: string
  23299. trademode:
  23300. description: 交易模式
  23301. type: integer
  23302. required:
  23303. - accountid
  23304. - amount
  23305. - amountadjusttype
  23306. - autoid
  23307. - balance
  23308. - createtime
  23309. - currentbalance
  23310. - histradedate
  23311. - operatetype
  23312. type: object
  23313. trade.QueryRecieptOrderRsp:
  23314. properties:
  23315. accountName:
  23316. description: 所属账号名称(已脱敏)
  23317. type: string
  23318. accountid:
  23319. description: 资金账号
  23320. type: integer
  23321. buyorsell:
  23322. description: 方向 - 0:买 1:卖
  23323. type: integer
  23324. enableqty:
  23325. description: 可摘数量
  23326. type: integer
  23327. goodscode:
  23328. description: 商品代码
  23329. type: string
  23330. goodsid:
  23331. description: 商品ID
  23332. type: integer
  23333. goodsname:
  23334. description: 商品名称
  23335. type: string
  23336. orderid:
  23337. description: 委托单号
  23338. type: string
  23339. orderprice:
  23340. description: 委托价格
  23341. type: number
  23342. ordertime:
  23343. description: 委托时间
  23344. type: string
  23345. tradedate:
  23346. description: 交易日(yyyyMMdd)
  23347. type: string
  23348. required:
  23349. - ordertime
  23350. type: object
  23351. user.LoginQueryRsp:
  23352. properties:
  23353. areaRoles:
  23354. description: 所属角色信息
  23355. items:
  23356. $ref: '#/definitions/models.Arearole'
  23357. type: array
  23358. exchangeRateConfigs:
  23359. description: 汇率信息
  23360. items:
  23361. $ref: '#/definitions/models.Exchangerateconfig'
  23362. type: array
  23363. externalExchanges:
  23364. description: 外部交易所
  23365. items:
  23366. $ref: '#/definitions/models.Externalexchange'
  23367. type: array
  23368. goodsgroups:
  23369. description: 商品组
  23370. items:
  23371. $ref: '#/definitions/models.Goodsgroup'
  23372. type: array
  23373. loginAccount:
  23374. $ref: '#/definitions/models.Loginaccount'
  23375. description: 登录账号
  23376. markets:
  23377. description: 市场
  23378. items:
  23379. $ref: '#/definitions/models.Market'
  23380. type: array
  23381. systemParams:
  23382. description: 系统参数
  23383. items:
  23384. $ref: '#/definitions/models.Systemparam'
  23385. type: array
  23386. userAccount:
  23387. $ref: '#/definitions/models.Useraccount'
  23388. description: 用户账号
  23389. userInfo:
  23390. $ref: '#/definitions/models.Userinfo'
  23391. description: 用户信息
  23392. username:
  23393. description: 用户姓名
  23394. type: string
  23395. type: object
  23396. info:
  23397. contact: {}
  23398. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  23399. termsOfService: http://www.muchinfo.cn
  23400. title: MTP2.0 查询服务 API
  23401. version: "1.0"
  23402. paths:
  23403. /CPTrade/QueryCPTradeMyBidInfos:
  23404. get:
  23405. parameters:
  23406. - description: 资金账户
  23407. in: query
  23408. name: accountid
  23409. required: true
  23410. type: integer
  23411. - description: 预售市场ID
  23412. in: query
  23413. name: marketid
  23414. type: integer
  23415. - description: 预售商品ID
  23416. in: query
  23417. name: goodsid
  23418. type: integer
  23419. produces:
  23420. - application/json
  23421. responses:
  23422. "200":
  23423. description: OK
  23424. schema:
  23425. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  23426. "500":
  23427. description: Internal Server Error
  23428. schema:
  23429. $ref: '#/definitions/app.Response'
  23430. security:
  23431. - ApiKeyAuth: []
  23432. summary: 查询产能预售我的出价信息
  23433. tags:
  23434. - 产能预售
  23435. /CPTrade/QueryCPTradeOrderDetail:
  23436. get:
  23437. parameters:
  23438. - description: 预售商品ID
  23439. in: query
  23440. name: goodsid
  23441. type: integer
  23442. - description: 预售市场ID
  23443. in: query
  23444. name: marketid
  23445. type: integer
  23446. - description: 预售商品ID列表 - 格式:1,2,3
  23447. in: query
  23448. name: goodsids
  23449. type: string
  23450. produces:
  23451. - application/json
  23452. responses:
  23453. "200":
  23454. description: OK
  23455. schema:
  23456. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  23457. "500":
  23458. description: Internal Server Error
  23459. schema:
  23460. $ref: '#/definitions/app.Response'
  23461. security:
  23462. - ApiKeyAuth: []
  23463. summary: 查询产能预售委托单信息
  23464. tags:
  23465. - 产能预售
  23466. /CPTrade/QueryMyCPTradeGoods:
  23467. get:
  23468. parameters:
  23469. - description: 资金账户
  23470. in: query
  23471. name: accountid
  23472. required: true
  23473. type: integer
  23474. produces:
  23475. - application/json
  23476. responses:
  23477. "200":
  23478. description: OK
  23479. schema:
  23480. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  23481. "500":
  23482. description: Internal Server Error
  23483. schema:
  23484. $ref: '#/definitions/app.Response'
  23485. security:
  23486. - ApiKeyAuth: []
  23487. summary: 查询我的预售信息
  23488. tags:
  23489. - 产能预售
  23490. /CPTrade/QueryPositionCancel:
  23491. get:
  23492. parameters:
  23493. - description: 账户ID
  23494. in: query
  23495. name: userid
  23496. required: true
  23497. type: integer
  23498. - description: 注销ID
  23499. in: query
  23500. name: cancelid
  23501. type: integer
  23502. - description: 资金账户ID
  23503. in: query
  23504. name: accountid
  23505. type: integer
  23506. produces:
  23507. - application/json
  23508. responses:
  23509. "200":
  23510. description: OK
  23511. schema:
  23512. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  23513. "500":
  23514. description: Internal Server Error
  23515. schema:
  23516. $ref: '#/definitions/app.Response'
  23517. security:
  23518. - ApiKeyAuth: []
  23519. summary: 查询远期订单注销申请信息
  23520. tags:
  23521. - 产能预售
  23522. /CPTrade/QueryPreasleApply:
  23523. get:
  23524. parameters:
  23525. - description: 账户ID
  23526. in: query
  23527. name: userid
  23528. required: true
  23529. type: integer
  23530. - description: 申请ID
  23531. in: query
  23532. name: applyid
  23533. type: integer
  23534. - description: 资金账户ID
  23535. in: query
  23536. name: accountid
  23537. type: integer
  23538. produces:
  23539. - application/json
  23540. responses:
  23541. "200":
  23542. description: OK
  23543. schema:
  23544. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  23545. "500":
  23546. description: Internal Server Error
  23547. schema:
  23548. $ref: '#/definitions/app.Response'
  23549. security:
  23550. - ApiKeyAuth: []
  23551. summary: 查询产能预售申请信息
  23552. tags:
  23553. - 产能预售
  23554. /CPTrade/QueryPresaleGoodsEx:
  23555. get:
  23556. parameters:
  23557. - description: 预售商品ID
  23558. in: query
  23559. name: goodsid
  23560. type: integer
  23561. - description: 预售市场ID
  23562. in: query
  23563. name: marketid
  23564. type: integer
  23565. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  23566. in: query
  23567. name: presalemode
  23568. type: integer
  23569. - description: 预售商品ID列表 - 格式:1,2,3
  23570. in: query
  23571. name: goodsids
  23572. type: string
  23573. - description: 预售商品代码
  23574. in: query
  23575. name: goodscode
  23576. type: string
  23577. produces:
  23578. - application/json
  23579. responses:
  23580. "200":
  23581. description: OK
  23582. schema:
  23583. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  23584. "500":
  23585. description: Internal Server Error
  23586. schema:
  23587. $ref: '#/definitions/app.Response'
  23588. security:
  23589. - ApiKeyAuth: []
  23590. summary: 查询产能预售商品扩展信息
  23591. tags:
  23592. - 产能预售
  23593. /CPTrade/QueryUserGoodsData:
  23594. get:
  23595. parameters:
  23596. - description: 资金账户ID
  23597. in: query
  23598. name: accountid
  23599. required: true
  23600. type: integer
  23601. produces:
  23602. - application/json
  23603. responses:
  23604. "200":
  23605. description: OK
  23606. schema:
  23607. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  23608. "500":
  23609. description: Internal Server Error
  23610. schema:
  23611. $ref: '#/definitions/app.Response'
  23612. security:
  23613. - ApiKeyAuth: []
  23614. summary: 查询远期订单信息
  23615. tags:
  23616. - 产能预售
  23617. /Common/DeleteNewFuncmenu:
  23618. delete:
  23619. consumes:
  23620. - application/json
  23621. parameters:
  23622. - description: 菜单表数据,只需要resourcecode字段即可
  23623. in: body
  23624. name: data
  23625. required: true
  23626. schema:
  23627. $ref: '#/definitions/models.NewFuncmenulist'
  23628. produces:
  23629. - application/json
  23630. responses:
  23631. "200":
  23632. description: OK
  23633. schema:
  23634. $ref: '#/definitions/app.Response'
  23635. "500":
  23636. description: Internal Server Error
  23637. schema:
  23638. $ref: '#/definitions/app.Response'
  23639. security:
  23640. - ApiKeyAuth: []
  23641. summary: 删除菜单表数据
  23642. tags:
  23643. - 通用服务
  23644. /Common/FindNewFuncmenu:
  23645. get:
  23646. parameters:
  23647. - description: 资源代码
  23648. in: query
  23649. name: resourcecode
  23650. type: string
  23651. - description: 上级资源代码
  23652. in: query
  23653. name: parentcode
  23654. type: string
  23655. - description: 资源名(Title), 模糊查询
  23656. in: query
  23657. name: resourcename
  23658. type: string
  23659. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  23660. in: query
  23661. name: menutype
  23662. type: string
  23663. produces:
  23664. - application/json
  23665. responses:
  23666. "200":
  23667. description: OK
  23668. schema:
  23669. items:
  23670. $ref: '#/definitions/models.NewFuncmenulist'
  23671. type: array
  23672. "500":
  23673. description: Internal Server Error
  23674. schema:
  23675. $ref: '#/definitions/app.Response'
  23676. security:
  23677. - ApiKeyAuth: []
  23678. summary: 获取菜单表数据
  23679. tags:
  23680. - 通用服务
  23681. /Common/GetAllEnums:
  23682. get:
  23683. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  23684. parameters:
  23685. - description: 起始自增ID
  23686. in: query
  23687. name: autoid
  23688. type: integer
  23689. produces:
  23690. - application/json
  23691. responses:
  23692. "200":
  23693. description: OK
  23694. schema:
  23695. $ref: '#/definitions/models.Enumdicitem'
  23696. "500":
  23697. description: Internal Server Error
  23698. schema:
  23699. $ref: '#/definitions/app.Response'
  23700. summary: 获取所有枚举信息
  23701. tags:
  23702. - 通用服务
  23703. /Common/GetClientMenus:
  23704. get:
  23705. parameters:
  23706. - description: 登录账号
  23707. in: query
  23708. name: loginID
  23709. required: true
  23710. type: integer
  23711. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  23712. in: query
  23713. name: clientType
  23714. type: integer
  23715. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  23716. in: query
  23717. name: name
  23718. type: string
  23719. produces:
  23720. - application/json
  23721. responses:
  23722. "200":
  23723. description: OK
  23724. schema:
  23725. items:
  23726. $ref: '#/definitions/common.ClientMenu'
  23727. type: array
  23728. "500":
  23729. description: Internal Server Error
  23730. schema:
  23731. $ref: '#/definitions/app.Response'
  23732. security:
  23733. - ApiKeyAuth: []
  23734. summary: 获取交易端菜单
  23735. tags:
  23736. - 通用服务
  23737. /Common/GetClientNewFuncmenu:
  23738. get:
  23739. parameters:
  23740. - description: 登录账号
  23741. in: query
  23742. name: loginid
  23743. required: true
  23744. type: integer
  23745. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  23746. in: query
  23747. name: menutype
  23748. required: true
  23749. type: integer
  23750. produces:
  23751. - application/json
  23752. responses:
  23753. "200":
  23754. description: OK
  23755. schema:
  23756. items:
  23757. $ref: '#/definitions/models.NewFuncmenulist'
  23758. type: array
  23759. "500":
  23760. description: Internal Server Error
  23761. schema:
  23762. $ref: '#/definitions/app.Response'
  23763. security:
  23764. - ApiKeyAuth: []
  23765. summary: 获取终端菜单
  23766. tags:
  23767. - 通用服务
  23768. /Common/GetDivisions:
  23769. get:
  23770. produces:
  23771. - application/json
  23772. responses:
  23773. "200":
  23774. description: OK
  23775. schema:
  23776. $ref: '#/definitions/models.Division'
  23777. "500":
  23778. description: Internal Server Error
  23779. schema:
  23780. $ref: '#/definitions/app.Response'
  23781. summary: 查询区域信息
  23782. tags:
  23783. - 通用服务
  23784. /Common/GetPCWebMenus:
  23785. get:
  23786. parameters:
  23787. - description: 登录账号
  23788. in: query
  23789. name: loginID
  23790. required: true
  23791. type: integer
  23792. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  23793. in: query
  23794. name: name
  23795. type: string
  23796. produces:
  23797. - application/json
  23798. responses:
  23799. "200":
  23800. description: OK
  23801. schema:
  23802. items:
  23803. $ref: '#/definitions/common.PCWebMenu'
  23804. type: array
  23805. "500":
  23806. description: Internal Server Error
  23807. schema:
  23808. $ref: '#/definitions/app.Response'
  23809. security:
  23810. - ApiKeyAuth: []
  23811. summary: 获取PCWeb交易端菜单
  23812. tags:
  23813. - 通用服务
  23814. /Common/GetServerTime:
  23815. get:
  23816. produces:
  23817. - application/json
  23818. responses:
  23819. "200":
  23820. description: OK
  23821. schema:
  23822. $ref: '#/definitions/app.Response'
  23823. "500":
  23824. description: Internal Server Error
  23825. schema:
  23826. $ref: '#/definitions/app.Response'
  23827. summary: 获取服务器时间
  23828. tags:
  23829. - 通用服务
  23830. /Common/InsertNewFuncmenu:
  23831. post:
  23832. consumes:
  23833. - application/json
  23834. parameters:
  23835. - description: 菜单表数据
  23836. in: body
  23837. name: data
  23838. required: true
  23839. schema:
  23840. $ref: '#/definitions/models.NewFuncmenulist'
  23841. produces:
  23842. - application/json
  23843. responses:
  23844. "200":
  23845. description: OK
  23846. schema:
  23847. $ref: '#/definitions/app.Response'
  23848. "500":
  23849. description: Internal Server Error
  23850. schema:
  23851. $ref: '#/definitions/app.Response'
  23852. security:
  23853. - ApiKeyAuth: []
  23854. summary: 插入菜单表数据
  23855. tags:
  23856. - 通用服务
  23857. /Common/NoticeReaded:
  23858. post:
  23859. parameters:
  23860. - description: 登录账号
  23861. in: query
  23862. name: loginID
  23863. required: true
  23864. type: integer
  23865. - description: 通知公告ID
  23866. in: query
  23867. name: noticeID
  23868. required: true
  23869. type: integer
  23870. produces:
  23871. - application/json
  23872. responses:
  23873. "200":
  23874. description: OK
  23875. schema:
  23876. $ref: '#/definitions/app.Response'
  23877. "500":
  23878. description: Internal Server Error
  23879. schema:
  23880. $ref: '#/definitions/app.Response'
  23881. security:
  23882. - ApiKeyAuth: []
  23883. summary: 通知公告设置已读请求
  23884. tags:
  23885. - 通用服务
  23886. /Common/QueryErrorInfos:
  23887. get:
  23888. description: 如果传入rowNumber,则返回此rowNumber后的数据
  23889. parameters:
  23890. - description: 起始行号前索引
  23891. in: query
  23892. name: rowNumber
  23893. type: string
  23894. produces:
  23895. - application/json
  23896. responses:
  23897. "200":
  23898. description: OK
  23899. schema:
  23900. $ref: '#/definitions/models.QueryErrorInfosRsp'
  23901. "500":
  23902. description: Internal Server Error
  23903. schema:
  23904. $ref: '#/definitions/app.Response'
  23905. summary: 获取数据库错误信息
  23906. tags:
  23907. - 通用服务
  23908. /Common/QueryImageConfigs:
  23909. get:
  23910. parameters:
  23911. - description: 用户id
  23912. in: query
  23913. name: userId
  23914. type: integer
  23915. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  23916. in: query
  23917. name: imageType
  23918. type: integer
  23919. produces:
  23920. - application/json
  23921. responses:
  23922. "200":
  23923. description: OK
  23924. schema:
  23925. $ref: '#/definitions/common.QueryImageConfigsRsp'
  23926. "500":
  23927. description: Internal Server Error
  23928. schema:
  23929. $ref: '#/definitions/app.Response'
  23930. summary: 查询轮播图配置信息
  23931. tags:
  23932. - 通用服务
  23933. /Common/QueryNotice:
  23934. get:
  23935. parameters:
  23936. - description: 页码
  23937. in: query
  23938. name: page
  23939. type: integer
  23940. - description: 每页条数
  23941. in: query
  23942. name: pagesize
  23943. type: integer
  23944. - description: 登录账号
  23945. in: query
  23946. name: loginID
  23947. required: true
  23948. type: integer
  23949. - description: 消息类型 - 1:公告通知 2:系统消息
  23950. in: query
  23951. name: msgType
  23952. type: integer
  23953. - description: 是否只获取未读信息
  23954. in: query
  23955. name: onlyUnRead
  23956. type: boolean
  23957. - description: 自增ID,传入后会返回这个ID后面的记录
  23958. in: query
  23959. name: lastID
  23960. type: integer
  23961. produces:
  23962. - application/json
  23963. responses:
  23964. "200":
  23965. description: OK
  23966. schema:
  23967. $ref: '#/definitions/common.QueryNoticeRsp'
  23968. "500":
  23969. description: Internal Server Error
  23970. schema:
  23971. $ref: '#/definitions/app.Response'
  23972. security:
  23973. - ApiKeyAuth: []
  23974. summary: 通知公告系统消息查询
  23975. tags:
  23976. - 通用服务
  23977. /Common/QueryProvincesAndCities:
  23978. get:
  23979. parameters:
  23980. - description: 省ID
  23981. in: query
  23982. name: provinceID
  23983. type: integer
  23984. produces:
  23985. - application/json
  23986. responses:
  23987. "200":
  23988. description: OK
  23989. schema:
  23990. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  23991. "500":
  23992. description: Internal Server Error
  23993. schema:
  23994. $ref: '#/definitions/app.Response'
  23995. summary: 查询省市信息(不包括区)
  23996. tags:
  23997. - 通用服务
  23998. /Common/QueryRates:
  23999. get:
  24000. parameters:
  24001. - description: 页码
  24002. in: query
  24003. name: page
  24004. type: integer
  24005. - description: 每页条数
  24006. in: query
  24007. name: pagesize
  24008. type: integer
  24009. - description: 源币种ID
  24010. in: query
  24011. name: oricurrencyid
  24012. type: integer
  24013. - description: 目标币种ID
  24014. in: query
  24015. name: descurrencyid
  24016. type: integer
  24017. produces:
  24018. - application/json
  24019. responses:
  24020. "200":
  24021. description: OK
  24022. schema:
  24023. items:
  24024. $ref: '#/definitions/models.Exchangerateconfig'
  24025. type: array
  24026. "500":
  24027. description: Internal Server Error
  24028. schema:
  24029. $ref: '#/definitions/app.Response'
  24030. security:
  24031. - ApiKeyAuth: []
  24032. - LoginID: []
  24033. - Group: []
  24034. summary: 查询汇率信息
  24035. tags:
  24036. - 通用服务
  24037. /Common/QueryTableDefine:
  24038. get:
  24039. parameters:
  24040. - description: 表key
  24041. in: query
  24042. name: tableKey
  24043. type: string
  24044. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  24045. in: query
  24046. name: tableType
  24047. type: integer
  24048. produces:
  24049. - application/json
  24050. responses:
  24051. "200":
  24052. description: OK
  24053. schema:
  24054. $ref: '#/definitions/common.QueryTableDefineRsp'
  24055. "500":
  24056. description: Internal Server Error
  24057. schema:
  24058. $ref: '#/definitions/app.Response'
  24059. summary: 查询交易端列表头信息
  24060. tags:
  24061. - 通用服务
  24062. /Common/QueryTraderMenu:
  24063. get:
  24064. parameters:
  24065. - description: 登录账号
  24066. in: query
  24067. name: loginid
  24068. required: true
  24069. type: integer
  24070. produces:
  24071. - application/json
  24072. responses:
  24073. "200":
  24074. description: OK
  24075. schema:
  24076. $ref: '#/definitions/common.QueryTraderMenuRsp'
  24077. "500":
  24078. description: Internal Server Error
  24079. schema:
  24080. $ref: '#/definitions/app.Response'
  24081. summary: 查询交易端菜单
  24082. tags:
  24083. - 通用服务
  24084. /Common/UpdateNewFuncmenu:
  24085. put:
  24086. consumes:
  24087. - application/json
  24088. parameters:
  24089. - description: 菜单表数据
  24090. in: body
  24091. name: data
  24092. required: true
  24093. schema:
  24094. $ref: '#/definitions/models.NewFuncmenulist'
  24095. produces:
  24096. - application/json
  24097. responses:
  24098. "200":
  24099. description: OK
  24100. schema:
  24101. $ref: '#/definitions/app.Response'
  24102. "500":
  24103. description: Internal Server Error
  24104. schema:
  24105. $ref: '#/definitions/app.Response'
  24106. security:
  24107. - ApiKeyAuth: []
  24108. summary: 更新菜单表数据
  24109. tags:
  24110. - 通用服务
  24111. /Delivery/QueryDeliveryRelation:
  24112. get:
  24113. parameters:
  24114. - description: 商品ID
  24115. in: query
  24116. name: goodsid
  24117. type: integer
  24118. - description: 品种ID
  24119. in: query
  24120. name: deliverygoodsid
  24121. type: integer
  24122. - description: 市场ID
  24123. in: query
  24124. name: marketid
  24125. type: integer
  24126. produces:
  24127. - application/json
  24128. responses:
  24129. "200":
  24130. description: OK
  24131. schema:
  24132. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  24133. "500":
  24134. description: Internal Server Error
  24135. schema:
  24136. $ref: '#/definitions/app.Response'
  24137. security:
  24138. - ApiKeyAuth: []
  24139. summary: 查询商品交割关系表
  24140. tags:
  24141. - 交割服务
  24142. /Ermcp/GetErmcpGoods:
  24143. get:
  24144. parameters:
  24145. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  24146. in: query
  24147. name: userid
  24148. type: integer
  24149. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24150. in: query
  24151. name: lastUpdateTime
  24152. type: string
  24153. produces:
  24154. - application/json
  24155. responses:
  24156. "200":
  24157. description: OK
  24158. schema:
  24159. $ref: '#/definitions/models.ErmcpGoods'
  24160. "500":
  24161. description: Internal Server Error
  24162. schema:
  24163. $ref: '#/definitions/app.Response'
  24164. security:
  24165. - ApiKeyAuth: []
  24166. summary: 查询企业风管期货商品信息
  24167. tags:
  24168. - 企业风险管理(app)
  24169. /Ermcp/GetErmcpGoodsSortByPosition:
  24170. get:
  24171. parameters:
  24172. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  24173. in: query
  24174. name: sortIndex
  24175. type: string
  24176. produces:
  24177. - application/json
  24178. responses:
  24179. "200":
  24180. description: OK
  24181. schema:
  24182. $ref: '#/definitions/models.Goodssortbypreposition'
  24183. "500":
  24184. description: Internal Server Error
  24185. schema:
  24186. $ref: '#/definitions/app.Response'
  24187. security:
  24188. - ApiKeyAuth: []
  24189. summary: 查询企业风管期货主力、次主力商品信息
  24190. tags:
  24191. - 企业风险管理(app)
  24192. /Ermcp/GetErmcpOutAccountStatus:
  24193. get:
  24194. parameters:
  24195. - description: 登录账号
  24196. in: query
  24197. name: loginID
  24198. required: true
  24199. type: integer
  24200. produces:
  24201. - application/json
  24202. responses:
  24203. "200":
  24204. description: OK
  24205. schema:
  24206. $ref: '#/definitions/models.Hedgemarketopenlog'
  24207. "500":
  24208. description: Internal Server Error
  24209. schema:
  24210. $ref: '#/definitions/app.Response'
  24211. security:
  24212. - ApiKeyAuth: []
  24213. summary: 获取目标登录账号当前对冲账号在线状态
  24214. tags:
  24215. - 企业风险管理(app)
  24216. /Ermcp/GetErmcpRoleFuncMenuLists:
  24217. get:
  24218. parameters:
  24219. - description: 登录账号
  24220. in: query
  24221. name: loginID
  24222. required: true
  24223. type: integer
  24224. produces:
  24225. - application/json
  24226. responses:
  24227. "200":
  24228. description: OK
  24229. schema:
  24230. $ref: '#/definitions/models.Funcmenulist'
  24231. "500":
  24232. description: Internal Server Error
  24233. schema:
  24234. $ref: '#/definitions/app.Response'
  24235. security:
  24236. - ApiKeyAuth: []
  24237. summary: 获取企业风管终端权限
  24238. tags:
  24239. - 企业风险管理(app)
  24240. /Ermcp/QueryAccMgrBizGroupSet:
  24241. get:
  24242. parameters:
  24243. - description: 用户ID
  24244. in: query
  24245. name: userid
  24246. required: true
  24247. type: integer
  24248. - description: 现货商品id
  24249. in: query
  24250. name: deliverygoodsid
  24251. type: integer
  24252. produces:
  24253. - application/json
  24254. responses:
  24255. "200":
  24256. description: OK
  24257. schema:
  24258. items:
  24259. $ref: '#/definitions/models.ErmcpBizGroupEx'
  24260. type: array
  24261. "500":
  24262. description: Internal Server Error
  24263. schema:
  24264. $ref: '#/definitions/app.Response'
  24265. security:
  24266. - ApiKeyAuth: []
  24267. summary: 查询业务类型分组(账户管理/账户设置)
  24268. tags:
  24269. - 企业风险管理(app)
  24270. /Ermcp/QueryAccMgrLoginUser:
  24271. get:
  24272. parameters:
  24273. - description: 用户ID
  24274. in: query
  24275. name: userid
  24276. required: true
  24277. type: integer
  24278. - description: 用户类型 2-机构 7-企业成员
  24279. in: query
  24280. name: usertype
  24281. type: integer
  24282. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  24283. in: query
  24284. name: querytype
  24285. required: true
  24286. type: integer
  24287. produces:
  24288. - application/json
  24289. responses:
  24290. "200":
  24291. description: OK
  24292. schema:
  24293. items:
  24294. $ref: '#/definitions/models.ErmcpLoginUserEx'
  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/QueryAccMgrMainAccountInfo:
  24306. get:
  24307. parameters:
  24308. - description: 用户ID
  24309. in: query
  24310. name: userid
  24311. type: integer
  24312. - description: 主账号id
  24313. in: query
  24314. name: accountid
  24315. type: integer
  24316. produces:
  24317. - application/json
  24318. responses:
  24319. "200":
  24320. description: OK
  24321. schema:
  24322. items:
  24323. $ref: '#/definitions/models.MainAccountInfo'
  24324. type: array
  24325. "500":
  24326. description: Internal Server Error
  24327. schema:
  24328. $ref: '#/definitions/app.Response'
  24329. security:
  24330. - ApiKeyAuth: []
  24331. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  24332. tags:
  24333. - 企业风险管理(app)
  24334. /Ermcp/QueryAccMgrRole:
  24335. get:
  24336. parameters:
  24337. - description: 用户ID
  24338. in: query
  24339. name: userid
  24340. required: true
  24341. type: integer
  24342. produces:
  24343. - application/json
  24344. responses:
  24345. "200":
  24346. description: OK
  24347. schema:
  24348. items:
  24349. $ref: '#/definitions/models.ErmcpRole'
  24350. type: array
  24351. "500":
  24352. description: Internal Server Error
  24353. schema:
  24354. $ref: '#/definitions/app.Response'
  24355. security:
  24356. - ApiKeyAuth: []
  24357. summary: 查询账户管理角色设置(账户管理/角色设置)
  24358. tags:
  24359. - 企业风险管理(app)
  24360. /Ermcp/QueryAccMgrRoleMenu:
  24361. get:
  24362. parameters:
  24363. - description: 用户ID
  24364. in: query
  24365. name: userid
  24366. required: true
  24367. type: integer
  24368. - description: 角色id(可多个,逗号隔开)
  24369. in: query
  24370. name: roleid
  24371. type: string
  24372. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  24373. in: query
  24374. name: menutype
  24375. type: integer
  24376. produces:
  24377. - application/json
  24378. responses:
  24379. "200":
  24380. description: OK
  24381. schema:
  24382. items:
  24383. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  24384. type: array
  24385. "500":
  24386. description: Internal Server Error
  24387. schema:
  24388. $ref: '#/definitions/app.Response'
  24389. security:
  24390. - ApiKeyAuth: []
  24391. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  24392. tags:
  24393. - 企业风险管理(app)
  24394. /Ermcp/QueryAccMgrTaAccountInfo:
  24395. get:
  24396. parameters:
  24397. - description: 用户ID
  24398. in: query
  24399. name: userid
  24400. required: true
  24401. type: integer
  24402. - description: 账号id
  24403. in: query
  24404. name: accountid
  24405. type: integer
  24406. produces:
  24407. - application/json
  24408. responses:
  24409. "200":
  24410. description: OK
  24411. schema:
  24412. items:
  24413. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  24414. type: array
  24415. "500":
  24416. description: Internal Server Error
  24417. schema:
  24418. $ref: '#/definitions/app.Response'
  24419. security:
  24420. - ApiKeyAuth: []
  24421. summary: 查询账户管理授信(账户管理/账户设置/授信)
  24422. tags:
  24423. - 企业风险管理(app)
  24424. /Ermcp/QueryAccMgrTaaccount:
  24425. get:
  24426. parameters:
  24427. - description: 用户ID
  24428. in: query
  24429. name: userid
  24430. required: true
  24431. type: integer
  24432. produces:
  24433. - application/json
  24434. responses:
  24435. "200":
  24436. description: OK
  24437. schema:
  24438. items:
  24439. $ref: '#/definitions/models.ErmcpTaAccountEx'
  24440. type: array
  24441. "500":
  24442. description: Internal Server Error
  24443. schema:
  24444. $ref: '#/definitions/app.Response'
  24445. security:
  24446. - ApiKeyAuth: []
  24447. summary: 查询账户管理期货账号(账户管理/期货账号)
  24448. tags:
  24449. - 企业风险管理(app)
  24450. /Ermcp/QueryAvaildGoodsGroup:
  24451. get:
  24452. parameters:
  24453. - description: 所属机构ID
  24454. in: query
  24455. name: userid
  24456. required: true
  24457. type: integer
  24458. produces:
  24459. - application/json
  24460. responses:
  24461. "200":
  24462. description: OK
  24463. schema:
  24464. items:
  24465. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  24466. type: array
  24467. "500":
  24468. description: Internal Server Error
  24469. schema:
  24470. $ref: '#/definitions/app.Response'
  24471. security:
  24472. - ApiKeyAuth: []
  24473. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  24474. tags:
  24475. - 企业风险管理(app)
  24476. /Ermcp/QueryBusinessDj:
  24477. get:
  24478. parameters:
  24479. - description: 用户ID
  24480. in: query
  24481. name: UserId
  24482. required: true
  24483. type: integer
  24484. - description: 用户类型 2-机构 7-企业成员
  24485. in: query
  24486. name: usertype
  24487. type: integer
  24488. - description: 现货合同ID, 不填则查所有
  24489. in: query
  24490. name: relatedid
  24491. type: string
  24492. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24493. in: query
  24494. name: applystatus
  24495. type: string
  24496. produces:
  24497. - application/json
  24498. responses:
  24499. "200":
  24500. description: OK
  24501. schema:
  24502. items:
  24503. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  24504. type: array
  24505. "500":
  24506. description: Internal Server Error
  24507. schema:
  24508. $ref: '#/definitions/app.Response'
  24509. security:
  24510. - ApiKeyAuth: []
  24511. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  24512. tags:
  24513. - 企业风险管理(app)
  24514. /Ermcp/QueryBusinessFp:
  24515. get:
  24516. parameters:
  24517. - description: 用户ID
  24518. in: query
  24519. name: UserId
  24520. required: true
  24521. type: integer
  24522. - description: 用户类型 2-机构 7-企业成员
  24523. in: query
  24524. name: usertype
  24525. type: integer
  24526. - description: 现货合同ID, 不填则查所有
  24527. in: query
  24528. name: relatedid
  24529. type: string
  24530. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24531. in: query
  24532. name: applystatus
  24533. type: string
  24534. produces:
  24535. - application/json
  24536. responses:
  24537. "200":
  24538. description: OK
  24539. schema:
  24540. items:
  24541. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  24542. type: array
  24543. "500":
  24544. description: Internal Server Error
  24545. schema:
  24546. $ref: '#/definitions/app.Response'
  24547. security:
  24548. - ApiKeyAuth: []
  24549. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  24550. tags:
  24551. - 企业风险管理(app)
  24552. /Ermcp/QueryBusinessJs:
  24553. get:
  24554. parameters:
  24555. - description: 用户ID
  24556. in: query
  24557. name: UserId
  24558. required: true
  24559. type: integer
  24560. - description: 用户类型 2-机构 7-企业成员
  24561. in: query
  24562. name: usertype
  24563. type: integer
  24564. - description: 现货合同ID, 不填则查所有
  24565. in: query
  24566. name: relatedid
  24567. type: string
  24568. - description: 操作申请id
  24569. in: query
  24570. name: operateapplyid
  24571. type: string
  24572. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24573. in: query
  24574. name: applystatus
  24575. type: string
  24576. produces:
  24577. - application/json
  24578. responses:
  24579. "200":
  24580. description: OK
  24581. schema:
  24582. items:
  24583. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  24584. type: array
  24585. "500":
  24586. description: Internal Server Error
  24587. schema:
  24588. $ref: '#/definitions/app.Response'
  24589. security:
  24590. - ApiKeyAuth: []
  24591. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  24592. tags:
  24593. - 企业风险管理(app)
  24594. /Ermcp/QueryBusinessJsEx:
  24595. get:
  24596. parameters:
  24597. - description: 用户ID
  24598. in: query
  24599. name: UserId
  24600. required: true
  24601. type: integer
  24602. - description: 用户类型 2-机构 7-企业成员
  24603. in: query
  24604. name: usertype
  24605. type: integer
  24606. - description: 现货合同ID, 不填则查所有
  24607. in: query
  24608. name: relatedid
  24609. type: string
  24610. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24611. in: query
  24612. name: applystatus
  24613. type: string
  24614. produces:
  24615. - application/json
  24616. responses:
  24617. "200":
  24618. description: OK
  24619. schema:
  24620. items:
  24621. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  24622. type: array
  24623. "500":
  24624. description: Internal Server Error
  24625. schema:
  24626. $ref: '#/definitions/app.Response'
  24627. security:
  24628. - ApiKeyAuth: []
  24629. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  24630. tags:
  24631. - 企业风险管理(app)
  24632. /Ermcp/QueryBusinessKx:
  24633. get:
  24634. parameters:
  24635. - description: 用户ID
  24636. in: query
  24637. name: UserId
  24638. required: true
  24639. type: integer
  24640. - description: 用户类型 2-机构 7-企业成员
  24641. in: query
  24642. name: usertype
  24643. type: integer
  24644. - description: 现货合同ID, 不填则查所有
  24645. in: query
  24646. name: relatedid
  24647. type: string
  24648. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24649. in: query
  24650. name: applystatus
  24651. type: string
  24652. produces:
  24653. - application/json
  24654. responses:
  24655. "200":
  24656. description: OK
  24657. schema:
  24658. items:
  24659. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  24660. type: array
  24661. "500":
  24662. description: Internal Server Error
  24663. schema:
  24664. $ref: '#/definitions/app.Response'
  24665. security:
  24666. - ApiKeyAuth: []
  24667. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  24668. tags:
  24669. - 企业风险管理(app)
  24670. /Ermcp/QueryChangeLog:
  24671. get:
  24672. parameters:
  24673. - description: 合同ID
  24674. in: query
  24675. name: RelatedId
  24676. required: true
  24677. type: string
  24678. produces:
  24679. - application/json
  24680. responses:
  24681. "200":
  24682. description: OK
  24683. schema:
  24684. items:
  24685. $ref: '#/definitions/ermcp.QryOPLogRsp'
  24686. type: array
  24687. "500":
  24688. description: Internal Server Error
  24689. schema:
  24690. $ref: '#/definitions/app.Response'
  24691. security:
  24692. - ApiKeyAuth: []
  24693. summary: 查询变更记录
  24694. tags:
  24695. - 企业风险管理(app)
  24696. /Ermcp/QueryErmcpHisOrderDetails:
  24697. get:
  24698. parameters:
  24699. - description: 资金账户ID
  24700. in: query
  24701. name: accountID
  24702. required: true
  24703. type: integer
  24704. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24705. in: query
  24706. name: startDate
  24707. type: string
  24708. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24709. in: query
  24710. name: endDate
  24711. type: string
  24712. produces:
  24713. - application/json
  24714. responses:
  24715. "200":
  24716. description: OK
  24717. schema:
  24718. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  24719. "500":
  24720. description: Internal Server Error
  24721. schema:
  24722. $ref: '#/definitions/app.Response'
  24723. security:
  24724. - ApiKeyAuth: []
  24725. summary: 获取企业风管期货历史委托单信息
  24726. tags:
  24727. - 企业风险管理(app)
  24728. /Ermcp/QueryErmcpHisTradeDetails:
  24729. get:
  24730. parameters:
  24731. - description: 资金账户ID
  24732. in: query
  24733. name: accountID
  24734. required: true
  24735. type: integer
  24736. - description: 商品ID
  24737. in: query
  24738. name: goodsID
  24739. type: integer
  24740. - description: 买卖方向,0:买 1:卖
  24741. in: query
  24742. name: buyOrSell
  24743. type: integer
  24744. - description: 关联委托单号
  24745. in: query
  24746. name: orderID
  24747. type: integer
  24748. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24749. in: query
  24750. name: startDate
  24751. type: string
  24752. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24753. in: query
  24754. name: endDate
  24755. type: string
  24756. produces:
  24757. - application/json
  24758. responses:
  24759. "200":
  24760. description: OK
  24761. schema:
  24762. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  24763. "500":
  24764. description: Internal Server Error
  24765. schema:
  24766. $ref: '#/definitions/app.Response'
  24767. security:
  24768. - ApiKeyAuth: []
  24769. summary: 获取企业风管期货历史成交单信息
  24770. tags:
  24771. - 企业风险管理(app)
  24772. /Ermcp/QueryErmcpInnerHolderDetails:
  24773. get:
  24774. parameters:
  24775. - description: 资金账户ID
  24776. in: query
  24777. name: accountID
  24778. required: true
  24779. type: integer
  24780. - description: 商品ID
  24781. in: query
  24782. name: goodsID
  24783. type: integer
  24784. - description: 买卖方向,0:买 1:卖
  24785. in: query
  24786. name: buyOrSell
  24787. type: integer
  24788. produces:
  24789. - application/json
  24790. responses:
  24791. "200":
  24792. description: OK
  24793. schema:
  24794. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  24795. "500":
  24796. description: Internal Server Error
  24797. schema:
  24798. $ref: '#/definitions/app.Response'
  24799. security:
  24800. - ApiKeyAuth: []
  24801. summary: 获取企业风管期货内部持仓单信息
  24802. tags:
  24803. - 企业风险管理(app)
  24804. /Ermcp/QueryErmcpOrderDetails:
  24805. get:
  24806. parameters:
  24807. - description: 资金账户ID
  24808. in: query
  24809. name: accountID
  24810. required: true
  24811. type: integer
  24812. produces:
  24813. - application/json
  24814. responses:
  24815. "200":
  24816. description: OK
  24817. schema:
  24818. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  24819. "500":
  24820. description: Internal Server Error
  24821. schema:
  24822. $ref: '#/definitions/app.Response'
  24823. security:
  24824. - ApiKeyAuth: []
  24825. summary: 获取企业风管期货委托单信息
  24826. tags:
  24827. - 企业风险管理(app)
  24828. /Ermcp/QueryErmcpTradeDetails:
  24829. get:
  24830. parameters:
  24831. - description: 资金账户ID
  24832. in: query
  24833. name: accountID
  24834. required: true
  24835. type: integer
  24836. - description: 商品ID
  24837. in: query
  24838. name: goodsID
  24839. type: integer
  24840. - description: 买卖方向,0:买 1:卖
  24841. in: query
  24842. name: buyOrSell
  24843. type: integer
  24844. - description: 关联委托单号
  24845. in: query
  24846. name: orderID
  24847. type: integer
  24848. produces:
  24849. - application/json
  24850. responses:
  24851. "200":
  24852. description: OK
  24853. schema:
  24854. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  24855. "500":
  24856. description: Internal Server Error
  24857. schema:
  24858. $ref: '#/definitions/app.Response'
  24859. security:
  24860. - ApiKeyAuth: []
  24861. summary: 获取企业风管期货成交单信息
  24862. tags:
  24863. - 企业风险管理(app)
  24864. /Ermcp/QueryErmcpTradePosition:
  24865. get:
  24866. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  24867. parameters:
  24868. - description: 资金账户ID
  24869. in: query
  24870. name: accountID
  24871. required: true
  24872. type: integer
  24873. - description: 所属市场ID
  24874. in: query
  24875. name: marketID
  24876. type: integer
  24877. produces:
  24878. - application/json
  24879. responses:
  24880. "200":
  24881. description: OK
  24882. schema:
  24883. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  24884. "500":
  24885. description: Internal Server Error
  24886. schema:
  24887. $ref: '#/definitions/app.Response'
  24888. security:
  24889. - ApiKeyAuth: []
  24890. summary: 获取企业风管期货持仓头寸信息
  24891. tags:
  24892. - 企业风险管理(app)
  24893. /Ermcp/QueryExposureDetail:
  24894. get:
  24895. parameters:
  24896. - description: 所属机构ID
  24897. in: query
  24898. name: areaUserId
  24899. required: true
  24900. type: integer
  24901. - description: 套保商品
  24902. in: query
  24903. name: middleGoodsId
  24904. required: true
  24905. type: integer
  24906. produces:
  24907. - application/json
  24908. responses:
  24909. "200":
  24910. description: OK
  24911. schema:
  24912. items:
  24913. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  24914. type: array
  24915. "500":
  24916. description: Internal Server Error
  24917. schema:
  24918. $ref: '#/definitions/app.Response'
  24919. security:
  24920. - ApiKeyAuth: []
  24921. summary: 查询敞口现货明细
  24922. tags:
  24923. - 企业风险管理(app)
  24924. /Ermcp/QueryExposureGoods:
  24925. get:
  24926. parameters:
  24927. - description: 套保商品id
  24928. in: query
  24929. name: middlegoodsid
  24930. required: true
  24931. type: integer
  24932. produces:
  24933. - application/json
  24934. responses:
  24935. "200":
  24936. description: OK
  24937. schema:
  24938. items:
  24939. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  24940. type: array
  24941. "500":
  24942. description: Internal Server Error
  24943. schema:
  24944. $ref: '#/definitions/app.Response'
  24945. security:
  24946. - ApiKeyAuth: []
  24947. summary: 查询敞口主力合约
  24948. tags:
  24949. - 企业风险管理(app)
  24950. /Ermcp/QueryExposureHedgePosition:
  24951. get:
  24952. parameters:
  24953. - description: 用户id
  24954. in: query
  24955. name: userid
  24956. required: true
  24957. type: integer
  24958. produces:
  24959. - application/json
  24960. responses:
  24961. "200":
  24962. description: OK
  24963. schema:
  24964. items:
  24965. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  24966. type: array
  24967. "500":
  24968. description: Internal Server Error
  24969. schema:
  24970. $ref: '#/definitions/app.Response'
  24971. security:
  24972. - ApiKeyAuth: []
  24973. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  24974. tags:
  24975. - 企业风险管理(app)
  24976. /Ermcp/QueryExposureHedgePositionDetail:
  24977. get:
  24978. parameters:
  24979. - description: 所属机构ID
  24980. in: query
  24981. name: userid
  24982. required: true
  24983. type: integer
  24984. - description: 商品id
  24985. in: query
  24986. name: goodsId
  24987. required: true
  24988. type: integer
  24989. produces:
  24990. - application/json
  24991. responses:
  24992. "200":
  24993. description: OK
  24994. schema:
  24995. items:
  24996. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  24997. type: array
  24998. "500":
  24999. description: Internal Server Error
  25000. schema:
  25001. $ref: '#/definitions/app.Response'
  25002. security:
  25003. - ApiKeyAuth: []
  25004. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  25005. tags:
  25006. - 企业风险管理(app)
  25007. /Ermcp/QueryExposureSpot:
  25008. get:
  25009. parameters:
  25010. - description: 所属机构ID
  25011. in: query
  25012. name: areaUserId
  25013. required: true
  25014. type: integer
  25015. produces:
  25016. - application/json
  25017. responses:
  25018. "200":
  25019. description: OK
  25020. schema:
  25021. items:
  25022. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  25023. type: array
  25024. "500":
  25025. description: Internal Server Error
  25026. schema:
  25027. $ref: '#/definitions/app.Response'
  25028. security:
  25029. - ApiKeyAuth: []
  25030. summary: 查询敞口现货头寸(敞口/现货头寸)
  25031. tags:
  25032. - 企业风险管理(app)
  25033. /Ermcp/QueryExposureSpotDetail:
  25034. get:
  25035. parameters:
  25036. - description: 所属机构ID
  25037. in: query
  25038. name: areaUserId
  25039. required: true
  25040. type: integer
  25041. - description: 现货品种ID
  25042. in: query
  25043. name: wrstandardId
  25044. required: true
  25045. type: integer
  25046. produces:
  25047. - application/json
  25048. responses:
  25049. "200":
  25050. description: OK
  25051. schema:
  25052. items:
  25053. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  25054. type: array
  25055. "500":
  25056. description: Internal Server Error
  25057. schema:
  25058. $ref: '#/definitions/app.Response'
  25059. security:
  25060. - ApiKeyAuth: []
  25061. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  25062. tags:
  25063. - 企业风险管理(app)
  25064. /Ermcp/QueryFuturesCompany:
  25065. get:
  25066. produces:
  25067. - application/json
  25068. responses:
  25069. "200":
  25070. description: OK
  25071. schema:
  25072. items:
  25073. $ref: '#/definitions/models.ErmcpFuturesCompany'
  25074. type: array
  25075. "500":
  25076. description: Internal Server Error
  25077. schema:
  25078. $ref: '#/definitions/app.Response'
  25079. security:
  25080. - ApiKeyAuth: []
  25081. summary: 查询期货公司
  25082. tags:
  25083. - 企业风险管理(app)
  25084. /Ermcp/QueryGGConvertConfig:
  25085. get:
  25086. parameters:
  25087. - description: 品种id(不填则查所有)
  25088. in: query
  25089. name: goodsgroupid
  25090. type: integer
  25091. produces:
  25092. - application/json
  25093. responses:
  25094. "200":
  25095. description: OK
  25096. schema:
  25097. items:
  25098. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  25099. type: array
  25100. "500":
  25101. description: Internal Server Error
  25102. schema:
  25103. $ref: '#/definitions/app.Response'
  25104. security:
  25105. - ApiKeyAuth: []
  25106. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  25107. tags:
  25108. - 企业风险管理(app)
  25109. /Ermcp/QueryGoodsBrand:
  25110. get:
  25111. parameters:
  25112. - description: 用户ID
  25113. in: query
  25114. name: userid
  25115. required: true
  25116. type: integer
  25117. - description: 现货商品ID
  25118. in: query
  25119. name: wrstandardid
  25120. type: integer
  25121. produces:
  25122. - application/json
  25123. responses:
  25124. "200":
  25125. description: OK
  25126. schema:
  25127. items:
  25128. $ref: '#/definitions/models.ErmcpGoodsBrand'
  25129. type: array
  25130. "500":
  25131. description: Internal Server Error
  25132. schema:
  25133. $ref: '#/definitions/app.Response'
  25134. security:
  25135. - ApiKeyAuth: []
  25136. summary: 查询商品品牌
  25137. tags:
  25138. - 企业风险管理(app)
  25139. /Ermcp/QueryGoodsModel:
  25140. get:
  25141. parameters:
  25142. - description: 用户ID
  25143. in: query
  25144. name: userid
  25145. required: true
  25146. type: integer
  25147. produces:
  25148. - application/json
  25149. responses:
  25150. "200":
  25151. description: OK
  25152. schema:
  25153. items:
  25154. $ref: '#/definitions/models.ErmcpGoodsModel'
  25155. type: array
  25156. "500":
  25157. description: Internal Server Error
  25158. schema:
  25159. $ref: '#/definitions/app.Response'
  25160. security:
  25161. - ApiKeyAuth: []
  25162. summary: 查询商品型号
  25163. tags:
  25164. - 企业风险管理(app)
  25165. /Ermcp/QueryHisExposure:
  25166. get:
  25167. parameters:
  25168. - description: 用户id
  25169. in: query
  25170. name: userid
  25171. required: true
  25172. type: integer
  25173. - description: 每个品种记录数
  25174. in: query
  25175. name: lastNum
  25176. required: true
  25177. type: integer
  25178. produces:
  25179. - application/json
  25180. responses:
  25181. "200":
  25182. description: OK
  25183. schema:
  25184. items:
  25185. $ref: '#/definitions/ermcp.HisExposureRsp'
  25186. type: array
  25187. "500":
  25188. description: Internal Server Error
  25189. schema:
  25190. $ref: '#/definitions/app.Response'
  25191. security:
  25192. - ApiKeyAuth: []
  25193. summary: 查询历史敞口(菜单:敞口/历史敞口)
  25194. tags:
  25195. - 企业风险管理(app)
  25196. /Ermcp/QueryMiddleGoods:
  25197. get:
  25198. parameters:
  25199. - description: 所属机构ID
  25200. in: query
  25201. name: userid
  25202. required: true
  25203. type: integer
  25204. - description: 状态 0-停用 1-正常
  25205. in: query
  25206. name: status
  25207. required: true
  25208. type: integer
  25209. produces:
  25210. - application/json
  25211. responses:
  25212. "200":
  25213. description: OK
  25214. schema:
  25215. items:
  25216. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  25217. type: array
  25218. "500":
  25219. description: Internal Server Error
  25220. schema:
  25221. $ref: '#/definitions/app.Response'
  25222. security:
  25223. - ApiKeyAuth: []
  25224. summary: 查询套保品种(菜单:套保品种)
  25225. tags:
  25226. - 企业风险管理(app)
  25227. /Ermcp/QueryMiddleGoodsChangeLog:
  25228. get:
  25229. parameters:
  25230. - description: 所属机构ID
  25231. in: query
  25232. name: userid
  25233. required: true
  25234. type: integer
  25235. - description: 套保品种id
  25236. in: query
  25237. name: middlegoodsid
  25238. required: true
  25239. type: integer
  25240. produces:
  25241. - application/json
  25242. responses:
  25243. "200":
  25244. description: OK
  25245. schema:
  25246. items:
  25247. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  25248. type: array
  25249. "500":
  25250. description: Internal Server Error
  25251. schema:
  25252. $ref: '#/definitions/app.Response'
  25253. security:
  25254. - ApiKeyAuth: []
  25255. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  25256. tags:
  25257. - 企业风险管理(app)
  25258. /Ermcp/QueryMiddleGoodsDetail:
  25259. get:
  25260. parameters:
  25261. - description: 所属机构ID
  25262. in: query
  25263. name: userid
  25264. required: true
  25265. type: integer
  25266. - description: 套保品种id
  25267. in: query
  25268. name: middlegoodsid
  25269. type: integer
  25270. produces:
  25271. - application/json
  25272. responses:
  25273. "200":
  25274. description: OK
  25275. schema:
  25276. items:
  25277. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  25278. type: array
  25279. "500":
  25280. description: Internal Server Error
  25281. schema:
  25282. $ref: '#/definitions/app.Response'
  25283. security:
  25284. - ApiKeyAuth: []
  25285. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  25286. tags:
  25287. - 企业风险管理(app)
  25288. /Ermcp/QueryPendingAuditInfo:
  25289. get:
  25290. parameters:
  25291. - description: 用户ID
  25292. in: query
  25293. name: UserId
  25294. required: true
  25295. type: integer
  25296. produces:
  25297. - application/json
  25298. responses:
  25299. "200":
  25300. description: OK
  25301. schema:
  25302. items:
  25303. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  25304. type: array
  25305. "500":
  25306. description: Internal Server Error
  25307. schema:
  25308. $ref: '#/definitions/app.Response'
  25309. security:
  25310. - ApiKeyAuth: []
  25311. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  25312. tags:
  25313. - 企业风险管理(app)
  25314. /Ermcp/QueryRealtimeExposure:
  25315. get:
  25316. parameters:
  25317. - description: 所属机构ID
  25318. in: query
  25319. name: userid
  25320. required: true
  25321. type: integer
  25322. produces:
  25323. - application/json
  25324. responses:
  25325. "200":
  25326. description: OK
  25327. schema:
  25328. items:
  25329. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  25330. type: array
  25331. "500":
  25332. description: Internal Server Error
  25333. schema:
  25334. $ref: '#/definitions/app.Response'
  25335. security:
  25336. - ApiKeyAuth: []
  25337. summary: 查询实时敞口
  25338. tags:
  25339. - 企业风险管理(app)
  25340. /Ermcp/QueryRealtimeExposurePosition:
  25341. get:
  25342. parameters:
  25343. - description: 用户id
  25344. in: query
  25345. name: userid
  25346. required: true
  25347. type: integer
  25348. - description: 套保商品ID
  25349. in: query
  25350. name: middleGoodsId
  25351. required: true
  25352. type: integer
  25353. produces:
  25354. - application/json
  25355. responses:
  25356. "200":
  25357. description: OK
  25358. schema:
  25359. items:
  25360. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  25361. type: array
  25362. "500":
  25363. description: Internal Server Error
  25364. schema:
  25365. $ref: '#/definitions/app.Response'
  25366. security:
  25367. - ApiKeyAuth: []
  25368. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  25369. tags:
  25370. - 企业风险管理(app)
  25371. /Ermcp/QueryRoleMenu:
  25372. get:
  25373. parameters:
  25374. - description: 登录ID
  25375. in: query
  25376. name: loginid
  25377. required: true
  25378. type: integer
  25379. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  25380. in: query
  25381. name: menutype
  25382. type: integer
  25383. produces:
  25384. - application/json
  25385. responses:
  25386. "200":
  25387. description: OK
  25388. schema:
  25389. items:
  25390. $ref: '#/definitions/models.RoleMenu'
  25391. type: array
  25392. "500":
  25393. description: Internal Server Error
  25394. schema:
  25395. $ref: '#/definitions/app.Response'
  25396. security:
  25397. - ApiKeyAuth: []
  25398. summary: 查询角色菜单和权限
  25399. tags:
  25400. - 企业风险管理(app)
  25401. /Ermcp/QueryTradeConfigTMP:
  25402. get:
  25403. parameters:
  25404. - description: 所属机构id
  25405. in: query
  25406. name: areauserid
  25407. type: integer
  25408. produces:
  25409. - application/json
  25410. responses:
  25411. "200":
  25412. description: OK
  25413. schema:
  25414. items:
  25415. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  25416. type: array
  25417. "500":
  25418. description: Internal Server Error
  25419. schema:
  25420. $ref: '#/definitions/app.Response'
  25421. security:
  25422. - ApiKeyAuth: []
  25423. summary: 查询交易模板配置
  25424. tags:
  25425. - 企业风险管理(app)
  25426. /Ermcp/QueryUserInfo:
  25427. get:
  25428. parameters:
  25429. - description: 所属机构用户ID
  25430. in: query
  25431. name: MemberUserID
  25432. required: true
  25433. type: integer
  25434. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  25435. in: query
  25436. name: queryType
  25437. required: true
  25438. type: integer
  25439. produces:
  25440. - application/json
  25441. responses:
  25442. "200":
  25443. description: OK
  25444. schema:
  25445. items:
  25446. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  25447. type: array
  25448. "500":
  25449. description: Internal Server Error
  25450. schema:
  25451. $ref: '#/definitions/app.Response'
  25452. security:
  25453. - ApiKeyAuth: []
  25454. summary: 查询客户资料
  25455. tags:
  25456. - 企业风险管理(app)
  25457. /Ermcp/QueryWarehouseInfo:
  25458. get:
  25459. parameters:
  25460. - description: 用户ID
  25461. in: query
  25462. name: userid
  25463. required: true
  25464. type: integer
  25465. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  25466. in: query
  25467. name: status
  25468. type: string
  25469. produces:
  25470. - application/json
  25471. responses:
  25472. "200":
  25473. description: OK
  25474. schema:
  25475. items:
  25476. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  25477. type: array
  25478. "500":
  25479. description: Internal Server Error
  25480. schema:
  25481. $ref: '#/definitions/app.Response'
  25482. security:
  25483. - ApiKeyAuth: []
  25484. summary: 查询仓库信息
  25485. tags:
  25486. - 企业风险管理(app)
  25487. /Ermcp3/QryAreaExpourseContractDetail:
  25488. get:
  25489. parameters:
  25490. - description: 用户ID
  25491. in: query
  25492. name: userid
  25493. required: true
  25494. type: integer
  25495. - description: 套保商品id
  25496. in: query
  25497. name: middlegoodsid
  25498. required: true
  25499. type: integer
  25500. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25501. in: query
  25502. name: cycletype
  25503. required: true
  25504. type: integer
  25505. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25506. 全(0)【原值】
  25507. in: query
  25508. name: cycletime
  25509. required: true
  25510. type: string
  25511. produces:
  25512. - application/json
  25513. responses:
  25514. "200":
  25515. description: OK
  25516. schema:
  25517. items:
  25518. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  25519. type: array
  25520. "500":
  25521. description: Internal Server Error
  25522. schema:
  25523. $ref: '#/definitions/app.Response'
  25524. security:
  25525. - ApiKeyAuth: []
  25526. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  25527. tags:
  25528. - 企业风险管理v3(app)
  25529. /Ermcp3/QryAreaExpourseFutuDetail:
  25530. get:
  25531. parameters:
  25532. - description: 用户ID
  25533. in: query
  25534. name: userid
  25535. required: true
  25536. type: integer
  25537. - description: 套保商品id
  25538. in: query
  25539. name: middlegoodsid
  25540. required: true
  25541. type: integer
  25542. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25543. in: query
  25544. name: cycletype
  25545. required: true
  25546. type: integer
  25547. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25548. 全(0)【原值】
  25549. in: query
  25550. name: cycletime
  25551. required: true
  25552. type: string
  25553. produces:
  25554. - application/json
  25555. responses:
  25556. "200":
  25557. description: OK
  25558. schema:
  25559. items:
  25560. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  25561. type: array
  25562. "500":
  25563. description: Internal Server Error
  25564. schema:
  25565. $ref: '#/definitions/app.Response'
  25566. security:
  25567. - ApiKeyAuth: []
  25568. summary: 查询敞口期货明细(敞口报表/期货明细)
  25569. tags:
  25570. - 企业风险管理v3(app)
  25571. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  25572. get:
  25573. parameters:
  25574. - description: 用户ID
  25575. in: query
  25576. name: userid
  25577. required: true
  25578. type: integer
  25579. - description: 套保商品id
  25580. in: query
  25581. name: middlegoodsid
  25582. required: true
  25583. type: integer
  25584. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25585. in: query
  25586. name: cycletype
  25587. required: true
  25588. type: integer
  25589. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25590. 全(0)【原值】
  25591. in: query
  25592. name: cycletime
  25593. required: true
  25594. type: string
  25595. produces:
  25596. - application/json
  25597. responses:
  25598. "200":
  25599. description: OK
  25600. schema:
  25601. items:
  25602. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  25603. type: array
  25604. "500":
  25605. description: Internal Server Error
  25606. schema:
  25607. $ref: '#/definitions/app.Response'
  25608. security:
  25609. - ApiKeyAuth: []
  25610. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  25611. tags:
  25612. - 企业风险管理v3(app)
  25613. /Ermcp3/QryAreaExpourseParamChLogDetail:
  25614. get:
  25615. parameters:
  25616. - description: 用户ID
  25617. in: query
  25618. name: userid
  25619. required: true
  25620. type: integer
  25621. - description: 套保商品id
  25622. in: query
  25623. name: middlegoodsid
  25624. required: true
  25625. type: integer
  25626. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25627. in: query
  25628. name: cycletype
  25629. required: true
  25630. type: integer
  25631. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25632. 全(0)【原值】
  25633. in: query
  25634. name: cycletime
  25635. required: true
  25636. type: string
  25637. produces:
  25638. - application/json
  25639. responses:
  25640. "200":
  25641. description: OK
  25642. schema:
  25643. items:
  25644. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  25645. type: array
  25646. "500":
  25647. description: Internal Server Error
  25648. schema:
  25649. $ref: '#/definitions/app.Response'
  25650. security:
  25651. - ApiKeyAuth: []
  25652. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  25653. tags:
  25654. - 企业风险管理v3(app)
  25655. /Ermcp3/QryAreaExpourseReport:
  25656. get:
  25657. parameters:
  25658. - description: 用户ID
  25659. in: query
  25660. name: userid
  25661. required: true
  25662. type: integer
  25663. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  25664. in: query
  25665. name: querytype
  25666. required: true
  25667. type: integer
  25668. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25669. in: query
  25670. name: cycletype
  25671. required: true
  25672. type: integer
  25673. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25674. 全(0)【原值】
  25675. in: query
  25676. name: cycletime
  25677. required: true
  25678. type: string
  25679. produces:
  25680. - application/json
  25681. responses:
  25682. "200":
  25683. description: OK
  25684. schema:
  25685. items:
  25686. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  25687. type: array
  25688. "500":
  25689. description: Internal Server Error
  25690. schema:
  25691. $ref: '#/definitions/app.Response'
  25692. security:
  25693. - ApiKeyAuth: []
  25694. summary: 查询敞口报表
  25695. tags:
  25696. - 企业风险管理v3(app)
  25697. /Ermcp3/QryAreaSpotplReport:
  25698. get:
  25699. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  25700. parameters:
  25701. - description: 用户ID
  25702. in: query
  25703. name: userid
  25704. required: true
  25705. type: integer
  25706. - description: 查询类型 1-报表 2-报表明细
  25707. in: query
  25708. name: querytype
  25709. required: true
  25710. type: integer
  25711. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25712. in: query
  25713. name: cycletype
  25714. required: true
  25715. type: integer
  25716. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25717. 全(0)【原值】
  25718. in: query
  25719. name: cycletime
  25720. required: true
  25721. type: string
  25722. - description: 现货品种id(明细必填)
  25723. in: query
  25724. name: deliverygoodsid
  25725. type: integer
  25726. - description: 币种id(明细必填)
  25727. in: query
  25728. name: currencyid
  25729. type: integer
  25730. - description: 日/周/月报表汇总维度 1:品种+品类
  25731. in: query
  25732. name: sumflag
  25733. type: integer
  25734. produces:
  25735. - application/json
  25736. responses:
  25737. "200":
  25738. description: OK
  25739. schema:
  25740. items:
  25741. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  25742. type: array
  25743. "500":
  25744. description: Internal Server Error
  25745. schema:
  25746. $ref: '#/definitions/app.Response'
  25747. security:
  25748. - ApiKeyAuth: []
  25749. summary: 查询现货报表
  25750. tags:
  25751. - 企业风险管理v3(app)
  25752. /Ermcp3/QryAreaStockReport:
  25753. get:
  25754. parameters:
  25755. - description: 用户ID
  25756. in: query
  25757. name: userid
  25758. required: true
  25759. type: integer
  25760. - description: 查询类型 1-报表 2-报表明细
  25761. in: query
  25762. name: querytype
  25763. required: true
  25764. type: integer
  25765. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25766. in: query
  25767. name: cycletype
  25768. required: true
  25769. type: integer
  25770. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25771. 全(0)【原值】
  25772. in: query
  25773. name: cycletime
  25774. required: true
  25775. type: string
  25776. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  25777. in: query
  25778. name: sumfields
  25779. type: string
  25780. - description: 品种ID
  25781. in: query
  25782. name: deliverygoodsid
  25783. type: integer
  25784. - description: 品类ID
  25785. in: query
  25786. name: wrstandardid
  25787. type: integer
  25788. - description: 品牌ID
  25789. in: query
  25790. name: spotgoodsbrandid
  25791. type: integer
  25792. - description: 仓库ID
  25793. in: query
  25794. name: warehouseinfoid
  25795. type: integer
  25796. produces:
  25797. - application/json
  25798. responses:
  25799. "200":
  25800. description: OK
  25801. schema:
  25802. items:
  25803. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  25804. type: array
  25805. "500":
  25806. description: Internal Server Error
  25807. schema:
  25808. $ref: '#/definitions/app.Response'
  25809. security:
  25810. - ApiKeyAuth: []
  25811. summary: 查询库存报表
  25812. tags:
  25813. - 企业风险管理v3(app)
  25814. /Ermcp3/QryAreaSumPL:
  25815. get:
  25816. parameters:
  25817. - description: 用户ID
  25818. in: query
  25819. name: userid
  25820. required: true
  25821. type: integer
  25822. - description: 查询类型 1-报表 2-报表明细
  25823. in: query
  25824. name: querytype
  25825. required: true
  25826. type: integer
  25827. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25828. in: query
  25829. name: cycletype
  25830. required: true
  25831. type: integer
  25832. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25833. 全(0)【原值】
  25834. in: query
  25835. name: cycletime
  25836. required: true
  25837. type: string
  25838. - description: 币种id(明细必填)
  25839. in: query
  25840. name: currencyid
  25841. type: integer
  25842. - description: 套保品种ID, 查询类型为2时起效
  25843. in: query
  25844. name: middlegoodsid
  25845. type: integer
  25846. produces:
  25847. - application/json
  25848. responses:
  25849. "200":
  25850. description: OK
  25851. schema:
  25852. items:
  25853. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  25854. type: array
  25855. "500":
  25856. description: Internal Server Error
  25857. schema:
  25858. $ref: '#/definitions/app.Response'
  25859. security:
  25860. - ApiKeyAuth: []
  25861. summary: 查询汇总损益表
  25862. tags:
  25863. - 企业风险管理v3(app)
  25864. /Ermcp3/QryFinanceReport:
  25865. get:
  25866. parameters:
  25867. - description: 用户ID
  25868. in: query
  25869. name: userid
  25870. required: true
  25871. type: integer
  25872. - description: 查询类型 1-报表 2-报表明细
  25873. in: query
  25874. name: querytype
  25875. required: true
  25876. type: integer
  25877. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25878. in: query
  25879. name: cycletype
  25880. required: true
  25881. type: integer
  25882. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25883. 全(0)【原值】
  25884. in: query
  25885. name: cycletime
  25886. required: true
  25887. type: string
  25888. - description: 币种id(报表明细必填)
  25889. in: query
  25890. name: currencyid
  25891. type: integer
  25892. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  25893. in: query
  25894. name: sumfields
  25895. type: string
  25896. produces:
  25897. - application/json
  25898. responses:
  25899. "200":
  25900. description: OK
  25901. schema:
  25902. items:
  25903. $ref: '#/definitions/models.Ermcp3FinanceReport'
  25904. type: array
  25905. "500":
  25906. description: Internal Server Error
  25907. schema:
  25908. $ref: '#/definitions/app.Response'
  25909. security:
  25910. - ApiKeyAuth: []
  25911. summary: 查询财务报表
  25912. tags:
  25913. - 企业风险管理v3(app)
  25914. /Ermcp3/QrySCMiddleGoodsReport:
  25915. get:
  25916. parameters:
  25917. - description: 用户ID
  25918. in: query
  25919. name: userid
  25920. required: true
  25921. type: integer
  25922. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25923. in: query
  25924. name: cycletype
  25925. required: true
  25926. type: integer
  25927. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25928. 全(0)【原值】
  25929. in: query
  25930. name: cycletime
  25931. required: true
  25932. type: string
  25933. - description: 合同id
  25934. in: query
  25935. name: spotcontractid
  25936. type: integer
  25937. - description: 套保品种id
  25938. in: query
  25939. name: middlegoodsid
  25940. type: integer
  25941. - description: 现货品种id
  25942. in: query
  25943. name: deliverygoodsid
  25944. type: integer
  25945. - description: 现货商品id
  25946. in: query
  25947. name: wrstandardid
  25948. type: integer
  25949. - description: 合同编号(模糊匹配)
  25950. in: query
  25951. name: contractno
  25952. type: string
  25953. produces:
  25954. - application/json
  25955. responses:
  25956. "200":
  25957. description: OK
  25958. schema:
  25959. items:
  25960. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  25961. type: array
  25962. "500":
  25963. description: Internal Server Error
  25964. schema:
  25965. $ref: '#/definitions/app.Response'
  25966. security:
  25967. - ApiKeyAuth: []
  25968. summary: 查询定价报表
  25969. tags:
  25970. - 企业风险管理v3(app)
  25971. /Ermcp3/QryTaFutureDataReport:
  25972. get:
  25973. parameters:
  25974. - description: 用户ID
  25975. in: query
  25976. name: userid
  25977. required: true
  25978. type: integer
  25979. - description: 查询类型 1-报表 2-报表明细
  25980. in: query
  25981. name: querytype
  25982. required: true
  25983. type: integer
  25984. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25985. in: query
  25986. name: cycletype
  25987. required: true
  25988. type: integer
  25989. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25990. 全(0)【原值】
  25991. in: query
  25992. name: cycletime
  25993. required: true
  25994. type: string
  25995. - description: 币种id(查明细必填)
  25996. in: query
  25997. name: currencyid
  25998. type: integer
  25999. - description: 品种id(查明细必填)
  26000. in: query
  26001. name: goodsgroupid
  26002. type: integer
  26003. - description: 商品id(查明细必填)
  26004. in: query
  26005. name: goodsid
  26006. type: integer
  26007. - description: 买卖方向(查明细必填)
  26008. in: query
  26009. name: buyorsell
  26010. type: integer
  26011. produces:
  26012. - application/json
  26013. responses:
  26014. "200":
  26015. description: OK
  26016. schema:
  26017. items:
  26018. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  26019. type: array
  26020. "500":
  26021. description: Internal Server Error
  26022. schema:
  26023. $ref: '#/definitions/app.Response'
  26024. security:
  26025. - ApiKeyAuth: []
  26026. summary: 查询期货报表
  26027. tags:
  26028. - 企业风险管理v3(app)
  26029. /Ermcp3/QueryAreaStock:
  26030. get:
  26031. parameters:
  26032. - description: 用户ID
  26033. in: query
  26034. name: userid
  26035. required: true
  26036. type: integer
  26037. produces:
  26038. - application/json
  26039. responses:
  26040. "200":
  26041. description: OK
  26042. schema:
  26043. items:
  26044. $ref: '#/definitions/models.Ermcp3AreaStock'
  26045. type: array
  26046. "500":
  26047. description: Internal Server Error
  26048. schema:
  26049. $ref: '#/definitions/app.Response'
  26050. security:
  26051. - ApiKeyAuth: []
  26052. summary: 查询机构库存(库存管理/当前库存)
  26053. tags:
  26054. - 企业风险管理v3(app)
  26055. /Ermcp3/QueryAreaStockApply:
  26056. get:
  26057. parameters:
  26058. - description: 用户ID
  26059. in: query
  26060. name: userid
  26061. required: true
  26062. type: integer
  26063. - description: 用户类型 2-机构 7-企业成员
  26064. in: query
  26065. name: usertype
  26066. type: integer
  26067. - description: 现货商品ID
  26068. in: query
  26069. name: deliverygoodsid
  26070. type: integer
  26071. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  26072. in: query
  26073. name: inouttype
  26074. type: string
  26075. - description: 合同ID
  26076. in: query
  26077. name: spotcontractid
  26078. type: integer
  26079. - description: 品类ID
  26080. in: query
  26081. name: wrstandardid
  26082. type: integer
  26083. - description: 品牌ID
  26084. in: query
  26085. name: spotgoodsbrandid
  26086. type: integer
  26087. - description: 仓库ID
  26088. in: query
  26089. name: warehouseinfoid
  26090. type: integer
  26091. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26092. in: query
  26093. name: applystatus
  26094. type: string
  26095. produces:
  26096. - application/json
  26097. responses:
  26098. "200":
  26099. description: OK
  26100. schema:
  26101. items:
  26102. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  26103. type: array
  26104. "500":
  26105. description: Internal Server Error
  26106. schema:
  26107. $ref: '#/definitions/app.Response'
  26108. security:
  26109. - ApiKeyAuth: []
  26110. summary: 查询库存申请(出入库记录|库存审核)
  26111. tags:
  26112. - 企业风险管理v3(app)
  26113. /Ermcp3/QueryAreaStockApplySum:
  26114. get:
  26115. parameters:
  26116. - description: 合同ID
  26117. in: query
  26118. name: spotcontractid
  26119. required: true
  26120. type: integer
  26121. produces:
  26122. - application/json
  26123. responses:
  26124. "200":
  26125. description: OK
  26126. schema:
  26127. items:
  26128. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  26129. type: array
  26130. "500":
  26131. description: Internal Server Error
  26132. schema:
  26133. $ref: '#/definitions/app.Response'
  26134. security:
  26135. - ApiKeyAuth: []
  26136. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  26137. tags:
  26138. - 企业风险管理v3(app)
  26139. /Ermcp3/QueryDGFactoryItem:
  26140. get:
  26141. parameters:
  26142. - description: 用户id
  26143. in: query
  26144. name: userid
  26145. type: integer
  26146. - description: 用户类型 2-机构 7-企业成员
  26147. in: query
  26148. name: usertype
  26149. type: integer
  26150. - description: 选择项ID(SEQ_DGFACTORYITEM)
  26151. in: query
  26152. name: dgfactoryitemid
  26153. type: integer
  26154. - description: 现货品种ID
  26155. in: query
  26156. name: deliverygoodsid
  26157. type: integer
  26158. - description: 要素项类型
  26159. in: query
  26160. name: dgfactoryitemtypeid
  26161. type: integer
  26162. - description: 顺序
  26163. in: query
  26164. name: orderindex
  26165. type: integer
  26166. produces:
  26167. - application/json
  26168. responses:
  26169. "200":
  26170. description: OK
  26171. schema:
  26172. items:
  26173. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  26174. type: array
  26175. "500":
  26176. description: Internal Server Error
  26177. schema:
  26178. $ref: '#/definitions/app.Response'
  26179. security:
  26180. - ApiKeyAuth: []
  26181. summary: 查询品种要素定义项
  26182. tags:
  26183. - 企业风险管理v3(app)
  26184. /Ermcp3/QueryDeliveryGoods:
  26185. get:
  26186. parameters:
  26187. - description: 用户id
  26188. in: query
  26189. name: userid
  26190. required: true
  26191. type: integer
  26192. - description: 用户类型 2-机构 7-企业成员
  26193. in: query
  26194. name: usertype
  26195. type: integer
  26196. - description: 排除已配置的业务类型商品 1-套保 2-套利
  26197. in: query
  26198. name: excludecfg
  26199. type: integer
  26200. produces:
  26201. - application/json
  26202. responses:
  26203. "200":
  26204. description: OK
  26205. schema:
  26206. items:
  26207. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  26208. type: array
  26209. "500":
  26210. description: Internal Server Error
  26211. schema:
  26212. $ref: '#/definitions/app.Response'
  26213. security:
  26214. - ApiKeyAuth: []
  26215. summary: 查询现货商品
  26216. tags:
  26217. - 企业风险管理v3(app)
  26218. /Ermcp3/QueryDeliveryGoodsDetail:
  26219. get:
  26220. parameters:
  26221. - description: 用户id
  26222. in: query
  26223. name: userid
  26224. required: true
  26225. type: integer
  26226. - description: 用户类型 2-机构 7-企业成员
  26227. in: query
  26228. name: usertype
  26229. type: integer
  26230. - description: 现货商品id
  26231. in: query
  26232. name: deliverygoodsid
  26233. type: integer
  26234. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  26235. in: query
  26236. name: filtersubempty
  26237. type: integer
  26238. produces:
  26239. - application/json
  26240. responses:
  26241. "200":
  26242. description: OK
  26243. schema:
  26244. items:
  26245. $ref: '#/definitions/models.XHDeliveryGoods'
  26246. type: array
  26247. "500":
  26248. description: Internal Server Error
  26249. schema:
  26250. $ref: '#/definitions/app.Response'
  26251. security:
  26252. - ApiKeyAuth: []
  26253. summary: 查询现货商品详情
  26254. tags:
  26255. - 企业风险管理v3(app)
  26256. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  26257. get:
  26258. parameters:
  26259. - description: 合同id
  26260. in: query
  26261. name: spotcontractid
  26262. required: true
  26263. type: string
  26264. produces:
  26265. - application/json
  26266. responses:
  26267. "200":
  26268. description: OK
  26269. schema:
  26270. items:
  26271. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  26272. type: array
  26273. "500":
  26274. description: Internal Server Error
  26275. schema:
  26276. $ref: '#/definitions/app.Response'
  26277. security:
  26278. - ApiKeyAuth: []
  26279. summary: 查询现货合同期现配置信息
  26280. tags:
  26281. - 企业风险管理v3(app)
  26282. /Ermcp3/QueryExposureDetail:
  26283. get:
  26284. parameters:
  26285. - description: 用户id
  26286. in: query
  26287. name: userid
  26288. required: true
  26289. type: integer
  26290. - description: 用户类型 2-机构 7-企业成员
  26291. in: query
  26292. name: usertype
  26293. type: integer
  26294. - description: 套保商品
  26295. in: query
  26296. name: middlegoodsid
  26297. required: true
  26298. type: integer
  26299. produces:
  26300. - application/json
  26301. responses:
  26302. "200":
  26303. description: OK
  26304. schema:
  26305. items:
  26306. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  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/QueryExposureSpot:
  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. produces:
  26330. - application/json
  26331. responses:
  26332. "200":
  26333. description: OK
  26334. schema:
  26335. items:
  26336. $ref: '#/definitions/models.Ermcp3AreaSpot'
  26337. type: array
  26338. "500":
  26339. description: Internal Server Error
  26340. schema:
  26341. $ref: '#/definitions/app.Response'
  26342. security:
  26343. - ApiKeyAuth: []
  26344. summary: 查询敞口现货头寸(敞口/现货头寸)
  26345. tags:
  26346. - 企业风险管理v3(app)
  26347. /Ermcp3/QueryExposureSpotDetail:
  26348. get:
  26349. parameters:
  26350. - description: 用户id
  26351. in: query
  26352. name: userid
  26353. required: true
  26354. type: integer
  26355. - description: 用户类型 2-机构 7-企业成员
  26356. in: query
  26357. name: usertype
  26358. type: integer
  26359. - description: 现货商品ID
  26360. in: query
  26361. name: wrstandardid
  26362. required: true
  26363. type: integer
  26364. produces:
  26365. - application/json
  26366. responses:
  26367. "200":
  26368. description: OK
  26369. schema:
  26370. items:
  26371. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  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/QueryGoodsGroup:
  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: 排除套保品中已关联的商品组 1-排除
  26395. in: query
  26396. name: excludecfg
  26397. type: integer
  26398. produces:
  26399. - application/json
  26400. responses:
  26401. "200":
  26402. description: OK
  26403. schema:
  26404. items:
  26405. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  26406. type: array
  26407. "500":
  26408. description: Internal Server Error
  26409. schema:
  26410. $ref: '#/definitions/app.Response'
  26411. security:
  26412. - ApiKeyAuth: []
  26413. summary: 查询期货商品组
  26414. tags:
  26415. - 企业风险管理v3(app)
  26416. /Ermcp3/QueryGoodsWrstandard:
  26417. get:
  26418. parameters:
  26419. - description: 用户id
  26420. in: query
  26421. name: userid
  26422. required: true
  26423. type: integer
  26424. - description: 用户类型 2-机构 7-企业成员
  26425. in: query
  26426. name: usertype
  26427. type: integer
  26428. - description: 现货商品id
  26429. in: query
  26430. name: deliverygoodsid
  26431. type: integer
  26432. produces:
  26433. - application/json
  26434. responses:
  26435. "200":
  26436. description: OK
  26437. schema:
  26438. items:
  26439. $ref: '#/definitions/models.Ermcp3Wrstandard'
  26440. type: array
  26441. "500":
  26442. description: Internal Server Error
  26443. schema:
  26444. $ref: '#/definitions/app.Response'
  26445. security:
  26446. - ApiKeyAuth: []
  26447. summary: 查询商品品类
  26448. tags:
  26449. - 企业风险管理v3(app)
  26450. /Ermcp3/QueryGoodsbrand:
  26451. get:
  26452. parameters:
  26453. - description: 用户id
  26454. in: query
  26455. name: userid
  26456. required: true
  26457. type: integer
  26458. - description: 用户类型 2-机构 7-企业成员
  26459. in: query
  26460. name: usertype
  26461. type: integer
  26462. produces:
  26463. - application/json
  26464. responses:
  26465. "200":
  26466. description: OK
  26467. schema:
  26468. items:
  26469. $ref: '#/definitions/models.Ermcp3Brand'
  26470. type: array
  26471. "500":
  26472. description: Internal Server Error
  26473. schema:
  26474. $ref: '#/definitions/app.Response'
  26475. security:
  26476. - ApiKeyAuth: []
  26477. summary: 查询商品品牌
  26478. tags:
  26479. - 企业风险管理v3(app)
  26480. /Ermcp3/QueryHPMiddleGoods:
  26481. get:
  26482. parameters:
  26483. - description: 用户ID(填登录用户的userid)
  26484. in: query
  26485. name: userid
  26486. required: true
  26487. type: integer
  26488. - description: 买卖方向 0-买 1-卖
  26489. in: query
  26490. name: buyorsell
  26491. required: true
  26492. type: integer
  26493. - description: 商品组id
  26494. in: query
  26495. name: goodsgroupid
  26496. required: true
  26497. type: integer
  26498. - description: 套保计划编号(模糊匹配)
  26499. in: query
  26500. name: hedgeplanno
  26501. type: string
  26502. - description: 现货商品名称(模糊匹配)
  26503. in: query
  26504. name: wrstandardname
  26505. type: string
  26506. produces:
  26507. - application/json
  26508. responses:
  26509. "200":
  26510. description: OK
  26511. schema:
  26512. items:
  26513. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  26514. type: array
  26515. "500":
  26516. description: Internal Server Error
  26517. schema:
  26518. $ref: '#/definitions/app.Response'
  26519. security:
  26520. - ApiKeyAuth: []
  26521. summary: 查询可关联套保计划
  26522. tags:
  26523. - 企业风险管理v3(app)
  26524. /Ermcp3/QueryHedgePlan:
  26525. get:
  26526. parameters:
  26527. - description: 用户ID
  26528. in: query
  26529. name: userid
  26530. required: true
  26531. type: integer
  26532. - description: 用户类型 2-机构 7-企业成员
  26533. in: query
  26534. name: usertype
  26535. type: integer
  26536. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26537. in: query
  26538. name: hedgeplanstatus
  26539. required: true
  26540. type: string
  26541. produces:
  26542. - application/json
  26543. responses:
  26544. "200":
  26545. description: OK
  26546. schema:
  26547. items:
  26548. $ref: '#/definitions/models.Ermcp3HedgePlan'
  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/QueryInnerTradeLink:
  26560. get:
  26561. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  26562. parameters:
  26563. - description: 外部成交单号
  26564. in: query
  26565. name: outtradeid
  26566. required: true
  26567. type: integer
  26568. produces:
  26569. - application/json
  26570. responses:
  26571. "200":
  26572. description: OK
  26573. schema:
  26574. items:
  26575. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  26576. type: array
  26577. "500":
  26578. description: Internal Server Error
  26579. schema:
  26580. $ref: '#/definitions/app.Response'
  26581. security:
  26582. - ApiKeyAuth: []
  26583. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  26584. tags:
  26585. - 企业风险管理v3(app)
  26586. /Ermcp3/QueryMiddleGoodsDetail:
  26587. get:
  26588. parameters:
  26589. - description: 用户id
  26590. in: query
  26591. name: userid
  26592. required: true
  26593. type: integer
  26594. - description: 用户类型 2-机构 7-企业成员
  26595. in: query
  26596. name: usertype
  26597. type: integer
  26598. - description: 套保品种id
  26599. in: query
  26600. name: middlegoodsid
  26601. type: integer
  26602. produces:
  26603. - application/json
  26604. responses:
  26605. "200":
  26606. description: OK
  26607. schema:
  26608. items:
  26609. $ref: '#/definitions/models.TBMiddleGoods'
  26610. type: array
  26611. "500":
  26612. description: Internal Server Error
  26613. schema:
  26614. $ref: '#/definitions/app.Response'
  26615. security:
  26616. - ApiKeyAuth: []
  26617. summary: 查询套保品种详情(套保品种/商品详情)
  26618. tags:
  26619. - 企业风险管理v3(app)
  26620. /Ermcp3/QueryOutTradeLink:
  26621. get:
  26622. description: 页面 app 现货->期现关联->外部成交单关联
  26623. parameters:
  26624. - description: 用户ID(填登录用户的userid)
  26625. in: query
  26626. name: userid
  26627. required: true
  26628. type: integer
  26629. - description: 外部订单号(模糊匹配)
  26630. in: query
  26631. name: outtradeid
  26632. type: string
  26633. - description: 合约名称/代码(模糊匹配)
  26634. in: query
  26635. name: goodsname
  26636. type: string
  26637. - description: 关联状态 0-未关联 1-已关联
  26638. in: query
  26639. name: hasinnerorder
  26640. type: integer
  26641. produces:
  26642. - application/json
  26643. responses:
  26644. "200":
  26645. description: OK
  26646. schema:
  26647. items:
  26648. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  26649. type: array
  26650. "500":
  26651. description: Internal Server Error
  26652. schema:
  26653. $ref: '#/definitions/app.Response'
  26654. security:
  26655. - ApiKeyAuth: []
  26656. summary: 查询外部成交单关联
  26657. tags:
  26658. - 企业风险管理v3(app)
  26659. /Ermcp3/QueryPaAreaAuditCfg:
  26660. get:
  26661. parameters:
  26662. - description: 用户id
  26663. in: query
  26664. name: userid
  26665. required: true
  26666. type: integer
  26667. produces:
  26668. - application/json
  26669. responses:
  26670. "200":
  26671. description: OK
  26672. schema:
  26673. items:
  26674. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  26675. type: array
  26676. "500":
  26677. description: Internal Server Error
  26678. schema:
  26679. $ref: '#/definitions/app.Response'
  26680. security:
  26681. - ApiKeyAuth: []
  26682. summary: 查询审核设置
  26683. tags:
  26684. - 企业风险管理v3(app)
  26685. /Ermcp3/QueryPaAreaSubject:
  26686. get:
  26687. parameters:
  26688. - description: 用户id
  26689. in: query
  26690. name: userid
  26691. required: true
  26692. type: integer
  26693. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  26694. in: query
  26695. name: subjectid
  26696. type: integer
  26697. - description: 主体类型 - 1:交易主体 2:业务部门
  26698. in: query
  26699. name: subjecttype
  26700. type: integer
  26701. - description: '主体状态 - 1:正常 2: 停用'
  26702. in: query
  26703. name: subjectstatus
  26704. type: integer
  26705. produces:
  26706. - application/json
  26707. responses:
  26708. "200":
  26709. description: OK
  26710. schema:
  26711. items:
  26712. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  26713. type: array
  26714. "500":
  26715. description: Internal Server Error
  26716. schema:
  26717. $ref: '#/definitions/app.Response'
  26718. security:
  26719. - ApiKeyAuth: []
  26720. summary: 查询交易主体
  26721. tags:
  26722. - 企业风险管理v3(app)
  26723. /Ermcp3/QueryPaTradeLink:
  26724. get:
  26725. description: 页面 app 现货->期现关联->期现单据关联
  26726. parameters:
  26727. - description: 用户ID
  26728. in: query
  26729. name: userid
  26730. required: true
  26731. type: integer
  26732. produces:
  26733. - application/json
  26734. responses:
  26735. "200":
  26736. description: OK
  26737. schema:
  26738. items:
  26739. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  26740. type: array
  26741. "500":
  26742. description: Internal Server Error
  26743. schema:
  26744. $ref: '#/definitions/app.Response'
  26745. security:
  26746. - ApiKeyAuth: []
  26747. summary: 查询期现单据关联
  26748. tags:
  26749. - 企业风险管理v3(app)
  26750. /Ermcp3/QueryPaTradeLinkDetail:
  26751. get:
  26752. description: 页面 app 现货->期现关联->关联记录
  26753. parameters:
  26754. - description: 用户ID(填登录用户的userid)
  26755. in: query
  26756. name: userid
  26757. required: true
  26758. type: integer
  26759. - description: 关联状态 1:成功 2:失败 3:解绑
  26760. in: query
  26761. name: linkstatus
  26762. type: integer
  26763. - description: 期货订单号(模糊匹配)
  26764. in: query
  26765. name: tradeid
  26766. type: string
  26767. - description: 现货编号(模糊匹配)
  26768. in: query
  26769. name: contractno
  26770. type: string
  26771. - description: 期货账户(模糊匹配)
  26772. in: query
  26773. name: taname
  26774. type: string
  26775. produces:
  26776. - application/json
  26777. responses:
  26778. "200":
  26779. description: OK
  26780. schema:
  26781. items:
  26782. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  26783. type: array
  26784. "500":
  26785. description: Internal Server Error
  26786. schema:
  26787. $ref: '#/definitions/app.Response'
  26788. security:
  26789. - ApiKeyAuth: []
  26790. summary: 查询期现关联记录
  26791. tags:
  26792. - 企业风险管理v3(app)
  26793. /Ermcp3/QueryParamChangeApp:
  26794. get:
  26795. description: |-
  26796. 原型页面:
  26797. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  26798. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  26799. parameters:
  26800. - description: 用户ID
  26801. in: query
  26802. name: userid
  26803. required: true
  26804. type: integer
  26805. - description: 现货品种id
  26806. in: query
  26807. name: deliverygoodsid
  26808. type: integer
  26809. - description: 现货商品id
  26810. in: query
  26811. name: wrstandardid
  26812. type: integer
  26813. - description: 套保商品id
  26814. in: query
  26815. name: middlegoodsid
  26816. type: integer
  26817. - description: 操作类型 1:新增 2:修改
  26818. in: query
  26819. name: operatetype
  26820. type: integer
  26821. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  26822. in: query
  26823. name: paramchangetype
  26824. type: integer
  26825. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26826. in: query
  26827. name: ftstatus
  26828. type: string
  26829. produces:
  26830. - application/json
  26831. responses:
  26832. "200":
  26833. description: OK
  26834. schema:
  26835. items:
  26836. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  26837. type: array
  26838. "500":
  26839. description: Internal Server Error
  26840. schema:
  26841. $ref: '#/definitions/app.Response'
  26842. security:
  26843. - ApiKeyAuth: []
  26844. summary: 查询现货商品参数变更申请(流水)
  26845. tags:
  26846. - 企业风险管理v3(app)
  26847. /Ermcp3/QueryRootUserAccount:
  26848. get:
  26849. parameters:
  26850. - description: 用户ID
  26851. in: query
  26852. name: userid
  26853. required: true
  26854. type: integer
  26855. produces:
  26856. - application/json
  26857. responses:
  26858. "200":
  26859. description: OK
  26860. schema:
  26861. items:
  26862. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  26863. type: array
  26864. "500":
  26865. description: Internal Server Error
  26866. schema:
  26867. $ref: '#/definitions/app.Response'
  26868. security:
  26869. - ApiKeyAuth: []
  26870. summary: 查询顶级用户信息
  26871. tags:
  26872. - 企业风险管理v3(app)
  26873. /Ermcp3/QuerySCMiddleGoods:
  26874. get:
  26875. description: |-
  26876. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  26877. 现货编号 即 合同编号
  26878. parameters:
  26879. - description: 用户ID(填登录用户的userid)
  26880. in: query
  26881. name: userid
  26882. required: true
  26883. type: integer
  26884. - description: 买卖方向 0-买 1-卖
  26885. in: query
  26886. name: buyorsell
  26887. required: true
  26888. type: integer
  26889. - description: 商品组id
  26890. in: query
  26891. name: goodsgroupid
  26892. required: true
  26893. type: integer
  26894. - description: 业务类型 1:套保 2:套利
  26895. in: query
  26896. name: biztype
  26897. type: integer
  26898. - description: 现货编号(模糊匹配)
  26899. in: query
  26900. name: contractno
  26901. type: string
  26902. - description: 对手方(模糊匹配)
  26903. in: query
  26904. name: customername
  26905. type: string
  26906. - description: 现货商品名称(模糊匹配)
  26907. in: query
  26908. name: wrstandardname
  26909. type: string
  26910. produces:
  26911. - application/json
  26912. responses:
  26913. "200":
  26914. description: OK
  26915. schema:
  26916. items:
  26917. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  26918. type: array
  26919. "500":
  26920. description: Internal Server Error
  26921. schema:
  26922. $ref: '#/definitions/app.Response'
  26923. security:
  26924. - ApiKeyAuth: []
  26925. summary: 查询现货订单
  26926. tags:
  26927. - 企业风险管理v3(app)
  26928. /Ermcp3/QuerySpotContract:
  26929. get:
  26930. parameters:
  26931. - description: 用户id(当指定contractid, userid可不填)
  26932. in: query
  26933. name: userid
  26934. required: true
  26935. type: integer
  26936. - description: 用户类型 2-机构 7-企业成员
  26937. in: query
  26938. name: usertype
  26939. type: integer
  26940. - description: 合同类型 1-采购, -1-销售
  26941. in: query
  26942. name: contracttype
  26943. type: integer
  26944. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  26945. in: query
  26946. name: querytype
  26947. type: string
  26948. - description: 合同ID(SpotContractId)
  26949. in: query
  26950. name: contractid
  26951. type: string
  26952. - description: 合同编号(模糊匹配)
  26953. in: query
  26954. name: contractno
  26955. type: string
  26956. - description: 商品名称(模糊匹配)
  26957. in: query
  26958. name: wrstandardname
  26959. type: string
  26960. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  26961. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26962. in: query
  26963. name: status
  26964. type: string
  26965. - description: 是否只查今日的合同 1-查今日合同
  26966. in: query
  26967. name: istoday
  26968. type: integer
  26969. produces:
  26970. - application/json
  26971. responses:
  26972. "200":
  26973. description: OK
  26974. schema:
  26975. items:
  26976. $ref: '#/definitions/models.Ermcp3Contract'
  26977. type: array
  26978. "500":
  26979. description: Internal Server Error
  26980. schema:
  26981. $ref: '#/definitions/app.Response'
  26982. security:
  26983. - ApiKeyAuth: []
  26984. summary: 查询现货合同
  26985. tags:
  26986. - 企业风险管理v3(app)
  26987. /Ermcp3/QuerySpotContractBS:
  26988. get:
  26989. parameters:
  26990. - description: 用户id
  26991. in: query
  26992. name: userid
  26993. required: true
  26994. type: integer
  26995. - description: 用户类型 2-机构 7-企业成员
  26996. in: query
  26997. name: usertype
  26998. type: integer
  26999. - description: 合同类型 1-采购, -1-销售
  27000. in: query
  27001. name: contracttype
  27002. required: true
  27003. type: integer
  27004. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  27005. in: query
  27006. name: querytype
  27007. type: integer
  27008. - description: 合同ID(SpotContractId)
  27009. in: query
  27010. name: contractid
  27011. type: string
  27012. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  27013. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27014. in: query
  27015. name: status
  27016. type: string
  27017. - description: 是否只查今日的合同 1-查今日合同
  27018. in: query
  27019. name: istoday
  27020. type: integer
  27021. produces:
  27022. - application/json
  27023. responses:
  27024. "200":
  27025. description: OK
  27026. schema:
  27027. items:
  27028. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  27029. type: array
  27030. "500":
  27031. description: Internal Server Error
  27032. schema:
  27033. $ref: '#/definitions/app.Response'
  27034. security:
  27035. - ApiKeyAuth: []
  27036. summary: 查询合同(采购/销售)
  27037. tags:
  27038. - 企业风险管理v3(app)
  27039. /Ermcp3/QuerySpotGoodsPrice:
  27040. get:
  27041. parameters:
  27042. - description: 用户ID
  27043. in: query
  27044. name: userid
  27045. required: true
  27046. type: integer
  27047. produces:
  27048. - application/json
  27049. responses:
  27050. "200":
  27051. description: OK
  27052. schema:
  27053. items:
  27054. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  27055. type: array
  27056. "500":
  27057. description: Internal Server Error
  27058. schema:
  27059. $ref: '#/definitions/app.Response'
  27060. security:
  27061. - ApiKeyAuth: []
  27062. summary: 查询现货市价(现货市价)
  27063. tags:
  27064. - 企业风险管理v3(app)
  27065. /Ermcp3/QuerySpotGoodsPriceLog:
  27066. get:
  27067. parameters:
  27068. - description: 用户ID
  27069. in: query
  27070. name: userid
  27071. required: true
  27072. type: integer
  27073. - description: 现货商品ID
  27074. in: query
  27075. name: deliverygoodsid
  27076. required: true
  27077. type: integer
  27078. - description: 品牌ID
  27079. in: query
  27080. name: brandid
  27081. type: integer
  27082. - description: 品类ID
  27083. in: query
  27084. name: wrstandardid
  27085. type: integer
  27086. produces:
  27087. - application/json
  27088. responses:
  27089. "200":
  27090. description: OK
  27091. schema:
  27092. items:
  27093. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  27094. type: array
  27095. "500":
  27096. description: Internal Server Error
  27097. schema:
  27098. $ref: '#/definitions/app.Response'
  27099. security:
  27100. - ApiKeyAuth: []
  27101. summary: 查询现货市价详情(现货市价/详情)
  27102. tags:
  27103. - 企业风险管理v3(app)
  27104. /Ermcp3/QuerySubTaaccount:
  27105. get:
  27106. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  27107. parameters:
  27108. - description: 母账号id
  27109. in: query
  27110. name: parentaccountid
  27111. type: integer
  27112. - description: 母账号代码
  27113. in: query
  27114. name: parentaccountcode
  27115. type: string
  27116. produces:
  27117. - application/json
  27118. responses:
  27119. "200":
  27120. description: OK
  27121. schema:
  27122. items:
  27123. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  27124. type: array
  27125. "500":
  27126. description: Internal Server Error
  27127. schema:
  27128. $ref: '#/definitions/app.Response'
  27129. security:
  27130. - ApiKeyAuth: []
  27131. summary: 查询期货子账户
  27132. tags:
  27133. - 企业风险管理v3(app)
  27134. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  27135. get:
  27136. parameters:
  27137. - description: 套期项目ID
  27138. in: query
  27139. name: hedgeditemid
  27140. required: true
  27141. type: integer
  27142. produces:
  27143. - application/json
  27144. responses:
  27145. "200":
  27146. description: OK
  27147. schema:
  27148. items:
  27149. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  27150. type: array
  27151. "500":
  27152. description: Internal Server Error
  27153. schema:
  27154. $ref: '#/definitions/app.Response'
  27155. security:
  27156. - ApiKeyAuth: []
  27157. summary: 现货成交明细查询
  27158. tags:
  27159. - 企业风险管理v8
  27160. /Ermcp8/QueryERMCP2HedgedItemspot:
  27161. get:
  27162. parameters:
  27163. - description: 套期项目ID
  27164. in: query
  27165. name: hedgeditemid
  27166. required: true
  27167. type: integer
  27168. produces:
  27169. - application/json
  27170. responses:
  27171. "200":
  27172. description: OK
  27173. schema:
  27174. items:
  27175. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  27176. type: array
  27177. "500":
  27178. description: Internal Server Error
  27179. schema:
  27180. $ref: '#/definitions/app.Response'
  27181. security:
  27182. - ApiKeyAuth: []
  27183. summary: 套期计划明细查询
  27184. tags:
  27185. - 企业风险管理v8
  27186. /Ermcp8/QueryERMCPJRLinkPos:
  27187. get:
  27188. parameters:
  27189. - description: 套期项目ID
  27190. in: query
  27191. name: hedgeditemid
  27192. required: true
  27193. type: integer
  27194. produces:
  27195. - application/json
  27196. responses:
  27197. "200":
  27198. description: OK
  27199. schema:
  27200. items:
  27201. $ref: '#/definitions/models.Ermcpjrlinkpos'
  27202. type: array
  27203. "500":
  27204. description: Internal Server Error
  27205. schema:
  27206. $ref: '#/definitions/app.Response'
  27207. security:
  27208. - ApiKeyAuth: []
  27209. summary: 期货持仓明细查询
  27210. tags:
  27211. - 企业风险管理v8
  27212. /Ermcp8/QueryERMCPPatradeLinkDetail:
  27213. get:
  27214. parameters:
  27215. - description: 套期项目ID
  27216. in: query
  27217. name: hedgeditemid
  27218. required: true
  27219. type: integer
  27220. produces:
  27221. - application/json
  27222. responses:
  27223. "200":
  27224. description: OK
  27225. schema:
  27226. items:
  27227. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  27228. type: array
  27229. "500":
  27230. description: Internal Server Error
  27231. schema:
  27232. $ref: '#/definitions/app.Response'
  27233. security:
  27234. - ApiKeyAuth: []
  27235. summary: 期货成交单明细查询
  27236. tags:
  27237. - 企业风险管理v8
  27238. /Ermcp8/QueryErmcp2AreaExposure:
  27239. get:
  27240. parameters:
  27241. - description: 用户ID
  27242. in: query
  27243. name: userid
  27244. required: true
  27245. type: string
  27246. produces:
  27247. - application/json
  27248. responses:
  27249. "200":
  27250. description: OK
  27251. schema:
  27252. items:
  27253. $ref: '#/definitions/models.Ermcp2AreaExposure'
  27254. type: array
  27255. "500":
  27256. description: Internal Server Error
  27257. schema:
  27258. $ref: '#/definitions/app.Response'
  27259. security:
  27260. - ApiKeyAuth: []
  27261. summary: 企业敞口查询
  27262. tags:
  27263. - 企业风险管理v8
  27264. /Ermcp8/QueryErmcp2HedgedItem:
  27265. get:
  27266. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  27267. parameters:
  27268. - description: 用户ID
  27269. in: query
  27270. name: userid
  27271. required: true
  27272. type: string
  27273. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  27274. in: query
  27275. name: hedgedtype
  27276. type: integer
  27277. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27278. in: query
  27279. name: hedgeditemstatus
  27280. type: integer
  27281. produces:
  27282. - application/json
  27283. responses:
  27284. "200":
  27285. description: OK
  27286. schema:
  27287. items:
  27288. $ref: '#/definitions/models.Ermcp2hedgeditem'
  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/QueryErmcp2HedgedItemLink:
  27300. get:
  27301. parameters:
  27302. - description: 现货合同ID
  27303. in: query
  27304. name: spotcontractid
  27305. required: true
  27306. type: integer
  27307. produces:
  27308. - application/json
  27309. responses:
  27310. "200":
  27311. description: OK
  27312. schema:
  27313. items:
  27314. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  27315. type: array
  27316. "500":
  27317. description: Internal Server Error
  27318. schema:
  27319. $ref: '#/definitions/app.Response'
  27320. security:
  27321. - ApiKeyAuth: []
  27322. summary: 现货合同关联被套期项目查询
  27323. tags:
  27324. - 企业风险管理v8
  27325. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  27326. get:
  27327. parameters:
  27328. - description: 用户ID
  27329. in: query
  27330. name: userid
  27331. required: true
  27332. type: integer
  27333. - description: 套保品种ID
  27334. in: query
  27335. name: middlegoodsid
  27336. required: true
  27337. type: integer
  27338. produces:
  27339. - application/json
  27340. responses:
  27341. "200":
  27342. description: OK
  27343. schema:
  27344. items:
  27345. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  27346. type: array
  27347. "500":
  27348. description: Internal Server Error
  27349. schema:
  27350. $ref: '#/definitions/app.Response'
  27351. security:
  27352. - ApiKeyAuth: []
  27353. summary: 敞口明细 - 计划变动明细
  27354. tags:
  27355. - 企业风险管理v8
  27356. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  27357. get:
  27358. parameters:
  27359. - description: 用户ID
  27360. in: query
  27361. name: userid
  27362. required: true
  27363. type: integer
  27364. - description: 套保品种ID
  27365. in: query
  27366. name: middlegoodsid
  27367. required: true
  27368. type: integer
  27369. produces:
  27370. - application/json
  27371. responses:
  27372. "200":
  27373. description: OK
  27374. schema:
  27375. items:
  27376. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  27377. type: array
  27378. "500":
  27379. description: Internal Server Error
  27380. schema:
  27381. $ref: '#/definitions/app.Response'
  27382. security:
  27383. - ApiKeyAuth: []
  27384. summary: 敞口明细 - 现货变动明细查询
  27385. tags:
  27386. - 企业风险管理v8
  27387. /Ermcp8/QueryErmcp8EnableHedgeditem:
  27388. get:
  27389. parameters:
  27390. - description: 用户ID
  27391. in: query
  27392. name: userid
  27393. required: true
  27394. type: integer
  27395. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  27396. in: query
  27397. name: spottype
  27398. required: true
  27399. type: integer
  27400. - description: 现货商品ID
  27401. in: query
  27402. name: wrstandardid
  27403. type: integer
  27404. produces:
  27405. - application/json
  27406. responses:
  27407. "200":
  27408. description: OK
  27409. schema:
  27410. items:
  27411. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  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/QueryErmcp8HedgeditemReport:
  27423. get:
  27424. parameters:
  27425. - description: 用户ID
  27426. in: query
  27427. name: userid
  27428. required: true
  27429. type: integer
  27430. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27431. in: query
  27432. name: cycletype
  27433. type: integer
  27434. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  27435. 全(0)【原值】
  27436. in: query
  27437. name: cycletime
  27438. required: true
  27439. type: string
  27440. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  27441. in: query
  27442. name: hedgedtype
  27443. type: integer
  27444. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27445. in: query
  27446. name: hedgeditemstatus
  27447. type: integer
  27448. - description: 项目编号,模糊查询
  27449. in: query
  27450. name: hedgeditemnum
  27451. type: string
  27452. - description: 现货商品ID
  27453. in: query
  27454. name: wrstandardid
  27455. type: integer
  27456. produces:
  27457. - application/json
  27458. responses:
  27459. "200":
  27460. description: OK
  27461. schema:
  27462. items:
  27463. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  27464. type: array
  27465. "500":
  27466. description: Internal Server Error
  27467. schema:
  27468. $ref: '#/definitions/app.Response'
  27469. security:
  27470. - ApiKeyAuth: []
  27471. summary: 套期项目报表查询
  27472. tags:
  27473. - 企业风险管理v8
  27474. /Ermcp8/QueryErmcp8RunningHedgeditem:
  27475. get:
  27476. parameters:
  27477. - description: 用户ID
  27478. in: query
  27479. name: userid
  27480. required: true
  27481. type: string
  27482. produces:
  27483. - application/json
  27484. responses:
  27485. "200":
  27486. description: OK
  27487. schema:
  27488. items:
  27489. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  27490. type: array
  27491. "500":
  27492. description: Internal Server Error
  27493. schema:
  27494. $ref: '#/definitions/app.Response'
  27495. security:
  27496. - ApiKeyAuth: []
  27497. summary: 查询执行中项目查询信息
  27498. tags:
  27499. - 企业风险管理v8
  27500. /Ermcp8/QueryInternalEnableTradeDetail:
  27501. get:
  27502. parameters:
  27503. - description: 企业ID
  27504. in: query
  27505. name: areauserid
  27506. required: true
  27507. type: integer
  27508. - description: 期货合约ID
  27509. in: query
  27510. name: goodsid
  27511. required: true
  27512. type: integer
  27513. - description: 交易用户ID
  27514. in: query
  27515. name: tradeuserid
  27516. required: true
  27517. type: integer
  27518. produces:
  27519. - application/json
  27520. responses:
  27521. "200":
  27522. description: OK
  27523. schema:
  27524. items:
  27525. $ref: '#/definitions/models.InternalEnableTradeDetail'
  27526. type: array
  27527. "500":
  27528. description: Internal Server Error
  27529. schema:
  27530. $ref: '#/definitions/app.Response'
  27531. security:
  27532. - ApiKeyAuth: []
  27533. summary: 内部成交单可关联项目查询
  27534. tags:
  27535. - 企业风险管理v8
  27536. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  27537. get:
  27538. parameters:
  27539. - description: 用户编号
  27540. in: query
  27541. name: userid
  27542. required: true
  27543. type: integer
  27544. - description: 起始日期(格式yyyymmdd)
  27545. in: query
  27546. name: begindate
  27547. type: string
  27548. - description: 终止日期(格式yyyymmdd)
  27549. in: query
  27550. name: enddate
  27551. type: string
  27552. - description: 合约代码
  27553. in: query
  27554. name: goodscode
  27555. type: string
  27556. - description: 合约名称
  27557. in: query
  27558. name: goodsname
  27559. type: string
  27560. - description: 成交单号
  27561. in: query
  27562. name: tradeid
  27563. type: integer
  27564. - description: 方向 - 0:买 1:卖
  27565. in: query
  27566. name: buyorsell
  27567. type: integer
  27568. - description: 套期主体
  27569. in: query
  27570. name: accountname
  27571. type: string
  27572. produces:
  27573. - application/json
  27574. responses:
  27575. "200":
  27576. description: OK
  27577. schema:
  27578. items:
  27579. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  27580. type: array
  27581. "500":
  27582. description: Internal Server Error
  27583. schema:
  27584. $ref: '#/definitions/app.Response'
  27585. security:
  27586. - ApiKeyAuth: []
  27587. summary: 内部未关联成交单查询
  27588. tags:
  27589. - 企业风险管理v8
  27590. /Ermcp8/QueryMarketCalendar:
  27591. get:
  27592. parameters:
  27593. - description: 市场ID
  27594. in: query
  27595. name: marketid
  27596. type: integer
  27597. produces:
  27598. - application/json
  27599. responses:
  27600. "200":
  27601. description: OK
  27602. schema:
  27603. items:
  27604. $ref: '#/definitions/models.Marketcalendar'
  27605. type: array
  27606. "500":
  27607. description: Internal Server Error
  27608. schema:
  27609. $ref: '#/definitions/app.Response'
  27610. security:
  27611. - ApiKeyAuth: []
  27612. summary: 市场节假日查询
  27613. tags:
  27614. - 企业风险管理v8
  27615. /Ermcp8/QueryPatradeLinkDetail:
  27616. get:
  27617. parameters:
  27618. - description: 用户ID
  27619. in: query
  27620. name: userid
  27621. required: true
  27622. type: integer
  27623. - description: 套保品种ID
  27624. in: query
  27625. name: middlegoodsid
  27626. required: true
  27627. type: integer
  27628. produces:
  27629. - application/json
  27630. responses:
  27631. "200":
  27632. description: OK
  27633. schema:
  27634. items:
  27635. $ref: '#/definitions/models.Patradelinkdetail'
  27636. type: array
  27637. "500":
  27638. description: Internal Server Error
  27639. schema:
  27640. $ref: '#/definitions/app.Response'
  27641. security:
  27642. - ApiKeyAuth: []
  27643. summary: 敞口明细 - 期货变动明细
  27644. tags:
  27645. - 企业风险管理v8
  27646. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  27647. get:
  27648. parameters:
  27649. - description: 企业ID
  27650. in: query
  27651. name: areauserid
  27652. required: true
  27653. type: integer
  27654. - description: 计划类型 - 1:采购 -1:销售
  27655. in: query
  27656. name: contracttype
  27657. type: integer
  27658. - description: 计划编号,模糊查询
  27659. in: query
  27660. name: hedgeplanno
  27661. type: string
  27662. - description: 现货商品,模糊查询
  27663. in: query
  27664. name: wrstandardname
  27665. type: string
  27666. produces:
  27667. - application/json
  27668. responses:
  27669. "200":
  27670. description: OK
  27671. schema:
  27672. items:
  27673. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  27674. type: array
  27675. "500":
  27676. description: Internal Server Error
  27677. schema:
  27678. $ref: '#/definitions/app.Response'
  27679. security:
  27680. - ApiKeyAuth: []
  27681. summary: 未关联购销计划
  27682. tags:
  27683. - 企业风险管理v8
  27684. /Ermcp8/QueryUnLinkSpotContract:
  27685. get:
  27686. parameters:
  27687. - description: 用户ID
  27688. in: query
  27689. name: userid
  27690. required: true
  27691. type: integer
  27692. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  27693. in: query
  27694. name: pricetype
  27695. type: integer
  27696. - description: 合同编号, 模拟查询
  27697. in: query
  27698. name: contractno
  27699. type: string
  27700. - description: 对手方, 模拟查询
  27701. in: query
  27702. name: customername
  27703. type: string
  27704. - description: 项合同类型 - 1:采购 -1:销售
  27705. in: query
  27706. name: contracttype
  27707. type: integer
  27708. produces:
  27709. - application/json
  27710. responses:
  27711. "200":
  27712. description: OK
  27713. schema:
  27714. items:
  27715. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  27716. type: array
  27717. "500":
  27718. description: Internal Server Error
  27719. schema:
  27720. $ref: '#/definitions/app.Response'
  27721. security:
  27722. - ApiKeyAuth: []
  27723. summary: 未关联合同查询
  27724. tags:
  27725. - 企业风险管理v8
  27726. /Erms2/QueryArbitrageStrategy:
  27727. get:
  27728. parameters:
  27729. - description: 账户ID
  27730. in: query
  27731. name: userid
  27732. required: true
  27733. type: integer
  27734. - description: 商品组ID(品种ID)
  27735. in: query
  27736. name: goodsgroupid
  27737. type: string
  27738. produces:
  27739. - application/json
  27740. responses:
  27741. "200":
  27742. description: OK
  27743. schema:
  27744. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  27745. "500":
  27746. description: Internal Server Error
  27747. schema:
  27748. $ref: '#/definitions/app.Response'
  27749. security:
  27750. - ApiKeyAuth: []
  27751. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  27752. tags:
  27753. - 风险管理
  27754. /Erms2/QueryInnerTradeDetail:
  27755. get:
  27756. parameters:
  27757. - description: 资金账户
  27758. in: query
  27759. name: accountid
  27760. required: true
  27761. type: integer
  27762. produces:
  27763. - application/json
  27764. responses:
  27765. "200":
  27766. description: OK
  27767. schema:
  27768. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  27769. "500":
  27770. description: Internal Server Error
  27771. schema:
  27772. $ref: '#/definitions/app.Response'
  27773. security:
  27774. - ApiKeyAuth: []
  27775. summary: 查询内部成交单信息
  27776. tags:
  27777. - 风险管理
  27778. /Erms2/QuerySpotContract:
  27779. get:
  27780. parameters:
  27781. - description: 策略申请ID
  27782. in: query
  27783. name: asapplyid
  27784. required: true
  27785. type: integer
  27786. - description: 现货合同ID
  27787. in: query
  27788. name: spotcontractid
  27789. type: integer
  27790. produces:
  27791. - application/json
  27792. responses:
  27793. "200":
  27794. description: OK
  27795. schema:
  27796. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  27797. "500":
  27798. description: Internal Server Error
  27799. schema:
  27800. $ref: '#/definitions/app.Response'
  27801. security:
  27802. - ApiKeyAuth: []
  27803. summary: 查询现货合同表信息(指定策略ID、未结束的)
  27804. tags:
  27805. - 风险管理
  27806. /Erms3/AddErms2ASApply:
  27807. post:
  27808. parameters:
  27809. - description: 申请参数
  27810. in: body
  27811. name: jsonBody
  27812. required: true
  27813. schema:
  27814. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  27815. produces:
  27816. - application/json
  27817. responses:
  27818. "200":
  27819. description: OK
  27820. schema:
  27821. $ref: '#/definitions/app.Response'
  27822. "500":
  27823. description: Internal Server Error
  27824. schema:
  27825. $ref: '#/definitions/app.Response'
  27826. security:
  27827. - ApiKeyAuth: []
  27828. summary: 新增期现套利业务申请
  27829. tags:
  27830. - 风险管理v3
  27831. /Erms3/AddErms2SpotTradeApply:
  27832. post:
  27833. parameters:
  27834. - description: 申请参数
  27835. in: body
  27836. name: jsonBody
  27837. required: true
  27838. schema:
  27839. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  27840. produces:
  27841. - application/json
  27842. responses:
  27843. "200":
  27844. description: OK
  27845. schema:
  27846. $ref: '#/definitions/app.Response'
  27847. "500":
  27848. description: Internal Server Error
  27849. schema:
  27850. $ref: '#/definitions/app.Response'
  27851. security:
  27852. - ApiKeyAuth: []
  27853. summary: 新增现货贸易业务申请
  27854. tags:
  27855. - 风险管理v3
  27856. /Erms3/AddSpotContractApply:
  27857. post:
  27858. parameters:
  27859. - description: 申请参数
  27860. in: body
  27861. name: jsonBody
  27862. required: true
  27863. schema:
  27864. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  27865. produces:
  27866. - application/json
  27867. responses:
  27868. "200":
  27869. description: OK
  27870. schema:
  27871. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  27872. "500":
  27873. description: Internal Server Error
  27874. schema:
  27875. $ref: '#/definitions/app.Response'
  27876. security:
  27877. - ApiKeyAuth: []
  27878. summary: 新增现货合同申请
  27879. tags:
  27880. - 风险管理v3
  27881. /Erms3/AddUserInfoApply:
  27882. post:
  27883. parameters:
  27884. - description: 用户信息
  27885. in: body
  27886. name: jsonBody
  27887. required: true
  27888. schema:
  27889. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  27890. produces:
  27891. - application/json
  27892. responses:
  27893. "200":
  27894. description: OK
  27895. schema:
  27896. $ref: '#/definitions/app.Response'
  27897. "500":
  27898. description: Internal Server Error
  27899. schema:
  27900. $ref: '#/definitions/app.Response'
  27901. security:
  27902. - ApiKeyAuth: []
  27903. summary: 新增客户申请
  27904. tags:
  27905. - 风险管理v3
  27906. /Erms3/DeleteUserInfoApply:
  27907. get:
  27908. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  27909. parameters:
  27910. - description: 用户ID
  27911. in: query
  27912. name: userID
  27913. required: true
  27914. type: integer
  27915. produces:
  27916. - application/json
  27917. responses:
  27918. "200":
  27919. description: OK
  27920. schema:
  27921. $ref: '#/definitions/app.Response'
  27922. "500":
  27923. description: Internal Server Error
  27924. schema:
  27925. $ref: '#/definitions/app.Response'
  27926. security:
  27927. - ApiKeyAuth: []
  27928. summary: 删除客户申请
  27929. tags:
  27930. - 风险管理v3
  27931. /Erms3/ModifyUserInfoApply:
  27932. post:
  27933. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  27934. int, "userstate": 2 }'
  27935. parameters:
  27936. - description: 用户信息
  27937. in: body
  27938. name: jsonBody
  27939. required: true
  27940. schema:
  27941. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  27942. produces:
  27943. - application/json
  27944. responses:
  27945. "200":
  27946. description: OK
  27947. schema:
  27948. $ref: '#/definitions/app.Response'
  27949. "500":
  27950. description: Internal Server Error
  27951. schema:
  27952. $ref: '#/definitions/app.Response'
  27953. security:
  27954. - ApiKeyAuth: []
  27955. summary: 修改客户申请
  27956. tags:
  27957. - 风险管理v3
  27958. /Erms3/QueryBusinessInfo:
  27959. get:
  27960. parameters:
  27961. - description: 资金账号ID列表,用逗号分隔
  27962. in: query
  27963. name: accountids
  27964. required: true
  27965. type: string
  27966. - description: 状态,0为未结束 1为已结束
  27967. in: query
  27968. name: status
  27969. required: true
  27970. type: integer
  27971. produces:
  27972. - application/json
  27973. responses:
  27974. "200":
  27975. description: OK
  27976. schema:
  27977. items:
  27978. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  27979. type: array
  27980. "500":
  27981. description: Internal Server Error
  27982. schema:
  27983. $ref: '#/definitions/app.Response'
  27984. security:
  27985. - ApiKeyAuth: []
  27986. summary: 查询业务表单数据
  27987. tags:
  27988. - 风险管理v3
  27989. /Erms3/QueryPendingAuditContract:
  27990. get:
  27991. parameters:
  27992. - description: 资金账号ID列表,逗号隔开
  27993. in: query
  27994. name: accountids
  27995. required: true
  27996. type: string
  27997. - description: 合同类型 1-采购 -1-销售
  27998. in: query
  27999. name: contracttype
  28000. required: true
  28001. type: integer
  28002. - description: 合同模式 1-普通 2-回购
  28003. in: query
  28004. name: contractmode
  28005. required: true
  28006. type: integer
  28007. produces:
  28008. - application/json
  28009. responses:
  28010. "200":
  28011. description: OK
  28012. schema:
  28013. items:
  28014. $ref: '#/definitions/erms3.QryAuditContractRsp'
  28015. type: array
  28016. "500":
  28017. description: Internal Server Error
  28018. schema:
  28019. $ref: '#/definitions/app.Response'
  28020. security:
  28021. - ApiKeyAuth: []
  28022. summary: 查询待审核合同
  28023. tags:
  28024. - 风险管理v3
  28025. /Erms3/QueryPendingBusiness:
  28026. get:
  28027. parameters:
  28028. - description: 资金账号ID列表,逗号隔开
  28029. in: query
  28030. name: accountids
  28031. required: true
  28032. type: string
  28033. produces:
  28034. - application/json
  28035. responses:
  28036. "200":
  28037. description: OK
  28038. schema:
  28039. items:
  28040. $ref: '#/definitions/erms3.QryPendingBizRsp'
  28041. type: array
  28042. "500":
  28043. description: Internal Server Error
  28044. schema:
  28045. $ref: '#/definitions/app.Response'
  28046. security:
  28047. - ApiKeyAuth: []
  28048. summary: 查询待审核基差贸易业务
  28049. tags:
  28050. - 风险管理v3
  28051. /Erms3/QuerySpotContractAppleForm:
  28052. get:
  28053. parameters:
  28054. - description: 登录账号
  28055. in: query
  28056. name: loginID
  28057. required: true
  28058. type: integer
  28059. produces:
  28060. - application/json
  28061. responses:
  28062. "200":
  28063. description: OK
  28064. schema:
  28065. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  28066. "500":
  28067. description: Internal Server Error
  28068. schema:
  28069. $ref: '#/definitions/app.Response'
  28070. security:
  28071. - ApiKeyAuth: []
  28072. summary: 查询合同申请表单数据
  28073. tags:
  28074. - 风险管理v3
  28075. /Erms3/QuerySpotContractDetail:
  28076. get:
  28077. parameters:
  28078. - description: 资金账号ID列表,用逗号分隔
  28079. in: query
  28080. name: accountids
  28081. required: true
  28082. type: string
  28083. - description: 合同类型,1为采购合同 -1为销售合同
  28084. in: query
  28085. name: contracttype
  28086. required: true
  28087. type: integer
  28088. - description: 合同模式,1为普通合同 2为回购销售合同
  28089. in: query
  28090. name: contractmode
  28091. required: true
  28092. type: integer
  28093. - description: 状态,0为履约中 1为已完成
  28094. in: query
  28095. name: status
  28096. required: true
  28097. type: integer
  28098. produces:
  28099. - application/json
  28100. responses:
  28101. "200":
  28102. description: OK
  28103. schema:
  28104. items:
  28105. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  28106. type: array
  28107. "500":
  28108. description: Internal Server Error
  28109. schema:
  28110. $ref: '#/definitions/app.Response'
  28111. security:
  28112. - ApiKeyAuth: []
  28113. summary: 查询合同详细信息
  28114. tags:
  28115. - 风险管理v3
  28116. /Erms3/QueryUserInfoApplies:
  28117. get:
  28118. parameters:
  28119. - description: 页码
  28120. in: query
  28121. name: page
  28122. type: integer
  28123. - description: 每页条数
  28124. in: query
  28125. name: pagesize
  28126. type: integer
  28127. - description: 客户名称,支持模糊查询
  28128. in: query
  28129. name: userName
  28130. type: string
  28131. produces:
  28132. - application/json
  28133. responses:
  28134. "200":
  28135. description: OK
  28136. schema:
  28137. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  28138. "500":
  28139. description: Internal Server Error
  28140. schema:
  28141. $ref: '#/definitions/app.Response'
  28142. security:
  28143. - ApiKeyAuth: []
  28144. summary: 客户申请信息查询
  28145. tags:
  28146. - 风险管理v3
  28147. /Erms3/QueryUserInfos:
  28148. get:
  28149. parameters:
  28150. - description: 页码
  28151. in: query
  28152. name: page
  28153. type: integer
  28154. - description: 每页条数
  28155. in: query
  28156. name: pagesize
  28157. type: integer
  28158. - description: 客户名称,支持模糊查询
  28159. in: query
  28160. name: userName
  28161. type: string
  28162. produces:
  28163. - application/json
  28164. responses:
  28165. "200":
  28166. description: OK
  28167. schema:
  28168. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  28169. "500":
  28170. description: Internal Server Error
  28171. schema:
  28172. $ref: '#/definitions/app.Response'
  28173. security:
  28174. - ApiKeyAuth: []
  28175. summary: 客户信息查询
  28176. tags:
  28177. - 风险管理v3
  28178. /Ferroalloy/GetSpotGoodsPrice:
  28179. get:
  28180. parameters:
  28181. - description: 页码
  28182. in: query
  28183. name: page
  28184. type: integer
  28185. - description: 每页条数
  28186. in: query
  28187. name: pagesize
  28188. type: integer
  28189. produces:
  28190. - application/json
  28191. responses:
  28192. "200":
  28193. description: OK
  28194. schema:
  28195. items:
  28196. $ref: '#/definitions/models.GErmcpspotgoodsprice'
  28197. type: array
  28198. "500":
  28199. description: Internal Server Error
  28200. schema:
  28201. $ref: '#/definitions/app.Response'
  28202. security:
  28203. - ApiKeyAuth: []
  28204. - LoginID: []
  28205. - Group: []
  28206. summary: 获取现货行情
  28207. tags:
  28208. - 铁合金
  28209. /Guangzuan/GZBSFWOrderOperate:
  28210. get:
  28211. parameters:
  28212. - description: 单据ID
  28213. in: query
  28214. name: orderid
  28215. required: true
  28216. type: integer
  28217. produces:
  28218. - application/json
  28219. responses:
  28220. "200":
  28221. description: OK
  28222. schema:
  28223. items:
  28224. $ref: '#/definitions/models.Gzbsfworderoperate'
  28225. type: array
  28226. "500":
  28227. description: Internal Server Error
  28228. schema:
  28229. $ref: '#/definitions/app.Response'
  28230. security:
  28231. - ApiKeyAuth: []
  28232. - LoginID: []
  28233. - Group: []
  28234. summary: 保税服务单据操作信息
  28235. tags:
  28236. - 广钻
  28237. /Guangzuan/GetGoods:
  28238. get:
  28239. parameters:
  28240. - description: 商品编号
  28241. in: query
  28242. name: goodsno
  28243. required: true
  28244. type: string
  28245. produces:
  28246. - application/json
  28247. responses:
  28248. "200":
  28249. description: OK
  28250. schema:
  28251. $ref: '#/definitions/models.GZGoods'
  28252. "500":
  28253. description: Internal Server Error
  28254. schema:
  28255. $ref: '#/definitions/app.Response'
  28256. security:
  28257. - ApiKeyAuth: []
  28258. - LoginID: []
  28259. - Group: []
  28260. summary: 获取钻石详情
  28261. tags:
  28262. - 广钻
  28263. /Guangzuan/GzCertAddressConfig:
  28264. get:
  28265. produces:
  28266. - application/json
  28267. responses:
  28268. "200":
  28269. description: OK
  28270. schema:
  28271. items:
  28272. $ref: '#/definitions/models.Gzcertaddressconfig'
  28273. type: array
  28274. "500":
  28275. description: Internal Server Error
  28276. schema:
  28277. $ref: '#/definitions/app.Response'
  28278. security:
  28279. - ApiKeyAuth: []
  28280. - LoginID: []
  28281. - Group: []
  28282. summary: Rapaport最新报价表(广钻)
  28283. tags:
  28284. - 广钻
  28285. /Guangzuan/GzCertAddressParam:
  28286. get:
  28287. produces:
  28288. - application/json
  28289. responses:
  28290. "200":
  28291. description: OK
  28292. schema:
  28293. items:
  28294. $ref: '#/definitions/models.Gzcertaddressparam'
  28295. type: array
  28296. "500":
  28297. description: Internal Server Error
  28298. schema:
  28299. $ref: '#/definitions/app.Response'
  28300. security:
  28301. - ApiKeyAuth: []
  28302. - LoginID: []
  28303. - Group: []
  28304. summary: 钻石证书地址参数
  28305. tags:
  28306. - 广钻
  28307. /Guangzuan/HomeData:
  28308. get:
  28309. parameters:
  28310. - description: 用户ID
  28311. in: query
  28312. name: userid
  28313. required: true
  28314. type: integer
  28315. produces:
  28316. - application/json
  28317. responses:
  28318. "200":
  28319. description: OK
  28320. schema:
  28321. $ref: '#/definitions/models.GZHomeData'
  28322. "500":
  28323. description: Internal Server Error
  28324. schema:
  28325. $ref: '#/definitions/app.Response'
  28326. security:
  28327. - ApiKeyAuth: []
  28328. - LoginID: []
  28329. - Group: []
  28330. summary: 首页统计数据
  28331. tags:
  28332. - 广钻
  28333. /Guangzuan/PriceCalc:
  28334. get:
  28335. parameters:
  28336. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  28337. in: query
  28338. name: zsshape
  28339. required: true
  28340. type: integer
  28341. - description: 颜色(D-M)
  28342. in: query
  28343. name: zscolor
  28344. required: true
  28345. type: string
  28346. - description: 净度
  28347. in: query
  28348. name: zsclarity
  28349. required: true
  28350. type: string
  28351. - description: 重量
  28352. in: query
  28353. name: weight
  28354. required: true
  28355. type: number
  28356. - description: 汇率
  28357. in: query
  28358. name: rate
  28359. required: true
  28360. type: number
  28361. - description: 折扣(%), 方向(加:10, 减:-10 )
  28362. in: query
  28363. name: discount
  28364. type: number
  28365. produces:
  28366. - application/json
  28367. responses:
  28368. "200":
  28369. description: OK
  28370. schema:
  28371. items:
  28372. $ref: '#/definitions/models.Gzrapaportprice'
  28373. type: array
  28374. "500":
  28375. description: Internal Server Error
  28376. schema:
  28377. $ref: '#/definitions/app.Response'
  28378. security:
  28379. - ApiKeyAuth: []
  28380. - LoginID: []
  28381. - Group: []
  28382. summary: 钻石价格计算器
  28383. tags:
  28384. - 广钻
  28385. /Guangzuan/QueryBuyOrder:
  28386. get:
  28387. parameters:
  28388. - description: 页码
  28389. in: query
  28390. name: page
  28391. type: integer
  28392. - description: 每页条数
  28393. in: query
  28394. name: pagesize
  28395. type: integer
  28396. - description: 商品(查询字段-模糊查询)
  28397. in: query
  28398. name: zsallproperties
  28399. type: string
  28400. - description: 钻石分类, 格式:1,2,3
  28401. in: query
  28402. name: zscategorys
  28403. type: string
  28404. - description: 委托单号
  28405. in: query
  28406. name: wrtradeorderid
  28407. type: integer
  28408. - description: 买方(查询字段-模糊查询)
  28409. in: query
  28410. name: buyusername
  28411. type: string
  28412. produces:
  28413. - application/json
  28414. responses:
  28415. "200":
  28416. description: OK
  28417. schema:
  28418. items:
  28419. $ref: '#/definitions/models.BuyOrder'
  28420. type: array
  28421. "500":
  28422. description: Internal Server Error
  28423. schema:
  28424. $ref: '#/definitions/app.Response'
  28425. security:
  28426. - ApiKeyAuth: []
  28427. - LoginID: []
  28428. - Group: []
  28429. summary: 查询求购大厅委托单
  28430. tags:
  28431. - 广钻
  28432. /Guangzuan/QueryDiamond:
  28433. post:
  28434. parameters:
  28435. - description: 钻石搜索入参
  28436. in: body
  28437. name: data
  28438. required: true
  28439. schema:
  28440. $ref: '#/definitions/models.SellOrderQueryReq'
  28441. produces:
  28442. - application/json
  28443. responses:
  28444. "200":
  28445. description: OK
  28446. schema:
  28447. items:
  28448. $ref: '#/definitions/models.SellOrder'
  28449. type: array
  28450. "500":
  28451. description: Internal Server Error
  28452. schema:
  28453. $ref: '#/definitions/app.Response'
  28454. security:
  28455. - ApiKeyAuth: []
  28456. - LoginID: []
  28457. - Group: []
  28458. summary: 钻石搜索
  28459. tags:
  28460. - 广钻
  28461. /Guangzuan/QueryGZBSFWOrder:
  28462. get:
  28463. parameters:
  28464. - description: 用户ID
  28465. in: query
  28466. name: userid
  28467. required: true
  28468. type: integer
  28469. - description: 页码
  28470. in: query
  28471. name: page
  28472. type: integer
  28473. - description: 每页条数
  28474. in: query
  28475. name: pagesize
  28476. type: integer
  28477. produces:
  28478. - application/json
  28479. responses:
  28480. "200":
  28481. description: OK
  28482. schema:
  28483. items:
  28484. $ref: '#/definitions/models.GzbsfworderM'
  28485. type: array
  28486. "500":
  28487. description: Internal Server Error
  28488. schema:
  28489. $ref: '#/definitions/app.Response'
  28490. security:
  28491. - ApiKeyAuth: []
  28492. - LoginID: []
  28493. - Group: []
  28494. summary: 查询保税服务单据
  28495. tags:
  28496. - 广钻
  28497. /Guangzuan/QueryGZBSFWOrderDetail:
  28498. get:
  28499. parameters:
  28500. - description: 用户ID
  28501. in: query
  28502. name: userid
  28503. required: true
  28504. type: integer
  28505. - description: 单据ID
  28506. in: query
  28507. name: orderid
  28508. type: integer
  28509. - description: 页码
  28510. in: query
  28511. name: page
  28512. type: integer
  28513. - description: 每页条数
  28514. in: query
  28515. name: pagesize
  28516. type: integer
  28517. produces:
  28518. - application/json
  28519. responses:
  28520. "200":
  28521. description: OK
  28522. schema:
  28523. items:
  28524. $ref: '#/definitions/models.GzbsfworderdetailM'
  28525. type: array
  28526. "500":
  28527. description: Internal Server Error
  28528. schema:
  28529. $ref: '#/definitions/app.Response'
  28530. security:
  28531. - ApiKeyAuth: []
  28532. - LoginID: []
  28533. - Group: []
  28534. summary: 查询保税服务单据明细
  28535. tags:
  28536. - 广钻
  28537. /Guangzuan/QueryGZCJBSOrderFile:
  28538. get:
  28539. parameters:
  28540. - description: 单据ID
  28541. in: query
  28542. name: orderid
  28543. required: true
  28544. type: integer
  28545. - description: 页码
  28546. in: query
  28547. name: page
  28548. type: integer
  28549. - description: 每页条数
  28550. in: query
  28551. name: pagesize
  28552. type: integer
  28553. produces:
  28554. - application/json
  28555. responses:
  28556. "200":
  28557. description: OK
  28558. schema:
  28559. items:
  28560. $ref: '#/definitions/models.GzcjbsorderfileM'
  28561. type: array
  28562. "500":
  28563. description: Internal Server Error
  28564. schema:
  28565. $ref: '#/definitions/app.Response'
  28566. security:
  28567. - ApiKeyAuth: []
  28568. - LoginID: []
  28569. - Group: []
  28570. summary: 出境保税单据文件
  28571. tags:
  28572. - 广钻
  28573. /Guangzuan/QueryGZCJJCOrder:
  28574. get:
  28575. parameters:
  28576. - description: 用户ID
  28577. in: query
  28578. name: userid
  28579. required: true
  28580. type: integer
  28581. - description: 页码
  28582. in: query
  28583. name: page
  28584. type: integer
  28585. - description: 每页条数
  28586. in: query
  28587. name: pagesize
  28588. type: integer
  28589. produces:
  28590. - application/json
  28591. responses:
  28592. "200":
  28593. description: OK
  28594. schema:
  28595. items:
  28596. $ref: '#/definitions/models.GzcjjcorderM'
  28597. type: array
  28598. "500":
  28599. description: Internal Server Error
  28600. schema:
  28601. $ref: '#/definitions/app.Response'
  28602. security:
  28603. - ApiKeyAuth: []
  28604. - LoginID: []
  28605. - Group: []
  28606. summary: 查询出境检测单据
  28607. tags:
  28608. - 广钻
  28609. /Guangzuan/QueryGZCJJCOrderDetail:
  28610. get:
  28611. parameters:
  28612. - description: 用户ID
  28613. in: query
  28614. name: userid
  28615. required: true
  28616. type: integer
  28617. - description: 单据ID
  28618. in: query
  28619. name: orderid
  28620. type: integer
  28621. - description: 页码
  28622. in: query
  28623. name: page
  28624. type: integer
  28625. - description: 每页条数
  28626. in: query
  28627. name: pagesize
  28628. type: integer
  28629. produces:
  28630. - application/json
  28631. responses:
  28632. "200":
  28633. description: OK
  28634. schema:
  28635. items:
  28636. $ref: '#/definitions/models.GzcjjcorderdetailM'
  28637. type: array
  28638. "500":
  28639. description: Internal Server Error
  28640. schema:
  28641. $ref: '#/definitions/app.Response'
  28642. security:
  28643. - ApiKeyAuth: []
  28644. - LoginID: []
  28645. - Group: []
  28646. summary: 查询出境检测单据明细(批次信息)
  28647. tags:
  28648. - 广钻
  28649. /Guangzuan/QueryMemberReport:
  28650. get:
  28651. parameters:
  28652. - description: 用户ID
  28653. in: query
  28654. name: userid
  28655. required: true
  28656. type: integer
  28657. - description: 页码
  28658. in: query
  28659. name: page
  28660. type: integer
  28661. - description: 每页条数
  28662. in: query
  28663. name: pagesize
  28664. type: integer
  28665. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  28666. in: query
  28667. name: cycletype
  28668. type: string
  28669. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  28670. in: query
  28671. name: begindate
  28672. required: true
  28673. type: string
  28674. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  28675. in: query
  28676. name: enddate
  28677. required: true
  28678. type: string
  28679. produces:
  28680. - application/json
  28681. responses:
  28682. "200":
  28683. description: OK
  28684. schema:
  28685. items:
  28686. $ref: '#/definitions/models.Reckondaytaaccount'
  28687. type: array
  28688. "500":
  28689. description: Internal Server Error
  28690. schema:
  28691. $ref: '#/definitions/app.Response'
  28692. security:
  28693. - ApiKeyAuth: []
  28694. - LoginID: []
  28695. - Group: []
  28696. summary: 查询会员报表
  28697. tags:
  28698. - 广钻
  28699. /Guangzuan/QueryMyBargainApply:
  28700. get:
  28701. parameters:
  28702. - description: 用户ID
  28703. in: query
  28704. name: userid
  28705. required: true
  28706. type: integer
  28707. - description: 页码
  28708. in: query
  28709. name: page
  28710. type: integer
  28711. - description: 每页条数
  28712. in: query
  28713. name: pagesize
  28714. type: integer
  28715. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  28716. in: query
  28717. name: applystatus
  28718. type: integer
  28719. - description: 查询类型 - 0:我的询价 1:我订单的询价
  28720. in: query
  28721. name: type
  28722. type: integer
  28723. - description: 关联委托单ID
  28724. in: query
  28725. name: wrtradeorderid
  28726. type: string
  28727. produces:
  28728. - application/json
  28729. responses:
  28730. "200":
  28731. description: OK
  28732. schema:
  28733. items:
  28734. $ref: '#/definitions/models.MyBargainApply'
  28735. type: array
  28736. "500":
  28737. description: Internal Server Error
  28738. schema:
  28739. $ref: '#/definitions/app.Response'
  28740. security:
  28741. - ApiKeyAuth: []
  28742. - LoginID: []
  28743. - Group: []
  28744. summary: 查询询价-求购
  28745. tags:
  28746. - 广钻
  28747. /Guangzuan/QueryMyBuyOrder:
  28748. get:
  28749. parameters:
  28750. - description: 用户ID
  28751. in: query
  28752. name: userid
  28753. required: true
  28754. type: integer
  28755. - description: 页码
  28756. in: query
  28757. name: page
  28758. type: integer
  28759. - description: 每页条数
  28760. in: query
  28761. name: pagesize
  28762. type: integer
  28763. - description: 商品(查询字段-模糊查询)
  28764. in: query
  28765. name: zsallproperties
  28766. type: string
  28767. - description: 钻石分类, 格式:1,2,3
  28768. in: query
  28769. name: zscategorys
  28770. type: string
  28771. - description: 委托单号
  28772. in: query
  28773. name: wrtradeorderid
  28774. type: integer
  28775. - description: 是否历史查询
  28776. in: query
  28777. name: ishis
  28778. type: boolean
  28779. - description: 开始交易日(yyyymmdd)
  28780. in: query
  28781. name: begindate
  28782. type: string
  28783. - description: 结束交易日(yyyymmdd)
  28784. in: query
  28785. name: enddate
  28786. type: string
  28787. produces:
  28788. - application/json
  28789. responses:
  28790. "200":
  28791. description: OK
  28792. schema:
  28793. items:
  28794. $ref: '#/definitions/models.MyBuyOrder'
  28795. type: array
  28796. "500":
  28797. description: Internal Server Error
  28798. schema:
  28799. $ref: '#/definitions/app.Response'
  28800. security:
  28801. - ApiKeyAuth: []
  28802. - LoginID: []
  28803. - Group: []
  28804. summary: 查询我的求购
  28805. tags:
  28806. - 广钻
  28807. /Guangzuan/QueryMyDeListing:
  28808. get:
  28809. parameters:
  28810. - description: 用户ID
  28811. in: query
  28812. name: userid
  28813. required: true
  28814. type: integer
  28815. - description: 页码
  28816. in: query
  28817. name: page
  28818. type: integer
  28819. - description: 每页条数
  28820. in: query
  28821. name: pagesize
  28822. type: integer
  28823. - description: 商品(查询字段-模糊查询)
  28824. in: query
  28825. name: zsallproperties
  28826. type: string
  28827. - description: 钻石分类, 格式:1,2,3
  28828. in: query
  28829. name: zscategorys
  28830. type: string
  28831. - description: 成交单号
  28832. in: query
  28833. name: wrtradedetailid
  28834. type: integer
  28835. - description: 方向,0-购买 1-出售
  28836. in: query
  28837. name: buyorsell
  28838. type: integer
  28839. - description: 对手方(模糊匹配)
  28840. in: query
  28841. name: matchusername
  28842. type: string
  28843. - description: 开始交易日(yyyymmdd)
  28844. in: query
  28845. name: begindate
  28846. type: string
  28847. - description: 结束交易日(yyyymmdd)
  28848. in: query
  28849. name: enddate
  28850. type: string
  28851. produces:
  28852. - application/json
  28853. responses:
  28854. "200":
  28855. description: OK
  28856. schema:
  28857. items:
  28858. $ref: '#/definitions/models.MyDeListing'
  28859. type: array
  28860. "500":
  28861. description: Internal Server Error
  28862. schema:
  28863. $ref: '#/definitions/app.Response'
  28864. security:
  28865. - ApiKeyAuth: []
  28866. - LoginID: []
  28867. - Group: []
  28868. summary: 查询我的摘牌
  28869. tags:
  28870. - 广钻
  28871. /Guangzuan/QueryMyDelistingApply:
  28872. get:
  28873. parameters:
  28874. - description: 用户ID
  28875. in: query
  28876. name: userid
  28877. required: true
  28878. type: integer
  28879. - description: 页码
  28880. in: query
  28881. name: page
  28882. type: integer
  28883. - description: 每页条数
  28884. in: query
  28885. name: pagesize
  28886. type: integer
  28887. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  28888. in: query
  28889. name: applystatus
  28890. type: integer
  28891. - description: 查询类型 - 0:我的询价 1:我订单的询价
  28892. in: query
  28893. name: type
  28894. type: integer
  28895. - description: 买委托单ID
  28896. in: query
  28897. name: buywrtradeorderid
  28898. type: string
  28899. produces:
  28900. - application/json
  28901. responses:
  28902. "200":
  28903. description: OK
  28904. schema:
  28905. items:
  28906. $ref: '#/definitions/models.MyDelistingApply'
  28907. type: array
  28908. "500":
  28909. description: Internal Server Error
  28910. schema:
  28911. $ref: '#/definitions/app.Response'
  28912. security:
  28913. - ApiKeyAuth: []
  28914. - LoginID: []
  28915. - Group: []
  28916. summary: 查询询价-出售
  28917. tags:
  28918. - 广钻
  28919. /Guangzuan/QueryMyFavorite:
  28920. get:
  28921. parameters:
  28922. - description: 用户ID
  28923. in: query
  28924. name: userid
  28925. required: true
  28926. type: integer
  28927. - description: 页码
  28928. in: query
  28929. name: page
  28930. type: integer
  28931. - description: 每页条数
  28932. in: query
  28933. name: pagesize
  28934. type: integer
  28935. - description: 钻石分类, 格式:1,2,3
  28936. in: query
  28937. name: zscategorys
  28938. type: string
  28939. produces:
  28940. - application/json
  28941. responses:
  28942. "200":
  28943. description: OK
  28944. schema:
  28945. items:
  28946. $ref: '#/definitions/models.MyFavorite'
  28947. type: array
  28948. "500":
  28949. description: Internal Server Error
  28950. schema:
  28951. $ref: '#/definitions/app.Response'
  28952. security:
  28953. - ApiKeyAuth: []
  28954. - LoginID: []
  28955. - Group: []
  28956. summary: 查询我的收藏
  28957. tags:
  28958. - 广钻
  28959. /Guangzuan/QueryMyPerformanc:
  28960. get:
  28961. parameters:
  28962. - description: 用户ID
  28963. in: query
  28964. name: userid
  28965. required: true
  28966. type: integer
  28967. - description: 页码
  28968. in: query
  28969. name: page
  28970. type: integer
  28971. - description: 每页条数
  28972. in: query
  28973. name: pagesize
  28974. type: integer
  28975. - description: 商品(查询字段-模糊查询)
  28976. in: query
  28977. name: zsallproperties
  28978. type: string
  28979. - description: 方向,0-买 1-卖
  28980. in: query
  28981. name: buyorsell
  28982. type: integer
  28983. - description: 是否历史查询
  28984. in: query
  28985. name: ishis
  28986. type: boolean
  28987. - description: 开始交易日(yyyymmdd)
  28988. in: query
  28989. name: begindate
  28990. type: string
  28991. - description: 结束交易日(yyyymmdd)
  28992. in: query
  28993. name: enddate
  28994. type: string
  28995. produces:
  28996. - application/json
  28997. responses:
  28998. "200":
  28999. description: OK
  29000. schema:
  29001. items:
  29002. $ref: '#/definitions/models.MyPerformanc'
  29003. type: array
  29004. "500":
  29005. description: Internal Server Error
  29006. schema:
  29007. $ref: '#/definitions/app.Response'
  29008. security:
  29009. - ApiKeyAuth: []
  29010. - LoginID: []
  29011. - Group: []
  29012. summary: 查询我的履约
  29013. tags:
  29014. - 广钻
  29015. /Guangzuan/QueryMySellOrder:
  29016. get:
  29017. parameters:
  29018. - description: 用户ID
  29019. in: query
  29020. name: userid
  29021. required: true
  29022. type: integer
  29023. - description: 页码
  29024. in: query
  29025. name: page
  29026. type: integer
  29027. - description: 每页条数
  29028. in: query
  29029. name: pagesize
  29030. type: integer
  29031. - description: 商品(查询字段-模糊查询)
  29032. in: query
  29033. name: zsallproperties
  29034. type: string
  29035. - description: 钻石分类, 格式:1,2,3
  29036. in: query
  29037. name: zscategorys
  29038. type: string
  29039. - description: 委托单号
  29040. in: query
  29041. name: wrtradeorderid
  29042. type: integer
  29043. - description: 是否历史查询
  29044. in: query
  29045. name: ishis
  29046. type: boolean
  29047. - description: 开始交易日(yyyymmdd)
  29048. in: query
  29049. name: begindate
  29050. type: string
  29051. - description: 结束交易日(yyyymmdd)
  29052. in: query
  29053. name: enddate
  29054. type: string
  29055. produces:
  29056. - application/json
  29057. responses:
  29058. "200":
  29059. description: OK
  29060. schema:
  29061. items:
  29062. $ref: '#/definitions/models.MySellOrder'
  29063. type: array
  29064. "500":
  29065. description: Internal Server Error
  29066. schema:
  29067. $ref: '#/definitions/app.Response'
  29068. security:
  29069. - ApiKeyAuth: []
  29070. - LoginID: []
  29071. - Group: []
  29072. summary: 查询我的出售
  29073. tags:
  29074. - 广钻
  29075. /Guangzuan/QueryMyWRPosition:
  29076. get:
  29077. parameters:
  29078. - description: 页码
  29079. in: query
  29080. name: page
  29081. type: integer
  29082. - description: 每页条数
  29083. in: query
  29084. name: pagesize
  29085. type: integer
  29086. - description: 登录用户ID
  29087. in: query
  29088. name: wruserid
  29089. required: true
  29090. type: integer
  29091. - description: 商品(查询字段-模糊查询)
  29092. in: query
  29093. name: zsallproperties
  29094. type: string
  29095. - description: 钻石分类, 格式:1,2,3
  29096. in: query
  29097. name: zscategorys
  29098. type: string
  29099. - description: 仓库ID
  29100. in: query
  29101. name: warehouseid
  29102. type: integer
  29103. - description: 是否上架,0-全部 1-是 2-否
  29104. in: query
  29105. name: marketflag
  29106. type: integer
  29107. produces:
  29108. - application/json
  29109. responses:
  29110. "200":
  29111. description: OK
  29112. schema:
  29113. items:
  29114. $ref: '#/definitions/models.MyWRPosition'
  29115. type: array
  29116. "500":
  29117. description: Internal Server Error
  29118. schema:
  29119. $ref: '#/definitions/app.Response'
  29120. security:
  29121. - ApiKeyAuth: []
  29122. - LoginID: []
  29123. - Group: []
  29124. summary: 查询我的库存
  29125. tags:
  29126. - 广钻
  29127. /Guangzuan/QuerySellOrder:
  29128. get:
  29129. parameters:
  29130. - description: 页码
  29131. in: query
  29132. name: page
  29133. type: integer
  29134. - description: 每页条数
  29135. in: query
  29136. name: pagesize
  29137. type: integer
  29138. - description: 商品(查询字段-模糊查询)
  29139. in: query
  29140. name: zsallproperties
  29141. type: string
  29142. - description: 钻石分类, 格式:1,2,3
  29143. in: query
  29144. name: zscategorys
  29145. type: string
  29146. - description: 委托单号
  29147. in: query
  29148. name: wrtradeorderid
  29149. type: integer
  29150. - description: 卖方(查询字段-模糊查询)
  29151. in: query
  29152. name: buyusername
  29153. type: string
  29154. produces:
  29155. - application/json
  29156. responses:
  29157. "200":
  29158. description: OK
  29159. schema:
  29160. items:
  29161. $ref: '#/definitions/models.SellOrder'
  29162. type: array
  29163. "500":
  29164. description: Internal Server Error
  29165. schema:
  29166. $ref: '#/definitions/app.Response'
  29167. security:
  29168. - ApiKeyAuth: []
  29169. - LoginID: []
  29170. - Group: []
  29171. summary: 查询出售大厅委托单
  29172. tags:
  29173. - 广钻
  29174. /Guangzuan/QueryTradeReport:
  29175. get:
  29176. parameters:
  29177. - description: 用户ID
  29178. in: query
  29179. name: userid
  29180. required: true
  29181. type: integer
  29182. - description: 页码
  29183. in: query
  29184. name: page
  29185. type: integer
  29186. - description: 每页条数
  29187. in: query
  29188. name: pagesize
  29189. type: integer
  29190. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  29191. in: query
  29192. name: cycletype
  29193. type: string
  29194. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29195. in: query
  29196. name: begindate
  29197. required: true
  29198. type: string
  29199. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29200. in: query
  29201. name: enddate
  29202. required: true
  29203. type: string
  29204. - description: 商品分类
  29205. in: query
  29206. name: zscategory
  29207. type: integer
  29208. - description: 商品币种
  29209. in: query
  29210. name: zscurrencytype
  29211. type: integer
  29212. produces:
  29213. - application/json
  29214. responses:
  29215. "200":
  29216. description: OK
  29217. schema:
  29218. items:
  29219. $ref: '#/definitions/models.Reckongzmemtradesum'
  29220. type: array
  29221. "500":
  29222. description: Internal Server Error
  29223. schema:
  29224. $ref: '#/definitions/app.Response'
  29225. security:
  29226. - ApiKeyAuth: []
  29227. - LoginID: []
  29228. - Group: []
  29229. summary: 查询交易报表
  29230. tags:
  29231. - 广钻
  29232. /Guangzuan/QueryWRPositionReport:
  29233. get:
  29234. parameters:
  29235. - description: 用户ID
  29236. in: query
  29237. name: userid
  29238. required: true
  29239. type: integer
  29240. - description: 页码
  29241. in: query
  29242. name: page
  29243. type: integer
  29244. - description: 每页条数
  29245. in: query
  29246. name: pagesize
  29247. type: integer
  29248. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  29249. in: query
  29250. name: cycletype
  29251. type: string
  29252. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29253. in: query
  29254. name: begindate
  29255. required: true
  29256. type: string
  29257. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29258. in: query
  29259. name: enddate
  29260. required: true
  29261. type: string
  29262. - description: 商品分类
  29263. in: query
  29264. name: zscategory
  29265. type: integer
  29266. - description: 商品币种
  29267. in: query
  29268. name: zscurrencytype
  29269. type: integer
  29270. produces:
  29271. - application/json
  29272. responses:
  29273. "200":
  29274. description: OK
  29275. schema:
  29276. items:
  29277. $ref: '#/definitions/models.WRPositionReport'
  29278. type: array
  29279. "500":
  29280. description: Internal Server Error
  29281. schema:
  29282. $ref: '#/definitions/app.Response'
  29283. security:
  29284. - ApiKeyAuth: []
  29285. - LoginID: []
  29286. - Group: []
  29287. summary: 查询仓储报表
  29288. tags:
  29289. - 广钻
  29290. /Guangzuan/QueryWarehouseInfo:
  29291. get:
  29292. parameters:
  29293. - description: 页码
  29294. in: query
  29295. name: page
  29296. type: integer
  29297. - description: 每页条数
  29298. in: query
  29299. name: pagesize
  29300. type: integer
  29301. - description: 用户ID
  29302. in: query
  29303. name: userid
  29304. required: true
  29305. type: integer
  29306. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  29307. in: query
  29308. name: status
  29309. type: string
  29310. - description: 是返回交易所仓库
  29311. in: query
  29312. name: isincludeexchange
  29313. type: boolean
  29314. produces:
  29315. - application/json
  29316. responses:
  29317. "200":
  29318. description: OK
  29319. schema:
  29320. items:
  29321. $ref: '#/definitions/models.GZWarehouseinfo'
  29322. type: array
  29323. "500":
  29324. description: Internal Server Error
  29325. schema:
  29326. $ref: '#/definitions/app.Response'
  29327. security:
  29328. - ApiKeyAuth: []
  29329. - LoginID: []
  29330. - Group: []
  29331. summary: 查询仓库信息
  29332. tags:
  29333. - 广钻
  29334. /Market/GetAllExExchanges:
  29335. get:
  29336. produces:
  29337. - application/json
  29338. responses:
  29339. "200":
  29340. description: OK
  29341. schema:
  29342. $ref: '#/definitions/models.Goods'
  29343. "500":
  29344. description: Internal Server Error
  29345. schema:
  29346. $ref: '#/definitions/app.Response'
  29347. security:
  29348. - ApiKeyAuth: []
  29349. summary: 获取所有外部交易所信息
  29350. tags:
  29351. - 通用市场
  29352. /Market/QueryGoodsesByLoginID:
  29353. get:
  29354. parameters:
  29355. - description: 登录账号
  29356. in: query
  29357. name: loginID
  29358. required: true
  29359. type: integer
  29360. - description: 市场ID列表,格式:1,2,3
  29361. in: query
  29362. name: marketIDs
  29363. type: string
  29364. produces:
  29365. - application/json
  29366. responses:
  29367. "200":
  29368. description: OK
  29369. schema:
  29370. $ref: '#/definitions/models.Goods'
  29371. "500":
  29372. description: Internal Server Error
  29373. schema:
  29374. $ref: '#/definitions/app.Response'
  29375. security:
  29376. - ApiKeyAuth: []
  29377. summary: 获取登录账号有权限的商品信息
  29378. tags:
  29379. - 通用市场
  29380. /Market/QueryMarketRun:
  29381. get:
  29382. parameters:
  29383. - description: 市场ID,不传返回所有
  29384. in: query
  29385. name: marketID
  29386. type: integer
  29387. produces:
  29388. - application/json
  29389. responses:
  29390. "200":
  29391. description: OK
  29392. schema:
  29393. $ref: '#/definitions/models.Marketrun'
  29394. "500":
  29395. description: Internal Server Error
  29396. schema:
  29397. $ref: '#/definitions/app.Response'
  29398. security:
  29399. - ApiKeyAuth: []
  29400. summary: 查询市场运行信息
  29401. tags:
  29402. - 通用市场
  29403. /Market/QueryMarketsByLoginID:
  29404. get:
  29405. parameters:
  29406. - description: 登录账号
  29407. in: query
  29408. name: loginID
  29409. required: true
  29410. type: integer
  29411. produces:
  29412. - application/json
  29413. responses:
  29414. "200":
  29415. description: OK
  29416. schema:
  29417. $ref: '#/definitions/models.Market'
  29418. "500":
  29419. description: Internal Server Error
  29420. schema:
  29421. $ref: '#/definitions/app.Response'
  29422. security:
  29423. - ApiKeyAuth: []
  29424. summary: 获取登录账号有权限的市场信息
  29425. tags:
  29426. - 通用市场
  29427. /Order/QueryHisTradeDetail:
  29428. get:
  29429. parameters:
  29430. - description: 资金账户 - 格式:1,2,3
  29431. in: query
  29432. name: accountID
  29433. required: true
  29434. type: string
  29435. - description: 成交单号
  29436. in: query
  29437. name: tradeID
  29438. type: integer
  29439. - description: 委托单号
  29440. in: query
  29441. name: orderID
  29442. type: integer
  29443. - description: 商品ID
  29444. in: query
  29445. name: goodsID
  29446. type: integer
  29447. - description: 交易模式 - 格式:1,2,3
  29448. in: query
  29449. name: tradeMode
  29450. type: string
  29451. - description: 委托单据类型
  29452. in: query
  29453. name: buildType
  29454. type: integer
  29455. - description: 成交类别 - 格式:1,2,3
  29456. in: query
  29457. name: tradeType
  29458. type: string
  29459. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  29460. in: query
  29461. name: startDate
  29462. type: string
  29463. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  29464. in: query
  29465. name: endDate
  29466. type: string
  29467. produces:
  29468. - application/json
  29469. responses:
  29470. "200":
  29471. description: OK
  29472. schema:
  29473. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  29474. "500":
  29475. description: Internal Server Error
  29476. schema:
  29477. $ref: '#/definitions/app.Response'
  29478. security:
  29479. - ApiKeyAuth: []
  29480. summary: 历史成交单查询(合约市场)
  29481. tags:
  29482. - 通用单据
  29483. /Order/QueryHisTradeOrderDetail:
  29484. get:
  29485. parameters:
  29486. - description: 资金账户 - 格式:1,2,3
  29487. in: query
  29488. name: accountID
  29489. required: true
  29490. type: string
  29491. - description: 交易模式 - 格式:1,2,3
  29492. in: query
  29493. name: tradeMode
  29494. type: string
  29495. - description: 委托状态 - 格式:1,2,3
  29496. in: query
  29497. name: orderStatus
  29498. type: string
  29499. - description: 委托单号
  29500. in: query
  29501. name: orderID
  29502. type: integer
  29503. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  29504. in: query
  29505. name: startDate
  29506. type: string
  29507. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  29508. in: query
  29509. name: endDate
  29510. type: string
  29511. produces:
  29512. - application/json
  29513. responses:
  29514. "200":
  29515. description: OK
  29516. schema:
  29517. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  29518. "500":
  29519. description: Internal Server Error
  29520. schema:
  29521. $ref: '#/definitions/app.Response'
  29522. security:
  29523. - ApiKeyAuth: []
  29524. summary: 历史委托单查询请求(合约市场)
  29525. tags:
  29526. - 通用单据
  29527. /Order/QueryTradeDetail:
  29528. get:
  29529. parameters:
  29530. - description: 资金账户 - 格式:1,2,3
  29531. in: query
  29532. name: accountID
  29533. required: true
  29534. type: string
  29535. - description: 成交单号
  29536. in: query
  29537. name: tradeID
  29538. type: integer
  29539. - description: 委托单号
  29540. in: query
  29541. name: orderID
  29542. type: integer
  29543. - description: 交易模式 - 格式:1,2,3
  29544. in: query
  29545. name: tradeMode
  29546. type: string
  29547. - description: 委托单据类型
  29548. in: query
  29549. name: buildType
  29550. type: integer
  29551. - description: 成交类别 - 格式:1,2,3
  29552. in: query
  29553. name: tradeType
  29554. type: string
  29555. - description: 商品ID
  29556. in: query
  29557. name: goodsID
  29558. type: integer
  29559. produces:
  29560. - application/json
  29561. responses:
  29562. "200":
  29563. description: OK
  29564. schema:
  29565. $ref: '#/definitions/order.QueryTradeDetailRsp'
  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/QueryTradeHolderDetail:
  29576. get:
  29577. parameters:
  29578. - description: 用户id
  29579. in: query
  29580. name: userid
  29581. type: integer
  29582. - description: 资金账号, 格式 1,2,3
  29583. in: query
  29584. name: accids
  29585. type: string
  29586. - description: 交易模式, 格式 1,2,3
  29587. in: query
  29588. name: trademodes
  29589. type: string
  29590. - description: 市场id, 格式 1,2,3
  29591. in: query
  29592. name: marketids
  29593. type: string
  29594. - description: 商品id
  29595. in: query
  29596. name: goodsid
  29597. type: integer
  29598. - description: 买卖方向 0-买 1-卖
  29599. in: query
  29600. name: buyorsell
  29601. type: integer
  29602. produces:
  29603. - application/json
  29604. responses:
  29605. "200":
  29606. description: OK
  29607. schema:
  29608. items:
  29609. $ref: '#/definitions/models.TradeHolderDetail'
  29610. type: array
  29611. "500":
  29612. description: Internal Server Error
  29613. schema:
  29614. $ref: '#/definitions/app.Response'
  29615. security:
  29616. - ApiKeyAuth: []
  29617. summary: 查询持仓明细
  29618. tags:
  29619. - 通用单据
  29620. /Order/QueryTradeOrderDetail:
  29621. get:
  29622. parameters:
  29623. - description: 资金账户 - 格式:1,2,3
  29624. in: query
  29625. name: accountID
  29626. required: true
  29627. type: string
  29628. - description: 交易模式 - 格式:1,2,3
  29629. in: query
  29630. name: tradeMode
  29631. type: string
  29632. - description: 委托状态 - 格式:1,2,3
  29633. in: query
  29634. name: orderStatus
  29635. type: string
  29636. - description: 委托单号
  29637. in: query
  29638. name: orderID
  29639. type: integer
  29640. produces:
  29641. - application/json
  29642. responses:
  29643. "200":
  29644. description: OK
  29645. schema:
  29646. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  29647. "500":
  29648. description: Internal Server Error
  29649. schema:
  29650. $ref: '#/definitions/app.Response'
  29651. security:
  29652. - ApiKeyAuth: []
  29653. summary: 委托单查询请求(合约市场)
  29654. tags:
  29655. - 通用单据
  29656. /Order/QueryTradePosition:
  29657. get:
  29658. parameters:
  29659. - description: 资金账户 - 格式:1,2,3
  29660. in: query
  29661. name: accountID
  29662. required: true
  29663. type: string
  29664. - description: 交易模式 - 格式:1,2,3
  29665. in: query
  29666. name: tradeMode
  29667. type: string
  29668. produces:
  29669. - application/json
  29670. responses:
  29671. "200":
  29672. description: OK
  29673. schema:
  29674. $ref: '#/definitions/order.QueryTradePositionRsp'
  29675. "500":
  29676. description: Internal Server Error
  29677. schema:
  29678. $ref: '#/definitions/app.Response'
  29679. security:
  29680. - ApiKeyAuth: []
  29681. summary: 持仓汇总查询(合约市场)
  29682. tags:
  29683. - 通用单据
  29684. /Qhj/QueryAccountInOutApply:
  29685. get:
  29686. parameters:
  29687. - description: 用户ID
  29688. in: query
  29689. name: userid
  29690. required: true
  29691. type: integer
  29692. - description: 申请起始日期(格式yyyymmdd)
  29693. in: query
  29694. name: begindate
  29695. type: string
  29696. - description: 申请截止日期(格式yyyymmdd)
  29697. in: query
  29698. name: enddate
  29699. type: string
  29700. - description: 模糊搜索名称
  29701. in: query
  29702. name: likename
  29703. type: string
  29704. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  29705. in: query
  29706. name: applystatus
  29707. type: integer
  29708. - description: 查询类型 1-提现(出金) 2-充值(入金)
  29709. in: query
  29710. name: querytype
  29711. type: integer
  29712. produces:
  29713. - application/json
  29714. responses:
  29715. "200":
  29716. description: OK
  29717. schema:
  29718. items:
  29719. $ref: '#/definitions/models.QhjAccountOutInApply'
  29720. type: array
  29721. "500":
  29722. description: Internal Server Error
  29723. schema:
  29724. $ref: '#/definitions/app.Response'
  29725. security:
  29726. - ApiKeyAuth: []
  29727. summary: 查询充值提现
  29728. tags:
  29729. - 大连千海金
  29730. /Qhj/QueryAreaFinanceConfig:
  29731. get:
  29732. parameters:
  29733. - description: 机构用户ID 其他做市关系,都设置为 1
  29734. in: query
  29735. name: userid
  29736. type: integer
  29737. produces:
  29738. - application/json
  29739. responses:
  29740. "200":
  29741. description: OK
  29742. schema:
  29743. items:
  29744. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  29745. type: array
  29746. "500":
  29747. description: Internal Server Error
  29748. schema:
  29749. $ref: '#/definitions/app.Response'
  29750. security:
  29751. - ApiKeyAuth: []
  29752. summary: 查询企业配置表
  29753. tags:
  29754. - 大连千海金
  29755. /Qhj/QueryBankAccountSign:
  29756. get:
  29757. parameters:
  29758. - description: 用户ID
  29759. in: query
  29760. name: userid
  29761. required: true
  29762. type: integer
  29763. produces:
  29764. - application/json
  29765. responses:
  29766. "200":
  29767. description: OK
  29768. schema:
  29769. items:
  29770. $ref: '#/definitions/models.QhjBankAccountSign'
  29771. type: array
  29772. "500":
  29773. description: Internal Server Error
  29774. schema:
  29775. $ref: '#/definitions/app.Response'
  29776. security:
  29777. - ApiKeyAuth: []
  29778. summary: 查询签约银行信息(提现账户管理)
  29779. tags:
  29780. - 大连千海金
  29781. /Qhj/QueryBankInfo:
  29782. get:
  29783. produces:
  29784. - application/json
  29785. responses:
  29786. "200":
  29787. description: OK
  29788. schema:
  29789. items:
  29790. $ref: '#/definitions/models.QhjBankInfo'
  29791. type: array
  29792. "500":
  29793. description: Internal Server Error
  29794. schema:
  29795. $ref: '#/definitions/app.Response'
  29796. security:
  29797. - ApiKeyAuth: []
  29798. summary: 查询开户行
  29799. tags:
  29800. - 大连千海金
  29801. /Qhj/QueryBrokerApply:
  29802. get:
  29803. parameters:
  29804. - description: 所属机构ID
  29805. in: query
  29806. name: userid
  29807. type: integer
  29808. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29809. in: query
  29810. name: filterstatus
  29811. type: string
  29812. produces:
  29813. - application/json
  29814. responses:
  29815. "200":
  29816. description: OK
  29817. schema:
  29818. items:
  29819. $ref: '#/definitions/models.QhjBrokerApply'
  29820. type: array
  29821. "500":
  29822. description: Internal Server Error
  29823. schema:
  29824. $ref: '#/definitions/app.Response'
  29825. security:
  29826. - ApiKeyAuth: []
  29827. summary: 查询经纪人申请
  29828. tags:
  29829. - 大连千海金
  29830. /Qhj/QueryBrokerApplyEx:
  29831. get:
  29832. parameters:
  29833. - description: 所属机构ID
  29834. in: query
  29835. name: userid
  29836. type: integer
  29837. produces:
  29838. - application/json
  29839. responses:
  29840. "200":
  29841. description: OK
  29842. schema:
  29843. items:
  29844. $ref: '#/definitions/models.QhjBrokerApplyEx'
  29845. type: array
  29846. "500":
  29847. description: Internal Server Error
  29848. schema:
  29849. $ref: '#/definitions/app.Response'
  29850. security:
  29851. - ApiKeyAuth: []
  29852. summary: 查询经纪人信息和申请记录
  29853. tags:
  29854. - 大连千海金
  29855. /Qhj/QueryBrokerRewardLog:
  29856. get:
  29857. parameters:
  29858. - description: 用户ID
  29859. in: query
  29860. name: userid
  29861. required: true
  29862. type: integer
  29863. - description: 开始交易日(yyyymmdd)
  29864. in: query
  29865. name: begindate
  29866. type: string
  29867. - description: 结束交易日(yyyymmdd)
  29868. in: query
  29869. name: enddate
  29870. type: string
  29871. produces:
  29872. - application/json
  29873. responses:
  29874. "200":
  29875. description: OK
  29876. schema:
  29877. items:
  29878. $ref: '#/definitions/models.QhjBrokerRewardLog'
  29879. type: array
  29880. "500":
  29881. description: Internal Server Error
  29882. schema:
  29883. $ref: '#/definitions/app.Response'
  29884. security:
  29885. - ApiKeyAuth: []
  29886. summary: 查询奖励流水(我的奖励)
  29887. tags:
  29888. - 大连千海金
  29889. /Qhj/QueryContract:
  29890. get:
  29891. parameters:
  29892. - description: 用户ID
  29893. in: query
  29894. name: userid
  29895. type: integer
  29896. - description: scf合同id
  29897. in: query
  29898. name: scfcontractid
  29899. type: integer
  29900. produces:
  29901. - application/json
  29902. responses:
  29903. "200":
  29904. description: OK
  29905. schema:
  29906. items:
  29907. $ref: '#/definitions/models.QhjContract'
  29908. type: array
  29909. "500":
  29910. description: Internal Server Error
  29911. schema:
  29912. $ref: '#/definitions/app.Response'
  29913. security:
  29914. - ApiKeyAuth: []
  29915. summary: 查询融资明细(合同)
  29916. tags:
  29917. - 大连千海金
  29918. /Qhj/QueryContractLog:
  29919. get:
  29920. parameters:
  29921. - description: scf合同id
  29922. in: query
  29923. name: scfcontractid
  29924. required: true
  29925. type: integer
  29926. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  29927. in: query
  29928. name: amounttype
  29929. type: string
  29930. produces:
  29931. - application/json
  29932. responses:
  29933. "200":
  29934. description: OK
  29935. schema:
  29936. items:
  29937. $ref: '#/definitions/models.QhjContractLog'
  29938. type: array
  29939. "500":
  29940. description: Internal Server Error
  29941. schema:
  29942. $ref: '#/definitions/app.Response'
  29943. security:
  29944. - ApiKeyAuth: []
  29945. summary: 查询融资明细流水(融资明细详情页中的流水)
  29946. tags:
  29947. - 大连千海金
  29948. /Qhj/QueryCusBankSignBank:
  29949. get:
  29950. produces:
  29951. - application/json
  29952. responses:
  29953. "200":
  29954. description: OK
  29955. schema:
  29956. items:
  29957. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  29958. type: array
  29959. "500":
  29960. description: Internal Server Error
  29961. schema:
  29962. $ref: '#/definitions/app.Response'
  29963. security:
  29964. - ApiKeyAuth: []
  29965. summary: 查询托管银行
  29966. tags:
  29967. - 大连千海金
  29968. /Qhj/QueryCustomerInfo:
  29969. get:
  29970. parameters:
  29971. - description: 用户ID
  29972. in: query
  29973. name: userid
  29974. required: true
  29975. type: integer
  29976. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  29977. in: query
  29978. name: querytype
  29979. required: true
  29980. type: integer
  29981. - description: 客户类型 1-个人 2-企业
  29982. in: query
  29983. name: userinfotype
  29984. type: integer
  29985. - description: 客户名称(模糊匹配)
  29986. in: query
  29987. name: customername
  29988. type: string
  29989. - description: 昵称(模糊匹配)
  29990. in: query
  29991. name: nickname
  29992. type: string
  29993. - description: 是否包含子级 1-包含
  29994. in: query
  29995. name: includesub
  29996. type: integer
  29997. produces:
  29998. - application/json
  29999. responses:
  30000. "200":
  30001. description: OK
  30002. schema:
  30003. items:
  30004. $ref: '#/definitions/models.QhjCustomer'
  30005. type: array
  30006. "500":
  30007. description: Internal Server Error
  30008. schema:
  30009. $ref: '#/definitions/app.Response'
  30010. security:
  30011. - ApiKeyAuth: []
  30012. summary: 查询客户资料
  30013. tags:
  30014. - 大连千海金
  30015. /Qhj/QueryGoodsEx:
  30016. get:
  30017. parameters:
  30018. - description: 商品id
  30019. in: query
  30020. name: goodsid
  30021. type: integer
  30022. produces:
  30023. - application/json
  30024. responses:
  30025. "200":
  30026. description: OK
  30027. schema:
  30028. items:
  30029. $ref: '#/definitions/models.Qhjgoodsex'
  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/QueryMyTeam:
  30041. get:
  30042. parameters:
  30043. - description: 用户ID
  30044. in: query
  30045. name: userid
  30046. required: true
  30047. type: integer
  30048. produces:
  30049. - application/json
  30050. responses:
  30051. "200":
  30052. description: OK
  30053. schema:
  30054. items:
  30055. $ref: '#/definitions/models.QhjMyTeamEx'
  30056. type: array
  30057. "500":
  30058. description: Internal Server Error
  30059. schema:
  30060. $ref: '#/definitions/app.Response'
  30061. security:
  30062. - ApiKeyAuth: []
  30063. summary: 查询我的团队
  30064. tags:
  30065. - 大连千海金
  30066. /Qhj/QueryMyTeamOrder:
  30067. get:
  30068. parameters:
  30069. - description: 页码
  30070. in: query
  30071. name: page
  30072. type: integer
  30073. - description: 每页条数
  30074. in: query
  30075. name: pagesize
  30076. type: integer
  30077. - description: 用户ID
  30078. in: query
  30079. name: userid
  30080. required: true
  30081. type: integer
  30082. - description: 交易模式
  30083. in: query
  30084. name: trademode
  30085. type: integer
  30086. - description: 名称(模糊搜索账户)
  30087. in: query
  30088. name: filtername
  30089. type: string
  30090. produces:
  30091. - application/json
  30092. responses:
  30093. "200":
  30094. description: OK
  30095. schema:
  30096. items:
  30097. $ref: '#/definitions/models.QhjTeamOrder'
  30098. type: array
  30099. "500":
  30100. description: Internal Server Error
  30101. schema:
  30102. $ref: '#/definitions/app.Response'
  30103. security:
  30104. - ApiKeyAuth: []
  30105. summary: 查询团队订单(我的团队/团队订单)
  30106. tags:
  30107. - 大连千海金
  30108. /Qhj/QueryParentAreaList:
  30109. get:
  30110. parameters:
  30111. - description: 用户ID
  30112. in: query
  30113. name: userid
  30114. required: true
  30115. type: integer
  30116. produces:
  30117. - application/json
  30118. responses:
  30119. "200":
  30120. description: OK
  30121. schema:
  30122. items:
  30123. $ref: '#/definitions/models.QhjParentAreaList'
  30124. type: array
  30125. "500":
  30126. description: Internal Server Error
  30127. schema:
  30128. $ref: '#/definitions/app.Response'
  30129. security:
  30130. - ApiKeyAuth: []
  30131. summary: 查询所属机构列表
  30132. tags:
  30133. - 大连千海金
  30134. /Qhj/QueryPayOrder:
  30135. get:
  30136. parameters:
  30137. - description: 资金账号id
  30138. in: query
  30139. name: accountid
  30140. required: true
  30141. type: integer
  30142. - description: 成交单号
  30143. in: query
  30144. name: tradeid
  30145. type: integer
  30146. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  30147. in: query
  30148. name: payflag
  30149. type: string
  30150. produces:
  30151. - application/json
  30152. responses:
  30153. "200":
  30154. description: OK
  30155. schema:
  30156. items:
  30157. $ref: '#/definitions/models.QhjPayOrder'
  30158. type: array
  30159. "500":
  30160. description: Internal Server Error
  30161. schema:
  30162. $ref: '#/definitions/app.Response'
  30163. security:
  30164. - ApiKeyAuth: []
  30165. summary: 查询待付款单据
  30166. tags:
  30167. - 大连千海金
  30168. /Qhj/QueryPickArea:
  30169. get:
  30170. parameters:
  30171. - description: 用户ID
  30172. in: query
  30173. name: userid
  30174. type: integer
  30175. produces:
  30176. - application/json
  30177. responses:
  30178. "200":
  30179. description: OK
  30180. schema:
  30181. items:
  30182. $ref: '#/definitions/models.QhjPickArea'
  30183. type: array
  30184. "500":
  30185. description: Internal Server Error
  30186. schema:
  30187. $ref: '#/definitions/app.Response'
  30188. security:
  30189. - ApiKeyAuth: []
  30190. summary: 查询提货门店
  30191. tags:
  30192. - 大连千海金
  30193. /Qhj/QueryPickGoods:
  30194. get:
  30195. parameters:
  30196. - description: 交易商品id
  30197. in: query
  30198. name: goodsid
  30199. required: true
  30200. type: integer
  30201. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  30202. in: query
  30203. name: status
  30204. type: string
  30205. produces:
  30206. - application/json
  30207. responses:
  30208. "200":
  30209. description: OK
  30210. schema:
  30211. items:
  30212. $ref: '#/definitions/models.QhjPickGoods'
  30213. type: array
  30214. "500":
  30215. description: Internal Server Error
  30216. schema:
  30217. $ref: '#/definitions/app.Response'
  30218. security:
  30219. - ApiKeyAuth: []
  30220. summary: 查询提货商品
  30221. tags:
  30222. - 大连千海金
  30223. /Qhj/QueryRSTriggerLog:
  30224. get:
  30225. parameters:
  30226. - description: 用户ID
  30227. in: query
  30228. name: userid
  30229. type: integer
  30230. - description: 定投策略id
  30231. in: query
  30232. name: regularlystrategyid
  30233. type: integer
  30234. - description: 商品id
  30235. in: query
  30236. name: goodsid
  30237. type: integer
  30238. - description: 开始交易日(yyyymmdd)
  30239. in: query
  30240. name: begindate
  30241. type: string
  30242. - description: 结束交易日(yyyymmdd)
  30243. in: query
  30244. name: enddate
  30245. type: string
  30246. - description: 名称(模糊搜索账户)
  30247. in: query
  30248. name: filtername
  30249. type: string
  30250. produces:
  30251. - application/json
  30252. responses:
  30253. "200":
  30254. description: OK
  30255. schema:
  30256. items:
  30257. $ref: '#/definitions/models.QhjRSTriggerLog'
  30258. type: array
  30259. "500":
  30260. description: Internal Server Error
  30261. schema:
  30262. $ref: '#/definitions/app.Response'
  30263. security:
  30264. - ApiKeyAuth: []
  30265. summary: 查询定投记录(定投管理/详情/定投记录)
  30266. tags:
  30267. - 大连千海金
  30268. /Qhj/QueryRStrategy:
  30269. get:
  30270. parameters:
  30271. - description: 用户ID
  30272. in: query
  30273. name: userid
  30274. type: integer
  30275. - description: 商品id
  30276. in: query
  30277. name: goodsid
  30278. type: integer
  30279. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  30280. in: query
  30281. name: status
  30282. type: string
  30283. - description: 名称(模糊搜索账户)
  30284. in: query
  30285. name: filtername
  30286. type: string
  30287. produces:
  30288. - application/json
  30289. responses:
  30290. "200":
  30291. description: OK
  30292. schema:
  30293. items:
  30294. $ref: '#/definitions/models.QhjRStrategy'
  30295. type: array
  30296. "500":
  30297. description: Internal Server Error
  30298. schema:
  30299. $ref: '#/definitions/app.Response'
  30300. security:
  30301. - ApiKeyAuth: []
  30302. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  30303. tags:
  30304. - 大连千海金
  30305. /Qhj/QueryReckonPriceLog:
  30306. get:
  30307. parameters:
  30308. - description: 商品ID
  30309. in: query
  30310. name: goodsid
  30311. type: integer
  30312. - description: 交易日 格式(yyyymmdd)
  30313. in: query
  30314. name: tradedate
  30315. type: string
  30316. produces:
  30317. - application/json
  30318. responses:
  30319. "200":
  30320. description: OK
  30321. schema:
  30322. items:
  30323. $ref: '#/definitions/models.QhjReckonPriceLog'
  30324. type: array
  30325. "500":
  30326. description: Internal Server Error
  30327. schema:
  30328. $ref: '#/definitions/app.Response'
  30329. security:
  30330. - ApiKeyAuth: []
  30331. summary: 查询定投价(结算价)
  30332. tags:
  30333. - 大连千海金
  30334. /Qhj/QueryScoreLog:
  30335. get:
  30336. parameters:
  30337. - description: 用户ID
  30338. in: query
  30339. name: userid
  30340. required: true
  30341. type: integer
  30342. - description: 开始交易日(yyyymmdd)
  30343. in: query
  30344. name: begindate
  30345. type: string
  30346. - description: 结束交易日(yyyymmdd)
  30347. in: query
  30348. name: enddate
  30349. type: string
  30350. - description: 最近多少条
  30351. in: query
  30352. name: lastnum
  30353. type: integer
  30354. produces:
  30355. - application/json
  30356. responses:
  30357. "200":
  30358. description: OK
  30359. schema:
  30360. items:
  30361. $ref: '#/definitions/models.QhjScoreLog'
  30362. type: array
  30363. "500":
  30364. description: Internal Server Error
  30365. schema:
  30366. $ref: '#/definitions/app.Response'
  30367. security:
  30368. - ApiKeyAuth: []
  30369. summary: 查询积分流水(我的积分)
  30370. tags:
  30371. - 大连千海金
  30372. /Qhj/QuerySiteColumnDetail:
  30373. get:
  30374. parameters:
  30375. - description: 用户ID
  30376. in: query
  30377. name: userid
  30378. required: true
  30379. type: integer
  30380. produces:
  30381. - application/json
  30382. responses:
  30383. "200":
  30384. description: OK
  30385. schema:
  30386. items:
  30387. $ref: '#/definitions/models.QhjSiteColumnDetail'
  30388. type: array
  30389. "500":
  30390. description: Internal Server Error
  30391. schema:
  30392. $ref: '#/definitions/app.Response'
  30393. security:
  30394. - ApiKeyAuth: []
  30395. summary: 查询资讯
  30396. tags:
  30397. - 大连千海金
  30398. /Qhj/QueryTradeGoodsPickup:
  30399. get:
  30400. parameters:
  30401. - description: 用户ID
  30402. in: query
  30403. name: userid
  30404. required: true
  30405. type: integer
  30406. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  30407. 7:已拒绝 8:已撤销
  30408. in: query
  30409. name: takeorderstatus
  30410. type: integer
  30411. produces:
  30412. - application/json
  30413. responses:
  30414. "200":
  30415. description: OK
  30416. schema:
  30417. items:
  30418. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  30419. type: array
  30420. "500":
  30421. description: Internal Server Error
  30422. schema:
  30423. $ref: '#/definitions/app.Response'
  30424. security:
  30425. - ApiKeyAuth: []
  30426. summary: 查询提货
  30427. tags:
  30428. - 大连千海金
  30429. /Qhj/QueryUserCollectConfig:
  30430. get:
  30431. parameters:
  30432. - description: 用户ID
  30433. in: query
  30434. name: userid
  30435. required: true
  30436. type: integer
  30437. produces:
  30438. - application/json
  30439. responses:
  30440. "200":
  30441. description: OK
  30442. schema:
  30443. items:
  30444. $ref: '#/definitions/models.UserCollectConfig'
  30445. type: array
  30446. "500":
  30447. description: Internal Server Error
  30448. schema:
  30449. $ref: '#/definitions/app.Response'
  30450. security:
  30451. - ApiKeyAuth: []
  30452. summary: 查询提现账户设置
  30453. tags:
  30454. - 大连千海金
  30455. /Qhj/QueryUserReceiveInfo:
  30456. get:
  30457. parameters:
  30458. - description: 用户ID
  30459. in: query
  30460. name: userid
  30461. required: true
  30462. type: integer
  30463. produces:
  30464. - application/json
  30465. responses:
  30466. "200":
  30467. description: OK
  30468. schema:
  30469. items:
  30470. $ref: '#/definitions/models.UserReceiveInfo'
  30471. type: array
  30472. "500":
  30473. description: Internal Server Error
  30474. schema:
  30475. $ref: '#/definitions/app.Response'
  30476. security:
  30477. - ApiKeyAuth: []
  30478. summary: 查询收货地址信息
  30479. tags:
  30480. - 大连千海金
  30481. /QhjMgr/QueryAccountInOutApply:
  30482. get:
  30483. parameters:
  30484. - description: 查询类型 1-提现(出金) 2-充值(出金)
  30485. in: query
  30486. name: querytype
  30487. required: true
  30488. type: integer
  30489. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  30490. in: query
  30491. name: applystatus
  30492. type: integer
  30493. - description: 申请起始日期(格式yyyymmdd)
  30494. in: query
  30495. name: begindate
  30496. type: string
  30497. - description: 申请截止日期(格式yyyymmdd)
  30498. in: query
  30499. name: enddate
  30500. type: string
  30501. - description: 模糊搜索名称
  30502. in: query
  30503. name: likename
  30504. type: string
  30505. produces:
  30506. - application/json
  30507. responses:
  30508. "200":
  30509. description: OK
  30510. schema:
  30511. items:
  30512. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  30513. type: array
  30514. "500":
  30515. description: Internal Server Error
  30516. schema:
  30517. $ref: '#/definitions/app.Response'
  30518. security:
  30519. - ApiKeyAuth: []
  30520. summary: 查询充值提现
  30521. tags:
  30522. - 大连千海金(PCWeb)
  30523. /QhjMgr/QueryBrokerApply:
  30524. get:
  30525. parameters:
  30526. - description: 所属机构ID
  30527. in: query
  30528. name: userid
  30529. type: integer
  30530. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  30531. in: query
  30532. name: filterstatus
  30533. type: string
  30534. - description: 名称(模糊匹配)
  30535. in: query
  30536. name: filtername
  30537. type: string
  30538. - description: 是否包含子级 1-包含
  30539. in: query
  30540. name: includesub
  30541. type: integer
  30542. produces:
  30543. - application/json
  30544. responses:
  30545. "200":
  30546. description: OK
  30547. schema:
  30548. items:
  30549. $ref: '#/definitions/models.QhjMgrBrokerApply'
  30550. type: array
  30551. "500":
  30552. description: Internal Server Error
  30553. schema:
  30554. $ref: '#/definitions/app.Response'
  30555. security:
  30556. - ApiKeyAuth: []
  30557. summary: 查询经纪人申请
  30558. tags:
  30559. - 大连千海金(PCWeb)
  30560. /QhjMgr/QueryBrokerRewardReport:
  30561. get:
  30562. parameters:
  30563. - description: 所属机构ID
  30564. in: query
  30565. name: userid
  30566. required: true
  30567. type: integer
  30568. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  30569. in: query
  30570. name: cycletype
  30571. required: true
  30572. type: integer
  30573. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  30574. in: query
  30575. name: cycletime
  30576. required: true
  30577. type: string
  30578. - description: 名称(模糊匹配)
  30579. in: query
  30580. name: filtername
  30581. type: string
  30582. - description: 是否包含子级 1-包含
  30583. in: query
  30584. name: includesub
  30585. type: integer
  30586. produces:
  30587. - application/json
  30588. responses:
  30589. "200":
  30590. description: OK
  30591. schema:
  30592. items:
  30593. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  30594. type: array
  30595. "500":
  30596. description: Internal Server Error
  30597. schema:
  30598. $ref: '#/definitions/app.Response'
  30599. security:
  30600. - ApiKeyAuth: []
  30601. summary: 查询经纪人奖励报表(废弃)
  30602. tags:
  30603. - 大连千海金(PCWeb)
  30604. /QhjMgr/QueryContract:
  30605. get:
  30606. parameters:
  30607. - description: 用户ID
  30608. in: query
  30609. name: userid
  30610. type: integer
  30611. - description: 商品id
  30612. in: query
  30613. name: goodsid
  30614. type: integer
  30615. - description: 名称(模糊搜索账户)
  30616. in: query
  30617. name: filtername
  30618. type: string
  30619. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  30620. in: query
  30621. name: risklevel
  30622. type: string
  30623. - description: 开始交易日(yyyymmdd)
  30624. in: query
  30625. name: begindate
  30626. type: string
  30627. - description: 结束交易日(yyyymmdd)
  30628. in: query
  30629. name: enddate
  30630. type: string
  30631. produces:
  30632. - application/json
  30633. responses:
  30634. "200":
  30635. description: OK
  30636. schema:
  30637. items:
  30638. $ref: '#/definitions/models.QhjMgrContract'
  30639. type: array
  30640. "500":
  30641. description: Internal Server Error
  30642. schema:
  30643. $ref: '#/definitions/app.Response'
  30644. security:
  30645. - ApiKeyAuth: []
  30646. summary: 查询融资信息(合同)
  30647. tags:
  30648. - 大连千海金(PCWeb)
  30649. /QhjMgr/QueryCustomerInfo:
  30650. get:
  30651. parameters:
  30652. - description: 用户ID
  30653. in: query
  30654. name: userid
  30655. required: true
  30656. type: integer
  30657. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  30658. in: query
  30659. name: querytype
  30660. required: true
  30661. type: integer
  30662. - description: 客户类型 1-个人 2-企业
  30663. in: query
  30664. name: userinfotype
  30665. type: integer
  30666. - description: 客户名称(模糊匹配)
  30667. in: query
  30668. name: customername
  30669. type: string
  30670. - description: 昵称(模糊匹配)
  30671. in: query
  30672. name: nickname
  30673. type: string
  30674. - description: 所属客户经理(模糊匹配)
  30675. in: query
  30676. name: brokername
  30677. type: string
  30678. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  30679. 如0503 -5月3日)
  30680. in: query
  30681. name: birthday
  30682. type: string
  30683. - description: 是否包含子级 1-包含
  30684. in: query
  30685. name: includesub
  30686. type: integer
  30687. produces:
  30688. - application/json
  30689. responses:
  30690. "200":
  30691. description: OK
  30692. schema:
  30693. items:
  30694. $ref: '#/definitions/models.QhjMgrCustomer'
  30695. type: array
  30696. "500":
  30697. description: Internal Server Error
  30698. schema:
  30699. $ref: '#/definitions/app.Response'
  30700. security:
  30701. - ApiKeyAuth: []
  30702. summary: 查询客户资料
  30703. tags:
  30704. - 大连千海金(PCWeb)
  30705. /QhjMgr/QueryPickGoods:
  30706. get:
  30707. parameters:
  30708. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  30709. in: query
  30710. name: status
  30711. type: string
  30712. produces:
  30713. - application/json
  30714. responses:
  30715. "200":
  30716. description: OK
  30717. schema:
  30718. items:
  30719. $ref: '#/definitions/models.QhjMgrPickGoods'
  30720. type: array
  30721. "500":
  30722. description: Internal Server Error
  30723. schema:
  30724. $ref: '#/definitions/app.Response'
  30725. security:
  30726. - ApiKeyAuth: []
  30727. summary: 查询提货商品
  30728. tags:
  30729. - 大连千海金(PCWeb)
  30730. /QhjMgr/QuerySubArea:
  30731. get:
  30732. parameters:
  30733. - description: 用户ID
  30734. in: query
  30735. name: userid
  30736. required: true
  30737. type: integer
  30738. produces:
  30739. - application/json
  30740. responses:
  30741. "200":
  30742. description: OK
  30743. schema:
  30744. items:
  30745. $ref: '#/definitions/models.QhjMgrSubArea'
  30746. type: array
  30747. "500":
  30748. description: Internal Server Error
  30749. schema:
  30750. $ref: '#/definitions/app.Response'
  30751. security:
  30752. - ApiKeyAuth: []
  30753. summary: 查询子机构列表
  30754. tags:
  30755. - 大连千海金(PCWeb)
  30756. /QhjMgr/QueryTradeDetail:
  30757. get:
  30758. parameters:
  30759. - description: 用户ID
  30760. in: query
  30761. name: userid
  30762. required: true
  30763. type: integer
  30764. - description: 用户类型 1-个人 2-企业
  30765. in: query
  30766. name: userinfotype
  30767. type: integer
  30768. - description: 交易模式
  30769. in: query
  30770. name: trademode
  30771. type: integer
  30772. - description: 商品id
  30773. in: query
  30774. name: goodsid
  30775. type: integer
  30776. - description: 名称(模糊搜索账户)
  30777. in: query
  30778. name: filtername
  30779. type: string
  30780. - description: 开始交易日(yyyymmdd)
  30781. in: query
  30782. name: begindate
  30783. type: string
  30784. - description: 结束交易日(yyyymmdd)
  30785. in: query
  30786. name: enddate
  30787. type: string
  30788. - description: 是否包含子级 1-包含
  30789. in: query
  30790. name: includesub
  30791. type: integer
  30792. produces:
  30793. - application/json
  30794. responses:
  30795. "200":
  30796. description: OK
  30797. schema:
  30798. items:
  30799. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  30800. type: array
  30801. "500":
  30802. description: Internal Server Error
  30803. schema:
  30804. $ref: '#/definitions/app.Response'
  30805. security:
  30806. - ApiKeyAuth: []
  30807. summary: 查询成交明细
  30808. tags:
  30809. - 大连千海金(PCWeb)
  30810. /QhjMgr/QueryTradeOrderDetail:
  30811. get:
  30812. parameters:
  30813. - description: 用户ID
  30814. in: query
  30815. name: userid
  30816. required: true
  30817. type: integer
  30818. - description: 用户类型 1-个人 2-企业
  30819. in: query
  30820. name: userinfotype
  30821. type: integer
  30822. - description: 交易模式
  30823. in: query
  30824. name: trademode
  30825. type: integer
  30826. - description: 商品id
  30827. in: query
  30828. name: goodsid
  30829. type: integer
  30830. - description: 名称(模糊搜索账户)
  30831. in: query
  30832. name: filtername
  30833. type: string
  30834. - description: 开始交易日(yyyymmdd)
  30835. in: query
  30836. name: begindate
  30837. type: string
  30838. - description: 结束交易日(yyyymmdd)
  30839. in: query
  30840. name: enddate
  30841. type: string
  30842. - description: 是否包含子级 1-包含
  30843. in: query
  30844. name: includesub
  30845. type: integer
  30846. produces:
  30847. - application/json
  30848. responses:
  30849. "200":
  30850. description: OK
  30851. schema:
  30852. items:
  30853. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  30854. type: array
  30855. "500":
  30856. description: Internal Server Error
  30857. schema:
  30858. $ref: '#/definitions/app.Response'
  30859. security:
  30860. - ApiKeyAuth: []
  30861. summary: 查询委托明细
  30862. tags:
  30863. - 大连千海金(PCWeb)
  30864. /QhjMgr/QueryTradePayOrder:
  30865. get:
  30866. parameters:
  30867. - description: 用户ID
  30868. in: query
  30869. name: userid
  30870. required: true
  30871. type: integer
  30872. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  30873. in: query
  30874. name: payflag
  30875. type: string
  30876. - description: 用户类型 1-个人 2-企业
  30877. in: query
  30878. name: userinfotype
  30879. type: integer
  30880. - description: 交易模式
  30881. in: query
  30882. name: trademode
  30883. type: integer
  30884. - description: 商品id
  30885. in: query
  30886. name: goodsid
  30887. type: integer
  30888. - description: 名称(模糊搜索账户)
  30889. in: query
  30890. name: filtername
  30891. type: string
  30892. - description: 开始交易日(yyyymmdd)
  30893. in: query
  30894. name: begindate
  30895. type: string
  30896. - description: 结束交易日(yyyymmdd)
  30897. in: query
  30898. name: enddate
  30899. type: string
  30900. - description: 是否包含子级 1-包含
  30901. in: query
  30902. name: includesub
  30903. type: integer
  30904. produces:
  30905. - application/json
  30906. responses:
  30907. "200":
  30908. description: OK
  30909. schema:
  30910. items:
  30911. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  30912. type: array
  30913. "500":
  30914. description: Internal Server Error
  30915. schema:
  30916. $ref: '#/definitions/app.Response'
  30917. security:
  30918. - ApiKeyAuth: []
  30919. summary: 查询待付款单
  30920. tags:
  30921. - 大连千海金(PCWeb)
  30922. /QhjMgr/QueryTradePosition:
  30923. get:
  30924. parameters:
  30925. - description: 用户ID
  30926. in: query
  30927. name: userid
  30928. required: true
  30929. type: integer
  30930. - description: 用户类型 1-个人 2-企业
  30931. in: query
  30932. name: userinfotype
  30933. type: integer
  30934. - description: 交易模式
  30935. in: query
  30936. name: trademode
  30937. type: integer
  30938. - description: 商品id
  30939. in: query
  30940. name: goodsid
  30941. type: integer
  30942. - description: 名称(模糊搜索账户)
  30943. in: query
  30944. name: filtername
  30945. type: string
  30946. - description: 是否包含子级 1-包含
  30947. in: query
  30948. name: includesub
  30949. type: integer
  30950. produces:
  30951. - application/json
  30952. responses:
  30953. "200":
  30954. description: OK
  30955. schema:
  30956. items:
  30957. $ref: '#/definitions/models.QhjMgrPositionRsp'
  30958. type: array
  30959. "500":
  30960. description: Internal Server Error
  30961. schema:
  30962. $ref: '#/definitions/app.Response'
  30963. security:
  30964. - ApiKeyAuth: []
  30965. summary: 查询持仓汇总
  30966. tags:
  30967. - 大连千海金(PCWeb)
  30968. /QhjSys/QueryAgreementChangeLog:
  30969. get:
  30970. parameters:
  30971. - description: 协议ID
  30972. in: query
  30973. name: agreementid
  30974. type: integer
  30975. - description: 协议版本号
  30976. in: query
  30977. name: agreementversion
  30978. type: integer
  30979. - description: 协议类型 - 1:注册 2:登录 3:交易
  30980. in: query
  30981. name: agreementtype
  30982. type: integer
  30983. - description: 协议编号(模糊匹配)
  30984. in: query
  30985. name: agreementno
  30986. type: string
  30987. - description: 协议名称(模糊匹配)
  30988. in: query
  30989. name: agreementname
  30990. type: string
  30991. produces:
  30992. - application/json
  30993. responses:
  30994. "200":
  30995. description: OK
  30996. schema:
  30997. items:
  30998. $ref: '#/definitions/models.QhjAgreementChangeLog'
  30999. type: array
  31000. "500":
  31001. description: Internal Server Error
  31002. schema:
  31003. $ref: '#/definitions/app.Response'
  31004. security:
  31005. - ApiKeyAuth: []
  31006. summary: 查询协议配置变更流水
  31007. tags:
  31008. - 大连千海金(协议和签约信息)
  31009. /QhjSys/QueryAgreementConfig:
  31010. get:
  31011. parameters:
  31012. - description: 协议ID
  31013. in: query
  31014. name: agreementid
  31015. type: integer
  31016. - description: 协议版本号
  31017. in: query
  31018. name: agreementversion
  31019. type: integer
  31020. - description: 协议类型 - 1:注册 2:登录 3:交易
  31021. in: query
  31022. name: agreementtype
  31023. type: integer
  31024. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  31025. in: query
  31026. name: isvalid
  31027. type: integer
  31028. - description: 协议编号(模糊匹配)
  31029. in: query
  31030. name: agreementno
  31031. type: string
  31032. - description: 协议名称(模糊匹配)
  31033. in: query
  31034. name: agreementname
  31035. type: string
  31036. produces:
  31037. - application/json
  31038. responses:
  31039. "200":
  31040. description: OK
  31041. schema:
  31042. items:
  31043. $ref: '#/definitions/models.QhjAgreementConfig'
  31044. type: array
  31045. "500":
  31046. description: Internal Server Error
  31047. schema:
  31048. $ref: '#/definitions/app.Response'
  31049. security:
  31050. - ApiKeyAuth: []
  31051. summary: 查询协议配置
  31052. tags:
  31053. - 大连千海金(协议和签约信息)
  31054. /QhjSys/QueryCustomerSignStatus:
  31055. get:
  31056. parameters:
  31057. - description: 客户ID
  31058. in: query
  31059. name: userid
  31060. type: integer
  31061. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  31062. in: query
  31063. name: nodetype
  31064. type: integer
  31065. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31066. in: query
  31067. name: goodsid
  31068. type: integer
  31069. - description: 创建交易日(yyyyMMdd)
  31070. in: query
  31071. name: tradedate
  31072. type: string
  31073. - description: 用户名称(模糊匹配)
  31074. in: query
  31075. name: username
  31076. type: string
  31077. produces:
  31078. - application/json
  31079. responses:
  31080. "200":
  31081. description: OK
  31082. schema:
  31083. items:
  31084. $ref: '#/definitions/models.QhjCustomerSignStatus'
  31085. type: array
  31086. "500":
  31087. description: Internal Server Error
  31088. schema:
  31089. $ref: '#/definitions/app.Response'
  31090. security:
  31091. - ApiKeyAuth: []
  31092. summary: 查询客户协议签约状态
  31093. tags:
  31094. - 大连千海金(协议和签约信息)
  31095. /QhjSys/QueryNodeAgreementConfig:
  31096. get:
  31097. parameters:
  31098. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  31099. in: query
  31100. name: configid
  31101. type: integer
  31102. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  31103. in: query
  31104. name: nodetype
  31105. type: integer
  31106. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31107. in: query
  31108. name: goodsid
  31109. type: integer
  31110. - description: 协议ID
  31111. in: query
  31112. name: agreementid
  31113. type: integer
  31114. - description: 协议类型 - 1:注册 2:登录 3:交易
  31115. in: query
  31116. name: agreementtype
  31117. type: integer
  31118. - description: 协议版本号
  31119. in: query
  31120. name: agreementversion
  31121. type: integer
  31122. - description: 协议编号(模糊匹配)
  31123. in: query
  31124. name: agreementno
  31125. type: string
  31126. - description: 协议名称(模糊匹配)
  31127. in: query
  31128. name: agreementname
  31129. type: string
  31130. produces:
  31131. - application/json
  31132. responses:
  31133. "200":
  31134. description: OK
  31135. schema:
  31136. items:
  31137. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  31138. type: array
  31139. "500":
  31140. description: Internal Server Error
  31141. schema:
  31142. $ref: '#/definitions/app.Response'
  31143. security:
  31144. - ApiKeyAuth: []
  31145. summary: 查询协议节点配置
  31146. tags:
  31147. - 大连千海金(协议和签约信息)
  31148. /QhjSys/QueryQhjCustomerSignLog:
  31149. get:
  31150. parameters:
  31151. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  31152. in: query
  31153. name: logid
  31154. type: integer
  31155. - description: 客户ID
  31156. in: query
  31157. name: userid
  31158. type: integer
  31159. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  31160. in: query
  31161. name: nodetype
  31162. type: integer
  31163. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31164. in: query
  31165. name: goodsid
  31166. type: integer
  31167. - description: 协议ID
  31168. in: query
  31169. name: agreementid
  31170. type: integer
  31171. - description: 用户名称(模糊匹配)
  31172. in: query
  31173. name: username
  31174. type: string
  31175. - description: 协议编号(模糊匹配)
  31176. in: query
  31177. name: agreementno
  31178. type: string
  31179. - description: 协议名称(模糊匹配)
  31180. in: query
  31181. name: agreementname
  31182. type: string
  31183. produces:
  31184. - application/json
  31185. responses:
  31186. "200":
  31187. description: OK
  31188. schema:
  31189. items:
  31190. $ref: '#/definitions/models.QhjCustomerSignLog'
  31191. type: array
  31192. "500":
  31193. description: Internal Server Error
  31194. schema:
  31195. $ref: '#/definitions/app.Response'
  31196. security:
  31197. - ApiKeyAuth: []
  31198. summary: 查询客户协议签约流水
  31199. tags:
  31200. - 大连千海金(协议和签约信息)
  31201. /QhjSys/QueryUserNodeCfgAndStatus:
  31202. get:
  31203. parameters:
  31204. - description: 客户ID
  31205. in: query
  31206. name: userid
  31207. type: integer
  31208. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  31209. in: query
  31210. name: configid
  31211. type: integer
  31212. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  31213. in: query
  31214. name: nodetype
  31215. type: string
  31216. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31217. in: query
  31218. name: goodsid
  31219. type: integer
  31220. - description: 协议ID
  31221. in: query
  31222. name: agreementid
  31223. type: integer
  31224. - description: 协议类型 - 1:注册 2:登录 3:交易
  31225. in: query
  31226. name: agreementtype
  31227. type: integer
  31228. - description: 协议版本号
  31229. in: query
  31230. name: agreementversion
  31231. type: integer
  31232. - description: 协议编号(模糊匹配)
  31233. in: query
  31234. name: agreementno
  31235. type: string
  31236. - description: 协议名称(模糊匹配)
  31237. in: query
  31238. name: agreementname
  31239. type: string
  31240. produces:
  31241. - application/json
  31242. responses:
  31243. "200":
  31244. description: OK
  31245. schema:
  31246. items:
  31247. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  31248. type: array
  31249. "500":
  31250. description: Internal Server Error
  31251. schema:
  31252. $ref: '#/definitions/app.Response'
  31253. security:
  31254. - ApiKeyAuth: []
  31255. summary: 查询用户协议节点配置和状态
  31256. tags:
  31257. - 大连千海金(协议和签约信息)
  31258. /Quote/QueryHistoryDatas:
  31259. get:
  31260. parameters:
  31261. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  31262. 日线 12:周线 13:月线 14:年线'
  31263. in: query
  31264. name: cycleType
  31265. required: true
  31266. type: integer
  31267. - description: 商品代码
  31268. in: query
  31269. name: goodsCode
  31270. required: true
  31271. type: string
  31272. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  31273. in: query
  31274. name: startTime
  31275. type: string
  31276. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  31277. in: query
  31278. name: endTime
  31279. type: string
  31280. - description: 条数
  31281. in: query
  31282. name: count
  31283. type: integer
  31284. - description: 是否按时间顺序排序(默认为时间倒序排序)
  31285. in: query
  31286. name: isAsc
  31287. type: boolean
  31288. produces:
  31289. - application/json
  31290. responses:
  31291. "200":
  31292. description: OK
  31293. schema:
  31294. $ref: '#/definitions/quote.HistoryData'
  31295. "500":
  31296. description: Internal Server Error
  31297. schema:
  31298. $ref: '#/definitions/app.Response'
  31299. security:
  31300. - ApiKeyAuth: []
  31301. summary: 查询行情历史数据
  31302. tags:
  31303. - 行情服务
  31304. /Quote/QueryHistoryTikDatas:
  31305. get:
  31306. parameters:
  31307. - description: 商品代码
  31308. in: query
  31309. name: goodsCode
  31310. required: true
  31311. type: string
  31312. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  31313. in: query
  31314. name: startTime
  31315. type: string
  31316. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  31317. in: query
  31318. name: endTime
  31319. type: string
  31320. - description: 条数
  31321. in: query
  31322. name: count
  31323. type: integer
  31324. - description: 是否按时间顺序排序(默认为时间倒序排序)
  31325. in: query
  31326. name: isAsc
  31327. type: boolean
  31328. produces:
  31329. - application/json
  31330. responses:
  31331. "200":
  31332. description: OK
  31333. schema:
  31334. $ref: '#/definitions/quote.HistoryTikData'
  31335. "500":
  31336. description: Internal Server Error
  31337. schema:
  31338. $ref: '#/definitions/app.Response'
  31339. security:
  31340. - ApiKeyAuth: []
  31341. summary: 查询行情Tik数据
  31342. tags:
  31343. - 行情服务
  31344. /Quote/QueryQuoteDay:
  31345. get:
  31346. parameters:
  31347. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  31348. in: query
  31349. name: goodsCodes
  31350. type: string
  31351. produces:
  31352. - application/json
  31353. responses:
  31354. "200":
  31355. description: OK
  31356. schema:
  31357. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  31358. "500":
  31359. description: Internal Server Error
  31360. schema:
  31361. $ref: '#/definitions/app.Response'
  31362. security:
  31363. - ApiKeyAuth: []
  31364. summary: 获取商品盘面信息
  31365. tags:
  31366. - 行情服务
  31367. /Quote/QueryTSData:
  31368. get:
  31369. parameters:
  31370. - description: 商品代码
  31371. in: query
  31372. name: goodsCode
  31373. required: true
  31374. type: string
  31375. produces:
  31376. - application/json
  31377. responses:
  31378. "200":
  31379. description: OK
  31380. schema:
  31381. $ref: '#/definitions/quote.QueryTSDataRsp'
  31382. "500":
  31383. description: Internal Server Error
  31384. schema:
  31385. $ref: '#/definitions/app.Response'
  31386. security:
  31387. - ApiKeyAuth: []
  31388. summary: 分时图数据查询
  31389. tags:
  31390. - 行情服务
  31391. /SZDZ/QueryConvertConfig:
  31392. get:
  31393. parameters:
  31394. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  31395. 6:交易转花生米(不设置)
  31396. in: query
  31397. name: convertType
  31398. type: integer
  31399. - description: 外部商品代码[JD\PD]
  31400. in: query
  31401. name: outerGoodsCode
  31402. type: string
  31403. - description: 内部商品ID列表[交易],格式:1,2,3
  31404. in: query
  31405. name: innerGoodsIDs
  31406. type: string
  31407. produces:
  31408. - application/json
  31409. responses:
  31410. "200":
  31411. description: OK
  31412. schema:
  31413. $ref: '#/definitions/models.Szdz3convertconfig'
  31414. "500":
  31415. description: Internal Server Error
  31416. schema:
  31417. $ref: '#/definitions/app.Response'
  31418. security:
  31419. - ApiKeyAuth: []
  31420. summary: 查询交易系统转换设置
  31421. tags:
  31422. - 定制【尚志大宗】
  31423. /SZDZ/QueryConvertLog:
  31424. get:
  31425. parameters:
  31426. - description: 资金账户 - 格式:1,2,3
  31427. in: query
  31428. name: accountID
  31429. required: true
  31430. type: string
  31431. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  31432. in: query
  31433. name: startDate
  31434. type: string
  31435. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  31436. in: query
  31437. name: endDate
  31438. type: string
  31439. produces:
  31440. - application/json
  31441. responses:
  31442. "200":
  31443. description: OK
  31444. schema:
  31445. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  31446. "500":
  31447. description: Internal Server Error
  31448. schema:
  31449. $ref: '#/definitions/app.Response'
  31450. security:
  31451. - ApiKeyAuth: []
  31452. summary: 交易系统转换流水查询
  31453. tags:
  31454. - 定制【尚志大宗】
  31455. /SZDZ/QueryGoodsPickup:
  31456. get:
  31457. parameters:
  31458. - description: 资金账户 - 格式:1,2,3
  31459. in: query
  31460. name: accountID
  31461. required: true
  31462. type: string
  31463. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  31464. in: query
  31465. name: takeOrderStatus
  31466. type: integer
  31467. produces:
  31468. - application/json
  31469. responses:
  31470. "200":
  31471. description: OK
  31472. schema:
  31473. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  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/QueryRecieptOrder:
  31484. get:
  31485. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  31486. parameters:
  31487. - description: 页码
  31488. in: query
  31489. name: page
  31490. type: integer
  31491. - description: 每页条数
  31492. in: query
  31493. name: pagesize
  31494. type: integer
  31495. - description: 商品ID
  31496. in: query
  31497. name: goodsID
  31498. required: true
  31499. type: integer
  31500. - description: 所属账户名称
  31501. in: query
  31502. name: accountName
  31503. type: string
  31504. - description: 市场ID
  31505. in: query
  31506. name: marketID
  31507. type: integer
  31508. - description: 方向 - 0:买 1:卖
  31509. in: query
  31510. name: buyorsell
  31511. required: true
  31512. type: integer
  31513. produces:
  31514. - application/json
  31515. responses:
  31516. "200":
  31517. description: OK
  31518. schema:
  31519. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  31520. "500":
  31521. description: Internal Server Error
  31522. schema:
  31523. $ref: '#/definitions/app.Response'
  31524. security:
  31525. - ApiKeyAuth: []
  31526. summary: 点选挂牌委托单据查询(摘牌大厅)
  31527. tags:
  31528. - 定制【尚志大宗】
  31529. /SZDZ/QuerySZDZTradePosition:
  31530. get:
  31531. parameters:
  31532. - description: 资金账户
  31533. in: query
  31534. name: accountID
  31535. required: true
  31536. type: integer
  31537. produces:
  31538. - application/json
  31539. responses:
  31540. "200":
  31541. description: OK
  31542. schema:
  31543. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  31544. "500":
  31545. description: Internal Server Error
  31546. schema:
  31547. $ref: '#/definitions/app.Response'
  31548. security:
  31549. - ApiKeyAuth: []
  31550. summary: 持仓汇总查询(尚志大宗)
  31551. tags:
  31552. - 定制【尚志大宗】
  31553. /SZDZ/SearchWhite:
  31554. get:
  31555. parameters:
  31556. - description: 用户ID
  31557. in: query
  31558. name: userID
  31559. required: true
  31560. type: integer
  31561. produces:
  31562. - application/json
  31563. responses:
  31564. "200":
  31565. description: OK
  31566. schema:
  31567. $ref: '#/definitions/models.Szdz3searchwhitelist'
  31568. "500":
  31569. description: Internal Server Error
  31570. schema:
  31571. $ref: '#/definitions/app.Response'
  31572. security:
  31573. - ApiKeyAuth: []
  31574. summary: 搜索白名单
  31575. tags:
  31576. - 定制【尚志大宗】
  31577. /Search/SearchGoodses:
  31578. get:
  31579. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  31580. parameters:
  31581. - description: 检索内容
  31582. in: query
  31583. name: content
  31584. required: true
  31585. type: string
  31586. - description: 交易模式,格式:1,2,3
  31587. in: query
  31588. name: tradeModes
  31589. type: string
  31590. produces:
  31591. - application/json
  31592. responses:
  31593. "200":
  31594. description: OK
  31595. schema:
  31596. $ref: '#/definitions/models.SearchGoods'
  31597. "500":
  31598. description: Internal Server Error
  31599. schema:
  31600. $ref: '#/definitions/app.Response'
  31601. summary: 检索商品信息
  31602. tags:
  31603. - 检索服务
  31604. /TaAccount/GetTaAccounts:
  31605. get:
  31606. parameters:
  31607. - description: 登录账户
  31608. in: query
  31609. name: loginID
  31610. required: true
  31611. type: integer
  31612. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  31613. in: query
  31614. name: taAccountType
  31615. type: integer
  31616. produces:
  31617. - application/json
  31618. responses:
  31619. "200":
  31620. description: OK
  31621. schema:
  31622. $ref: '#/definitions/models.Taaccount'
  31623. "500":
  31624. description: Internal Server Error
  31625. schema:
  31626. $ref: '#/definitions/app.Response'
  31627. security:
  31628. - ApiKeyAuth: []
  31629. summary: 获取资金账户信息
  31630. tags:
  31631. - 资金账户
  31632. /TaAccount/QueryAmountLog:
  31633. get:
  31634. parameters:
  31635. - description: 页码
  31636. in: query
  31637. name: page
  31638. type: integer
  31639. - description: 每页条数
  31640. in: query
  31641. name: pagesize
  31642. type: integer
  31643. - description: 资金账户 - 格式:1,2,3
  31644. in: query
  31645. name: accountID
  31646. required: true
  31647. type: string
  31648. - description: 资金操作类型 - 格式:1,2,3
  31649. in: query
  31650. name: OperateType
  31651. type: string
  31652. produces:
  31653. - application/json
  31654. responses:
  31655. "200":
  31656. description: OK
  31657. schema:
  31658. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  31659. "500":
  31660. description: Internal Server Error
  31661. schema:
  31662. $ref: '#/definitions/app.Response'
  31663. security:
  31664. - ApiKeyAuth: []
  31665. summary: 资金流水查询(当前)
  31666. tags:
  31667. - 资金账户
  31668. /TaAccount/QueryHisAmountLog:
  31669. get:
  31670. parameters:
  31671. - description: 页码
  31672. in: query
  31673. name: page
  31674. type: integer
  31675. - description: 每页条数
  31676. in: query
  31677. name: pagesize
  31678. type: integer
  31679. - description: 资金账户 - 格式:1,2,3
  31680. in: query
  31681. name: accountID
  31682. required: true
  31683. type: string
  31684. - description: 资金操作类型 - 格式:1,2,3
  31685. in: query
  31686. name: OperateType
  31687. type: string
  31688. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  31689. in: query
  31690. name: startDate
  31691. type: string
  31692. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  31693. in: query
  31694. name: endDate
  31695. type: string
  31696. produces:
  31697. - application/json
  31698. responses:
  31699. "200":
  31700. description: OK
  31701. schema:
  31702. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  31703. "500":
  31704. description: Internal Server Error
  31705. schema:
  31706. $ref: '#/definitions/app.Response'
  31707. security:
  31708. - ApiKeyAuth: []
  31709. summary: 资金流水查询(历史)
  31710. tags:
  31711. - 资金账户
  31712. /TaAccount/QueryRelatedTaAccount:
  31713. get:
  31714. parameters:
  31715. - description: 关联UserID
  31716. in: query
  31717. name: relateduserid
  31718. required: true
  31719. type: integer
  31720. produces:
  31721. - application/json
  31722. responses:
  31723. "200":
  31724. description: OK
  31725. schema:
  31726. items:
  31727. $ref: '#/definitions/models.RelatedTaAccount'
  31728. type: array
  31729. "500":
  31730. description: Internal Server Error
  31731. schema:
  31732. $ref: '#/definitions/app.Response'
  31733. security:
  31734. - ApiKeyAuth: []
  31735. summary: 查询关联资金账户信息
  31736. tags:
  31737. - 资金账户
  31738. /Tjmd/QueryQuoteGoodsList:
  31739. get:
  31740. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  31741. parameters:
  31742. - description: 用户类型
  31743. in: query
  31744. name: usertype
  31745. required: true
  31746. type: integer
  31747. - description: 市场id, 格式 1,2,3
  31748. in: query
  31749. name: marketids
  31750. type: string
  31751. - description: 商品组id
  31752. in: query
  31753. name: goodsgroupid
  31754. type: integer
  31755. - description: 商品id
  31756. in: query
  31757. name: goodsid
  31758. type: integer
  31759. produces:
  31760. - application/json
  31761. responses:
  31762. "200":
  31763. description: OK
  31764. schema:
  31765. items:
  31766. $ref: '#/definitions/models.TjmdQuoteGoods'
  31767. type: array
  31768. "500":
  31769. description: Internal Server Error
  31770. schema:
  31771. $ref: '#/definitions/app.Response'
  31772. security:
  31773. - ApiKeyAuth: []
  31774. summary: 查询掉期报价列表
  31775. tags:
  31776. - 天津麦顿
  31777. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  31778. get:
  31779. parameters:
  31780. - description: 成交单号
  31781. in: query
  31782. name: tradeid
  31783. required: true
  31784. type: string
  31785. produces:
  31786. - application/json
  31787. responses:
  31788. "200":
  31789. description: OK
  31790. schema:
  31791. items:
  31792. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  31793. type: array
  31794. "500":
  31795. description: Internal Server Error
  31796. schema:
  31797. $ref: '#/definitions/app.Response'
  31798. security:
  31799. - ApiKeyAuth: []
  31800. summary: 掉期商品订单详情(交易确认书)
  31801. tags:
  31802. - 天津麦顿
  31803. /Tjmd/QueryTjmdMarketSection:
  31804. get:
  31805. produces:
  31806. - application/json
  31807. responses:
  31808. "200":
  31809. description: OK
  31810. schema:
  31811. items:
  31812. $ref: '#/definitions/models.TjmdMarketSection'
  31813. type: array
  31814. "500":
  31815. description: Internal Server Error
  31816. schema:
  31817. $ref: '#/definitions/app.Response'
  31818. security:
  31819. - ApiKeyAuth: []
  31820. summary: 查询市场板块
  31821. tags:
  31822. - 天津麦顿
  31823. /Tjmd/QueryTjmdTodayAccountMargin:
  31824. get:
  31825. parameters:
  31826. - description: 市场id
  31827. in: query
  31828. name: marketid
  31829. type: string
  31830. - description: 商品id
  31831. in: query
  31832. name: goodsid
  31833. type: string
  31834. - description: 资金账号
  31835. in: query
  31836. name: accountid
  31837. type: string
  31838. produces:
  31839. - application/json
  31840. responses:
  31841. "200":
  31842. description: OK
  31843. schema:
  31844. items:
  31845. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  31846. type: array
  31847. "500":
  31848. description: Internal Server Error
  31849. schema:
  31850. $ref: '#/definitions/app.Response'
  31851. security:
  31852. - ApiKeyAuth: []
  31853. summary: 查询今日账户保证金配置
  31854. tags:
  31855. - 天津麦顿
  31856. /Tjmd/QueryTjmdTradeOrderDetail:
  31857. get:
  31858. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  31859. parameters:
  31860. - description: 页码
  31861. in: query
  31862. name: page
  31863. type: integer
  31864. - description: 每页条数
  31865. in: query
  31866. name: pagesize
  31867. type: integer
  31868. - description: 用户id
  31869. in: query
  31870. name: userid
  31871. required: true
  31872. type: integer
  31873. - description: 用户类型
  31874. in: query
  31875. name: usertype
  31876. required: true
  31877. type: integer
  31878. - description: 市场id, 格式 1,2,3
  31879. in: query
  31880. name: marketids
  31881. type: string
  31882. - description: 商品id
  31883. in: query
  31884. name: goodsid
  31885. required: true
  31886. type: integer
  31887. - description: 买卖方向 0-买 1-卖
  31888. in: query
  31889. name: buyorsell
  31890. required: true
  31891. type: integer
  31892. produces:
  31893. - application/json
  31894. responses:
  31895. "200":
  31896. description: OK
  31897. schema:
  31898. items:
  31899. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  31900. type: array
  31901. "500":
  31902. description: Internal Server Error
  31903. schema:
  31904. $ref: '#/definitions/app.Response'
  31905. security:
  31906. - ApiKeyAuth: []
  31907. summary: 查询掉期买卖大厅
  31908. tags:
  31909. - 天津麦顿
  31910. /Tjmd/QueryTjmdTransferApply:
  31911. get:
  31912. parameters:
  31913. - description: 类型 1-我的申请 2-对方申请
  31914. in: query
  31915. name: applytype
  31916. required: true
  31917. type: integer
  31918. - description: 市场id, 格式 1,2,3
  31919. in: query
  31920. name: marketids
  31921. type: string
  31922. - description: 资金账号, 格式 25000000001,25000000003
  31923. in: query
  31924. name: accountids
  31925. type: string
  31926. - description: 开始交易日(yyyymmdd)
  31927. in: query
  31928. name: begindate
  31929. type: string
  31930. - description: 结束交易日(yyyymmdd)
  31931. in: query
  31932. name: enddate
  31933. type: string
  31934. produces:
  31935. - application/json
  31936. responses:
  31937. "200":
  31938. description: OK
  31939. schema:
  31940. items:
  31941. $ref: '#/definitions/models.TjmdTransferApply'
  31942. type: array
  31943. "500":
  31944. description: Internal Server Error
  31945. schema:
  31946. $ref: '#/definitions/app.Response'
  31947. security:
  31948. - ApiKeyAuth: []
  31949. summary: 查询掉期协议单
  31950. tags:
  31951. - 天津麦顿
  31952. /Trade/QueryRecieptOrder:
  31953. get:
  31954. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  31955. parameters:
  31956. - description: 页码
  31957. in: query
  31958. name: page
  31959. type: integer
  31960. - description: 每页条数
  31961. in: query
  31962. name: pagesize
  31963. type: integer
  31964. - description: 商品ID
  31965. in: query
  31966. name: goodsID
  31967. required: true
  31968. type: integer
  31969. - description: 所属账户名称
  31970. in: query
  31971. name: accountName
  31972. type: string
  31973. - description: 市场ID
  31974. in: query
  31975. name: marketID
  31976. type: integer
  31977. - description: 方向 - 0:买 1:卖
  31978. in: query
  31979. name: buyorsell
  31980. required: true
  31981. type: integer
  31982. produces:
  31983. - application/json
  31984. responses:
  31985. "200":
  31986. description: OK
  31987. schema:
  31988. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  31989. "500":
  31990. description: Internal Server Error
  31991. schema:
  31992. $ref: '#/definitions/app.Response'
  31993. security:
  31994. - ApiKeyAuth: []
  31995. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  31996. tags:
  31997. - 通用交易
  31998. /User/AddMessageBoard:
  31999. post:
  32000. parameters:
  32001. - description: 用户ID
  32002. in: query
  32003. name: userID
  32004. required: true
  32005. type: integer
  32006. - description: 留言信息
  32007. in: query
  32008. name: message
  32009. required: true
  32010. type: string
  32011. - description: 联系电话
  32012. in: query
  32013. name: contactNum
  32014. required: true
  32015. type: string
  32016. produces:
  32017. - application/json
  32018. responses:
  32019. "200":
  32020. description: OK
  32021. schema:
  32022. $ref: '#/definitions/app.Response'
  32023. "500":
  32024. description: Internal Server Error
  32025. schema:
  32026. $ref: '#/definitions/app.Response'
  32027. security:
  32028. - ApiKeyAuth: []
  32029. summary: 添加用户留言板信息
  32030. tags:
  32031. - 用户信息
  32032. /User/AddUserFavoriteGoods:
  32033. post:
  32034. parameters:
  32035. - description: 用户ID
  32036. in: query
  32037. name: userID
  32038. required: true
  32039. type: integer
  32040. - description: 商品ID
  32041. in: query
  32042. name: goodsID
  32043. required: true
  32044. type: integer
  32045. produces:
  32046. - application/json
  32047. responses:
  32048. "200":
  32049. description: OK
  32050. schema:
  32051. $ref: '#/definitions/app.Response'
  32052. "500":
  32053. description: Internal Server Error
  32054. schema:
  32055. $ref: '#/definitions/app.Response'
  32056. security:
  32057. - ApiKeyAuth: []
  32058. summary: 添加用户商品收藏信息
  32059. tags:
  32060. - 用户信息
  32061. /User/GetLoginID:
  32062. get:
  32063. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  32064. parameters:
  32065. - description: 登录代码
  32066. in: query
  32067. name: username
  32068. required: true
  32069. type: string
  32070. produces:
  32071. - application/json
  32072. responses:
  32073. "200":
  32074. description: OK
  32075. schema:
  32076. $ref: '#/definitions/app.Response'
  32077. "500":
  32078. description: Internal Server Error
  32079. schema:
  32080. $ref: '#/definitions/app.Response'
  32081. summary: 获取登录ID
  32082. tags:
  32083. - 用户信息
  32084. /User/GetUserAccount:
  32085. get:
  32086. parameters:
  32087. - description: 用户ID
  32088. in: query
  32089. name: userID
  32090. required: true
  32091. type: integer
  32092. produces:
  32093. - application/json
  32094. responses:
  32095. "200":
  32096. description: OK
  32097. schema:
  32098. $ref: '#/definitions/models.Useraccount'
  32099. "500":
  32100. description: Internal Server Error
  32101. schema:
  32102. $ref: '#/definitions/app.Response'
  32103. security:
  32104. - ApiKeyAuth: []
  32105. summary: 获取用户账号信息
  32106. tags:
  32107. - 用户信息
  32108. /User/GetUserAuthStatus:
  32109. get:
  32110. parameters:
  32111. - description: 用户ID
  32112. in: query
  32113. name: userID
  32114. required: true
  32115. type: integer
  32116. produces:
  32117. - application/json
  32118. responses:
  32119. "200":
  32120. description: OK
  32121. schema:
  32122. $ref: '#/definitions/app.Response'
  32123. "500":
  32124. description: Internal Server Error
  32125. schema:
  32126. $ref: '#/definitions/app.Response'
  32127. security:
  32128. - ApiKeyAuth: []
  32129. summary: 获取用户实名认证状态
  32130. tags:
  32131. - 用户信息
  32132. /User/LoginQuery:
  32133. get:
  32134. parameters:
  32135. - description: 登录账号
  32136. in: query
  32137. name: loginID
  32138. required: true
  32139. type: integer
  32140. produces:
  32141. - application/json
  32142. responses:
  32143. "200":
  32144. description: OK
  32145. schema:
  32146. $ref: '#/definitions/user.LoginQueryRsp'
  32147. "500":
  32148. description: Internal Server Error
  32149. schema:
  32150. $ref: '#/definitions/app.Response'
  32151. security:
  32152. - ApiKeyAuth: []
  32153. summary: 账户登录后信息查询
  32154. tags:
  32155. - 用户信息
  32156. /User/QueryMessageBoard:
  32157. get:
  32158. parameters:
  32159. - description: 用户ID
  32160. in: query
  32161. name: userID
  32162. required: true
  32163. type: integer
  32164. produces:
  32165. - application/json
  32166. responses:
  32167. "200":
  32168. description: OK
  32169. schema:
  32170. $ref: '#/definitions/models.Messageboard'
  32171. "500":
  32172. description: Internal Server Error
  32173. schema:
  32174. $ref: '#/definitions/app.Response'
  32175. security:
  32176. - ApiKeyAuth: []
  32177. summary: 获取用户留言板信息
  32178. tags:
  32179. - 用户信息
  32180. /User/QueryUserFavoriteGoodses:
  32181. get:
  32182. parameters:
  32183. - description: 用户ID
  32184. in: query
  32185. name: userID
  32186. required: true
  32187. type: integer
  32188. produces:
  32189. - application/json
  32190. responses:
  32191. "200":
  32192. description: OK
  32193. schema:
  32194. $ref: '#/definitions/models.Userfavoritegoods'
  32195. "500":
  32196. description: Internal Server Error
  32197. schema:
  32198. $ref: '#/definitions/app.Response'
  32199. security:
  32200. - ApiKeyAuth: []
  32201. summary: 获取用户商品收藏信息
  32202. tags:
  32203. - 用户信息
  32204. /User/QueryUserInfo:
  32205. get:
  32206. parameters:
  32207. - description: 用户ID
  32208. in: query
  32209. name: userID
  32210. required: true
  32211. type: integer
  32212. - description: 是否解密
  32213. in: query
  32214. name: isDecrypt
  32215. type: boolean
  32216. produces:
  32217. - application/json
  32218. responses:
  32219. "200":
  32220. description: OK
  32221. schema:
  32222. $ref: '#/definitions/models.Userinfo'
  32223. "500":
  32224. description: Internal Server Error
  32225. schema:
  32226. $ref: '#/definitions/app.Response'
  32227. security:
  32228. - ApiKeyAuth: []
  32229. summary: 获取用户信息
  32230. tags:
  32231. - 用户信息
  32232. /User/QueryUserReferNum:
  32233. get:
  32234. parameters:
  32235. - description: 用户ID
  32236. in: query
  32237. name: userID
  32238. required: true
  32239. type: integer
  32240. produces:
  32241. - application/json
  32242. responses:
  32243. "200":
  32244. description: OK
  32245. schema:
  32246. $ref: '#/definitions/app.Response'
  32247. "500":
  32248. description: Internal Server Error
  32249. schema:
  32250. $ref: '#/definitions/app.Response'
  32251. summary: 获取用户邀请码
  32252. tags:
  32253. - 用户信息
  32254. /User/RemoveUserFavoriteGoods:
  32255. post:
  32256. parameters:
  32257. - description: 用户ID
  32258. in: query
  32259. name: userID
  32260. required: true
  32261. type: integer
  32262. - description: 商品ID
  32263. in: query
  32264. name: goodsID
  32265. required: true
  32266. type: integer
  32267. produces:
  32268. - application/json
  32269. responses:
  32270. "200":
  32271. description: OK
  32272. schema:
  32273. $ref: '#/definitions/app.Response'
  32274. "500":
  32275. description: Internal Server Error
  32276. schema:
  32277. $ref: '#/definitions/app.Response'
  32278. security:
  32279. - ApiKeyAuth: []
  32280. summary: 移除用户商品收藏信息
  32281. tags:
  32282. - 用户信息
  32283. /User/UpdateUserAccountStatus:
  32284. post:
  32285. parameters:
  32286. - description: 用户ID
  32287. in: query
  32288. name: userID
  32289. required: true
  32290. type: integer
  32291. - description: 账户状态 - 4:正常 6:注销(停用)
  32292. in: query
  32293. name: accountStatus
  32294. required: true
  32295. type: integer
  32296. produces:
  32297. - application/json
  32298. responses:
  32299. "200":
  32300. description: OK
  32301. schema:
  32302. $ref: '#/definitions/app.Response'
  32303. "500":
  32304. description: Internal Server Error
  32305. schema:
  32306. $ref: '#/definitions/app.Response'
  32307. security:
  32308. - ApiKeyAuth: []
  32309. summary: 更新用户状态
  32310. tags:
  32311. - 用户信息
  32312. /WRTrade/GetAllDeliveryGoods:
  32313. get:
  32314. produces:
  32315. - application/json
  32316. responses:
  32317. "200":
  32318. description: OK
  32319. schema:
  32320. $ref: '#/definitions/app.Response'
  32321. "500":
  32322. description: Internal Server Error
  32323. schema:
  32324. $ref: '#/definitions/app.Response'
  32325. security:
  32326. - ApiKeyAuth: []
  32327. summary: 获取带仓单分类的种类信息
  32328. tags:
  32329. - 仓单贸易
  32330. - 仓单贸易
  32331. /WrTrade2/InsertXhcpSellBackApply:
  32332. post:
  32333. parameters:
  32334. - description: 回收申请
  32335. in: body
  32336. name: jsonBody
  32337. required: true
  32338. schema:
  32339. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  32340. produces:
  32341. - application/json
  32342. responses:
  32343. "200":
  32344. description: OK
  32345. schema:
  32346. $ref: '#/definitions/app.Response'
  32347. "500":
  32348. description: Internal Server Error
  32349. schema:
  32350. $ref: '#/definitions/app.Response'
  32351. security:
  32352. - ApiKeyAuth: []
  32353. summary: 新增回收申请(新会陈皮)
  32354. tags:
  32355. - 仓单贸易v2
  32356. /WrTrade2/QueryDeliveryGoodsSection:
  32357. get:
  32358. produces:
  32359. - application/json
  32360. responses:
  32361. "200":
  32362. description: OK
  32363. schema:
  32364. items:
  32365. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  32366. type: array
  32367. "500":
  32368. description: Internal Server Error
  32369. schema:
  32370. $ref: '#/definitions/app.Response'
  32371. security:
  32372. - ApiKeyAuth: []
  32373. summary: 查询板块(分类)
  32374. tags:
  32375. - 仓单贸易v2
  32376. /WrTrade2/QueryFaProductDetail:
  32377. get:
  32378. description: 页面 买卖大厅 -> 选择融资方案
  32379. parameters:
  32380. - description: 仓单要素id
  32381. in: query
  32382. name: wrfactortypeid
  32383. required: true
  32384. type: integer
  32385. produces:
  32386. - application/json
  32387. responses:
  32388. "200":
  32389. description: OK
  32390. schema:
  32391. items:
  32392. $ref: '#/definitions/models.WrFAProductDetail'
  32393. type: array
  32394. "500":
  32395. description: Internal Server Error
  32396. schema:
  32397. $ref: '#/definitions/app.Response'
  32398. security:
  32399. - ApiKeyAuth: []
  32400. summary: 查询融资产品列表
  32401. tags:
  32402. - 仓单贸易v2
  32403. /WrTrade2/QueryFilterItem:
  32404. get:
  32405. parameters:
  32406. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  32407. in: query
  32408. name: itype
  32409. required: true
  32410. type: string
  32411. produces:
  32412. - application/json
  32413. responses:
  32414. "200":
  32415. description: OK
  32416. schema:
  32417. items:
  32418. $ref: '#/definitions/models.WrFilterItem'
  32419. type: array
  32420. "500":
  32421. description: Internal Server Error
  32422. schema:
  32423. $ref: '#/definitions/app.Response'
  32424. security:
  32425. - ApiKeyAuth: []
  32426. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  32427. tags:
  32428. - 仓单贸易v2
  32429. /WrTrade2/QueryFtDeliveryGoods:
  32430. get:
  32431. produces:
  32432. - application/json
  32433. responses:
  32434. "200":
  32435. description: OK
  32436. schema:
  32437. items:
  32438. $ref: '#/definitions/models.WrFtDeliveryGoods'
  32439. type: array
  32440. "500":
  32441. description: Internal Server Error
  32442. schema:
  32443. $ref: '#/definitions/app.Response'
  32444. security:
  32445. - ApiKeyAuth: []
  32446. summary: 查询品种品类筛选框列表
  32447. tags:
  32448. - 仓单贸易v2
  32449. /WrTrade2/QueryHoldLB:
  32450. get:
  32451. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  32452. parameters:
  32453. - description: 资金账号
  32454. in: query
  32455. name: accountid
  32456. required: true
  32457. type: integer
  32458. - description: 仓库id
  32459. in: query
  32460. name: warehouseid
  32461. type: integer
  32462. - description: 品种id
  32463. in: query
  32464. name: deliverygoodsid
  32465. type: integer
  32466. - description: 品类id
  32467. in: query
  32468. name: wrstandardid
  32469. type: integer
  32470. - description: 仓单要素id
  32471. in: query
  32472. name: wrfactortypeid
  32473. type: integer
  32474. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  32475. in: query
  32476. name: dgitemname
  32477. type: string
  32478. produces:
  32479. - application/json
  32480. responses:
  32481. "200":
  32482. description: OK
  32483. schema:
  32484. items:
  32485. $ref: '#/definitions/models.WrHoldLB'
  32486. type: array
  32487. "500":
  32488. description: Internal Server Error
  32489. schema:
  32490. $ref: '#/definitions/app.Response'
  32491. security:
  32492. - ApiKeyAuth: []
  32493. summary: 查询仓单持有记录
  32494. tags:
  32495. - 仓单贸易v2
  32496. /WrTrade2/QueryOrderQuote:
  32497. get:
  32498. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  32499. 唯一确定1条记录
  32500. parameters:
  32501. - description: 页码
  32502. in: query
  32503. name: page
  32504. type: integer
  32505. - description: 每页条数
  32506. in: query
  32507. name: pagesize
  32508. type: integer
  32509. - description: 仓单贸易市场id
  32510. in: query
  32511. name: marketid
  32512. type: integer
  32513. - description: 价格方式 - 1:固定价 2-浮动价
  32514. in: query
  32515. name: wrpricetype
  32516. required: true
  32517. type: integer
  32518. - description: 0:仓单预售 1:仓单贸易
  32519. in: query
  32520. name: haswr
  32521. type: integer
  32522. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  32523. in: query
  32524. name: dgitemname
  32525. type: string
  32526. - description: 仓库id(筛选条件)
  32527. in: query
  32528. name: warehouseid
  32529. type: integer
  32530. - description: 品种id
  32531. in: query
  32532. name: deliverygoodsid
  32533. type: integer
  32534. - description: 品类id
  32535. in: query
  32536. name: wrstandardid
  32537. type: integer
  32538. - description: 品牌id(dgfactoryitemid)
  32539. in: query
  32540. name: brandid
  32541. type: integer
  32542. - description: 年份id(dgfactoryitemid)
  32543. in: query
  32544. name: yearsid
  32545. type: integer
  32546. - description: 仓单要素id
  32547. in: query
  32548. name: wrfactortypeid
  32549. type: integer
  32550. - description: 交收月(yyyy-mm) 仓单预售填写
  32551. in: query
  32552. name: deliverymonth
  32553. type: string
  32554. produces:
  32555. - application/json
  32556. responses:
  32557. "200":
  32558. description: OK
  32559. schema:
  32560. items:
  32561. $ref: '#/definitions/models.WrOrderQuote'
  32562. type: array
  32563. "500":
  32564. description: Internal Server Error
  32565. schema:
  32566. $ref: '#/definitions/app.Response'
  32567. security:
  32568. - ApiKeyAuth: []
  32569. summary: 查询大厅行情列表
  32570. tags:
  32571. - 仓单贸易v2
  32572. /WrTrade2/QueryOrderQuoteDetail:
  32573. get:
  32574. parameters:
  32575. - description: 页码
  32576. in: query
  32577. name: page
  32578. type: integer
  32579. - description: 每页条数
  32580. in: query
  32581. name: pagesize
  32582. type: integer
  32583. - description: 仓单贸易市场id
  32584. in: query
  32585. name: marketid
  32586. type: integer
  32587. - description: 价格方式 - 1:固定价 2-浮动价
  32588. in: query
  32589. name: wrpricetype
  32590. required: true
  32591. type: integer
  32592. - description: 0:仓单预售 1:仓单贸易
  32593. in: query
  32594. name: haswr
  32595. type: integer
  32596. - description: 仓单要素id
  32597. in: query
  32598. name: wrfactortypeid
  32599. required: true
  32600. type: integer
  32601. - description: 期货商品id(浮动价方式时填)
  32602. in: query
  32603. name: goodsid
  32604. type: integer
  32605. - description: 买卖方向 0-买 1-卖
  32606. in: query
  32607. name: buyorsell
  32608. required: true
  32609. type: integer
  32610. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  32611. in: query
  32612. name: deliverymonth
  32613. type: string
  32614. produces:
  32615. - application/json
  32616. responses:
  32617. "200":
  32618. description: OK
  32619. schema:
  32620. items:
  32621. $ref: '#/definitions/models.WrOrderQuoteDetail'
  32622. type: array
  32623. "500":
  32624. description: Internal Server Error
  32625. schema:
  32626. $ref: '#/definitions/app.Response'
  32627. security:
  32628. - ApiKeyAuth: []
  32629. summary: 查询买卖大厅
  32630. tags:
  32631. - 仓单贸易v2
  32632. /WrTrade2/QueryOrderQuoteMyq:
  32633. get:
  32634. parameters:
  32635. - description: 页码
  32636. in: query
  32637. name: page
  32638. type: integer
  32639. - description: 每页条数
  32640. in: query
  32641. name: pagesize
  32642. type: integer
  32643. - description: 用户id
  32644. in: query
  32645. name: userid
  32646. required: true
  32647. type: integer
  32648. - description: 仓单贸易市场id
  32649. in: query
  32650. name: marketid
  32651. type: integer
  32652. - description: 0:仓单预售 1:仓单贸易
  32653. in: query
  32654. name: haswr
  32655. type: integer
  32656. - description: 买卖方向 0-买 1-卖
  32657. in: query
  32658. name: buyorsell
  32659. required: true
  32660. type: integer
  32661. - description: 品种id
  32662. in: query
  32663. name: deliverygoodsid
  32664. type: integer
  32665. - description: 品类id
  32666. in: query
  32667. name: wrstandardid
  32668. type: integer
  32669. - description: 交收月(yyyy-mm) 仓单预售填写
  32670. in: query
  32671. name: deliverymonth
  32672. type: string
  32673. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  32674. in: query
  32675. name: dgitemname
  32676. type: string
  32677. produces:
  32678. - application/json
  32679. responses:
  32680. "200":
  32681. description: OK
  32682. schema:
  32683. items:
  32684. $ref: '#/definitions/models.WrQuoteOrderMyq'
  32685. type: array
  32686. "500":
  32687. description: Internal Server Error
  32688. schema:
  32689. $ref: '#/definitions/app.Response'
  32690. security:
  32691. - ApiKeyAuth: []
  32692. summary: 查询贸易圈挂牌大厅
  32693. tags:
  32694. - 仓单贸易v2
  32695. /WrTrade2/QueryPerformancePlan:
  32696. get:
  32697. parameters:
  32698. - description: 用户id
  32699. in: query
  32700. name: userid
  32701. required: true
  32702. type: integer
  32703. - description: 买卖方向 0-买 1-卖
  32704. in: query
  32705. name: buyorsell
  32706. required: true
  32707. type: integer
  32708. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  32709. 8:释放冻结失败 9:超时待处理 10:超时关闭
  32710. in: query
  32711. name: status
  32712. type: string
  32713. - description: 开始交易日(yyyymmdd)
  32714. in: query
  32715. name: begindate
  32716. type: string
  32717. - description: 结束交易日(yyyymmdd)
  32718. in: query
  32719. name: enddate
  32720. type: string
  32721. produces:
  32722. - application/json
  32723. responses:
  32724. "200":
  32725. description: OK
  32726. schema:
  32727. items:
  32728. $ref: '#/definitions/models.WrPerformancePlan'
  32729. type: array
  32730. "500":
  32731. description: Internal Server Error
  32732. schema:
  32733. $ref: '#/definitions/app.Response'
  32734. security:
  32735. - ApiKeyAuth: []
  32736. summary: 查询履约信息
  32737. tags:
  32738. - 仓单贸易v2
  32739. /WrTrade2/QueryPermancePlanTmp:
  32740. get:
  32741. description: |-
  32742. 返回指定用户的模板和公共模板(用户id为空)
  32743. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  32744. parameters:
  32745. - description: 用户id
  32746. in: query
  32747. name: userid
  32748. type: integer
  32749. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  32750. (无仓单) 5:挂牌期权 6:竞拍-降价式
  32751. in: query
  32752. name: tmptype
  32753. type: string
  32754. - description: 是否包含公共模板(用户id为空的) 1-包含
  32755. in: query
  32756. name: includepub
  32757. type: integer
  32758. - description: 市场id(天津麦顿指定此参数,其它不用)
  32759. in: query
  32760. name: marketid
  32761. type: integer
  32762. produces:
  32763. - application/json
  32764. responses:
  32765. "200":
  32766. description: OK
  32767. schema:
  32768. items:
  32769. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  32770. type: array
  32771. "500":
  32772. description: Internal Server Error
  32773. schema:
  32774. $ref: '#/definitions/app.Response'
  32775. security:
  32776. - ApiKeyAuth: []
  32777. summary: 查询履约模板
  32778. tags:
  32779. - 仓单贸易v2
  32780. /WrTrade2/QuerySiteColumnDetail:
  32781. get:
  32782. parameters:
  32783. - description: 页码
  32784. in: query
  32785. name: page
  32786. type: integer
  32787. - description: 每页条数
  32788. in: query
  32789. name: pagesize
  32790. type: integer
  32791. - description: 所属栏目id
  32792. in: query
  32793. name: columnid
  32794. type: integer
  32795. produces:
  32796. - application/json
  32797. responses:
  32798. "200":
  32799. description: OK
  32800. schema:
  32801. items:
  32802. $ref: '#/definitions/models.WrSiteColumnDetail'
  32803. type: array
  32804. "500":
  32805. description: Internal Server Error
  32806. schema:
  32807. $ref: '#/definitions/app.Response'
  32808. security:
  32809. - ApiKeyAuth: []
  32810. summary: 查询资讯
  32811. tags:
  32812. - 仓单贸易v2
  32813. /WrTrade2/QuerySpotGroupTradeSum:
  32814. get:
  32815. produces:
  32816. - application/json
  32817. responses:
  32818. "200":
  32819. description: OK
  32820. schema:
  32821. items:
  32822. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  32823. type: array
  32824. "500":
  32825. description: Internal Server Error
  32826. schema:
  32827. $ref: '#/definitions/app.Response'
  32828. security:
  32829. - ApiKeyAuth: []
  32830. summary: 查询指数
  32831. tags:
  32832. - 仓单贸易v2
  32833. /WrTrade2/QuerySpotGroupTradeSumDetail:
  32834. get:
  32835. description: 查询的结果将会按日期 从小到大 排序
  32836. parameters:
  32837. - description: 现货商品id
  32838. in: query
  32839. name: deliverygoodsid
  32840. required: true
  32841. type: integer
  32842. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  32843. in: query
  32844. name: lastnum
  32845. type: integer
  32846. produces:
  32847. - application/json
  32848. responses:
  32849. "200":
  32850. description: OK
  32851. schema:
  32852. items:
  32853. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  32854. type: array
  32855. "500":
  32856. description: Internal Server Error
  32857. schema:
  32858. $ref: '#/definitions/app.Response'
  32859. security:
  32860. - ApiKeyAuth: []
  32861. summary: 查询指数详细(价格走势图)
  32862. tags:
  32863. - 仓单贸易v2
  32864. /WrTrade2/QueryWrAverageTradePrice:
  32865. get:
  32866. parameters:
  32867. - description: 页码
  32868. in: query
  32869. name: page
  32870. type: integer
  32871. - description: 每页条数
  32872. in: query
  32873. name: pagesize
  32874. type: integer
  32875. - description: 0:仓单预售 1:仓单贸易
  32876. in: query
  32877. name: haswr
  32878. required: true
  32879. type: integer
  32880. - description: 仓单要素id
  32881. in: query
  32882. name: wrfactortypeid
  32883. required: true
  32884. type: integer
  32885. produces:
  32886. - application/json
  32887. responses:
  32888. "200":
  32889. description: OK
  32890. schema:
  32891. items:
  32892. $ref: '#/definitions/models.WrAverageTradePrice'
  32893. type: array
  32894. "500":
  32895. description: Internal Server Error
  32896. schema:
  32897. $ref: '#/definitions/app.Response'
  32898. security:
  32899. - ApiKeyAuth: []
  32900. summary: 查询成交价(历史走势)
  32901. tags:
  32902. - 仓单贸易v2
  32903. /WrTrade2/QueryWrBrandAndYears:
  32904. get:
  32905. produces:
  32906. - application/json
  32907. responses:
  32908. "200":
  32909. description: OK
  32910. schema:
  32911. items:
  32912. $ref: '#/definitions/models.WrBrandAndYears'
  32913. type: array
  32914. "500":
  32915. description: Internal Server Error
  32916. schema:
  32917. $ref: '#/definitions/app.Response'
  32918. security:
  32919. - ApiKeyAuth: []
  32920. summary: 查询品牌和年份
  32921. tags:
  32922. - 仓单贸易v2
  32923. /WrTrade2/QueryWrBsGoodsInfo:
  32924. get:
  32925. description: 合约交易/买卖大厅/详情
  32926. parameters:
  32927. - description: 商品id
  32928. in: query
  32929. name: goodsid
  32930. required: true
  32931. type: integer
  32932. produces:
  32933. - application/json
  32934. responses:
  32935. "200":
  32936. description: OK
  32937. schema:
  32938. items:
  32939. $ref: '#/definitions/models.WrBsGoodsInfo'
  32940. type: array
  32941. "500":
  32942. description: Internal Server Error
  32943. schema:
  32944. $ref: '#/definitions/app.Response'
  32945. security:
  32946. - ApiKeyAuth: []
  32947. summary: 查询合约交易买卖大厅详情
  32948. tags:
  32949. - 仓单贸易v2
  32950. /WrTrade2/QueryWrBuybackDetail:
  32951. get:
  32952. parameters:
  32953. - description: 融资合同id
  32954. in: query
  32955. name: scfcontractid
  32956. type: integer
  32957. produces:
  32958. - application/json
  32959. responses:
  32960. "200":
  32961. description: OK
  32962. schema:
  32963. items:
  32964. $ref: '#/definitions/models.WrBuybackDetail'
  32965. type: array
  32966. "500":
  32967. description: Internal Server Error
  32968. schema:
  32969. $ref: '#/definitions/app.Response'
  32970. security:
  32971. - ApiKeyAuth: []
  32972. summary: 查询仓单回购明细
  32973. tags:
  32974. - 仓单贸易v2
  32975. /WrTrade2/QueryWrClientAdSpaceConfig:
  32976. get:
  32977. produces:
  32978. - application/json
  32979. responses:
  32980. "200":
  32981. description: OK
  32982. schema:
  32983. items:
  32984. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  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/QueryWrDeliveryAvalidHoldLB:
  32996. get:
  32997. parameters:
  32998. - description: 资金账号
  32999. in: query
  33000. name: accountid
  33001. required: true
  33002. type: integer
  33003. - description: 商品id
  33004. in: query
  33005. name: goodsid
  33006. required: true
  33007. type: integer
  33008. produces:
  33009. - application/json
  33010. responses:
  33011. "200":
  33012. description: OK
  33013. schema:
  33014. items:
  33015. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  33016. type: array
  33017. "500":
  33018. description: Internal Server Error
  33019. schema:
  33020. $ref: '#/definitions/app.Response'
  33021. security:
  33022. - ApiKeyAuth: []
  33023. summary: 查询合约交收可点选仓单
  33024. tags:
  33025. - 仓单贸易v2
  33026. /WrTrade2/QueryWrDeliveryDetail:
  33027. get:
  33028. parameters:
  33029. - description: 用户id
  33030. in: query
  33031. name: userid
  33032. required: true
  33033. type: integer
  33034. - description: 资金账号id
  33035. in: query
  33036. name: accountid
  33037. type: integer
  33038. - description: 开始交易日(yyyymmdd)
  33039. in: query
  33040. name: begindate
  33041. type: string
  33042. - description: 结束交易日(yyyymmdd)
  33043. in: query
  33044. name: enddate
  33045. type: string
  33046. produces:
  33047. - application/json
  33048. responses:
  33049. "200":
  33050. description: OK
  33051. schema:
  33052. items:
  33053. $ref: '#/definitions/models.WrDeliveryDetail'
  33054. type: array
  33055. "500":
  33056. description: Internal Server Error
  33057. schema:
  33058. $ref: '#/definitions/app.Response'
  33059. security:
  33060. - ApiKeyAuth: []
  33061. summary: 查询交收
  33062. tags:
  33063. - 仓单贸易v2
  33064. /WrTrade2/QueryWrDraftUserInfo:
  33065. get:
  33066. parameters:
  33067. - description: 用户ID
  33068. in: query
  33069. name: userid
  33070. required: true
  33071. type: integer
  33072. - description: 用户状态 1:正常 2:注销
  33073. in: query
  33074. name: userstatus
  33075. type: integer
  33076. produces:
  33077. - application/json
  33078. responses:
  33079. "200":
  33080. description: OK
  33081. schema:
  33082. items:
  33083. $ref: '#/definitions/models.WrDraftUserInfo'
  33084. type: array
  33085. "500":
  33086. description: Internal Server Error
  33087. schema:
  33088. $ref: '#/definitions/app.Response'
  33089. security:
  33090. - ApiKeyAuth: []
  33091. summary: 查询实名认证信息
  33092. tags:
  33093. - 仓单贸易v2
  33094. /WrTrade2/QueryWrFactorTypeInfo:
  33095. get:
  33096. parameters:
  33097. - description: 仓单要素id
  33098. in: query
  33099. name: wrfactortypeid
  33100. required: true
  33101. type: integer
  33102. produces:
  33103. - application/json
  33104. responses:
  33105. "200":
  33106. description: OK
  33107. schema:
  33108. items:
  33109. $ref: '#/definitions/models.WrFactorTypeInfo'
  33110. type: array
  33111. "500":
  33112. description: Internal Server Error
  33113. schema:
  33114. $ref: '#/definitions/app.Response'
  33115. security:
  33116. - ApiKeyAuth: []
  33117. summary: 查询仓单要素详细信息
  33118. tags:
  33119. - 仓单贸易v2
  33120. /WrTrade2/QueryWrFactorTypeInfoEx:
  33121. get:
  33122. parameters:
  33123. - description: 仓单要素id
  33124. in: query
  33125. name: wrfactortypeid
  33126. required: true
  33127. type: integer
  33128. produces:
  33129. - application/json
  33130. responses:
  33131. "200":
  33132. description: OK
  33133. schema:
  33134. items:
  33135. $ref: '#/definitions/models.WrTypeItem'
  33136. type: array
  33137. "500":
  33138. description: Internal Server Error
  33139. schema:
  33140. $ref: '#/definitions/app.Response'
  33141. security:
  33142. - ApiKeyAuth: []
  33143. summary: 查询仓单要素详细信息列表项
  33144. tags:
  33145. - 仓单贸易v2
  33146. /WrTrade2/QueryWrFinanceBuyApply:
  33147. get:
  33148. description: 页面 融资信息+ / 申请单
  33149. parameters:
  33150. - description: 用户id
  33151. in: query
  33152. name: userid
  33153. required: true
  33154. type: integer
  33155. produces:
  33156. - application/json
  33157. responses:
  33158. "200":
  33159. description: OK
  33160. schema:
  33161. items:
  33162. $ref: '#/definitions/models.WrFinanceBuyApply'
  33163. type: array
  33164. "500":
  33165. description: Internal Server Error
  33166. schema:
  33167. $ref: '#/definitions/app.Response'
  33168. security:
  33169. - ApiKeyAuth: []
  33170. summary: 查询融资购买申请
  33171. tags:
  33172. - 仓单贸易v2
  33173. /WrTrade2/QueryWrFriendApply:
  33174. get:
  33175. parameters:
  33176. - description: 用户id
  33177. in: query
  33178. name: userid
  33179. required: true
  33180. type: integer
  33181. produces:
  33182. - application/json
  33183. responses:
  33184. "200":
  33185. description: OK
  33186. schema:
  33187. items:
  33188. $ref: '#/definitions/models.WrFriendApply'
  33189. type: array
  33190. "500":
  33191. description: Internal Server Error
  33192. schema:
  33193. $ref: '#/definitions/app.Response'
  33194. security:
  33195. - ApiKeyAuth: []
  33196. summary: 查询好友申请记录
  33197. tags:
  33198. - 仓单贸易v2
  33199. /WrTrade2/QueryWrGoodsInfo:
  33200. get:
  33201. parameters:
  33202. - description: 仓单贸易市场id
  33203. in: query
  33204. name: marketid
  33205. type: integer
  33206. - description: 0:仓单预售 1:仓单贸易
  33207. in: query
  33208. name: haswr
  33209. required: true
  33210. type: integer
  33211. - description: 仓单要素id
  33212. in: query
  33213. name: wrfactortypeid
  33214. required: true
  33215. type: integer
  33216. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  33217. in: query
  33218. name: tmplateid
  33219. type: integer
  33220. produces:
  33221. - application/json
  33222. responses:
  33223. "200":
  33224. description: OK
  33225. schema:
  33226. items:
  33227. $ref: '#/definitions/models.WrGoodsInfo'
  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/QueryWrMarketTradeConfig:
  33239. get:
  33240. parameters:
  33241. - description: 市场id
  33242. in: query
  33243. name: marketid
  33244. type: integer
  33245. produces:
  33246. - application/json
  33247. responses:
  33248. "200":
  33249. description: OK
  33250. schema:
  33251. items:
  33252. $ref: '#/definitions/models.WrMarketTradeConfig'
  33253. type: array
  33254. "500":
  33255. description: Internal Server Error
  33256. schema:
  33257. $ref: '#/definitions/app.Response'
  33258. security:
  33259. - ApiKeyAuth: []
  33260. summary: 查询市场交易参数配置
  33261. tags:
  33262. - 仓单贸易v2
  33263. /WrTrade2/QueryWrOrderDetail:
  33264. get:
  33265. description: 页面 现货仓单 | 预售仓单 -> 委托单
  33266. parameters:
  33267. - description: 页码
  33268. in: query
  33269. name: page
  33270. type: integer
  33271. - description: 每页条数
  33272. in: query
  33273. name: pagesize
  33274. type: integer
  33275. - description: 用户id
  33276. in: query
  33277. name: userid
  33278. required: true
  33279. type: integer
  33280. - description: 仓单贸易市场id
  33281. in: query
  33282. name: marketid
  33283. type: integer
  33284. - description: 0:仓单预售 1:仓单贸易
  33285. in: query
  33286. name: haswr
  33287. required: true
  33288. type: integer
  33289. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  33290. in: query
  33291. name: bcancel
  33292. type: integer
  33293. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  33294. in: query
  33295. name: wrtradetype
  33296. type: integer
  33297. - description: 开始交易日(yyyymmdd)
  33298. in: query
  33299. name: begindate
  33300. type: string
  33301. - description: 结束交易日(yyyymmdd)
  33302. in: query
  33303. name: enddate
  33304. type: string
  33305. produces:
  33306. - application/json
  33307. responses:
  33308. "200":
  33309. description: OK
  33310. schema:
  33311. items:
  33312. $ref: '#/definitions/models.WrOrderDetail'
  33313. type: array
  33314. "500":
  33315. description: Internal Server Error
  33316. schema:
  33317. $ref: '#/definitions/app.Response'
  33318. security:
  33319. - ApiKeyAuth: []
  33320. summary: 查询仓单委托单
  33321. tags:
  33322. - 仓单贸易v2
  33323. /WrTrade2/QueryWrOutInApply:
  33324. get:
  33325. parameters:
  33326. - description: 页码
  33327. in: query
  33328. name: page
  33329. type: integer
  33330. - description: 每页条数
  33331. in: query
  33332. name: pagesize
  33333. type: integer
  33334. - description: 用户id
  33335. in: query
  33336. name: userid
  33337. required: true
  33338. type: integer
  33339. - description: 开始交易日(yyyymmdd)
  33340. in: query
  33341. name: begindate
  33342. type: string
  33343. - description: 结束交易日(yyyymmdd)
  33344. in: query
  33345. name: enddate
  33346. type: string
  33347. produces:
  33348. - application/json
  33349. responses:
  33350. "200":
  33351. description: OK
  33352. schema:
  33353. items:
  33354. $ref: '#/definitions/models.WrOutInApply'
  33355. type: array
  33356. "500":
  33357. description: Internal Server Error
  33358. schema:
  33359. $ref: '#/definitions/app.Response'
  33360. security:
  33361. - ApiKeyAuth: []
  33362. summary: 查询提货申请
  33363. tags:
  33364. - 仓单贸易v2
  33365. /WrTrade2/QueryWrPerformancePlanStep:
  33366. get:
  33367. parameters:
  33368. - description: 履约计划id(performanceplanid)
  33369. in: query
  33370. name: planid
  33371. required: true
  33372. type: integer
  33373. - description: 当前步骤id
  33374. in: query
  33375. name: curstepid
  33376. type: integer
  33377. produces:
  33378. - application/json
  33379. responses:
  33380. "200":
  33381. description: OK
  33382. schema:
  33383. items:
  33384. $ref: '#/definitions/models.WrPerformancePlanStep'
  33385. type: array
  33386. "500":
  33387. description: Internal Server Error
  33388. schema:
  33389. $ref: '#/definitions/app.Response'
  33390. security:
  33391. - ApiKeyAuth: []
  33392. summary: 查询履约信息详情
  33393. tags:
  33394. - 仓单贸易v2
  33395. /WrTrade2/QueryWrPerformanceStepType:
  33396. get:
  33397. produces:
  33398. - application/json
  33399. responses:
  33400. "200":
  33401. description: OK
  33402. schema:
  33403. items:
  33404. $ref: '#/definitions/models.WrPerformanceStepType'
  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/QueryWrPosition:
  33416. get:
  33417. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  33418. parameters:
  33419. - description: 用户id
  33420. in: query
  33421. name: userid
  33422. required: true
  33423. type: integer
  33424. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  33425. in: query
  33426. name: querytype
  33427. required: true
  33428. type: integer
  33429. - description: 0:仓单预售 1:仓单贸易
  33430. in: query
  33431. name: haswr
  33432. required: true
  33433. type: integer
  33434. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  33435. in: query
  33436. name: dgitemname
  33437. type: string
  33438. - description: 仓库id(筛选条件)
  33439. in: query
  33440. name: warehouseid
  33441. type: integer
  33442. - description: 品种id
  33443. in: query
  33444. name: deliverygoodsid
  33445. type: integer
  33446. - description: 品类id
  33447. in: query
  33448. name: wrstandardid
  33449. type: integer
  33450. produces:
  33451. - application/json
  33452. responses:
  33453. "200":
  33454. description: OK
  33455. schema:
  33456. items:
  33457. $ref: '#/definitions/models.WrPosition'
  33458. type: array
  33459. "500":
  33460. description: Internal Server Error
  33461. schema:
  33462. $ref: '#/definitions/app.Response'
  33463. security:
  33464. - ApiKeyAuth: []
  33465. summary: 查询现货(预售)仓单持仓
  33466. tags:
  33467. - 仓单贸易v2
  33468. /WrTrade2/QueryWrPreSaleInfo:
  33469. get:
  33470. parameters:
  33471. - description: 市场id
  33472. in: query
  33473. name: marketid
  33474. type: integer
  33475. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  33476. in: query
  33477. name: presalestatus
  33478. type: string
  33479. - description: 摇号标识 - 0:未摇号 1:已摇号
  33480. in: query
  33481. name: lotteryflag
  33482. type: integer
  33483. - description: 最近多少条记录(按创建时间倒序)
  33484. in: query
  33485. name: lastnum
  33486. type: integer
  33487. produces:
  33488. - application/json
  33489. responses:
  33490. "200":
  33491. description: OK
  33492. schema:
  33493. items:
  33494. $ref: '#/definitions/models.WrPreSaleInfo'
  33495. type: array
  33496. "500":
  33497. description: Internal Server Error
  33498. schema:
  33499. $ref: '#/definitions/app.Response'
  33500. security:
  33501. - ApiKeyAuth: []
  33502. summary: 查询新品发布
  33503. tags:
  33504. - 仓单贸易v2
  33505. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  33506. get:
  33507. parameters:
  33508. - description: 市场id
  33509. in: query
  33510. name: marketid
  33511. required: true
  33512. type: integer
  33513. - description: 现货商品id
  33514. in: query
  33515. name: wrstandardid
  33516. required: true
  33517. type: integer
  33518. - description: 开始交易日(yyyymmdd)
  33519. in: query
  33520. name: begindate
  33521. type: string
  33522. - description: 结束交易日(yyyymmdd)
  33523. in: query
  33524. name: enddate
  33525. type: string
  33526. - description: 最近多少条记录(按交易日倒序)
  33527. in: query
  33528. name: lastnum
  33529. type: integer
  33530. - description: 是否今日
  33531. in: query
  33532. name: istoday
  33533. type: boolean
  33534. produces:
  33535. - application/json
  33536. responses:
  33537. "200":
  33538. description: OK
  33539. schema:
  33540. items:
  33541. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  33542. type: array
  33543. "500":
  33544. description: Internal Server Error
  33545. schema:
  33546. $ref: '#/definitions/app.Response'
  33547. security:
  33548. - ApiKeyAuth: []
  33549. summary: 查询价格走势
  33550. tags:
  33551. - 仓单贸易v2
  33552. /WrTrade2/QueryWrScfContract:
  33553. get:
  33554. parameters:
  33555. - description: 用户id
  33556. in: query
  33557. name: userid
  33558. required: true
  33559. type: integer
  33560. - description: 融资合同id
  33561. in: query
  33562. name: scfcontractid
  33563. type: integer
  33564. produces:
  33565. - application/json
  33566. responses:
  33567. "200":
  33568. description: OK
  33569. schema:
  33570. items:
  33571. $ref: '#/definitions/models.WrScfContract'
  33572. type: array
  33573. "500":
  33574. description: Internal Server Error
  33575. schema:
  33576. $ref: '#/definitions/app.Response'
  33577. security:
  33578. - ApiKeyAuth: []
  33579. summary: 查询仓单贸易融资合同
  33580. tags:
  33581. - 仓单贸易v2
  33582. /WrTrade2/QueryWrScfContractInterest:
  33583. get:
  33584. parameters:
  33585. - description: 融资合同id
  33586. in: query
  33587. name: scfcontractid
  33588. type: integer
  33589. produces:
  33590. - application/json
  33591. responses:
  33592. "200":
  33593. description: OK
  33594. schema:
  33595. items:
  33596. $ref: '#/definitions/models.WrScfContractInterest'
  33597. type: array
  33598. "500":
  33599. description: Internal Server Error
  33600. schema:
  33601. $ref: '#/definitions/app.Response'
  33602. security:
  33603. - ApiKeyAuth: []
  33604. summary: 查询融资合同费用明细
  33605. tags:
  33606. - 仓单贸易v2
  33607. /WrTrade2/QueryWrSearchUser:
  33608. get:
  33609. parameters:
  33610. - description: 用户名称(模糊匹配)
  33611. in: query
  33612. name: username
  33613. required: true
  33614. type: string
  33615. produces:
  33616. - application/json
  33617. responses:
  33618. "200":
  33619. description: OK
  33620. schema:
  33621. items:
  33622. $ref: '#/definitions/models.WrSearchUser'
  33623. type: array
  33624. "500":
  33625. description: Internal Server Error
  33626. schema:
  33627. $ref: '#/definitions/app.Response'
  33628. security:
  33629. - ApiKeyAuth: []
  33630. summary: 查询用户
  33631. tags:
  33632. - 仓单贸易v2
  33633. /WrTrade2/QueryWrSpecialMatchOrder:
  33634. get:
  33635. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  33636. parameters:
  33637. - description: 页码
  33638. in: query
  33639. name: page
  33640. type: integer
  33641. - description: 每页条数
  33642. in: query
  33643. name: pagesize
  33644. type: integer
  33645. - description: 用户id
  33646. in: query
  33647. name: userid
  33648. required: true
  33649. type: integer
  33650. - description: 仓单贸易市场id
  33651. in: query
  33652. name: marketid
  33653. type: integer
  33654. - description: 0:仓单预售 1:仓单贸易
  33655. in: query
  33656. name: haswr
  33657. required: true
  33658. type: integer
  33659. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  33660. in: query
  33661. name: isspecified
  33662. type: integer
  33663. produces:
  33664. - application/json
  33665. responses:
  33666. "200":
  33667. description: OK
  33668. schema:
  33669. items:
  33670. $ref: '#/definitions/models.WrSpecialMatchOrder'
  33671. type: array
  33672. "500":
  33673. description: Internal Server Error
  33674. schema:
  33675. $ref: '#/definitions/app.Response'
  33676. security:
  33677. - ApiKeyAuth: []
  33678. summary: 查询指定成交
  33679. tags:
  33680. - 仓单贸易v2
  33681. /WrTrade2/QueryWrStandardFactoryItem:
  33682. get:
  33683. parameters:
  33684. - description: 品类id
  33685. in: query
  33686. name: wrstandardid
  33687. required: true
  33688. type: integer
  33689. produces:
  33690. - application/json
  33691. responses:
  33692. "200":
  33693. description: OK
  33694. schema:
  33695. items:
  33696. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  33697. type: array
  33698. "500":
  33699. description: Internal Server Error
  33700. schema:
  33701. $ref: '#/definitions/app.Response'
  33702. security:
  33703. - ApiKeyAuth: []
  33704. summary: 查询品类要素定义项
  33705. tags:
  33706. - 仓单贸易v2
  33707. /WrTrade2/QueryWrTradeBargainApply:
  33708. get:
  33709. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  33710. 议价->对方议价 填写matchuserid=登录用户id
  33711. parameters:
  33712. - description: 议价人id(摘牌方)
  33713. in: query
  33714. name: userid
  33715. type: integer
  33716. - description: 挂牌方id(查对方议价时,填写此项)
  33717. in: query
  33718. name: matchuserid
  33719. type: integer
  33720. - description: 关联委托单id
  33721. in: query
  33722. name: wrtradeorderid
  33723. type: integer
  33724. - description: 0:仓单预售 1:仓单贸易
  33725. in: query
  33726. name: haswr
  33727. required: true
  33728. type: integer
  33729. - description: 开始交易日(yyyymmdd)
  33730. in: query
  33731. name: begindate
  33732. type: string
  33733. - description: 结束交易日(yyyymmdd)
  33734. in: query
  33735. name: enddate
  33736. type: string
  33737. produces:
  33738. - application/json
  33739. responses:
  33740. "200":
  33741. description: OK
  33742. schema:
  33743. items:
  33744. $ref: '#/definitions/models.WRTradeBargainApply'
  33745. type: array
  33746. "500":
  33747. description: Internal Server Error
  33748. schema:
  33749. $ref: '#/definitions/app.Response'
  33750. security:
  33751. - ApiKeyAuth: []
  33752. summary: 查询议价单
  33753. tags:
  33754. - 仓单贸易v2
  33755. /WrTrade2/QueryWrTradeDetail:
  33756. get:
  33757. parameters:
  33758. - description: 页码
  33759. in: query
  33760. name: page
  33761. type: integer
  33762. - description: 每页条数
  33763. in: query
  33764. name: pagesize
  33765. type: integer
  33766. - description: 用户id
  33767. in: query
  33768. name: userid
  33769. required: true
  33770. type: integer
  33771. - description: 仓单贸易市场id
  33772. in: query
  33773. name: marketid
  33774. type: integer
  33775. - description: 0:仓单预售 1:仓单贸易
  33776. in: query
  33777. name: haswr
  33778. required: true
  33779. type: integer
  33780. - description: 开始交易日(yyyymmdd)
  33781. in: query
  33782. name: begindate
  33783. type: string
  33784. - description: 结束交易日(yyyymmdd)
  33785. in: query
  33786. name: enddate
  33787. type: string
  33788. produces:
  33789. - application/json
  33790. responses:
  33791. "200":
  33792. description: OK
  33793. schema:
  33794. items:
  33795. $ref: '#/definitions/models.WrTradeDetail'
  33796. type: array
  33797. "500":
  33798. description: Internal Server Error
  33799. schema:
  33800. $ref: '#/definitions/app.Response'
  33801. security:
  33802. - ApiKeyAuth: []
  33803. summary: 查询仓单成交明细
  33804. tags:
  33805. - 仓单贸易v2
  33806. /WrTrade2/QueryWrTradeOrderDetail:
  33807. get:
  33808. parameters:
  33809. - description: 页码
  33810. in: query
  33811. name: page
  33812. type: integer
  33813. - description: 每页条数
  33814. in: query
  33815. name: pagesize
  33816. type: integer
  33817. - description: 商品id
  33818. in: query
  33819. name: goodsid
  33820. required: true
  33821. type: integer
  33822. - description: 买卖方向 0-买 1-卖
  33823. in: query
  33824. name: buyorsell
  33825. required: true
  33826. type: integer
  33827. produces:
  33828. - application/json
  33829. responses:
  33830. "200":
  33831. description: OK
  33832. schema:
  33833. items:
  33834. $ref: '#/definitions/models.WrTradeOrderDetail'
  33835. type: array
  33836. "500":
  33837. description: Internal Server Error
  33838. schema:
  33839. $ref: '#/definitions/app.Response'
  33840. security:
  33841. - ApiKeyAuth: []
  33842. summary: 查询合约交易买卖大厅
  33843. tags:
  33844. - 仓单贸易v2
  33845. /WrTrade2/QueryWrTradeQuote:
  33846. get:
  33847. parameters:
  33848. - description: 现货商品id
  33849. in: query
  33850. name: wrstandardid
  33851. required: true
  33852. type: integer
  33853. - description: 开始日期(yyyymmdd)
  33854. in: query
  33855. name: begindate
  33856. required: true
  33857. type: string
  33858. - description: 结束日期(yyyymmdd)
  33859. in: query
  33860. name: enddate
  33861. required: true
  33862. type: string
  33863. - description: 市场id
  33864. in: query
  33865. name: marketid
  33866. type: integer
  33867. produces:
  33868. - application/json
  33869. responses:
  33870. "200":
  33871. description: OK
  33872. schema:
  33873. items:
  33874. $ref: '#/definitions/models.Wrtradetradequote'
  33875. type: array
  33876. "500":
  33877. description: Internal Server Error
  33878. schema:
  33879. $ref: '#/definitions/app.Response'
  33880. security:
  33881. - ApiKeyAuth: []
  33882. summary: 查询仓单贸易成交行情
  33883. tags:
  33884. - 仓单贸易v2
  33885. /WrTrade2/QueryWrUserFriend:
  33886. get:
  33887. parameters:
  33888. - description: 用户id
  33889. in: query
  33890. name: userid
  33891. required: true
  33892. type: integer
  33893. - description: 新朋友userid, 如果填写了此项则查找新朋友
  33894. in: query
  33895. name: newuserid
  33896. type: integer
  33897. produces:
  33898. - application/json
  33899. responses:
  33900. "200":
  33901. description: OK
  33902. schema:
  33903. items:
  33904. $ref: '#/definitions/models.WrUserFriend'
  33905. type: array
  33906. "500":
  33907. description: Internal Server Error
  33908. schema:
  33909. $ref: '#/definitions/app.Response'
  33910. security:
  33911. - ApiKeyAuth: []
  33912. summary: 查询我的朋友
  33913. tags:
  33914. - 仓单贸易v2
  33915. /WrTrade2/QueryWrUserReceiptInfo:
  33916. get:
  33917. parameters:
  33918. - description: 用户id
  33919. in: query
  33920. name: userid
  33921. type: integer
  33922. - description: 发票类型 - 1:个人 2:企业
  33923. in: query
  33924. name: receipttype
  33925. type: integer
  33926. produces:
  33927. - application/json
  33928. responses:
  33929. "200":
  33930. description: OK
  33931. schema:
  33932. items:
  33933. $ref: '#/definitions/models.WrUserReceiptInfo'
  33934. type: array
  33935. "500":
  33936. description: Internal Server Error
  33937. schema:
  33938. $ref: '#/definitions/app.Response'
  33939. security:
  33940. - ApiKeyAuth: []
  33941. summary: 查询发票信息
  33942. tags:
  33943. - 仓单贸易v2
  33944. /WrTrade2/QueryXhcpSellBackApply:
  33945. get:
  33946. parameters:
  33947. - description: 用户ID
  33948. in: query
  33949. name: userid
  33950. required: true
  33951. type: integer
  33952. produces:
  33953. - application/json
  33954. responses:
  33955. "200":
  33956. description: OK
  33957. schema:
  33958. items:
  33959. $ref: '#/definitions/models.Xhcpsellbackapply'
  33960. type: array
  33961. "500":
  33962. description: Internal Server Error
  33963. schema:
  33964. $ref: '#/definitions/app.Response'
  33965. security:
  33966. - ApiKeyAuth: []
  33967. summary: 查询我的回收申请(新会陈皮)
  33968. tags:
  33969. - 仓单贸易v2
  33970. /ZJ/GetBankTip:
  33971. get:
  33972. produces:
  33973. - application/json
  33974. responses:
  33975. "200":
  33976. description: OK
  33977. schema:
  33978. type: string
  33979. "500":
  33980. description: Internal Server Error
  33981. schema:
  33982. $ref: '#/definitions/app.Response'
  33983. summary: 获取中江网银端出入金提示信息
  33984. tags:
  33985. - 中江
  33986. /ZJ/GetCusBankChannels:
  33987. get:
  33988. produces:
  33989. - application/json
  33990. responses:
  33991. "200":
  33992. description: OK
  33993. schema:
  33994. items:
  33995. type: string
  33996. type: array
  33997. "500":
  33998. description: Internal Server Error
  33999. schema:
  34000. $ref: '#/definitions/app.Response'
  34001. summary: 获取中江出入金渠道显示列表
  34002. tags:
  34003. - 中江
  34004. securityDefinitions:
  34005. ApiKeyAuth:
  34006. in: header
  34007. name: Authorization
  34008. type: apiKey
  34009. Group:
  34010. in: header
  34011. name: Group
  34012. type: apiKey
  34013. LoginID:
  34014. in: header
  34015. name: LoginID
  34016. type: apiKey
  34017. swagger: "2.0"