swagger.yaml 978 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278
  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. chg:
  9649. description: 涨跌幅
  9650. type: string
  9651. currencyid:
  9652. description: 报价货币ID
  9653. type: integer
  9654. deliverygoodsid:
  9655. description: 现货品种ID
  9656. type: integer
  9657. prespotgoodsprice:
  9658. description: 上日价格
  9659. type: number
  9660. spotgoodsbrandid:
  9661. description: 现货品牌ID(通用则为0, 不为0则须先有商品ID)
  9662. type: integer
  9663. spotgoodsprice:
  9664. description: 【最新价】当前价格
  9665. type: number
  9666. srcmarketname:
  9667. description: 来源市场名称
  9668. type: string
  9669. todaypricedtotalamount:
  9670. description: 今日定价金额
  9671. type: number
  9672. todaypricedtotalqty:
  9673. description: 今日定价总量
  9674. type: number
  9675. todayspotgoodsprice:
  9676. description: 今日指定价
  9677. type: number
  9678. tradedate:
  9679. description: 【日期】交易日
  9680. type: string
  9681. wrstandardcode:
  9682. description: 现货商品代码
  9683. type: string
  9684. wrstandardid:
  9685. description: 现货商品ID(通用则为0)
  9686. type: integer
  9687. wrstandardname:
  9688. description: 【名称】现货商品名称
  9689. type: string
  9690. ystspotgoodsprice:
  9691. description: 昨价
  9692. type: number
  9693. type: object
  9694. models.GThjuserscorelog:
  9695. properties:
  9696. createtime:
  9697. description: 记账时间
  9698. type: string
  9699. redpacketvalue:
  9700. description: 红包值【抽奖】
  9701. type: number
  9702. score:
  9703. description: 变动积分
  9704. type: number
  9705. scoreconfigtype:
  9706. description: 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分
  9707. 7:抽奖配置
  9708. type: integer
  9709. stype:
  9710. description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  9711. 6:自己供求下单积分 7:抽奖配置'
  9712. type: string
  9713. type: object
  9714. models.GZGoods:
  9715. properties:
  9716. address:
  9717. description: 详细地址
  9718. type: string
  9719. cerno:
  9720. description: 证书编号 - 类型:2,4,5
  9721. type: string
  9722. cityname:
  9723. description: 城市名称
  9724. type: string
  9725. countryname:
  9726. description: 国家名称
  9727. type: string
  9728. cpcertno:
  9729. description: 金伯利证书编号 - 类型:3
  9730. type: string
  9731. districtname:
  9732. description: 地区名称
  9733. type: string
  9734. goodsno:
  9735. description: 商品编号
  9736. type: string
  9737. imagepath:
  9738. description: 商品照片(相对地址)
  9739. type: string
  9740. isvalid:
  9741. description: 是否有效 - 0:无效 1:有效
  9742. type: integer
  9743. kppath:
  9744. description: 金伯利证书图片(相对地址) - 类型:3
  9745. type: string
  9746. kpweight:
  9747. description: 金伯利证书重量 - 类型:3
  9748. type: string
  9749. marketprice:
  9750. description: 市场价
  9751. type: string
  9752. mobile:
  9753. description: 手机号码
  9754. type: string
  9755. origin:
  9756. description: 原产地 - 类型:3
  9757. type: string
  9758. performancetemplateid:
  9759. description: 履约计划模板ID
  9760. type: integer
  9761. price:
  9762. description: 总价(价格) - 类型:1,2,3,4,5
  9763. type: number
  9764. priceper:
  9765. description: 克拉单价 - 类型:1,2,3,5
  9766. type: string
  9767. provincename:
  9768. description: 省名称
  9769. type: string
  9770. remainqty:
  9771. description: 剩余重量
  9772. type: number
  9773. remark:
  9774. description: 备注
  9775. type: string
  9776. sellusername:
  9777. description: 账户名称(机构名称)
  9778. type: string
  9779. settingmaterial:
  9780. description: 镶嵌材料 - 类型:4
  9781. type: string
  9782. size1:
  9783. description: 尺寸1 - 类型:2,4,5
  9784. type: string
  9785. size2:
  9786. description: 尺寸2 - 类型:2,4,5
  9787. type: string
  9788. size3:
  9789. description: 尺寸3 - 类型:2,4,5
  9790. type: string
  9791. sizedisplay:
  9792. description: 尺寸
  9793. type: string
  9794. stonedesc:
  9795. description: 配石描述 - 类型:4
  9796. type: string
  9797. userid:
  9798. description: 用户ID
  9799. type: integer
  9800. warehouseid:
  9801. description: 仓库ID
  9802. type: integer
  9803. warehousenamedisplay:
  9804. type: string
  9805. weight:
  9806. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9807. type: number
  9808. weightavg:
  9809. description: 平均单颗重量 - 类型:1,3
  9810. type: number
  9811. wrpath:
  9812. description: 仓单扫描件(相对地址)
  9813. type: string
  9814. wrstandardid:
  9815. description: 现货商品ID
  9816. type: integer
  9817. wrtradeorderid:
  9818. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  9819. type: string
  9820. zscategory:
  9821. description: 钻石分类 - 枚举”ZSCategory“
  9822. type: integer
  9823. zscategorydisplay:
  9824. type: string
  9825. zscerttype:
  9826. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9827. type: integer
  9828. zscerttypedisplay:
  9829. type: string
  9830. zsclaritytype1:
  9831. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9832. type: integer
  9833. zsclaritytype1display:
  9834. type: string
  9835. zsclaritytype2:
  9836. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9837. type: integer
  9838. zsclaritytype2display:
  9839. type: string
  9840. zscolortype1:
  9841. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9842. type: integer
  9843. zscolortype1display:
  9844. type: string
  9845. zscolortype2:
  9846. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9847. type: integer
  9848. zscolortype2display:
  9849. type: string
  9850. zscrystaltype:
  9851. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  9852. type: string
  9853. zscrystaltypedisplay:
  9854. type: string
  9855. zscurrencytype:
  9856. description: 货币类型 - 枚举“ZSCurrencyType”
  9857. type: integer
  9858. zscurrencytypedisplay:
  9859. type: string
  9860. zscurrencytypedisplayunit:
  9861. type: string
  9862. zscuttype1:
  9863. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  9864. type: integer
  9865. zscuttype1display:
  9866. type: string
  9867. zscuttype2:
  9868. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  9869. type: integer
  9870. zscuttype2display:
  9871. type: string
  9872. zsczcolor1type:
  9873. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  9874. type: integer
  9875. zsczcolor1typedisplay:
  9876. type: string
  9877. zsczcolor2type:
  9878. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  9879. type: integer
  9880. zsczcolor2typedisplay:
  9881. type: string
  9882. zsczcolor3type:
  9883. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  9884. type: integer
  9885. zsczcolor3typedisplay:
  9886. type: string
  9887. zsfluorescencetype1:
  9888. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  9889. type: integer
  9890. zsfluorescencetype1display:
  9891. type: string
  9892. zsfluorescencetype2:
  9893. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  9894. type: integer
  9895. zsfluorescencetype2display:
  9896. type: string
  9897. zspolishtype1:
  9898. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  9899. type: integer
  9900. zspolishtype1display:
  9901. type: string
  9902. zspolishtype2:
  9903. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  9904. type: integer
  9905. zspolishtype2display:
  9906. type: string
  9907. zsshapetype:
  9908. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  9909. type: string
  9910. zsshapetypedisplay:
  9911. type: string
  9912. zsstyletype:
  9913. description: 款式 - 类型:4
  9914. type: integer
  9915. zsstyletypedisplay:
  9916. type: string
  9917. zssymmetrytype1:
  9918. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  9919. type: integer
  9920. zssymmetrytype1display:
  9921. type: string
  9922. zssymmetrytype2:
  9923. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  9924. type: integer
  9925. zssymmetrytype2display:
  9926. type: string
  9927. required:
  9928. - goodsno
  9929. type: object
  9930. models.GZHomeData:
  9931. properties:
  9932. purchasedtransactions:
  9933. description: 已购买的交易
  9934. type: integer
  9935. transactioninpurchase:
  9936. description: 求购中的交易
  9937. type: integer
  9938. transactionsonsale:
  9939. description: 出售中的交易
  9940. type: integer
  9941. transactionssold:
  9942. description: 已卖出的交易
  9943. type: integer
  9944. unhandledmessage:
  9945. description: 未处理消息
  9946. type: integer
  9947. type: object
  9948. models.GZWarehouseinfo:
  9949. properties:
  9950. address:
  9951. description: 详细地址
  9952. type: string
  9953. areauserid:
  9954. description: 所属机构
  9955. type: integer
  9956. autoid:
  9957. description: 自增ID
  9958. type: integer
  9959. cityid:
  9960. description: 市
  9961. type: integer
  9962. cityname:
  9963. description: 城市名称
  9964. type: string
  9965. contactname:
  9966. description: 联系人
  9967. type: string
  9968. contactnum:
  9969. description: 联系电话
  9970. type: string
  9971. countryid:
  9972. description: 国家
  9973. type: integer
  9974. countryname:
  9975. description: 国家名称
  9976. type: string
  9977. createtime:
  9978. description: 创建时间
  9979. type: string
  9980. districtid:
  9981. description: 区
  9982. type: integer
  9983. districtname:
  9984. description: 地区名称
  9985. type: string
  9986. hasvideo:
  9987. description: 是否有视频 - 0:无 1:有
  9988. type: integer
  9989. provinceid:
  9990. description: 省
  9991. type: integer
  9992. provincename:
  9993. description: 省名称
  9994. type: string
  9995. remark:
  9996. description: 审核备注
  9997. type: string
  9998. videourl:
  9999. description: 视频地址
  10000. type: string
  10001. warehousecode:
  10002. description: 仓库代码
  10003. type: string
  10004. warehousename:
  10005. description: 仓库名称
  10006. type: string
  10007. warehousestatus:
  10008. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10009. type: integer
  10010. warehousetype:
  10011. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10012. type: integer
  10013. type: object
  10014. models.Goods:
  10015. properties:
  10016. agreeunit:
  10017. description: 合约单位
  10018. type: number
  10019. areauserid:
  10020. description: 所属机构
  10021. type: integer
  10022. auditaccountid:
  10023. description: 审核操作员账号
  10024. type: integer
  10025. audittime:
  10026. description: 审核时间
  10027. type: string
  10028. cancelaccountid:
  10029. description: 注销操作员账号
  10030. type: integer
  10031. canceltime:
  10032. description: 注销时间
  10033. type: string
  10034. closepricemode:
  10035. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10036. type: integer
  10037. closepriceparam:
  10038. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  10039. type: number
  10040. createtime:
  10041. description: 创建时间
  10042. type: string
  10043. creatorid:
  10044. description: 创建人
  10045. type: integer
  10046. currencyid:
  10047. description: 报价货币ID
  10048. type: integer
  10049. cutmode:
  10050. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  10051. type: integer
  10052. decimalplace:
  10053. description: 报价小数位
  10054. type: integer
  10055. delistingdate:
  10056. description: 商品退市时间(状态:退市) -- 已作废
  10057. type: string
  10058. delistingmode:
  10059. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  10060. type: integer
  10061. deliveryflag:
  10062. description: 交割标志 - 0:不可交割 1:可交割
  10063. type: integer
  10064. forceclosemode:
  10065. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  10066. type: integer
  10067. forceclosevalue:
  10068. description: 定期强平参数 [收益权]
  10069. type: integer
  10070. goodscode:
  10071. description: 商品代码(内部)
  10072. type: string
  10073. goodscurrencyid:
  10074. description: 合约货币ID
  10075. type: integer
  10076. goodsgroupid:
  10077. description: 所属商品组ID
  10078. type: integer
  10079. goodsid:
  10080. description: 商品ID(自增ID SEQ_GOODS)
  10081. type: integer
  10082. goodsname:
  10083. description: 商品名称
  10084. type: string
  10085. goodsquotetype:
  10086. description: '合约报价类型: 1-直接报价 2-间接报价'
  10087. type: integer
  10088. goodsstatus:
  10089. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10090. type: integer
  10091. goodstradetype:
  10092. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  10093. type: integer
  10094. goodunitid:
  10095. description: 报价单位ID
  10096. type: integer
  10097. hasquoter:
  10098. description: 是否有报价商 - 0:无报价商 1:有报价商
  10099. type: integer
  10100. hqprotecttime:
  10101. description: 行情保护时间(秒)
  10102. type: integer
  10103. innerdealmode:
  10104. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10105. type: integer
  10106. isbuylimited:
  10107. description: 是否限制建仓量 - 0:不限制 1:限制
  10108. type: integer
  10109. isvisible:
  10110. description: 游客是否可见 - 0:不可见 1:可见
  10111. type: integer
  10112. lasttradedate:
  10113. description: 最后交易日期(状态:待退市)
  10114. type: string
  10115. listingdate:
  10116. description: 交易开始日期
  10117. type: string
  10118. marketid:
  10119. description: 所属市场ID
  10120. type: integer
  10121. modifierid:
  10122. description: 修改人
  10123. type: integer
  10124. modifystatus:
  10125. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  10126. type: integer
  10127. modifytime:
  10128. description: 修改时间
  10129. type: string
  10130. outerdealmode:
  10131. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10132. type: integer
  10133. outgoodscode:
  10134. description: 商品代码(外部)
  10135. type: string
  10136. pictureurl:
  10137. description: 商品图片
  10138. type: string
  10139. qtydecimalplace:
  10140. description: 成交量小数位
  10141. type: integer
  10142. quotegear:
  10143. description: 行情档位(1-10)
  10144. type: integer
  10145. quoteminunit:
  10146. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10147. type: integer
  10148. quoteshowtype:
  10149. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10150. type: integer
  10151. quoteshowtypeinterval:
  10152. description: 行情报价间隔时间(秒)(成交价时为0)
  10153. type: integer
  10154. remark:
  10155. description: 备注
  10156. type: string
  10157. required:
  10158. - goodscode
  10159. - goodsid
  10160. - goodsname
  10161. - marketid
  10162. type: object
  10163. models.GoodsIDAndName:
  10164. properties:
  10165. goodscode:
  10166. description: 商品代码(内部)
  10167. type: string
  10168. goodsid:
  10169. description: 商品ID(自增ID SEQ_GOODS)
  10170. type: integer
  10171. goodsname:
  10172. description: 商品名称
  10173. type: string
  10174. marketid:
  10175. description: 所属市场ID
  10176. type: integer
  10177. required:
  10178. - goodscode
  10179. - goodsid
  10180. - goodsname
  10181. - marketid
  10182. type: object
  10183. models.Goodsgroup:
  10184. properties:
  10185. agreeunit:
  10186. description: 合约单位
  10187. type: number
  10188. canshort:
  10189. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10190. type: integer
  10191. closepricemode:
  10192. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10193. type: integer
  10194. closepriceparam:
  10195. description: 强平最新价浮动比例 - 方式为2时使用
  10196. type: number
  10197. createtime:
  10198. description: 创建时间
  10199. type: string
  10200. creatorid:
  10201. description: 创建人
  10202. type: integer
  10203. currencyid:
  10204. description: 报价货币ID
  10205. type: integer
  10206. decimalplace:
  10207. description: 报价小数位
  10208. type: integer
  10209. exercisetype:
  10210. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10211. type: integer
  10212. exexchangeid:
  10213. description: 外部交易所ID[通道交易]
  10214. type: integer
  10215. goodsgroupid:
  10216. description: 商品组ID(自增ID)
  10217. type: integer
  10218. goodsgroupname:
  10219. description: 商品组名称
  10220. type: string
  10221. goodsgroupstatus:
  10222. description: 商品组状态 - 1:正常 2:注销
  10223. type: integer
  10224. goodunitid:
  10225. description: 报价单位ID
  10226. type: integer
  10227. innerdealmode:
  10228. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10229. type: integer
  10230. isbuylimited:
  10231. description: 是否限制建仓量 - 0:不限制 1:限制
  10232. type: integer
  10233. marketid:
  10234. description: 所属市场ID
  10235. type: integer
  10236. modifierid:
  10237. description: 修改人
  10238. type: integer
  10239. modifytime:
  10240. description: 修改时间
  10241. type: string
  10242. outerdealmode:
  10243. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10244. type: integer
  10245. outergroupcode:
  10246. description: 外部商品组代码[通道交易]
  10247. type: string
  10248. premiumdecimalplace:
  10249. description: 权利金小数位[场外期权]
  10250. type: integer
  10251. premiumspreadalgorithm:
  10252. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10253. type: integer
  10254. premiumspreadvalue:
  10255. description: 权利金点差值[场外期权]
  10256. type: number
  10257. qtydecimalplace:
  10258. description: 成交量小数位
  10259. type: integer
  10260. quotegear:
  10261. description: 行情档位(1-10)
  10262. type: integer
  10263. quoteminunit:
  10264. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10265. type: integer
  10266. quoterid:
  10267. description: 报价商ID[场外期权]
  10268. type: integer
  10269. quotesourcegroupid:
  10270. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10271. type: integer
  10272. syncgoodsqty:
  10273. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10274. type: integer
  10275. required:
  10276. - goodsgroupid
  10277. - goodsgroupname
  10278. - goodsgroupstatus
  10279. - marketid
  10280. type: object
  10281. models.Goodssortbypreposition:
  10282. properties:
  10283. goodscode:
  10284. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10285. type: string
  10286. goodsgroupcode:
  10287. description: 品种代码
  10288. type: string
  10289. prepositionqty:
  10290. description: 昨持仓量
  10291. type: integer
  10292. sortindex:
  10293. description: 排序
  10294. type: integer
  10295. tradedate:
  10296. description: 交易日
  10297. type: string
  10298. updatetime:
  10299. description: 更新时间
  10300. type: string
  10301. required:
  10302. - goodscode
  10303. - tradedate
  10304. type: object
  10305. models.GzbsfworderM:
  10306. properties:
  10307. accountid:
  10308. description: 资金账户ID
  10309. type: integer
  10310. addresscn:
  10311. description: 地址(中文)
  10312. type: string
  10313. addressen:
  10314. description: 地址(英文)
  10315. type: string
  10316. advanceamount:
  10317. description: 总预付款
  10318. type: number
  10319. colorrange:
  10320. description: 颜色范围
  10321. type: string
  10322. companynamecn:
  10323. description: 收货人(中文)
  10324. type: string
  10325. companynameen:
  10326. description: 收货人(英文)
  10327. type: string
  10328. contactfax:
  10329. description: 收货人传真
  10330. type: string
  10331. contactname:
  10332. description: 收货人姓名
  10333. type: string
  10334. contactphoneno:
  10335. description: 收货人电话
  10336. type: string
  10337. contentrange:
  10338. description: 【内容】内容范围
  10339. type: string
  10340. createtime:
  10341. description: 创建时间
  10342. type: string
  10343. executestatus:
  10344. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10345. type: integer
  10346. gzbsdeliverytype:
  10347. description: 收货方式 - 枚举"GZBSDeliveryType"
  10348. type: integer
  10349. gzbsstatus:
  10350. description: 单据状态(保税服务) - 枚举"GZBSStatus"
  10351. type: integer
  10352. gzbsstatusdisplay:
  10353. description: 单据状态
  10354. type: string
  10355. handlestatus:
  10356. description: 处理状态
  10357. type: integer
  10358. orderdate:
  10359. description: 单据日期
  10360. type: string
  10361. orderid:
  10362. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10363. type: integer
  10364. orderno:
  10365. description: 单据编号 - GZDEBSFW+单据流水号
  10366. type: string
  10367. ordersn:
  10368. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10369. type: string
  10370. origincountry:
  10371. description: 原产国
  10372. type: string
  10373. otherlogistics:
  10374. description: 指定其它物流
  10375. type: string
  10376. priceper:
  10377. description: 单价(美元/克拉) = 总值(美元) / 总净重(克拉)
  10378. type: number
  10379. settleamount:
  10380. description: 总结算费用 - 实际扣除资金,不含税费保证金
  10381. type: number
  10382. shaperange:
  10383. description: 形状范围
  10384. type: string
  10385. taxmargin:
  10386. description: 税费保证金 - 确认结算费用时退回
  10387. type: number
  10388. totalamount:
  10389. description: 总值(美元)
  10390. type: number
  10391. totalgrossweightgm:
  10392. description: 总毛重(克)
  10393. type: number
  10394. totalnetweightgm:
  10395. description: 总净重(克)
  10396. type: number
  10397. totalnetweigthct:
  10398. description: 总净重(克拉)
  10399. type: number
  10400. totalnumber:
  10401. description: 总粒数
  10402. type: integer
  10403. userid:
  10404. description: 用户ID
  10405. type: integer
  10406. weightrange:
  10407. description: 重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)
  10408. type: string
  10409. required:
  10410. - userid
  10411. type: object
  10412. models.GzbsfworderdetailM:
  10413. properties:
  10414. colorinfo:
  10415. description: 彩钻信息
  10416. type: string
  10417. createtime:
  10418. description: 创建时间
  10419. type: string
  10420. grossweightgm:
  10421. description: 毛重(克)
  10422. type: number
  10423. gzcjshape:
  10424. description: 形状(字符)
  10425. type: string
  10426. netweigthct:
  10427. description: 净重(克拉)
  10428. type: number
  10429. netweigthgm:
  10430. description: 净重(克)
  10431. type: number
  10432. ordercontent:
  10433. description: 内容
  10434. type: string
  10435. orderdetailid:
  10436. description: 单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)
  10437. type: integer
  10438. orderid:
  10439. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10440. type: integer
  10441. orderindex:
  10442. description: 顺序
  10443. type: integer
  10444. perprice:
  10445. description: 单价(美元/克拉) = 总值(美元) / 净重(克拉)
  10446. type: number
  10447. remark:
  10448. description: 备注(其它)
  10449. type: string
  10450. totalamount:
  10451. description: 总值(美元)
  10452. type: number
  10453. type: object
  10454. models.Gzbsfworderoperate:
  10455. properties:
  10456. advanceproofaddr:
  10457. description: 预付款收款凭证(确认结算费用时)
  10458. type: string
  10459. bankfee:
  10460. description: 汇款银行手续费
  10461. type: number
  10462. bankproofaddr:
  10463. description: 广钻汇款银行手续费凭证(确认结算费用时)
  10464. type: string
  10465. customsproofaddr:
  10466. description: 海关税费保证金收据(确认结算费用时)
  10467. type: string
  10468. gzbsstatus:
  10469. description: 操作后单据状态 - 枚举"GZBSStatus"
  10470. type: integer
  10471. logisticsfee:
  10472. description: 代缴物流保险费
  10473. type: number
  10474. logisticsproofaddr:
  10475. description: 代缴物流保险费凭证(确认结算费用时)
  10476. type: string
  10477. operatetime:
  10478. description: 操作时间
  10479. type: string
  10480. operatoraccount:
  10481. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10482. type: string
  10483. operatorid:
  10484. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10485. type: integer
  10486. operatorname:
  10487. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  10488. type: string
  10489. operatorsrc:
  10490. description: 操作人来源 - 1:管理端 2:终端
  10491. type: integer
  10492. orderid:
  10493. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10494. type: integer
  10495. otherfee:
  10496. description: 其它费用
  10497. type: number
  10498. remark:
  10499. description: 操作备注
  10500. type: string
  10501. servicefee:
  10502. description: 综合服务费
  10503. type: number
  10504. taxmargin:
  10505. description: 税费保证金
  10506. type: number
  10507. totalfee:
  10508. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  10509. type: number
  10510. required:
  10511. - orderid
  10512. type: object
  10513. models.Gzcertaddressconfig:
  10514. properties:
  10515. certregion:
  10516. description: 证书地域 - 1:国内 2:国际
  10517. type: integer
  10518. certtype:
  10519. description: 证书类型
  10520. type: string
  10521. orderindex:
  10522. description: 显示顺序
  10523. type: integer
  10524. orgcnname:
  10525. description: 机构名称(中文)
  10526. type: string
  10527. orgenname:
  10528. description: 机构名称(英文)
  10529. type: string
  10530. queryaddress:
  10531. description: 查询地址
  10532. type: string
  10533. remark:
  10534. description: 备注
  10535. type: string
  10536. updatetime:
  10537. description: 更新时间
  10538. type: string
  10539. type: object
  10540. models.Gzcertaddressparam:
  10541. properties:
  10542. certtype:
  10543. description: 证书类型
  10544. type: string
  10545. orderindex:
  10546. description: 参数顺序
  10547. type: integer
  10548. paramkey:
  10549. description: 参数Key
  10550. type: string
  10551. paramname:
  10552. description: 参数名称
  10553. type: string
  10554. updatetime:
  10555. description: 更新时间
  10556. type: string
  10557. type: object
  10558. models.GzcjbsorderfileM:
  10559. properties:
  10560. canmembervisit:
  10561. description: 会员是否可访问 - 1:可 2:不可
  10562. type: integer
  10563. fileaddress:
  10564. description: 文件地址
  10565. type: string
  10566. filegentype:
  10567. description: 文件生成类型 - 1:系统生成 2:手动上传
  10568. type: integer
  10569. filename:
  10570. description: 文件名称
  10571. type: string
  10572. operatetime:
  10573. description: 操作时间
  10574. type: string
  10575. operatoraccount:
  10576. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10577. type: string
  10578. operatorid:
  10579. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10580. type: integer
  10581. operatorsrc:
  10582. description: 操作人来源 - 1:管理端 2:终端
  10583. type: integer
  10584. orderfileid:
  10585. description: 单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)
  10586. type: integer
  10587. orderid:
  10588. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10589. type: integer
  10590. required:
  10591. - orderid
  10592. type: object
  10593. models.GzcjjcorderM:
  10594. properties:
  10595. accountid:
  10596. description: 资金账户ID
  10597. type: integer
  10598. addresscn:
  10599. description: 地址(中文)
  10600. type: string
  10601. addressen:
  10602. description: 地址(英文)
  10603. type: string
  10604. advanceamount:
  10605. description: 总预付款
  10606. type: number
  10607. colorrange:
  10608. description: 颜色范围
  10609. type: string
  10610. companynamecn:
  10611. description: 公司名称(中文)
  10612. type: string
  10613. companynameen:
  10614. description: 公司名称(英文)
  10615. type: string
  10616. contactname:
  10617. description: 联系人姓名
  10618. type: string
  10619. contactphoneno:
  10620. description: 联系人电话
  10621. type: string
  10622. contactposition:
  10623. description: 联系人职位
  10624. type: string
  10625. createtime:
  10626. description: 创建时间
  10627. type: string
  10628. email:
  10629. description: 邮箱
  10630. type: string
  10631. executestatus:
  10632. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10633. type: integer
  10634. gzcjaccount:
  10635. description: 送检账户
  10636. type: string
  10637. gzcjaccounttype:
  10638. description: 检测账户类型 - 枚举"GZCJAccountType"
  10639. type: integer
  10640. gzcjcategorytype:
  10641. description: 货物品类 - 枚举"GZCJCategoryType"
  10642. type: integer
  10643. gzcjcategorytypedisplay:
  10644. description: 货物品类
  10645. type: string
  10646. gzcjdeliverytype:
  10647. description: 收货方式 - 枚举"GZCJDeliveryType"
  10648. type: integer
  10649. gzcjdeliverytypedisplay:
  10650. description: 收货方式
  10651. type: string
  10652. gzcjstatus:
  10653. description: 单据状态(出境检测) - 枚举"GZCJStatus"
  10654. type: integer
  10655. gzcjstatusdisplay:
  10656. description: 单据状态(出境检测)
  10657. type: string
  10658. handlestatus:
  10659. description: 处理状态
  10660. type: integer
  10661. invoiceremark:
  10662. description: 复核备注 - 发票装箱单使用
  10663. type: string
  10664. orderid:
  10665. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10666. type: integer
  10667. orderno:
  10668. description: 单据编号 - 合同编号:GZDECJJC+单据流水号
  10669. type: string
  10670. ordersn:
  10671. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10672. type: string
  10673. origincountry:
  10674. description: 原产国
  10675. type: string
  10676. processingcountry:
  10677. description: 成品钻石加工国
  10678. type: string
  10679. realservicefee:
  10680. description: 应收综合服务费
  10681. type: number
  10682. servicefeesum:
  10683. description: 汇总综合服务费 - 明细上值汇总
  10684. type: number
  10685. settleamount:
  10686. description: 总结算费用
  10687. type: number
  10688. shaperange:
  10689. description: 形状范围
  10690. type: string
  10691. totalamount:
  10692. description: 总金额(美元)
  10693. type: number
  10694. totalgrossweight:
  10695. description: 总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整)
  10696. * 200
  10697. type: number
  10698. totalnumber:
  10699. description: 总粒数
  10700. type: integer
  10701. totalweight:
  10702. description: 总克拉数(保留3位小数)
  10703. type: number
  10704. totalweightgm:
  10705. description: 总净重(克) = TotalWeight * 0.2 (2位小数)
  10706. type: number
  10707. userid:
  10708. description: 用户ID
  10709. type: integer
  10710. weightrange:
  10711. description: 重量规格范围 - Min(Weight) - Max(Weight)
  10712. type: string
  10713. zsorigin:
  10714. description: 天然钻石毛坯原产地
  10715. type: string
  10716. required:
  10717. - userid
  10718. type: object
  10719. models.GzcjjcorderdetailM:
  10720. properties:
  10721. amount:
  10722. description: 参考货值(USD)
  10723. type: number
  10724. colorinfo:
  10725. description: 彩钻信息
  10726. type: string
  10727. createtime:
  10728. description: 创建时间
  10729. type: string
  10730. gzcjmarktype:
  10731. description: 刻印服务 - 枚举"GZCJMarkType" 【送检账户为“广钻账户”】
  10732. type: integer
  10733. gzcjpublishtype:
  10734. description: 是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】
  10735. type: integer
  10736. gzcjpublishtypestring:
  10737. description: 是否披露处理 - 枚举 GZCJPublishType 对应的显示值
  10738. type: string
  10739. gzcjservicetype:
  10740. description: 服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】
  10741. type: integer
  10742. gzcjservicetypestring:
  10743. description: 服务类别 - 枚举 GZCJServiceType 对应的显示值
  10744. type: string
  10745. gzcjshapetype:
  10746. description: 形状 - 枚举"GZCJShapeType"
  10747. type: integer
  10748. gzcjshapetypestring:
  10749. description: 形状(字符) - 枚举"GZCJShapeType"对应的显示值
  10750. type: string
  10751. gzno:
  10752. description: 货物编号
  10753. type: string
  10754. orderdetailid:
  10755. description: 单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)
  10756. type: integer
  10757. orderid:
  10758. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10759. type: integer
  10760. orderindex:
  10761. description: 顺序
  10762. type: integer
  10763. origincertno:
  10764. description: 原证书号【送检账户为“广钻账户”】
  10765. type: string
  10766. remark:
  10767. description: 备注(其它)
  10768. type: string
  10769. servicefee:
  10770. description: 综合服务费 - 根据市场配置计算
  10771. type: number
  10772. weight:
  10773. description: 重量(CT)
  10774. type: number
  10775. type: object
  10776. models.Gzrapaportprice:
  10777. properties:
  10778. dollar:
  10779. description: 美元
  10780. type: string
  10781. rmb:
  10782. description: 人民币
  10783. type: string
  10784. type: object
  10785. models.Hedgeinnerholderdetail:
  10786. properties:
  10787. accountid:
  10788. description: 账号ID
  10789. type: integer
  10790. buyorsell:
  10791. description: 方向 - 0:买 1:卖
  10792. type: integer
  10793. freezeqty:
  10794. description: 冻结数量 - 按单平使用
  10795. type: integer
  10796. goodsid:
  10797. description: 商品ID
  10798. type: integer
  10799. holderamount:
  10800. description: 持仓金额 [商品币种]
  10801. type: number
  10802. holderdays:
  10803. description: 剩余冻结天数
  10804. type: integer
  10805. holderprice:
  10806. description: 持仓价格
  10807. type: number
  10808. holderqty:
  10809. description: 持仓数量
  10810. type: integer
  10811. marketid:
  10812. description: 市场ID
  10813. type: integer
  10814. openprice:
  10815. description: 建仓价格
  10816. type: number
  10817. openqty:
  10818. description: 建仓数量
  10819. type: integer
  10820. parentaccountid:
  10821. description: 所属母账户
  10822. type: integer
  10823. releaseamount:
  10824. description: 释放持仓金额[商品币种]
  10825. type: number
  10826. tradeamount:
  10827. description: 成交金额[账户]
  10828. type: number
  10829. tradedate:
  10830. description: 交易日(yyyyMMdd)
  10831. type: string
  10832. tradeid:
  10833. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10834. type: string
  10835. tradetime:
  10836. description: 交易时间
  10837. type: string
  10838. required:
  10839. - buyorsell
  10840. - tradeid
  10841. type: object
  10842. models.Hedgemarketopenlog:
  10843. properties:
  10844. accountid:
  10845. description: 资金账号[外部母账户]
  10846. type: integer
  10847. fcname:
  10848. description: 期货公司名称
  10849. type: string
  10850. handlestatus:
  10851. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10852. type: integer
  10853. marketid:
  10854. description: 市场ID
  10855. type: integer
  10856. status:
  10857. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10858. type: integer
  10859. tradedate:
  10860. description: 交易日(yyyyMMdd)
  10861. type: string
  10862. updatetime:
  10863. description: 更新时间
  10864. type: string
  10865. required:
  10866. - accountid
  10867. type: object
  10868. models.HistoryData:
  10869. properties:
  10870. c:
  10871. description: 收盘价
  10872. type: number
  10873. f:
  10874. description: 是否补充数据
  10875. type: boolean
  10876. h:
  10877. description: 最高价
  10878. type: number
  10879. hv:
  10880. description: 持仓量
  10881. type: integer
  10882. l:
  10883. description: 最低价
  10884. type: number
  10885. o:
  10886. description: 开盘价
  10887. type: number
  10888. s:
  10889. description: 结算价,日线周期(包括)以上才有
  10890. type: number
  10891. ts:
  10892. description: 时间
  10893. type: string
  10894. tt:
  10895. description: 总金额
  10896. type: number
  10897. tv:
  10898. description: 总量(成交量)
  10899. type: integer
  10900. type: object
  10901. models.InternalEnableTradeDetail:
  10902. properties:
  10903. agreeunit:
  10904. description: 合约乘数
  10905. type: number
  10906. areauserid:
  10907. description: 企业ID
  10908. type: integer
  10909. convertratio:
  10910. description: 品种系数
  10911. type: number
  10912. deliverygoodscode:
  10913. description: 现货品种代码
  10914. type: string
  10915. deliverygoodsid:
  10916. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10917. type: integer
  10918. deliverygoodsname:
  10919. description: 现货品种名称
  10920. type: string
  10921. futurehedgeqty:
  10922. description: '[已关联数量]期货持仓套期量'
  10923. type: number
  10924. goodsid:
  10925. description: 期货合约ID
  10926. type: integer
  10927. hedgeditemid:
  10928. description: 被套期项目ID
  10929. type: string
  10930. hedgeditemnum:
  10931. description: 项目编号
  10932. type: string
  10933. tradeuserid:
  10934. description: 交易用户ID
  10935. type: integer
  10936. unexehedgeqty:
  10937. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10938. type: number
  10939. unexespotqty:
  10940. description: 未执行现货量
  10941. type: number
  10942. wrstandardcode:
  10943. description: 现货品类代码
  10944. type: string
  10945. wrstandardid:
  10946. description: 现货品类ID(SEQ_WRSTANDARD)
  10947. type: integer
  10948. wrstandardname:
  10949. description: 现货品类名称
  10950. type: string
  10951. required:
  10952. - areauserid
  10953. - goodsid
  10954. - tradeuserid
  10955. type: object
  10956. models.InternalUncorrelatedTradeDetail:
  10957. properties:
  10958. accountid:
  10959. description: 账号ID
  10960. type: integer
  10961. accountname:
  10962. description: 套期主体
  10963. type: string
  10964. agreeunit:
  10965. description: 合约乘数
  10966. type: number
  10967. areauserid:
  10968. description: 所属机构
  10969. type: integer
  10970. bizsubjectid:
  10971. description: 归属业务部门ID - SubjectID
  10972. type: integer
  10973. buyorsell:
  10974. description: 方向 - 0:买 1:卖
  10975. type: integer
  10976. channelbuildtype:
  10977. description: 委托单据类型 0:无 1:建仓 2:平仓
  10978. type: integer
  10979. convertratio:
  10980. description: 品种系数
  10981. type: number
  10982. createtime:
  10983. description: 创建时间
  10984. type: string
  10985. creatorid:
  10986. description: 创建人ID
  10987. type: integer
  10988. creatorsrc:
  10989. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10990. type: integer
  10991. enableqty:
  10992. description: 项目可关联数量 = 套保品种数量 - 关联数量
  10993. type: number
  10994. enumdicname:
  10995. description: 单位
  10996. type: string
  10997. goodscode:
  10998. description: 合约代码
  10999. type: string
  11000. goodsgroupid:
  11001. description: 对冲品种ID[期货合约商品组ID]
  11002. type: integer
  11003. goodsid:
  11004. description: 商品ID
  11005. type: integer
  11006. goodsname:
  11007. description: 合约名称
  11008. type: string
  11009. hedgeditemid:
  11010. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11011. type: integer
  11012. hedgeflag:
  11013. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11014. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11015. type: integer
  11016. linkdetailid:
  11017. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11018. type: string
  11019. linkstatus:
  11020. description: 关联状态 - 1:成功 2:失败 3:解绑
  11021. type: integer
  11022. middlegoodsid:
  11023. description: 套保品种ID
  11024. type: integer
  11025. middlegoodsqty:
  11026. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  11027. type: number
  11028. relatedlot:
  11029. description: '[数量]关联手数'
  11030. type: number
  11031. relatedmode:
  11032. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11033. type: integer
  11034. relatedqty:
  11035. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11036. type: number
  11037. retcode:
  11038. description: 返回码
  11039. type: integer
  11040. saleuserid:
  11041. description: 业务员ID
  11042. type: integer
  11043. tradedate:
  11044. description: 关联交易日(yyyyMMdd)
  11045. type: string
  11046. tradeid:
  11047. description: 成交单号
  11048. type: string
  11049. tradelot:
  11050. description: 成交手数
  11051. type: integer
  11052. tradeprice:
  11053. description: 成交价
  11054. type: number
  11055. tradetime:
  11056. description: 成交时间
  11057. type: string
  11058. tradetradedate:
  11059. description: 成交交易日(yyyyMMdd)
  11060. type: string
  11061. tradeuserid:
  11062. description: 交易用户ID
  11063. type: integer
  11064. type: object
  11065. models.Loginaccount:
  11066. properties:
  11067. accountname:
  11068. description: 账户名称
  11069. type: string
  11070. canoutin:
  11071. description: 是否可出入金 - 0:不可 1:可
  11072. type: integer
  11073. clientroleid:
  11074. description: 终端角色ID
  11075. type: integer
  11076. haslogined:
  11077. description: 是否已登录 - 0:未登录 1:已登录
  11078. type: integer
  11079. hasupdatedpwd:
  11080. description: 是否已更改密码 - 0:未修改 1:已修改
  11081. type: integer
  11082. lastloginip:
  11083. description: 最新登录地址
  11084. type: string
  11085. lastloginmode:
  11086. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  11087. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11088. type: integer
  11089. lastloginremark:
  11090. description: 最新登录描述
  11091. type: string
  11092. lastlogintime:
  11093. description: 最新登录时间
  11094. type: string
  11095. logincode:
  11096. description: 登录代码
  11097. type: string
  11098. loginfailnum:
  11099. description: 连续登录失败次数(登录成功时清零)
  11100. type: integer
  11101. loginid:
  11102. description: 登陆账号
  11103. type: integer
  11104. loginport:
  11105. description: 最新登录端口
  11106. type: integer
  11107. loginstatus:
  11108. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  11109. type: integer
  11110. loginusertype:
  11111. description: 登录账号类型 - 1:投资者 2:机构交易员
  11112. type: integer
  11113. mobile:
  11114. description: 手机号码(加密存储)
  11115. type: string
  11116. modifierid:
  11117. description: 修改人
  11118. type: integer
  11119. modifysrc:
  11120. description: 审核来源 - 1:管理端 2:终端
  11121. type: integer
  11122. modifytime:
  11123. description: 修改时间
  11124. type: string
  11125. pwdwrongcount:
  11126. description: 密码错误次数
  11127. type: integer
  11128. relateduserid:
  11129. description: 关联用户ID(机构)
  11130. type: integer
  11131. taaccountrighttype:
  11132. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11133. type: integer
  11134. unfreezetime:
  11135. description: 账户解冻时间
  11136. type: string
  11137. userid:
  11138. description: 用户ID
  11139. type: integer
  11140. required:
  11141. - loginid
  11142. type: object
  11143. models.MainAccountInfo:
  11144. properties:
  11145. accountid:
  11146. description: 账号id
  11147. type: integer
  11148. accountname:
  11149. description: 账号名称(taaccount表中的名称)
  11150. type: string
  11151. appid:
  11152. description: AppID
  11153. type: string
  11154. authcode:
  11155. description: 授权码
  11156. type: string
  11157. brokerid:
  11158. description: 经纪商id
  11159. type: string
  11160. fcid:
  11161. description: 期货公司id
  11162. type: integer
  11163. fcname:
  11164. description: 期货公司代码
  11165. type: string
  11166. hedgeaccountcode:
  11167. description: 外部账号代码(主账号登录代码)
  11168. type: string
  11169. hedgeaccountpwd:
  11170. description: 密码
  11171. type: string
  11172. ismain:
  11173. description: 是否主账号
  11174. type: integer
  11175. relateduserid:
  11176. description: 关联用户id
  11177. type: integer
  11178. userid:
  11179. description: 关联用户id
  11180. type: integer
  11181. type: object
  11182. models.Market:
  11183. properties:
  11184. auctionwrtype:
  11185. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11186. type: integer
  11187. canacceptquote:
  11188. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11189. type: integer
  11190. cangoodsexercise:
  11191. description: '[期权]是否可现货行权- 0:否 1:是'
  11192. type: integer
  11193. cangoodsexercisetype:
  11194. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11195. type: integer
  11196. canmanualquotestrike:
  11197. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11198. type: integer
  11199. canmutistage:
  11200. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11201. type: integer
  11202. canpreexercise:
  11203. description: '[期权]是否可预申报- 0:否 1:是'
  11204. type: integer
  11205. clearinterval:
  11206. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11207. type: integer
  11208. contracttmp:
  11209. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11210. type: string
  11211. exchareaid:
  11212. description: 所属交易所,可以没有
  11213. type: integer
  11214. goodstype:
  11215. description: 商品类型 - 1:交易商品 2:仓单商品
  11216. type: integer
  11217. hasrebate:
  11218. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11219. type: integer
  11220. hastradecredit:
  11221. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11222. type: integer
  11223. haswr:
  11224. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11225. type: integer
  11226. isdeductmargin:
  11227. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11228. type: integer
  11229. isrecordsource:
  11230. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11231. type: integer
  11232. isreleasemargin:
  11233. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11234. type: integer
  11235. marginformula:
  11236. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11237. type: integer
  11238. marginformula2:
  11239. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11240. type: integer
  11241. marketid:
  11242. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11243. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11244. type: integer
  11245. marketname:
  11246. description: 市场名称
  11247. type: string
  11248. marketserviceid:
  11249. description: 市场服务ID
  11250. type: integer
  11251. marketstatus:
  11252. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11253. type: integer
  11254. markettype:
  11255. description: 市场类型- 1:非交易服务 2:交易服务
  11256. type: integer
  11257. matchermode:
  11258. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11259. type: integer
  11260. openmethod:
  11261. description: 开盘模式 - 0 自动 1手动
  11262. type: integer
  11263. otcuserid:
  11264. description: 场外期权做市商[场外期权]
  11265. type: integer
  11266. outersynctime:
  11267. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11268. type: string
  11269. pendingflag:
  11270. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11271. type: integer
  11272. pendingtime:
  11273. description: 待开市时间[通道交易-对冲](HH:mm)
  11274. type: string
  11275. performancetempid:
  11276. description: 履约计划模板ID - 作废
  11277. type: integer
  11278. premiumquotemode:
  11279. description: 权利金报价方式 - 1:自动 2:手动
  11280. type: integer
  11281. rebateratio:
  11282. description: 返利比率[竞价式]
  11283. type: number
  11284. reckonorder:
  11285. description: 结算顺序
  11286. type: integer
  11287. reckonpricealgorithm:
  11288. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11289. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11290. type: integer
  11291. reckonpriceparam:
  11292. description: 结算价参数
  11293. type: integer
  11294. reckontime:
  11295. description: 结算时间[通道交易-对冲](HH:mm)
  11296. type: string
  11297. roleprioritytype:
  11298. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11299. type: integer
  11300. selllistingauditflag:
  11301. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11302. type: integer
  11303. trademarkettype:
  11304. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11305. type: integer
  11306. trademode:
  11307. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11308. 21:竞拍-大宗式 22:受托竞价
  11309. type: integer
  11310. tradeproperty:
  11311. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11312. 8:场外期权
  11313. type: integer
  11314. tradetype:
  11315. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11316. type: integer
  11317. required:
  11318. - marketid
  11319. - marketstatus
  11320. - openmethod
  11321. - reckonpricealgorithm
  11322. - trademode
  11323. - tradeproperty
  11324. type: object
  11325. models.Marketcalendar:
  11326. properties:
  11327. holidaydate:
  11328. description: 节假日期(yyyy-MM-dd)
  11329. type: string
  11330. marketid:
  11331. description: 市场ID
  11332. type: integer
  11333. type: object
  11334. models.Marketrun:
  11335. properties:
  11336. afternexttradedate:
  11337. description: 下下交易日
  11338. type: string
  11339. clearquoteflag:
  11340. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11341. type: integer
  11342. lastreckondate:
  11343. description: 最新交易日(结算成功)
  11344. type: string
  11345. machinedate:
  11346. description: 机器时间
  11347. type: string
  11348. manualflag:
  11349. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11350. type: integer
  11351. marketid:
  11352. description: 市场ID
  11353. type: integer
  11354. nexttradedate:
  11355. description: 下一交易日
  11356. type: string
  11357. pretradedate:
  11358. description: 上一交易日
  11359. type: string
  11360. reckonflag:
  11361. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11362. type: integer
  11363. runstatus:
  11364. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11365. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11366. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11367. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11368. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11369. 62.今日免清算
  11370. type: integer
  11371. sectionid:
  11372. description: 时间段号[多时段时用]
  11373. type: integer
  11374. tradedate:
  11375. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11376. type: string
  11377. tradedate2:
  11378. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11379. type: string
  11380. updatetime:
  11381. description: 更新时间
  11382. type: string
  11383. required:
  11384. - marketid
  11385. - nexttradedate
  11386. - reckonflag
  11387. - runstatus
  11388. - tradedate
  11389. - tradedate2
  11390. type: object
  11391. models.Messageboard:
  11392. properties:
  11393. contactnum:
  11394. description: 联系电话
  11395. type: string
  11396. createtime:
  11397. description: 创建时间
  11398. type: string
  11399. message:
  11400. description: 留言信息
  11401. type: string
  11402. messageboardid:
  11403. description: 留言簿ID(SEQ_MessageBoard)
  11404. type: integer
  11405. userid:
  11406. description: 用户ID
  11407. type: integer
  11408. required:
  11409. - messageboardid
  11410. type: object
  11411. models.MyBargainApply:
  11412. properties:
  11413. accountid:
  11414. description: 摘牌资金账号
  11415. type: integer
  11416. applyprice:
  11417. description: 申请价格
  11418. type: string
  11419. applyremark:
  11420. description: 申请备注
  11421. type: string
  11422. applystatus:
  11423. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11424. type: integer
  11425. applytime:
  11426. description: 申请时间
  11427. type: string
  11428. buyorsell:
  11429. description: 买卖 - 0:买 1:卖
  11430. type: integer
  11431. buyusername:
  11432. description: 买方
  11433. type: string
  11434. confirmprice:
  11435. description: 可接受价格(拒绝时填写)-作废
  11436. type: number
  11437. confirmqty:
  11438. description: 可接受数量(拒绝时填写)-作废
  11439. type: integer
  11440. confirmremark:
  11441. description: 确认备注
  11442. type: string
  11443. confirmtime:
  11444. description: 确认时间
  11445. type: string
  11446. confirmuserid:
  11447. description: 确认人
  11448. type: integer
  11449. goodsno:
  11450. description: 商品编号
  11451. type: string
  11452. handlestatus:
  11453. description: 处理状态
  11454. type: integer
  11455. ladingbillid:
  11456. description: 摘牌方提单ID [卖]
  11457. type: integer
  11458. marketid:
  11459. description: 市场ID
  11460. type: integer
  11461. matchaccountid:
  11462. description: 挂牌方资金账号
  11463. type: integer
  11464. matchuserid:
  11465. description: 挂牌方用户ID
  11466. type: integer
  11467. performancetemplateid:
  11468. description: 履约计划模板ID
  11469. type: integer
  11470. price:
  11471. description: 价格
  11472. type: number
  11473. priceper:
  11474. description: 克拉单价 - 类型:1,2,3,5
  11475. type: string
  11476. qty:
  11477. description: 申请数量
  11478. type: number
  11479. refprice:
  11480. description: 参考价格
  11481. type: string
  11482. retcode:
  11483. description: 委托返回代码
  11484. type: integer
  11485. sellusername:
  11486. description: 卖方
  11487. type: string
  11488. sizedisplay:
  11489. description: 尺寸
  11490. type: string
  11491. subnum:
  11492. description: 摘牌方提单子单号 [卖]
  11493. type: integer
  11494. tradedate:
  11495. description: 交易日(yyyyMMdd)
  11496. type: string
  11497. userid:
  11498. description: 摘牌人用户ID
  11499. type: integer
  11500. warehousenamedisplay:
  11501. type: string
  11502. wrbargainid:
  11503. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  11504. type: string
  11505. wrtradeorderid:
  11506. description: 关联委托单ID
  11507. type: string
  11508. zscerttypedisplay:
  11509. type: string
  11510. zsclaritytype1display:
  11511. type: string
  11512. zsclaritytype2display:
  11513. type: string
  11514. zscolortype1display:
  11515. type: string
  11516. zscolortype2display:
  11517. type: string
  11518. zscrystaltypedisplay:
  11519. type: string
  11520. zscurrencytypedisplay:
  11521. type: string
  11522. zscurrencytypedisplayunit:
  11523. type: string
  11524. zscuttype1display:
  11525. type: string
  11526. zscuttype2display:
  11527. type: string
  11528. zsczcolor1typedisplay:
  11529. type: string
  11530. zsczcolor2typedisplay:
  11531. type: string
  11532. zsczcolor3typedisplay:
  11533. type: string
  11534. zsfluorescencetype1display:
  11535. type: string
  11536. zsfluorescencetype2display:
  11537. type: string
  11538. zspolishtype1display:
  11539. type: string
  11540. zspolishtype2display:
  11541. type: string
  11542. zsshapetypedisplay:
  11543. type: string
  11544. zsstyletypedisplay:
  11545. type: string
  11546. zssymmetrytype1display:
  11547. type: string
  11548. zssymmetrytype2display:
  11549. type: string
  11550. required:
  11551. - userid
  11552. type: object
  11553. models.MyBuyOrder:
  11554. properties:
  11555. accountid:
  11556. description: 资金账户ID
  11557. type: integer
  11558. marketid:
  11559. description: 市场ID
  11560. type: integer
  11561. ordertime:
  11562. description: 委托时间
  11563. type: string
  11564. origin:
  11565. description: 原产地
  11566. type: string
  11567. performancetemplateid:
  11568. description: 履约计划模板ID
  11569. type: integer
  11570. remark:
  11571. description: 备注
  11572. type: string
  11573. userid:
  11574. description: 用户ID
  11575. type: integer
  11576. validtime:
  11577. description: 有效期限
  11578. type: string
  11579. warehouseids:
  11580. description: 仓库ID - 多个, 逗号分隔
  11581. type: string
  11582. warehouseinfosdisplay:
  11583. type: string
  11584. wrtradeorderid:
  11585. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  11586. type: string
  11587. wrtradeorderstatus:
  11588. 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、
  11589. type: integer
  11590. zscategory:
  11591. description: 钻石分类 - 枚举”ZSCategory“
  11592. type: integer
  11593. zscategorydisplay:
  11594. type: string
  11595. zsclaritytype:
  11596. description: 净度 - 两个, 逗号分隔
  11597. type: string
  11598. zsclaritytypedisplay:
  11599. type: string
  11600. zscolortype:
  11601. description: 颜色 - 两个, 逗号分隔
  11602. type: string
  11603. zscolortypedisplay:
  11604. type: string
  11605. zscrystaltype:
  11606. description: 晶型 - 多个,逗号分隔
  11607. type: string
  11608. zscrystaltypedisplay:
  11609. type: string
  11610. zscurrencytype:
  11611. description: 货币类型 - 多个, 逗号分隔
  11612. type: string
  11613. zscurrencytypedisplay:
  11614. type: string
  11615. zscuttype:
  11616. description: 切工 - 两个, 逗号分隔
  11617. type: string
  11618. zscuttypedisplay:
  11619. type: string
  11620. zsczcolor1type:
  11621. description: 彩钻颜色1, 逗号分隔
  11622. type: string
  11623. zsczcolor1typedisplay:
  11624. type: string
  11625. zsczcolor2type:
  11626. description: 彩钻颜色2, 逗号分隔
  11627. type: string
  11628. zsczcolor2typedisplay:
  11629. type: string
  11630. zsczcolor3type:
  11631. description: 彩钻颜色3, 逗号分隔
  11632. type: string
  11633. zsczcolor3typedisplay:
  11634. type: string
  11635. zsfluorescencetype:
  11636. description: 荧光 - 多个, 逗号分隔
  11637. type: string
  11638. zsfluorescencetypedisplay:
  11639. type: string
  11640. zspolishtype:
  11641. description: 抛光度 - 两个, 逗号分隔
  11642. type: string
  11643. zspolishtypedisplay:
  11644. type: string
  11645. zsshapetype:
  11646. description: 形状 - 多个, 逗号分隔
  11647. type: string
  11648. zsshapetypedisplay:
  11649. type: string
  11650. zssize:
  11651. description: 尺寸 - 两个小数, 逗号分隔
  11652. type: string
  11653. zsstyletype:
  11654. description: 款式 - 多个, 逗号分隔
  11655. type: string
  11656. zsstyletypedisplay:
  11657. type: string
  11658. zssymmetrytype:
  11659. description: 对称度 - 两个, 逗号分隔
  11660. type: string
  11661. zssymmetrytypedisplay:
  11662. type: string
  11663. zstabledisplay:
  11664. description: 求购信息
  11665. type: string
  11666. required:
  11667. - userid
  11668. type: object
  11669. models.MyDeListing:
  11670. properties:
  11671. buyaccountid:
  11672. description: 买方账号ID
  11673. type: integer
  11674. buychargevalue:
  11675. description: 买方手续费
  11676. type: number
  11677. buyuserid:
  11678. description: 买方用户ID
  11679. type: integer
  11680. deliverygoodsid:
  11681. description: 现货品种ID
  11682. type: integer
  11683. exchangerate:
  11684. description: 汇率
  11685. type: number
  11686. goodsno:
  11687. description: 商品编号
  11688. type: string
  11689. marketid:
  11690. description: 市场ID
  11691. type: integer
  11692. matchusername:
  11693. description: 对手方
  11694. type: string
  11695. oritradeamount:
  11696. description: 成交金额[商品币种]
  11697. type: number
  11698. performanceplanid:
  11699. description: 履约计划ID/合同ID
  11700. type: string
  11701. price:
  11702. description: 价格
  11703. type: number
  11704. qty:
  11705. description: 成交重量
  11706. type: number
  11707. sellaccountid:
  11708. description: 卖方账号ID
  11709. type: integer
  11710. sellchargevalue:
  11711. description: 卖方手续费
  11712. type: number
  11713. selluserid:
  11714. description: 卖方用户ID
  11715. type: integer
  11716. sizedisplay:
  11717. description: 尺寸
  11718. type: string
  11719. tradeamount:
  11720. description: 成交金额
  11721. type: number
  11722. tradedate:
  11723. description: 交易日(yyyyMMdd)
  11724. type: string
  11725. tradeprice:
  11726. description: 成交价格
  11727. type: number
  11728. tradetime:
  11729. description: 成交时间
  11730. type: string
  11731. userid:
  11732. description: 用户ID
  11733. type: integer
  11734. warehousenamedisplay:
  11735. type: string
  11736. wrfactortypeid:
  11737. description: 仓单要素类型ID
  11738. type: integer
  11739. wrstandardid:
  11740. description: 现货商品ID
  11741. type: integer
  11742. wrtradedetailid:
  11743. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  11744. type: string
  11745. zscategory:
  11746. description: 钻石分类 - 枚举”ZSCategory“
  11747. type: integer
  11748. zscategorydisplay:
  11749. type: string
  11750. zscerttypedisplay:
  11751. type: string
  11752. zsclaritytype1display:
  11753. type: string
  11754. zsclaritytype2display:
  11755. type: string
  11756. zscolortype1display:
  11757. type: string
  11758. zscolortype2display:
  11759. type: string
  11760. zscrystaltypedisplay:
  11761. type: string
  11762. zscurrencytype:
  11763. description: 货币类型 - 枚举“ZSCurrencyType”
  11764. type: integer
  11765. zscurrencytypedisplay:
  11766. type: string
  11767. zscurrencytypedisplayunit:
  11768. type: string
  11769. zscuttype1display:
  11770. type: string
  11771. zscuttype2display:
  11772. type: string
  11773. zsczcolor1typedisplay:
  11774. type: string
  11775. zsczcolor2typedisplay:
  11776. type: string
  11777. zsczcolor3typedisplay:
  11778. type: string
  11779. zsfluorescencetype1display:
  11780. type: string
  11781. zsfluorescencetype2display:
  11782. type: string
  11783. zspolishtype1display:
  11784. type: string
  11785. zspolishtype2display:
  11786. type: string
  11787. zsshapetypedisplay:
  11788. type: string
  11789. zsstyletypedisplay:
  11790. type: string
  11791. zssymmetrytype1display:
  11792. type: string
  11793. zssymmetrytype2display:
  11794. type: string
  11795. required:
  11796. - userid
  11797. type: object
  11798. models.MyDelistingApply:
  11799. properties:
  11800. applyprice:
  11801. description: 申请价格
  11802. type: number
  11803. applyqty:
  11804. description: 申请数量
  11805. type: number
  11806. applyremark:
  11807. description: 申请备注
  11808. type: string
  11809. applystatus:
  11810. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11811. type: integer
  11812. applytime:
  11813. description: 申请时间
  11814. type: string
  11815. auditremark:
  11816. description: 确认备注
  11817. type: string
  11818. audittime:
  11819. description: 确认时间
  11820. type: string
  11821. buyuserid:
  11822. description: 买方用户ID
  11823. type: integer
  11824. buyusername:
  11825. description: 买方
  11826. type: string
  11827. buywrtradeorderid:
  11828. description: 买委托单ID
  11829. type: string
  11830. goodsno:
  11831. description: 商品编号
  11832. type: string
  11833. ladingbillid:
  11834. description: 卖方提单ID
  11835. type: string
  11836. marketid:
  11837. description: 市场ID
  11838. type: integer
  11839. performancetemplateid:
  11840. description: 履约计划模板ID
  11841. type: integer
  11842. price:
  11843. description: 价格
  11844. type: number
  11845. sellaccountid:
  11846. description: 卖方账户ID
  11847. type: integer
  11848. selldelistingapplyid:
  11849. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  11850. type: string
  11851. selltradeorderid:
  11852. description: 卖方委托ID(买方确认成交后更新)
  11853. type: string
  11854. selluserid:
  11855. description: 卖方用户ID
  11856. type: integer
  11857. sellusername:
  11858. description: 卖方
  11859. type: string
  11860. sizedisplay:
  11861. description: 尺寸
  11862. type: string
  11863. subnum:
  11864. description: 卖方提单子单号
  11865. type: integer
  11866. warehouseinfosdisplay:
  11867. type: string
  11868. weight:
  11869. description: 克拉重量
  11870. type: number
  11871. wrfactortypeid:
  11872. description: 仓单要素类型ID
  11873. type: string
  11874. wrstandardid:
  11875. description: 现货商品ID
  11876. type: integer
  11877. zsallproperties:
  11878. type: string
  11879. zscategorydisplay:
  11880. type: string
  11881. zsclaritytypedisplay:
  11882. type: string
  11883. zscolortypedisplay:
  11884. type: string
  11885. zscrystaltypedisplay:
  11886. type: string
  11887. zscurrencytypedisplay:
  11888. type: string
  11889. zscurrencytypedisplayunit:
  11890. description: 价格单位
  11891. type: string
  11892. zscuttypedisplay:
  11893. type: string
  11894. zsczcolor1typedisplay:
  11895. type: string
  11896. zsczcolor2typedisplay:
  11897. type: string
  11898. zsczcolor3typedisplay:
  11899. type: string
  11900. zsfluorescencetypedisplay:
  11901. type: string
  11902. zspolishtypedisplay:
  11903. type: string
  11904. zsshapetypedisplay:
  11905. type: string
  11906. zssizedisplay:
  11907. type: string
  11908. zsstyletypedisplay:
  11909. type: string
  11910. zssymmetrytypedisplay:
  11911. type: string
  11912. zstabledisplay:
  11913. type: string
  11914. required:
  11915. - selluserid
  11916. type: object
  11917. models.MyFavorite:
  11918. properties:
  11919. accountname:
  11920. description: 账户名称(机构名称)
  11921. type: string
  11922. buyorsell:
  11923. description: 买卖 - 0:买 1:卖
  11924. type: integer
  11925. favoritestatus:
  11926. description: 收藏状态 - 1:正常 2:失效
  11927. type: integer
  11928. goodsno:
  11929. description: 商品编号
  11930. type: string
  11931. marketid:
  11932. description: 市场ID
  11933. type: integer
  11934. marketprice:
  11935. description: 市场价
  11936. type: string
  11937. price:
  11938. description: 价格
  11939. type: number
  11940. priceper:
  11941. description: 克拉单价
  11942. type: string
  11943. sellusername:
  11944. description: 卖家
  11945. type: string
  11946. sizedisplay:
  11947. description: 尺寸
  11948. type: string
  11949. userid:
  11950. description: 用户ID
  11951. type: integer
  11952. warehousenamedisplay:
  11953. description: 仓库名称
  11954. type: string
  11955. weight:
  11956. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11957. type: number
  11958. weightavg:
  11959. description: 平均单颗重量 - 类型:1,3
  11960. type: number
  11961. wrfactortypeid:
  11962. description: 仓单要素类型ID/商品ID(77)
  11963. type: string
  11964. wrstandardid:
  11965. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  11966. type: integer
  11967. wrtradeorderid:
  11968. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11969. type: string
  11970. zscategory:
  11971. description: 钻石分类 - 枚举”ZSCategory“
  11972. type: integer
  11973. zscategorydisplay:
  11974. type: string
  11975. zscerttypedisplay:
  11976. type: string
  11977. zsclaritytype1display:
  11978. type: string
  11979. zsclaritytype2display:
  11980. type: string
  11981. zscolortype1display:
  11982. type: string
  11983. zscolortype2display:
  11984. type: string
  11985. zscrystaltypedisplay:
  11986. type: string
  11987. zscurrencytypedisplay:
  11988. type: string
  11989. zscurrencytypedisplayunit:
  11990. type: string
  11991. zscuttype1display:
  11992. type: string
  11993. zscuttype2display:
  11994. type: string
  11995. zsczcolor1typedisplay:
  11996. type: string
  11997. zsczcolor2typedisplay:
  11998. type: string
  11999. zsczcolor3typedisplay:
  12000. type: string
  12001. zsfluorescencetype1display:
  12002. type: string
  12003. zsfluorescencetype2display:
  12004. type: string
  12005. zspolishtype1display:
  12006. type: string
  12007. zspolishtype2display:
  12008. type: string
  12009. zsshapetypedisplay:
  12010. type: string
  12011. zsstyletypedisplay:
  12012. type: string
  12013. zssymmetrytype1display:
  12014. type: string
  12015. zssymmetrytype2display:
  12016. type: string
  12017. required:
  12018. - userid
  12019. type: object
  12020. models.MyPerformanc:
  12021. properties:
  12022. accountname:
  12023. description: '[对手方]账户名称(机构名称)'
  12024. type: string
  12025. amount:
  12026. description: 履约金额
  12027. type: number
  12028. buyaccountid:
  12029. description: 买方账号
  12030. type: integer
  12031. buyerfreezeamount:
  12032. description: 买方履约前冻结资金
  12033. type: number
  12034. buyerfreezeamountremain:
  12035. description: 买方履约前冻结资金剩余
  12036. type: number
  12037. buyerinfo:
  12038. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  12039. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  12040. type: string
  12041. buyorsell:
  12042. description: 方向 - 0:买 1:卖
  12043. type: integer
  12044. buypaidamount:
  12045. description: 买方已冻/已扣金额
  12046. type: number
  12047. buytodayamount:
  12048. description: 买方今日扣/冻金额 (待开市时清零)
  12049. type: number
  12050. curstepid:
  12051. description: 当前步骤ID
  12052. type: string
  12053. goodsno:
  12054. description: 商品编号
  12055. type: string
  12056. overshortamount:
  12057. description: 溢短金额
  12058. type: number
  12059. paymenttype:
  12060. description: 买方支付方式 - 1:冻结 2:扣款
  12061. type: integer
  12062. performanceplanid:
  12063. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  12064. type: string
  12065. performancestatus:
  12066. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  12067. 9:超时待处理 10:超时关闭
  12068. type: integer
  12069. price:
  12070. description: 价格
  12071. type: number
  12072. priceper:
  12073. description: 克拉单价
  12074. type: string
  12075. relatedorderid:
  12076. description: 关联单号(履约类型的关联单号)
  12077. type: string
  12078. remaindays:
  12079. description: 剩余天数
  12080. type: integer
  12081. sellerfreezeamount:
  12082. description: 卖方履约前冻结资金
  12083. type: number
  12084. sellerfreezeamountremain:
  12085. description: 卖方履约前冻结资金剩余
  12086. type: number
  12087. sellerinfo:
  12088. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  12089. "xxxxxxxx"}'
  12090. type: string
  12091. sellreceivedamount:
  12092. description: 卖方已收金额
  12093. type: number
  12094. selltodayamount:
  12095. description: 卖方今日收取金额(待开市时清零)
  12096. type: number
  12097. sizedisplay:
  12098. description: 尺寸
  12099. type: string
  12100. steptypeid:
  12101. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  12102. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  12103. type: integer
  12104. warehousenamedisplay:
  12105. type: string
  12106. zscategorydisplay:
  12107. type: string
  12108. zscerttypedisplay:
  12109. type: string
  12110. zsclaritytype1display:
  12111. type: string
  12112. zsclaritytype2display:
  12113. type: string
  12114. zscolortype1display:
  12115. type: string
  12116. zscolortype2display:
  12117. type: string
  12118. zscrystaltypedisplay:
  12119. type: string
  12120. zscurrencytypedisplay:
  12121. type: string
  12122. zscurrencytypedisplayunit:
  12123. type: string
  12124. zscuttype1display:
  12125. type: string
  12126. zscuttype2display:
  12127. type: string
  12128. zsczcolor1typedisplay:
  12129. type: string
  12130. zsczcolor2typedisplay:
  12131. type: string
  12132. zsczcolor3typedisplay:
  12133. type: string
  12134. zsfluorescencetype1display:
  12135. type: string
  12136. zsfluorescencetype2display:
  12137. type: string
  12138. zspolishtype1display:
  12139. type: string
  12140. zspolishtype2display:
  12141. type: string
  12142. zsshapetypedisplay:
  12143. type: string
  12144. zsstyletypedisplay:
  12145. type: string
  12146. zssymmetrytype1display:
  12147. type: string
  12148. zssymmetrytype2display:
  12149. type: string
  12150. type: object
  12151. models.MyRefer:
  12152. properties:
  12153. accountname:
  12154. description: 用户名(脱敏)
  12155. type: string
  12156. createtime:
  12157. description: 时间(yyyy-mm-dd)
  12158. type: string
  12159. score:
  12160. description: 积分
  12161. type: number
  12162. type: object
  12163. models.MySellOrder:
  12164. properties:
  12165. accountid:
  12166. description: 资金账号
  12167. type: integer
  12168. applyid:
  12169. description: 申请单ID
  12170. type: integer
  12171. attachment1:
  12172. description: 附件1
  12173. type: string
  12174. attachment2:
  12175. description: 附件2
  12176. type: string
  12177. buyorsell:
  12178. description: 买卖 - 0:买 1:卖
  12179. type: integer
  12180. canbargain:
  12181. description: 是否可议价 - 0:不可 1:可
  12182. type: integer
  12183. cancelqty:
  12184. description: 撤销数量
  12185. type: integer
  12186. canceltime:
  12187. description: 撤销时间
  12188. type: string
  12189. cerno:
  12190. type: string
  12191. chargealgorithm:
  12192. description: 手续费收取方式 1:比率 2:固定
  12193. type: integer
  12194. chargealgorithmvalue:
  12195. description: 手续费设置值(交易所部分)
  12196. type: number
  12197. chargealgorithmvalue2:
  12198. description: 手续费设置值(会员部分)
  12199. type: number
  12200. clientordertime:
  12201. description: 客户端委托时间
  12202. type: string
  12203. cpcertno:
  12204. type: string
  12205. exchangerate:
  12206. description: 汇率[67]
  12207. type: number
  12208. firstratio:
  12209. description: 首付比率 - [挂牌时指定,摘牌时使用]
  12210. type: number
  12211. fixedprice:
  12212. description: '[克拉单价]固定价格 - [挂牌]'
  12213. type: number
  12214. freezecharge:
  12215. description: 冻结手续费
  12216. type: number
  12217. freezefirstamount:
  12218. description: 冻结首付金额 - [摘牌]
  12219. type: number
  12220. freezemargin:
  12221. description: 冻结保证金
  12222. type: number
  12223. goodsno:
  12224. description: 商品编号
  12225. type: string
  12226. imagepath:
  12227. type: string
  12228. isspecified:
  12229. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  12230. type: integer
  12231. kppath:
  12232. type: string
  12233. kpweight:
  12234. type: string
  12235. marginalgorithm:
  12236. description: 保证金方式 - 1:比率 2:固定
  12237. type: integer
  12238. marginvalue:
  12239. description: 保证金设置值
  12240. type: number
  12241. marketid:
  12242. description: 市场ID
  12243. type: integer
  12244. marketprice:
  12245. type: string
  12246. orderamount:
  12247. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  12248. type: number
  12249. ordertime:
  12250. description: 委托时间
  12251. type: string
  12252. performancetemplateid:
  12253. description: 履约计划模板ID
  12254. type: integer
  12255. price:
  12256. description: 价格
  12257. type: number
  12258. pricefactor:
  12259. description: 价格系数(浮动价时填写) - [挂牌]
  12260. type: number
  12261. pricemove:
  12262. description: 升贴水(浮动价时填写) - [挂牌]
  12263. type: number
  12264. priceper:
  12265. type: string
  12266. relatedwrtradeorderid:
  12267. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  12268. type: integer
  12269. remark:
  12270. type: string
  12271. retcode:
  12272. description: 错误代码
  12273. type: integer
  12274. selledqty:
  12275. description: 成交重量
  12276. type: number
  12277. settingmaterial:
  12278. type: string
  12279. size1:
  12280. type: string
  12281. size2:
  12282. type: string
  12283. size3:
  12284. type: string
  12285. sizedisplay:
  12286. description: 尺寸
  12287. type: string
  12288. stonedesc:
  12289. type: string
  12290. totalqty:
  12291. description: 总重量
  12292. type: number
  12293. tradedate:
  12294. description: 交易日(yyyyMMdd)
  12295. type: string
  12296. tradeprice:
  12297. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  12298. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  12299. type: number
  12300. unfreezecharge:
  12301. description: 解冻手续费
  12302. type: number
  12303. unfreezefirstamount:
  12304. description: 解冻首付金额 - [摘牌]
  12305. type: number
  12306. unfreezemargin:
  12307. description: 解冻保证金
  12308. type: number
  12309. userid:
  12310. description: 用户ID
  12311. type: integer
  12312. uuid:
  12313. description: 发起端唯一id
  12314. type: string
  12315. validtime:
  12316. description: 有效期限
  12317. type: string
  12318. validtype:
  12319. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  12320. type: integer
  12321. warehousenamedisplay:
  12322. type: string
  12323. wrbargainid:
  12324. description: 议价申请单ID
  12325. type: integer
  12326. wrfactortypeid:
  12327. description: 仓单要素类型ID/商品ID(77)
  12328. type: integer
  12329. wrpath:
  12330. type: string
  12331. wrpricetype:
  12332. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  12333. type: integer
  12334. wrstandardid:
  12335. description: 现货商品ID
  12336. type: integer
  12337. wrtradeorderid:
  12338. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12339. type: string
  12340. wrtradeorderstatus:
  12341. 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:撤单解冻贷款失败
  12342. type: integer
  12343. wrtradetype:
  12344. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  12345. type: integer
  12346. wrtransferuserid:
  12347. description: 仓单受让用户 - [摘牌]
  12348. type: integer
  12349. zscategory:
  12350. description: 钻石分类 - 枚举”ZSCategory“
  12351. type: integer
  12352. zscategorydisplay:
  12353. description: 钻石分类 - 描述
  12354. type: string
  12355. zscerttypedisplay:
  12356. type: string
  12357. zsclaritytype1display:
  12358. type: string
  12359. zsclaritytype2display:
  12360. type: string
  12361. zscolortype1display:
  12362. type: string
  12363. zscolortype2display:
  12364. type: string
  12365. zscrystaltype:
  12366. type: string
  12367. zscrystaltypedisplay:
  12368. type: string
  12369. zscurrencytype:
  12370. description: 货币类型 - 枚举“ZSCurrencyType”
  12371. type: integer
  12372. zscurrencytypedisplay:
  12373. type: string
  12374. zscurrencytypedisplayunit:
  12375. type: string
  12376. zscuttype1display:
  12377. type: string
  12378. zscuttype2display:
  12379. type: string
  12380. zsczcolor1typedisplay:
  12381. type: string
  12382. zsczcolor2typedisplay:
  12383. type: string
  12384. zsczcolor3typedisplay:
  12385. type: string
  12386. zsfluorescencetype1display:
  12387. type: string
  12388. zsfluorescencetype2display:
  12389. type: string
  12390. zspolishtype1display:
  12391. type: string
  12392. zspolishtype2display:
  12393. type: string
  12394. zsshapetypedisplay:
  12395. type: string
  12396. zsstyletypedisplay:
  12397. type: string
  12398. zssymmetrytype1display:
  12399. type: string
  12400. zssymmetrytype2display:
  12401. type: string
  12402. required:
  12403. - userid
  12404. type: object
  12405. models.MyWRPosition:
  12406. properties:
  12407. cerno:
  12408. description: 证书编号 - 类型:2,4,5
  12409. type: string
  12410. cpcertno:
  12411. description: 金伯利证书编号 - 类型:3
  12412. type: string
  12413. ffreezeqty:
  12414. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  12415. type: number
  12416. ftotalqty:
  12417. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  12418. type: number
  12419. goodsno:
  12420. description: 商品编号
  12421. type: string
  12422. imagepath:
  12423. description: 商品照片(相对地址)
  12424. type: string
  12425. isvalid:
  12426. description: 是否有效 - 0:无效 1:有效
  12427. type: integer
  12428. kppath:
  12429. description: 金伯利证书图片(相对地址) - 类型:3
  12430. type: string
  12431. kpweight:
  12432. description: 金伯利证书重量 - 类型:3
  12433. type: string
  12434. ladingbillid:
  12435. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  12436. type: string
  12437. marketflag:
  12438. description: 是否上架,0-全部 1-是 2-否
  12439. type: integer
  12440. marketprice:
  12441. description: 市场价
  12442. type: string
  12443. origin:
  12444. description: 原产地 - 类型:3
  12445. type: string
  12446. price:
  12447. description: 总价(价格) - 类型:1,2,3,4,5
  12448. type: number
  12449. priceper:
  12450. description: 克拉单价 - 类型:1,2,3,5
  12451. type: string
  12452. remark:
  12453. description: 备注
  12454. type: string
  12455. sellmobile:
  12456. description: 手机号码(加密存储)
  12457. type: string
  12458. sellusername:
  12459. description: 账户名称(机构名称)
  12460. type: string
  12461. settingmaterial:
  12462. description: 镶嵌材料 - 类型:4
  12463. type: string
  12464. size1:
  12465. description: 尺寸1 - 类型:2,4,5
  12466. type: string
  12467. size2:
  12468. description: 尺寸2 - 类型:2,4,5
  12469. type: string
  12470. size3:
  12471. description: 尺寸3 - 类型:2,4,5
  12472. type: string
  12473. sizedisplay:
  12474. description: 尺寸
  12475. type: string
  12476. stonedesc:
  12477. description: 配石描述 - 类型:4
  12478. type: string
  12479. subnum:
  12480. description: 提单子单号
  12481. type: integer
  12482. userid:
  12483. description: 用户ID
  12484. type: integer
  12485. warehouseid:
  12486. description: 仓库ID
  12487. type: integer
  12488. warehousenamedisplay:
  12489. type: string
  12490. weight:
  12491. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  12492. type: number
  12493. weightavg:
  12494. description: 平均单颗重量 - 类型:1,3
  12495. type: number
  12496. wrpath:
  12497. description: 仓单扫描件(相对地址)
  12498. type: string
  12499. wrstandardid:
  12500. description: 现货商品ID
  12501. type: integer
  12502. wrtradeorderid:
  12503. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12504. type: string
  12505. wruserid:
  12506. description: 登录用户ID
  12507. type: integer
  12508. zscategory:
  12509. description: 钻石分类 - 枚举”ZSCategory“
  12510. type: integer
  12511. zscategorydisplay:
  12512. type: string
  12513. zscerttype:
  12514. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  12515. type: integer
  12516. zscerttypedisplay:
  12517. type: string
  12518. zsclaritytype1:
  12519. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  12520. type: integer
  12521. zsclaritytype1display:
  12522. type: string
  12523. zsclaritytype2:
  12524. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  12525. type: integer
  12526. zsclaritytype2display:
  12527. type: string
  12528. zscolortype1:
  12529. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  12530. type: integer
  12531. zscolortype1display:
  12532. type: string
  12533. zscolortype2:
  12534. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  12535. type: integer
  12536. zscolortype2display:
  12537. type: string
  12538. zscrystaltype:
  12539. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  12540. type: string
  12541. zscrystaltypedisplay:
  12542. type: string
  12543. zscurrencytype:
  12544. description: 货币类型 - 枚举“ZSCurrencyType”
  12545. type: integer
  12546. zscurrencytypedisplay:
  12547. type: string
  12548. zscurrencytypedisplayunit:
  12549. type: string
  12550. zscuttype1:
  12551. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  12552. type: integer
  12553. zscuttype1display:
  12554. type: string
  12555. zscuttype2:
  12556. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  12557. type: integer
  12558. zscuttype2display:
  12559. type: string
  12560. zsczcolor1type:
  12561. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  12562. type: integer
  12563. zsczcolor1typedisplay:
  12564. type: string
  12565. zsczcolor2type:
  12566. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  12567. type: integer
  12568. zsczcolor2typedisplay:
  12569. type: string
  12570. zsczcolor3type:
  12571. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  12572. type: integer
  12573. zsczcolor3typedisplay:
  12574. type: string
  12575. zsfluorescencetype1:
  12576. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  12577. type: integer
  12578. zsfluorescencetype1display:
  12579. type: string
  12580. zsfluorescencetype2:
  12581. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  12582. type: integer
  12583. zsfluorescencetype2display:
  12584. type: string
  12585. zspolishtype1:
  12586. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  12587. type: integer
  12588. zspolishtype1display:
  12589. type: string
  12590. zspolishtype2:
  12591. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  12592. type: integer
  12593. zspolishtype2display:
  12594. type: string
  12595. zsshapetype:
  12596. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  12597. type: string
  12598. zsshapetypedisplay:
  12599. type: string
  12600. zsstyletype:
  12601. description: 款式 - 类型:4
  12602. type: integer
  12603. zsstyletypedisplay:
  12604. type: string
  12605. zssymmetrytype1:
  12606. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  12607. type: integer
  12608. zssymmetrytype1display:
  12609. type: string
  12610. zssymmetrytype2:
  12611. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  12612. type: integer
  12613. zssymmetrytype2display:
  12614. type: string
  12615. required:
  12616. - wruserid
  12617. type: object
  12618. models.NewFuncmenulist:
  12619. properties:
  12620. authtype:
  12621. description: 权限类型 - 1:菜单 2:组件 3:按钮
  12622. type: integer
  12623. buttonname:
  12624. description: 按钮名称
  12625. type: string
  12626. buttontype:
  12627. description: 按钮类型 - 存按钮样式
  12628. type: string
  12629. component:
  12630. description: 组件名或组件地址
  12631. type: string
  12632. hidden:
  12633. description: 是否隐藏 - 0:显示 1:隐藏
  12634. type: integer
  12635. iconame:
  12636. description: 菜单图标
  12637. type: string
  12638. menutype:
  12639. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  12640. type: integer
  12641. parentcode:
  12642. description: 上级资源代码
  12643. type: string
  12644. remark:
  12645. description: Remark
  12646. type: string
  12647. resourcecode:
  12648. description: 资源代码
  12649. type: string
  12650. resourcelevel:
  12651. description: 级别1-一级 2-二级 3-三级4-四级
  12652. type: integer
  12653. resourcename:
  12654. description: 资源名(Title)
  12655. type: string
  12656. sort:
  12657. description: 排序
  12658. type: integer
  12659. url:
  12660. description: Url
  12661. type: string
  12662. urltype:
  12663. description: 地址类型 - 1:路由 2:外链 3:内联框架
  12664. type: integer
  12665. required:
  12666. - resourcecode
  12667. type: object
  12668. models.OperationPrimaryMenu:
  12669. properties:
  12670. Children:
  12671. description: 二级功能菜单
  12672. items:
  12673. $ref: '#/definitions/models.OperationSecondaryMenu'
  12674. type: array
  12675. Key:
  12676. description: 菜单KEY
  12677. type: string
  12678. Label:
  12679. description: 菜单标题
  12680. type: string
  12681. type: object
  12682. models.OperationSecondaryMenu:
  12683. properties:
  12684. Key:
  12685. description: 菜单KEY
  12686. type: string
  12687. Label:
  12688. description: 菜单标题
  12689. type: string
  12690. TabList:
  12691. description: 三级功能菜单
  12692. items:
  12693. $ref: '#/definitions/models.OperationTabMenu'
  12694. type: array
  12695. type: object
  12696. models.OperationTabMenu:
  12697. properties:
  12698. Key:
  12699. description: 菜单KEY
  12700. type: string
  12701. Label:
  12702. description: 菜单标题
  12703. type: string
  12704. type: object
  12705. models.Patradelinkdetail:
  12706. properties:
  12707. accountname:
  12708. description: 套期主体
  12709. type: string
  12710. agreeunit:
  12711. description: 合约乘数
  12712. type: number
  12713. amount:
  12714. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  12715. type: number
  12716. areauserid:
  12717. description: 所属机构
  12718. type: integer
  12719. bizsubjectid:
  12720. description: 归属业务部门ID - SubjectID
  12721. type: integer
  12722. buyorsell:
  12723. description: 方向 - 0:买 1:卖
  12724. type: integer
  12725. convertratio:
  12726. description: 品种系数
  12727. type: number
  12728. convertratiochange:
  12729. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  12730. type: number
  12731. createtime:
  12732. description: '[日期时间]创建时间'
  12733. type: string
  12734. creatorid:
  12735. description: 创建人ID
  12736. type: integer
  12737. creatorsrc:
  12738. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12739. type: integer
  12740. goodscode:
  12741. description: 商品代码(内部)
  12742. type: string
  12743. goodsgroupid:
  12744. description: 对冲品种ID[期货合约商品组ID]
  12745. type: integer
  12746. goodsid:
  12747. description: 商品ID
  12748. type: integer
  12749. hedgeditemid:
  12750. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12751. type: integer
  12752. hedgeflag:
  12753. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12754. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12755. type: integer
  12756. linkdetailid:
  12757. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12758. type: string
  12759. linkstatus:
  12760. description: 关联状态 - 1:成功 2:失败 3:解绑
  12761. type: integer
  12762. middlegoodsid:
  12763. description: 套保品种ID
  12764. type: integer
  12765. name:
  12766. description: 账户名/子账户
  12767. type: string
  12768. optioncode:
  12769. description: '[期货合约]期权代码 [期权]'
  12770. type: string
  12771. ordertype:
  12772. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  12773. type: integer
  12774. relatedlot:
  12775. description: '[数量]关联手数'
  12776. type: number
  12777. relatedmode:
  12778. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12779. type: integer
  12780. relatedqty:
  12781. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12782. type: number
  12783. retcode:
  12784. description: 返回码
  12785. type: integer
  12786. saleuserid:
  12787. description: 业务员ID
  12788. type: integer
  12789. tradedate:
  12790. description: 关联交易日(yyyyMMdd)
  12791. type: string
  12792. tradeid:
  12793. description: '[成交单号]内部成交单ID'
  12794. type: string
  12795. tradelot:
  12796. description: 成交手数
  12797. type: integer
  12798. tradeprice:
  12799. description: '[价格]成交价格'
  12800. type: number
  12801. tradetradedate:
  12802. description: 成交交易日(yyyyMMdd)
  12803. type: string
  12804. type: object
  12805. models.PromotionIncome:
  12806. properties:
  12807. profitmonth:
  12808. description: 时间
  12809. type: string
  12810. profitstatus:
  12811. description: 状态 - 0:全部 1:已支付 2:未支付
  12812. type: integer
  12813. sumamount:
  12814. description: 金额
  12815. type: number
  12816. wrstandardcode:
  12817. description: 现货商品代码
  12818. type: string
  12819. wrstandardid:
  12820. description: 现货商品ID
  12821. type: integer
  12822. wrstandardname:
  12823. description: 现货商品名称
  12824. type: string
  12825. type: object
  12826. models.PromotionIncomeDetail:
  12827. properties:
  12828. buyorsell:
  12829. description: 方向
  12830. type: string
  12831. market:
  12832. description: 市场
  12833. type: string
  12834. profitamount:
  12835. description: 金额
  12836. type: number
  12837. profitroletype:
  12838. description: 级别
  12839. type: string
  12840. tradetime:
  12841. description: 时间
  12842. type: string
  12843. wrstandardcode:
  12844. description: 现货商品代码
  12845. type: string
  12846. wrstandardid:
  12847. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  12848. type: integer
  12849. wrstandardname:
  12850. description: 现货商品名称
  12851. type: string
  12852. type: object
  12853. models.PurchaseTransfer:
  12854. properties:
  12855. pictureurls:
  12856. description: 详情图片(逗号分隔)
  12857. type: string
  12858. refgoodsid:
  12859. description: 参考商品ID
  12860. type: integer
  12861. thumurls:
  12862. description: 缩略图片(1:1)(逗号分隔)
  12863. type: string
  12864. unitid:
  12865. description: 现货商品单位ID
  12866. type: integer
  12867. wrstandardcode:
  12868. description: 现货商品代码
  12869. type: string
  12870. wrstandardid:
  12871. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  12872. type: integer
  12873. wrstandardname:
  12874. description: 现货商品名称(模糊查询)
  12875. type: string
  12876. type: object
  12877. models.QhjAccountOutInApply:
  12878. properties:
  12879. accountcode:
  12880. description: 资金账号
  12881. type: string
  12882. accountname:
  12883. description: 用户名称(名称)
  12884. type: string
  12885. accountpwd:
  12886. description: 资金密码
  12887. type: string
  12888. accountticket:
  12889. description: 最新账户服务流水号
  12890. type: string
  12891. amount:
  12892. description: 金额
  12893. type: number
  12894. applyremark:
  12895. description: 申请备注
  12896. type: string
  12897. applystatus:
  12898. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12899. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12900. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12901. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12902. type: integer
  12903. auditid:
  12904. description: 审核人
  12905. type: integer
  12906. audittime:
  12907. description: 审核时间
  12908. type: string
  12909. bank_apply_ticket:
  12910. description: 银行申请流水
  12911. type: string
  12912. bankaccountname:
  12913. description: 银行账户名
  12914. type: string
  12915. bankaccountno:
  12916. description: 银行卡号
  12917. type: string
  12918. bankid:
  12919. description: 银行编号
  12920. type: string
  12921. bankticket:
  12922. description: 银行流水
  12923. type: string
  12924. branchbankid:
  12925. description: 银行支行号
  12926. type: string
  12927. branchbankname:
  12928. description: 银行支行名称
  12929. type: string
  12930. capamountout:
  12931. description: 出金(劣后本金) - 外部子账户
  12932. type: number
  12933. certificatephotourl:
  12934. description: 凭证地址
  12935. type: string
  12936. charge:
  12937. description: 手续费
  12938. type: number
  12939. checkerrorflag:
  12940. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12941. type: integer
  12942. currency:
  12943. description: 币种
  12944. type: string
  12945. cusbankid:
  12946. description: 托管银行编号
  12947. type: string
  12948. cusbankname:
  12949. description: 托管银行名称
  12950. type: string
  12951. cusbankshortname:
  12952. description: 托管银行简称
  12953. type: string
  12954. exchticket:
  12955. description: 银行服务流水号
  12956. type: string
  12957. executetype:
  12958. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12959. 7:外部子账户:入金 8:外部子账户:出金'
  12960. type: integer
  12961. extendinfo:
  12962. description: 扩展信息
  12963. type: string
  12964. extoperateid:
  12965. description: 交易服务流水号
  12966. type: integer
  12967. infamount:
  12968. description: 劣后金额(自有)
  12969. type: number
  12970. logincode:
  12971. description: 登录账号(账号)
  12972. type: string
  12973. netaddr:
  12974. description: 调转网址
  12975. type: string
  12976. priamount:
  12977. description: 优先金额(授信)
  12978. type: number
  12979. reauditid:
  12980. description: 复审人
  12981. type: integer
  12982. reauditremark:
  12983. description: 复审备注
  12984. type: string
  12985. reaudittime:
  12986. description: 复审时间
  12987. type: string
  12988. relatedorderid:
  12989. description: 三方关联ID
  12990. type: string
  12991. remark:
  12992. description: 备注
  12993. type: string
  12994. remark2:
  12995. description: 备注(失败原因)
  12996. type: string
  12997. soucreamount:
  12998. description: 原始出入金金额
  12999. type: number
  13000. soucrecurrencyid:
  13001. description: 原始出入金币种
  13002. type: integer
  13003. tradedate:
  13004. description: 交易日(yyyyMMdd)
  13005. type: string
  13006. updatetime:
  13007. description: 更新时间(申请时间)
  13008. type: string
  13009. userid:
  13010. description: 用户id
  13011. type: integer
  13012. userinfotype:
  13013. description: 账户类型 1-个人 2-企业
  13014. type: integer
  13015. type: object
  13016. models.QhjAgreementChangeLog:
  13017. properties:
  13018. agreementcontent:
  13019. description: 协议内容
  13020. type: string
  13021. agreementfrequency:
  13022. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  13023. type: integer
  13024. agreementid:
  13025. description: 协议ID
  13026. type: integer
  13027. agreementname:
  13028. description: 协议名称
  13029. type: string
  13030. agreementno:
  13031. description: 协议编号
  13032. type: string
  13033. agreementtype:
  13034. description: 协议类型 - 1:注册 2:登录 3:交易
  13035. type: integer
  13036. agreementversion:
  13037. description: 协议版本号
  13038. type: integer
  13039. logid:
  13040. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  13041. type: integer
  13042. reviserid:
  13043. description: 修改人
  13044. type: integer
  13045. revisersrc:
  13046. description: 修改来源 - 1:管理端 2:终端
  13047. type: integer
  13048. updatetime:
  13049. description: 更新时间
  13050. type: string
  13051. type: object
  13052. models.QhjAgreementConfig:
  13053. properties:
  13054. agreementcontent:
  13055. description: 协议内容
  13056. type: string
  13057. agreementfrequency:
  13058. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  13059. type: integer
  13060. agreementid:
  13061. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  13062. type: integer
  13063. agreementname:
  13064. description: 协议名称
  13065. type: string
  13066. agreementno:
  13067. description: 协议编号
  13068. type: string
  13069. agreementtype:
  13070. description: 协议类型 - 1:注册 2:登录 3:交易
  13071. type: integer
  13072. agreementversion:
  13073. description: 协议版本号(从1开始每次修改加1)
  13074. type: integer
  13075. createtime:
  13076. description: 创建时间
  13077. type: string
  13078. creatorid:
  13079. description: 创建人
  13080. type: integer
  13081. creatorsrc:
  13082. description: 创建来源 - 1:管理端 2:终端
  13083. type: integer
  13084. isvalid:
  13085. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  13086. type: integer
  13087. reviserid:
  13088. description: 修改人
  13089. type: integer
  13090. revisersrc:
  13091. description: 修改来源 - 1:管理端 2:终端
  13092. type: integer
  13093. updatetime:
  13094. description: 更新时间
  13095. type: string
  13096. type: object
  13097. models.QhjAreaFinanceConfig:
  13098. properties:
  13099. additionalratio:
  13100. description: 追加款比例
  13101. type: number
  13102. advanceratio:
  13103. description: 预付款比例
  13104. type: number
  13105. alarmratio:
  13106. description: 告警比例
  13107. type: number
  13108. consumptiondirectreward:
  13109. description: 消费直推奖励值
  13110. type: number
  13111. consumptionenabled:
  13112. description: 是否启用消费奖励 - 0:不启用 1:启用
  13113. type: integer
  13114. consumptionindirectreward:
  13115. description: 消费间推奖励值
  13116. type: number
  13117. consumptionmodel:
  13118. description: 消费奖励方式 - 1:比率 2:固定
  13119. type: integer
  13120. customerservicenum:
  13121. description: 客服电话
  13122. type: string
  13123. dayinterestrate:
  13124. description: 日利率
  13125. type: number
  13126. disableconsumptiontips:
  13127. description: 关闭消费奖励提示
  13128. type: string
  13129. modifierid:
  13130. description: 修改人ID
  13131. type: integer
  13132. modifysrc:
  13133. description: 审核来源 - 1:管理端 2:终端
  13134. type: integer
  13135. modifytime:
  13136. description: 修改时间
  13137. type: string
  13138. promotionvalue:
  13139. description: 推广奖励值(固定)
  13140. type: number
  13141. scoreconfigvalue1:
  13142. description: 提货积分配置1
  13143. type: integer
  13144. scoreconfigvalue2:
  13145. description: 提货积分配置2
  13146. type: integer
  13147. userid:
  13148. description: 机构用户ID其他做市关系,都设置为 1
  13149. type: integer
  13150. username:
  13151. description: 用户名称
  13152. type: string
  13153. type: object
  13154. models.QhjBankAccountSign:
  13155. properties:
  13156. accountcode:
  13157. description: 资金账号
  13158. type: string
  13159. accountname:
  13160. description: 资金账号对应的账号名(UserName)
  13161. type: string
  13162. accountname2:
  13163. description: 资金账号对应的账号名(UserName) - 密文
  13164. type: string
  13165. accounttype:
  13166. description: 账户类型(UserType)
  13167. type: integer
  13168. applicationtime:
  13169. description: 最后一次更新的时间
  13170. type: string
  13171. applyexchticket:
  13172. description: 申请流水
  13173. type: string
  13174. auditid:
  13175. description: 审核人
  13176. type: integer
  13177. audittime:
  13178. description: 审核时间
  13179. type: string
  13180. bankaccountname:
  13181. description: 签约银行卡账号名
  13182. type: string
  13183. bankaccountname2:
  13184. description: 签约银行卡账号名 - 密文
  13185. type: string
  13186. bankaccountno:
  13187. description: 银行卡号
  13188. type: string
  13189. bankaccountno2:
  13190. description: 银行卡号 - 密文
  13191. type: string
  13192. bankaccounttype:
  13193. description: 银行账户类型 - 1-对私; 2-对公
  13194. type: integer
  13195. bankcardtype:
  13196. description: 银行卡类型
  13197. type: integer
  13198. bankchildaccount:
  13199. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  13200. type: string
  13201. bankcity:
  13202. description: 开户行城市
  13203. type: string
  13204. bankid:
  13205. description: 签约银行ID
  13206. type: string
  13207. bankname:
  13208. description: 签约银行名称
  13209. type: string
  13210. bankprovince:
  13211. description: 开户行省份
  13212. type: string
  13213. branchbankid:
  13214. description: 签约银行支行号
  13215. type: string
  13216. branchbankname:
  13217. description: 签约银行支行名称
  13218. type: string
  13219. cardno:
  13220. description: 证件号码
  13221. type: string
  13222. cardno2:
  13223. description: 证件号码 - 密文
  13224. type: string
  13225. cardtype:
  13226. description: 证件类型
  13227. type: string
  13228. currency:
  13229. description: 币种
  13230. type: string
  13231. cusbankid:
  13232. description: 托管银行编号
  13233. type: string
  13234. direct:
  13235. description: 方向(可以判断那方先发起的签约)
  13236. type: integer
  13237. exchticket:
  13238. description: 最后一次签约成功的流水号
  13239. type: string
  13240. extendinfo:
  13241. description: 扩展信息(JSON字符串)
  13242. type: string
  13243. mobilephone:
  13244. description: 手机号
  13245. type: string
  13246. mobilephone2:
  13247. description: 手机号 - 密文
  13248. type: string
  13249. netaddr:
  13250. description: 调转网址
  13251. type: string
  13252. relateduserid:
  13253. description: 关联使用者userid
  13254. type: integer
  13255. signstatus:
  13256. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13257. 10:审核拒绝 11:换签待审核
  13258. type: integer
  13259. updatetime:
  13260. description: 更新时间(签解约更新时间)
  13261. type: string
  13262. type: object
  13263. models.QhjBankInfo:
  13264. properties:
  13265. bankid:
  13266. description: 银行ID
  13267. type: string
  13268. bankname:
  13269. description: 银行名称
  13270. type: string
  13271. clearbankno:
  13272. description: 清算系统银行编号
  13273. type: string
  13274. orderindex:
  13275. description: 排序顺序
  13276. type: integer
  13277. status:
  13278. description: 状态 - 0:正常 1:注销
  13279. type: integer
  13280. type: object
  13281. models.QhjBrokerApply:
  13282. properties:
  13283. applicantid:
  13284. description: 申请人
  13285. type: integer
  13286. applysrc:
  13287. description: 申请来源 - 1:管理端 2:终端
  13288. type: integer
  13289. applystatus:
  13290. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13291. type: integer
  13292. applytime:
  13293. description: 申请时间
  13294. type: string
  13295. auditorid:
  13296. description: 审核人
  13297. type: integer
  13298. auditremark:
  13299. description: 审核备注
  13300. type: string
  13301. auditsrc:
  13302. description: 审核来源 - 1:管理端 2:终端
  13303. type: integer
  13304. audittime:
  13305. description: 审核时间
  13306. type: string
  13307. audittradedate:
  13308. description: 审核交易日(yyyyMMdd)
  13309. type: string
  13310. brokerapplyid:
  13311. description: 申请ID(SEQ_BROKERAPPLY)
  13312. type: integer
  13313. cardbackphotourl:
  13314. description: 证件背面图片地址
  13315. type: string
  13316. cardfrontphotourl:
  13317. description: 证件正面图片地址
  13318. type: string
  13319. cardnum:
  13320. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13321. type: string
  13322. customername:
  13323. description: 姓名
  13324. type: string
  13325. logincode:
  13326. description: 登录代码
  13327. type: string
  13328. mobile:
  13329. description: 手机号码
  13330. type: string
  13331. parentuserid:
  13332. description: 所属机构id
  13333. type: integer
  13334. parentusername:
  13335. description: 所属机构名称
  13336. type: string
  13337. refereeuserid:
  13338. description: 推荐人id(经纪人)
  13339. type: integer
  13340. refernum:
  13341. description: 推荐码
  13342. type: string
  13343. remark:
  13344. description: 备注
  13345. type: string
  13346. subarealevelpath:
  13347. description: 层级路径
  13348. type: string
  13349. tradedate:
  13350. description: 交易日(yyyyMMdd)
  13351. type: string
  13352. userid:
  13353. description: 申请人用户ID
  13354. type: integer
  13355. userinfotype:
  13356. description: 用户类型 1-个人 2-企业
  13357. type: integer
  13358. username:
  13359. description: 用户名称
  13360. type: string
  13361. type: object
  13362. models.QhjBrokerApplyEx:
  13363. properties:
  13364. applylist:
  13365. description: 经纪人申请记录(只返回最新一条)
  13366. items:
  13367. $ref: '#/definitions/models.QhjBrokerApply'
  13368. type: array
  13369. canrecommend:
  13370. description: 是否经纪人 0-不是 1-是
  13371. type: integer
  13372. refernum:
  13373. description: 推荐码
  13374. type: string
  13375. userid:
  13376. description: 用户id
  13377. type: integer
  13378. userinfotype:
  13379. description: 用户类型 1-个人 2-企业
  13380. type: integer
  13381. type: object
  13382. models.QhjBrokerRewardLog:
  13383. properties:
  13384. accountid:
  13385. description: 资金账号ID
  13386. type: integer
  13387. createtime:
  13388. description: 创建时间(时间)
  13389. type: string
  13390. handlestatus:
  13391. description: 处理状态
  13392. type: integer
  13393. logid:
  13394. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13395. type: string
  13396. marketid:
  13397. description: 市场ID
  13398. type: integer
  13399. mmaccountid:
  13400. description: 做市商资金账号ID
  13401. type: string
  13402. mmuserid:
  13403. description: 做市商用户ID
  13404. type: string
  13405. rewardamount:
  13406. description: 奖励金额
  13407. type: number
  13408. rewardmodel:
  13409. description: 消费奖励方式 - 1:比率 2:固定
  13410. type: integer
  13411. rewardtype:
  13412. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  13413. type: integer
  13414. rewardvalue:
  13415. description: 配置奖励值
  13416. type: number
  13417. srcamount:
  13418. description: 成交金额 [消费奖励] (金额)
  13419. type: number
  13420. srcgoodsid:
  13421. description: 来源商品ID [消费奖励]
  13422. type: string
  13423. srctime:
  13424. description: 来源时间 (成交时间) [消费奖励]
  13425. type: string
  13426. srctradeid:
  13427. description: 来源成交单ID [消费奖励] - 排除提货成交
  13428. type: string
  13429. srcuserid:
  13430. description: 来源用户ID(推广账户)
  13431. type: string
  13432. srcusername:
  13433. description: 推广账户名称
  13434. type: string
  13435. tradedate:
  13436. description: 交易日(yyyyMMdd)
  13437. type: string
  13438. userid:
  13439. description: 经纪人用户ID
  13440. type: integer
  13441. type: object
  13442. models.QhjContract:
  13443. properties:
  13444. contractconfirmtime:
  13445. description: 合同确认时间(时间)
  13446. type: string
  13447. currisklevel:
  13448. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13449. type: integer
  13450. decimalplace:
  13451. description: 商品报价小数位
  13452. type: integer
  13453. enumdicname:
  13454. description: 单位名称
  13455. type: string
  13456. goodscode:
  13457. description: 商品代码
  13458. type: string
  13459. goodsid:
  13460. description: 商品ID [5:融资单]
  13461. type: integer
  13462. goodsname:
  13463. description: 商品名称
  13464. type: string
  13465. goodunitid:
  13466. description: 商品单位id
  13467. type: integer
  13468. initmargin:
  13469. description: 初始保证金(首付款)
  13470. type: number
  13471. lenderamount:
  13472. description: 贷款金额(总额|订单总额)
  13473. type: number
  13474. marginratio:
  13475. description: 保证金比率(首付比例)
  13476. type: number
  13477. payamount:
  13478. description: 已付(已付货款)
  13479. type: number
  13480. reckonrecovermargin:
  13481. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13482. type: number
  13483. recoveredmargin:
  13484. description: 已追缴保证金
  13485. type: number
  13486. remainamount:
  13487. description: 合同剩余金额(融资额)
  13488. type: number
  13489. scfcontractid:
  13490. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13491. type: string
  13492. scfcontractstatus:
  13493. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13494. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13495. type: integer
  13496. scfcontracttype:
  13497. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13498. type: integer
  13499. totalinterest:
  13500. description: 已计总利息(利息)
  13501. type: number
  13502. tradeprice:
  13503. description: 成交价格(成本价格)
  13504. type: number
  13505. userid:
  13506. description: 用户ID
  13507. type: integer
  13508. username:
  13509. description: 用户名称
  13510. type: string
  13511. wrqty:
  13512. description: 仓单数量(数量)
  13513. type: number
  13514. type: object
  13515. models.QhjContractLog:
  13516. properties:
  13517. amount:
  13518. description: 支付金额
  13519. type: number
  13520. amounttype:
  13521. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  13522. type: integer
  13523. logid:
  13524. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13525. type: string
  13526. remainamount:
  13527. description: 剩余货款
  13528. type: number
  13529. scfcontractid:
  13530. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13531. type: integer
  13532. updatetime:
  13533. description: 更新时间
  13534. type: string
  13535. type: object
  13536. models.QhjCusBankSignBankEx:
  13537. properties:
  13538. banklst:
  13539. description: 银行列表
  13540. items:
  13541. $ref: '#/definitions/models.QhjBankInfo'
  13542. type: array
  13543. canallot:
  13544. description: 是否支持跨行调拨 - 0:不支持 1:支持
  13545. type: integer
  13546. canallotquery:
  13547. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  13548. type: integer
  13549. canbindcard:
  13550. description: 是否可绑卡与解卡 - 0:不可 1:可以
  13551. type: integer
  13552. caninamount:
  13553. description: 是否可入金 - 0:不可 1:可以
  13554. type: integer
  13555. caninamount2:
  13556. description: 是否可入金(网银端) - 0:不可 1:可以
  13557. type: integer
  13558. canmodifybankcard:
  13559. description: 是否可修改银行卡号 - 0:不可 1:可以
  13560. type: integer
  13561. canmodifyphone:
  13562. description: 是否可修改手机号 - 0:不可 1:可以
  13563. type: integer
  13564. canmodifysigninfo:
  13565. description: 是否可修改签约信息 - 0:不可 1:可以
  13566. type: integer
  13567. canoutamount:
  13568. description: 是否可出金 - 0:不可 1:可以
  13569. type: integer
  13570. canoutamount2:
  13571. description: 是否可出金(网银端) - 0:不可 1:可以
  13572. type: integer
  13573. canrelease:
  13574. description: 是否可解约 - 0:不可 1:可以
  13575. type: integer
  13576. canrelease2:
  13577. description: 是否可解约(网银端) - 0:不可 1:可以
  13578. type: integer
  13579. cansign:
  13580. description: 是否可签约 - 0:不可 1:可以
  13581. type: integer
  13582. cansign2:
  13583. description: 是否可签约(网银端) - 0:不可 1:可以
  13584. type: integer
  13585. currency:
  13586. description: 币种
  13587. type: string
  13588. cusbankid:
  13589. description: 托管银行编号(对应清算中心TRAN_NO)
  13590. type: string
  13591. cusbankname:
  13592. description: 银行业务名称
  13593. type: string
  13594. cusbankshortname:
  13595. description: 银行业务简称
  13596. type: string
  13597. exchbankid:
  13598. description: 交易所开户银行ID
  13599. type: string
  13600. exchpaybankaccname:
  13601. description: 交易所支出结算账户户名
  13602. type: string
  13603. exchpaybankaccno:
  13604. description: 交易所支出结算账户
  13605. type: string
  13606. isneedcheck:
  13607. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  13608. type: integer
  13609. isneedclear:
  13610. description: 是否需要清算 - 0:不需要 1:需要
  13611. type: integer
  13612. lastcheckstatus:
  13613. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  13614. type: integer
  13615. lastchecktime:
  13616. description: 最后对账时间
  13617. type: string
  13618. lastclearstatus:
  13619. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  13620. type: integer
  13621. lastcleartime:
  13622. description: 最后清算时间
  13623. type: string
  13624. lastsignintime:
  13625. description: 最后签到时间
  13626. type: string
  13627. lastsignouttime:
  13628. description: 最后签退时间
  13629. type: string
  13630. riskinfo:
  13631. description: 签约风险提示书
  13632. type: string
  13633. signstatus:
  13634. description: 当前签到/签退状态 - 1:签到 2:签退
  13635. type: integer
  13636. tradedate:
  13637. description: 交易日(yyyyMMdd)
  13638. type: string
  13639. updatetime:
  13640. description: 当前签到/签退更新时间
  13641. type: string
  13642. type: object
  13643. models.QhjCustomer:
  13644. properties:
  13645. address:
  13646. description: 通讯地址
  13647. type: string
  13648. attachment1:
  13649. description: 附件1
  13650. type: string
  13651. attachment2:
  13652. description: 附件2
  13653. type: string
  13654. audittime:
  13655. description: 审核时间
  13656. type: string
  13657. cardbackphotourl:
  13658. description: 证件反面图片地址
  13659. type: string
  13660. cardfrontphotourl:
  13661. description: 证件正面图片地址
  13662. type: string
  13663. cardnum:
  13664. description: 证件号码
  13665. type: string
  13666. cardtype:
  13667. description: 证件类型
  13668. type: integer
  13669. cardtypename:
  13670. description: 证件类型名称
  13671. type: string
  13672. cityid:
  13673. description: 市
  13674. type: integer
  13675. cityname:
  13676. description: 城市名称
  13677. type: string
  13678. contactname:
  13679. description: 联系人
  13680. type: string
  13681. countryid:
  13682. description: 国家
  13683. type: integer
  13684. countryname:
  13685. description: 国家名称
  13686. type: string
  13687. createtime:
  13688. description: 创建时间
  13689. type: string
  13690. customername:
  13691. description: 客户名称
  13692. type: string
  13693. districtid:
  13694. description: 区域
  13695. type: integer
  13696. districtname:
  13697. description: 地区名称
  13698. type: string
  13699. email:
  13700. description: 邮件
  13701. type: string
  13702. legalpersonname:
  13703. description: 法人姓名(企业)
  13704. type: string
  13705. logincode:
  13706. description: 登录账号(代码)
  13707. type: string
  13708. memberuserid:
  13709. description: 所属机构ID(所属会员)
  13710. type: integer
  13711. memberusername:
  13712. description: 所属会员名称
  13713. type: string
  13714. mobile:
  13715. description: 手机号码
  13716. type: string
  13717. modifytime:
  13718. description: 修改时间
  13719. type: string
  13720. nickname:
  13721. description: 昵称
  13722. type: string
  13723. parentuserid:
  13724. description: 上级机构(所属机构)
  13725. type: integer
  13726. parentusername:
  13727. description: 所属机构名称
  13728. type: string
  13729. provinceid:
  13730. description: 省
  13731. type: integer
  13732. provincename:
  13733. description: 省名称
  13734. type: string
  13735. proxystatementurl:
  13736. description: 授权委托书
  13737. type: string
  13738. remark:
  13739. description: 备注
  13740. type: string
  13741. status:
  13742. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  13743. type: integer
  13744. statusdesc:
  13745. description: 账户状态中文描述
  13746. type: string
  13747. taxpayernum:
  13748. description: 纳税人识别号
  13749. type: string
  13750. telphone:
  13751. description: 联系电话
  13752. type: string
  13753. userid:
  13754. description: 用户ID
  13755. type: integer
  13756. userinfotype:
  13757. description: 客户类型 1-个人 2-企业
  13758. type: integer
  13759. username:
  13760. description: 用户名称
  13761. type: string
  13762. type: object
  13763. models.QhjCustomerSignLog:
  13764. properties:
  13765. agreementcontent:
  13766. description: 协议内容
  13767. type: string
  13768. agreementid:
  13769. description: 协议ID
  13770. type: integer
  13771. agreementname:
  13772. description: 协议名称
  13773. type: string
  13774. agreementno:
  13775. description: 协议编号
  13776. type: string
  13777. agreementtype:
  13778. description: 协议类型 - 1:注册 2:登录 3:交易
  13779. type: integer
  13780. agreementversion:
  13781. description: 协议版本号
  13782. type: integer
  13783. createtime:
  13784. description: 创建时间
  13785. type: string
  13786. goodscode:
  13787. description: 商品代码
  13788. type: string
  13789. goodsid:
  13790. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13791. type: integer
  13792. goodsname:
  13793. description: 商品名称
  13794. type: string
  13795. logid:
  13796. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  13797. type: integer
  13798. nodetype:
  13799. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13800. type: integer
  13801. signadressurl:
  13802. description: 签约文件地址
  13803. type: string
  13804. signtimestamp:
  13805. description: 签约状态时间戳
  13806. type: string
  13807. userid:
  13808. description: 客户ID
  13809. type: integer
  13810. username:
  13811. description: 客户名称
  13812. type: string
  13813. type: object
  13814. models.QhjCustomerSignStatus:
  13815. properties:
  13816. createtime:
  13817. description: 创建时间
  13818. type: string
  13819. goodscode:
  13820. description: 商品代码
  13821. type: string
  13822. goodsid:
  13823. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13824. type: integer
  13825. goodsname:
  13826. description: 商品名称
  13827. type: string
  13828. nodetype:
  13829. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  13830. type: integer
  13831. signtimestamp:
  13832. description: 签约状态时间戳
  13833. type: string
  13834. tradedate:
  13835. description: 创建交易日(yyyyMMdd)
  13836. type: string
  13837. updatetime:
  13838. description: 更新时间
  13839. type: string
  13840. userid:
  13841. description: 客户ID
  13842. type: integer
  13843. username:
  13844. description: 客户名称
  13845. type: string
  13846. type: object
  13847. models.QhjMgrAccountOutInApply:
  13848. properties:
  13849. accountcode:
  13850. description: 资金账号
  13851. type: string
  13852. accountname:
  13853. description: 用户名称(名称)
  13854. type: string
  13855. accountpwd:
  13856. description: 资金密码
  13857. type: string
  13858. accountticket:
  13859. description: 最新账户服务流水号
  13860. type: string
  13861. amount:
  13862. description: 金额
  13863. type: number
  13864. applyremark:
  13865. description: 申请备注
  13866. type: string
  13867. applystatus:
  13868. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  13869. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  13870. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  13871. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  13872. type: integer
  13873. auditid:
  13874. description: 审核人
  13875. type: integer
  13876. audittime:
  13877. description: 审核时间
  13878. type: string
  13879. bank_apply_ticket:
  13880. description: 银行申请流水
  13881. type: string
  13882. bankaccountname:
  13883. description: 银行账户名
  13884. type: string
  13885. bankaccountno:
  13886. description: 银行卡号
  13887. type: string
  13888. bankid:
  13889. description: 银行编号
  13890. type: string
  13891. bankname:
  13892. description: 银行名称
  13893. type: string
  13894. bankticket:
  13895. description: 银行流水
  13896. type: string
  13897. branchbankid:
  13898. description: 银行支行号
  13899. type: string
  13900. branchbankname:
  13901. description: 银行支行名称
  13902. type: string
  13903. capamountout:
  13904. description: 出金(劣后本金) - 外部子账户
  13905. type: number
  13906. certificatephotourl:
  13907. description: 凭证地址
  13908. type: string
  13909. charge:
  13910. description: 手续费
  13911. type: number
  13912. checkerrorflag:
  13913. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  13914. type: integer
  13915. currency:
  13916. description: 币种
  13917. type: string
  13918. cusbankid:
  13919. description: 托管银行编号
  13920. type: string
  13921. exchticket:
  13922. description: 银行服务流水号
  13923. type: string
  13924. executetype:
  13925. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  13926. 7:外部子账户:入金 8:外部子账户:出金'
  13927. type: integer
  13928. extendinfo:
  13929. description: 扩展信息
  13930. type: string
  13931. extoperateid:
  13932. description: 交易服务流水号
  13933. type: integer
  13934. infamount:
  13935. description: 劣后金额(自有)
  13936. type: number
  13937. logincode:
  13938. description: 登录账号(账号)
  13939. type: string
  13940. netaddr:
  13941. description: 调转网址
  13942. type: string
  13943. priamount:
  13944. description: 优先金额(授信)
  13945. type: number
  13946. reauditid:
  13947. description: 复审人
  13948. type: integer
  13949. reauditremark:
  13950. description: 复审备注
  13951. type: string
  13952. reaudittime:
  13953. description: 复审时间
  13954. type: string
  13955. relatedorderid:
  13956. description: 三方关联ID
  13957. type: string
  13958. remark:
  13959. description: 备注
  13960. type: string
  13961. remark2:
  13962. description: 备注(失败原因)
  13963. type: string
  13964. soucreamount:
  13965. description: 原始出入金金额
  13966. type: number
  13967. soucrecurrencyid:
  13968. description: 原始出入金币种
  13969. type: integer
  13970. tradedate:
  13971. description: 交易日(yyyyMMdd)
  13972. type: string
  13973. updatetime:
  13974. description: 更新时间(申请时间)
  13975. type: string
  13976. userid:
  13977. description: 用户id
  13978. type: integer
  13979. userinfotype:
  13980. description: 账户类型 1-个人 2-企业
  13981. type: integer
  13982. type: object
  13983. models.QhjMgrBrokerApply:
  13984. properties:
  13985. applicantid:
  13986. description: 申请人
  13987. type: integer
  13988. applysrc:
  13989. description: 申请来源 - 1:管理端 2:终端
  13990. type: integer
  13991. applystatus:
  13992. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13993. type: integer
  13994. applytime:
  13995. description: 申请时间
  13996. type: string
  13997. auditorid:
  13998. description: 审核人
  13999. type: integer
  14000. auditremark:
  14001. description: 审核备注
  14002. type: string
  14003. auditsrc:
  14004. description: 审核来源 - 1:管理端 2:终端
  14005. type: integer
  14006. audittime:
  14007. description: 审核时间
  14008. type: string
  14009. audittradedate:
  14010. description: 审核交易日(yyyyMMdd)
  14011. type: string
  14012. brokerapplyid:
  14013. description: 申请ID(SEQ_BROKERAPPLY)
  14014. type: integer
  14015. cardbackphotourl:
  14016. description: 证件背面图片地址
  14017. type: string
  14018. cardfrontphotourl:
  14019. description: 证件正面图片地址
  14020. type: string
  14021. cardnum:
  14022. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  14023. type: string
  14024. customername:
  14025. description: 姓名
  14026. type: string
  14027. filterstatus:
  14028. description: 筛选条件
  14029. type: string
  14030. logincode:
  14031. description: 登录代码
  14032. type: string
  14033. mobile:
  14034. description: 手机号码
  14035. type: string
  14036. parentuserid:
  14037. description: 所属机构id
  14038. type: integer
  14039. parentusername:
  14040. description: 所属机构名称
  14041. type: string
  14042. refereeuserid:
  14043. description: 推荐人id(经纪人)
  14044. type: integer
  14045. refernum:
  14046. description: 推荐码
  14047. type: string
  14048. remark:
  14049. description: 备注
  14050. type: string
  14051. subarealevelpath:
  14052. description: 层级路径
  14053. type: string
  14054. tradedate:
  14055. description: 交易日(yyyyMMdd)
  14056. type: string
  14057. userid:
  14058. description: 申请人用户ID
  14059. type: integer
  14060. userinfotype:
  14061. description: 用户类型 1-个人 2-企业
  14062. type: integer
  14063. username:
  14064. description: 用户名称
  14065. type: string
  14066. type: object
  14067. models.QhjMgrBrokerRewardReport:
  14068. properties:
  14069. createtime:
  14070. description: 创建时间(注册时间)
  14071. type: string
  14072. cycletime:
  14073. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  14074. type: string
  14075. cycletype:
  14076. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14077. type: integer
  14078. directtotalnum:
  14079. description: 直推总人数【期末】
  14080. type: integer
  14081. indirecttotalnum:
  14082. description: 间推总人数【期末】
  14083. type: integer
  14084. mobile:
  14085. description: 电话号码
  14086. type: string
  14087. refereeuserid:
  14088. description: 推荐人id(经纪人id)
  14089. type: integer
  14090. refereeusername:
  14091. description: 推荐人名称(经纪人) 上级经纪人名称
  14092. type: string
  14093. refernum:
  14094. description: 推荐码
  14095. type: string
  14096. subarealevelpath:
  14097. description: 用户层级路径
  14098. type: string
  14099. todayrewardamount:
  14100. description: 奖励总金额【汇总】
  14101. type: number
  14102. updatetime:
  14103. description: 更新时间
  14104. type: string
  14105. userid:
  14106. description: 经纪人用户ID
  14107. type: integer
  14108. userinfotype:
  14109. description: 用户类型 1-个人 2-企业
  14110. type: integer
  14111. username:
  14112. description: 用户名称
  14113. type: string
  14114. type: object
  14115. models.QhjMgrContract:
  14116. properties:
  14117. contractconfirmtime:
  14118. description: 合同确认时间(时间)
  14119. type: string
  14120. currisklevel:
  14121. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  14122. type: integer
  14123. decimalplace:
  14124. description: 商品报价小数位
  14125. type: integer
  14126. enumdicname:
  14127. description: 单位名称
  14128. type: string
  14129. goodscode:
  14130. description: 商品代码
  14131. type: string
  14132. goodsid:
  14133. description: 商品ID [5:融资单]
  14134. type: integer
  14135. goodsname:
  14136. description: 商品名称
  14137. type: string
  14138. goodunitid:
  14139. description: 商品单位id
  14140. type: integer
  14141. initmargin:
  14142. description: 初始保证金(首付款)
  14143. type: number
  14144. lenderamount:
  14145. description: 贷款金额(总额|订单总额)
  14146. type: number
  14147. logincode:
  14148. description: 账号(登录代码)
  14149. type: string
  14150. marginratio:
  14151. description: 保证金比率(首付比例)
  14152. type: number
  14153. mobile:
  14154. description: 电话号码(用户资料里的电话)
  14155. type: string
  14156. payamount:
  14157. description: 已付(已付货款)
  14158. type: number
  14159. reckonrecovermargin:
  14160. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  14161. type: number
  14162. recoveredmargin:
  14163. description: 已追缴保证金
  14164. type: number
  14165. remainamount:
  14166. description: 合同剩余金额(融资额)
  14167. type: number
  14168. scfcontractid:
  14169. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  14170. type: string
  14171. scfcontractstatus:
  14172. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  14173. 9:违约结束 10:已注销 11:已关闭 99:未提交
  14174. type: integer
  14175. scfcontracttype:
  14176. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  14177. type: integer
  14178. totalinterest:
  14179. description: 已计总利息(利息)
  14180. type: number
  14181. tradedate:
  14182. description: 交易日
  14183. type: string
  14184. tradeprice:
  14185. description: 成交价格(成本价格)
  14186. type: number
  14187. userid:
  14188. description: 用户ID
  14189. type: integer
  14190. userinfotype:
  14191. description: 用户类型 1-个人 2-企业
  14192. type: integer
  14193. username:
  14194. description: 用户名称
  14195. type: string
  14196. wrqty:
  14197. description: 仓单数量(数量)
  14198. type: number
  14199. type: object
  14200. models.QhjMgrCustomer:
  14201. properties:
  14202. address:
  14203. description: 通讯地址
  14204. type: string
  14205. attachment1:
  14206. description: 附件1
  14207. type: string
  14208. audittime:
  14209. description: 审核时间
  14210. type: string
  14211. birthday:
  14212. description: 生日
  14213. type: string
  14214. brokerid:
  14215. description: 所属客户经理id
  14216. type: integer
  14217. brokername:
  14218. description: 所属客户经理名称
  14219. type: string
  14220. cardbackphotourl:
  14221. description: 证件反面图片地址
  14222. type: string
  14223. cardfrontphotourl:
  14224. description: 证件正面图片地址
  14225. type: string
  14226. cardnum:
  14227. description: 证件号码
  14228. type: string
  14229. cardtype:
  14230. description: 证件类型
  14231. type: integer
  14232. cardtypename:
  14233. description: 证件类型名称
  14234. type: string
  14235. cityid:
  14236. description: 市
  14237. type: integer
  14238. cityname:
  14239. description: 城市名称
  14240. type: string
  14241. contactname:
  14242. description: 联系人
  14243. type: string
  14244. countryid:
  14245. description: 国家
  14246. type: integer
  14247. countryname:
  14248. description: 国家名称
  14249. type: string
  14250. createtime:
  14251. description: 创建时间
  14252. type: string
  14253. customername:
  14254. description: 客户名称
  14255. type: string
  14256. districtid:
  14257. description: 区域
  14258. type: integer
  14259. districtname:
  14260. description: 地区名称
  14261. type: string
  14262. email:
  14263. description: 邮件
  14264. type: string
  14265. legalpersonname:
  14266. description: 法人姓名(企业)
  14267. type: string
  14268. logincode:
  14269. description: 登录账号(代码)
  14270. type: string
  14271. memberuserid:
  14272. description: 所属机构ID(所属会员)
  14273. type: integer
  14274. memberusername:
  14275. description: 所属会员名称
  14276. type: string
  14277. mobile:
  14278. description: 手机号码
  14279. type: string
  14280. modifytime:
  14281. description: 修改时间
  14282. type: string
  14283. nickname:
  14284. description: 昵称
  14285. type: string
  14286. parentuserid:
  14287. description: 上级机构(所属机构)
  14288. type: integer
  14289. parentusername:
  14290. description: 所属机构名称
  14291. type: string
  14292. provinceid:
  14293. description: 省
  14294. type: integer
  14295. provincename:
  14296. description: 省名称
  14297. type: string
  14298. proxystatementurl:
  14299. description: 授权委托书
  14300. type: string
  14301. querytype:
  14302. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  14303. type: integer
  14304. remark:
  14305. description: 备注
  14306. type: string
  14307. sex:
  14308. description: 性别 0-女 1-男
  14309. type: integer
  14310. status:
  14311. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  14312. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  14313. type: integer
  14314. statusdesc:
  14315. description: 账户状态中文描述
  14316. type: string
  14317. taxpayernum:
  14318. description: 纳税人识别号
  14319. type: string
  14320. telphone:
  14321. description: 联系电话
  14322. type: string
  14323. userid:
  14324. description: 用户ID
  14325. type: integer
  14326. userinfotype:
  14327. description: 客户类型 1-个人 2-企业
  14328. type: integer
  14329. username:
  14330. description: 用户名称
  14331. type: string
  14332. type: object
  14333. models.QhjMgrPickGoods:
  14334. properties:
  14335. enumdicname:
  14336. description: 单位名称(提货商品)
  14337. type: string
  14338. goodsid:
  14339. description: 商品id
  14340. type: integer
  14341. imageaddress:
  14342. description: 图片
  14343. type: string
  14344. modifierid:
  14345. description: 修改人
  14346. type: integer
  14347. modifiername:
  14348. description: 修改人名称
  14349. type: string
  14350. modifysrc:
  14351. description: 修改来源 - 1:管理端 2:终端
  14352. type: integer
  14353. pickupgoodsagreeunit:
  14354. description: 合约乘数
  14355. type: number
  14356. pickupgoodsdesc:
  14357. description: 描述
  14358. type: string
  14359. pickupgoodsid:
  14360. description: 提货商品ID
  14361. type: string
  14362. pickupgoodsname:
  14363. description: 提货商品名称
  14364. type: string
  14365. pickupgoodsstatus:
  14366. description: 状态 - 1:正常 2:停用 3:注销
  14367. type: integer
  14368. pickupgoodsunitid:
  14369. description: 单位ID
  14370. type: integer
  14371. pickupratio:
  14372. description: 提货系数
  14373. type: number
  14374. preparedays:
  14375. description: 备货期(天)
  14376. type: integer
  14377. remark:
  14378. description: 备注
  14379. type: string
  14380. updatetime:
  14381. description: 更新时间
  14382. type: string
  14383. type: object
  14384. models.QhjMgrPositionRsp:
  14385. properties:
  14386. accountid:
  14387. description: 账号Id
  14388. type: integer
  14389. accountname:
  14390. description: 用户名称
  14391. type: string
  14392. agreeunit:
  14393. description: 合约乘数
  14394. type: number
  14395. averageprice:
  14396. description: 均价
  14397. type: number
  14398. avialqty:
  14399. description: 可用数量
  14400. type: number
  14401. decimalplace:
  14402. description: 报价小数位
  14403. type: integer
  14404. enumdicname:
  14405. description: 单位名称(商品)
  14406. type: string
  14407. frozenqty:
  14408. description: 冻结数量
  14409. type: number
  14410. goodscode:
  14411. description: 商品代码(内部)
  14412. type: string
  14413. goodsid:
  14414. description: 商品Id
  14415. type: integer
  14416. goodsname:
  14417. description: 商品名称
  14418. type: string
  14419. goodunitid:
  14420. description: 报价单位ID
  14421. type: integer
  14422. holderamount:
  14423. description: 金额
  14424. type: number
  14425. holderqty:
  14426. description: 持有数量
  14427. type: number
  14428. holdertype:
  14429. description: 持仓类别 - 1:单边持仓 2:双边持仓
  14430. type: integer
  14431. logincode:
  14432. description: 登录代码(账户)
  14433. type: string
  14434. marketid:
  14435. description: 市场id
  14436. type: integer
  14437. qtydecimalplace:
  14438. description: 成交量小数位
  14439. type: integer
  14440. trademode:
  14441. description: 交易模式
  14442. type: integer
  14443. userid:
  14444. description: 用户id
  14445. type: integer
  14446. userinfotype:
  14447. description: 账户类型 1-个人 2-企业
  14448. type: integer
  14449. type: object
  14450. models.QhjMgrSubArea:
  14451. properties:
  14452. accountname:
  14453. description: 账户名称(机构名称)
  14454. type: string
  14455. memberuserid:
  14456. description: 所属会员ID
  14457. type: integer
  14458. parenttopuser:
  14459. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14460. type: string
  14461. parentuserid:
  14462. description: 所属机构ID
  14463. type: integer
  14464. rootuserid:
  14465. description: 根用户ID
  14466. type: string
  14467. subaccountlevel:
  14468. description: 子账户层数
  14469. type: integer
  14470. subarealevelpath:
  14471. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14472. type: string
  14473. userid:
  14474. description: 用户ID
  14475. type: integer
  14476. usertype:
  14477. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14478. type: integer
  14479. type: object
  14480. models.QhjMgrTradeDetailRsp:
  14481. properties:
  14482. accountid:
  14483. description: 资金账号
  14484. type: integer
  14485. accountname:
  14486. description: 用户名称
  14487. type: string
  14488. agreeunit:
  14489. description: 合约乘数
  14490. type: number
  14491. buyorsell:
  14492. description: 成交类型(方向) 0:买 1:卖
  14493. type: integer
  14494. decimalplace:
  14495. description: 报价小数位
  14496. type: integer
  14497. enumdicname:
  14498. description: 单位名称(商品)
  14499. type: string
  14500. goodscode:
  14501. description: 商品代码(内部)
  14502. type: string
  14503. goodsid:
  14504. description: 商品id
  14505. type: integer
  14506. goodsname:
  14507. description: 商品名称
  14508. type: string
  14509. goodunitid:
  14510. description: 报价单位ID
  14511. type: integer
  14512. logincode:
  14513. description: 登录代码(账户)
  14514. type: string
  14515. marketid:
  14516. description: 市场id
  14517. type: integer
  14518. orderid:
  14519. description: 关联委托单号
  14520. type: string
  14521. qtydecimalplace:
  14522. description: 成交量小数位
  14523. type: integer
  14524. tradeamount:
  14525. description: 金额
  14526. type: number
  14527. tradedate:
  14528. description: 交易日
  14529. type: string
  14530. tradeid:
  14531. description: 成交单号
  14532. type: string
  14533. trademode:
  14534. description: 交易模式
  14535. type: integer
  14536. tradeprice:
  14537. description: 价格
  14538. type: number
  14539. tradeqty:
  14540. description: 数量
  14541. type: number
  14542. tradetime:
  14543. description: 成交时间
  14544. type: string
  14545. userid:
  14546. description: 用户id
  14547. type: integer
  14548. userinfotype:
  14549. description: 账户类型 1-个人 2-企业
  14550. type: integer
  14551. type: object
  14552. models.QhjMgrTradeOrderDetailRsp:
  14553. properties:
  14554. accountid:
  14555. description: 资金账号
  14556. type: integer
  14557. accountname:
  14558. description: 用户名称
  14559. type: string
  14560. agreeunit:
  14561. description: 合约乘数
  14562. type: number
  14563. amount:
  14564. description: 金额
  14565. type: number
  14566. decimalplace:
  14567. description: 报价小数位
  14568. type: integer
  14569. enumdicname:
  14570. description: 单位名称(商品)
  14571. type: string
  14572. goodscode:
  14573. description: 商品代码(内部)
  14574. type: string
  14575. goodsid:
  14576. description: 商品id
  14577. type: integer
  14578. goodsname:
  14579. description: 商品名称
  14580. type: string
  14581. goodunitid:
  14582. description: 报价单位ID
  14583. type: integer
  14584. logincode:
  14585. description: 登录代码(账户)
  14586. type: string
  14587. marketid:
  14588. description: 市场id
  14589. type: integer
  14590. orderid:
  14591. description: 关联委托单号
  14592. type: string
  14593. orderprice:
  14594. description: 价格
  14595. type: number
  14596. orderqty:
  14597. description: 数量
  14598. type: number
  14599. orderstatus:
  14600. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14601. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14602. 16:成交失败违约(荷兰式竞拍专用)
  14603. type: integer
  14604. ordertime:
  14605. description: 委托时间
  14606. type: string
  14607. qtydecimalplace:
  14608. description: 成交量小数位
  14609. type: integer
  14610. tradedate:
  14611. description: 交易日
  14612. type: string
  14613. trademode:
  14614. description: 交易模式
  14615. type: integer
  14616. userid:
  14617. description: 用户id
  14618. type: integer
  14619. userinfotype:
  14620. description: 账户类型 1-个人 2-企业
  14621. type: integer
  14622. type: object
  14623. models.QhjMgrTradePayOrder:
  14624. properties:
  14625. accountname:
  14626. description: 用户名称
  14627. type: string
  14628. advanceratio:
  14629. description: 首付比率
  14630. type: number
  14631. agreeunit:
  14632. description: 合约乘数
  14633. type: number
  14634. buyaccountid:
  14635. description: 买方账号ID[报价币种]
  14636. type: integer
  14637. buyorderid:
  14638. description: 买方委托单号(关联单号)
  14639. type: string
  14640. createtime:
  14641. description: 创建时间
  14642. type: string
  14643. decimalplace:
  14644. description: 报价小数位
  14645. type: integer
  14646. enumdicname:
  14647. description: 单位名称(商品)
  14648. type: string
  14649. goodscode:
  14650. description: 商品代码(内部)
  14651. type: string
  14652. goodsid:
  14653. description: 商品ID
  14654. type: integer
  14655. goodsname:
  14656. description: 商品名称
  14657. type: string
  14658. goodunitid:
  14659. description: 报价单位ID
  14660. type: integer
  14661. logincode:
  14662. description: 登录代码(账户)
  14663. type: string
  14664. marketid:
  14665. description: 市场id
  14666. type: integer
  14667. offamount:
  14668. description: 优惠金额
  14669. type: number
  14670. operatetype:
  14671. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14672. type: integer
  14673. payamount:
  14674. description: 支付金额(金额)
  14675. type: number
  14676. payflag:
  14677. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14678. type: integer
  14679. paylimitedtime:
  14680. description: 支付期限
  14681. type: string
  14682. paytime:
  14683. description: 付款时间
  14684. type: string
  14685. qtydecimalplace:
  14686. description: 成交量小数位
  14687. type: integer
  14688. sellaccountid:
  14689. description: 卖方账号ID[报价币种]
  14690. type: integer
  14691. sellorderid:
  14692. description: 卖方委托单号
  14693. type: string
  14694. tradeamount:
  14695. description: 成交金额(优惠后金额)
  14696. type: number
  14697. tradecharge:
  14698. description: 成交手续费(买方)
  14699. type: number
  14700. tradedate:
  14701. description: 交易日(yyyyMMdd)
  14702. type: string
  14703. tradeid:
  14704. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14705. type: string
  14706. trademode:
  14707. description: 交易模式
  14708. type: integer
  14709. tradeprice:
  14710. description: 成交价格(价格)
  14711. type: number
  14712. tradeqty:
  14713. description: 成交数量(数量)
  14714. type: number
  14715. tradetime:
  14716. description: 成交时间
  14717. type: string
  14718. userid:
  14719. description: 用户id
  14720. type: integer
  14721. userinfotype:
  14722. description: 账户类型 1-个人 2-企业
  14723. type: integer
  14724. type: object
  14725. models.QhjMyTeamEx:
  14726. properties:
  14727. accountname:
  14728. description: 用户名称
  14729. type: string
  14730. accountstatus:
  14731. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14732. type: integer
  14733. createtime:
  14734. description: 创建时间
  14735. type: string
  14736. mobile:
  14737. description: 手机号码
  14738. type: string
  14739. refereeuserid:
  14740. description: 推荐人id
  14741. type: integer
  14742. refernum:
  14743. description: 推荐码
  14744. type: string
  14745. subList:
  14746. items:
  14747. $ref: '#/definitions/models.QhjMyTeamEx'
  14748. type: array
  14749. userid:
  14750. description: 用户id
  14751. type: integer
  14752. userinfotype:
  14753. description: 用户类型 1-个人 2-企业
  14754. type: integer
  14755. type: object
  14756. models.QhjNodeAgreementConfig:
  14757. properties:
  14758. agreementcontent:
  14759. description: 协议内容
  14760. type: string
  14761. agreementid:
  14762. description: 协议ID
  14763. type: integer
  14764. agreementname:
  14765. description: 协议名称
  14766. type: string
  14767. agreementno:
  14768. description: 协议编号
  14769. type: string
  14770. agreementtype:
  14771. description: 协议类型 - 1:注册 2:登录 3:交易
  14772. type: integer
  14773. agreementversion:
  14774. description: 协议版本号
  14775. type: integer
  14776. configid:
  14777. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14778. type: integer
  14779. createtime:
  14780. description: 创建时间
  14781. type: string
  14782. goodsid:
  14783. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14784. type: integer
  14785. nodetype:
  14786. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14787. type: integer
  14788. type: object
  14789. models.QhjParentAreaList:
  14790. properties:
  14791. accountname:
  14792. description: 账户名称(机构名称)
  14793. type: string
  14794. userid:
  14795. description: 用户ID
  14796. type: integer
  14797. usertype:
  14798. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14799. type: integer
  14800. type: object
  14801. models.QhjPayOrder:
  14802. properties:
  14803. advanceratio:
  14804. description: 首付比率
  14805. type: number
  14806. buyaccountid:
  14807. description: 买方账号ID[报价币种]
  14808. type: integer
  14809. buyorderid:
  14810. description: 买方委托单号
  14811. type: string
  14812. createtime:
  14813. description: 创建时间
  14814. type: string
  14815. decimalplace:
  14816. description: 商品报价小数位
  14817. type: integer
  14818. enumdicname:
  14819. description: 单位名称
  14820. type: string
  14821. goodscode:
  14822. description: 商品代码
  14823. type: string
  14824. goodsid:
  14825. description: 商品ID
  14826. type: integer
  14827. goodsname:
  14828. description: 商品名称
  14829. type: string
  14830. goodunitid:
  14831. description: 商品单位id
  14832. type: integer
  14833. marketid:
  14834. description: 市场ID
  14835. type: integer
  14836. offamount:
  14837. description: 优惠金额
  14838. type: number
  14839. operatetype:
  14840. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14841. type: integer
  14842. payamount:
  14843. description: 支付金额
  14844. type: number
  14845. payflag:
  14846. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14847. type: integer
  14848. paylimitedtime:
  14849. description: 支付期限
  14850. type: string
  14851. paytime:
  14852. description: 付款时间
  14853. type: string
  14854. qtydecimalplace:
  14855. description: 成交量小数位
  14856. type: integer
  14857. sellaccountid:
  14858. description: 卖方账号ID[报价币种]
  14859. type: integer
  14860. sellorderid:
  14861. description: 卖方委托单号
  14862. type: string
  14863. tradeamount:
  14864. description: 成交金额(优惠后金额)
  14865. type: number
  14866. tradecharge:
  14867. description: 成交手续费(买方)
  14868. type: number
  14869. tradedate:
  14870. description: 交易日(yyyyMMdd)
  14871. type: string
  14872. tradeid:
  14873. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14874. type: string
  14875. tradeprice:
  14876. description: 成交价格
  14877. type: number
  14878. tradeqty:
  14879. description: 成交数量
  14880. type: number
  14881. type: object
  14882. models.QhjPickArea:
  14883. properties:
  14884. address:
  14885. description: 详细地址
  14886. type: string
  14887. cityid:
  14888. description: 市
  14889. type: integer
  14890. cityname:
  14891. description: 城市名称
  14892. type: string
  14893. countryid:
  14894. description: 国家
  14895. type: integer
  14896. countryname:
  14897. description: 国家名称
  14898. type: string
  14899. districtid:
  14900. description: 地区
  14901. type: integer
  14902. districtname:
  14903. description: 地区名称
  14904. type: string
  14905. fromuserid:
  14906. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  14907. type: integer
  14908. fromusername:
  14909. description: 所属机构名称
  14910. type: string
  14911. provinceid:
  14912. description: 省
  14913. type: integer
  14914. provincename:
  14915. description: 省名称
  14916. type: string
  14917. suborgtype:
  14918. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  14919. type: integer
  14920. userid:
  14921. description: 机构用户ID 其他做市关系,都设置为 1
  14922. type: integer
  14923. username:
  14924. description: 机构用户名称(门店门称)
  14925. type: string
  14926. type: object
  14927. models.QhjPickGoods:
  14928. properties:
  14929. enumdicname:
  14930. description: 单位名称(提货商品)
  14931. type: string
  14932. goodsid:
  14933. description: 商品id
  14934. type: integer
  14935. imageaddress:
  14936. description: 图片
  14937. type: string
  14938. modifierid:
  14939. description: 修改人
  14940. type: integer
  14941. modifiername:
  14942. description: 修改人名称
  14943. type: string
  14944. modifysrc:
  14945. description: 修改来源 - 1:管理端 2:终端
  14946. type: integer
  14947. pickupgoodsagreeunit:
  14948. description: 合约乘数
  14949. type: number
  14950. pickupgoodsdesc:
  14951. description: 描述
  14952. type: string
  14953. pickupgoodsid:
  14954. description: 提货商品ID
  14955. type: string
  14956. pickupgoodsname:
  14957. description: 提货商品名称
  14958. type: string
  14959. pickupgoodsstatus:
  14960. description: 状态 - 1:正常 2:停用 3:注销
  14961. type: integer
  14962. pickupgoodsunitid:
  14963. description: 单位ID
  14964. type: integer
  14965. pickupratio:
  14966. description: 提货系数
  14967. type: number
  14968. preparedays:
  14969. description: 备货期(天)
  14970. type: integer
  14971. remark:
  14972. description: 备注
  14973. type: string
  14974. updatetime:
  14975. description: 更新时间
  14976. type: string
  14977. type: object
  14978. models.QhjRSTriggerLog:
  14979. properties:
  14980. accountid:
  14981. description: 用户资金账户
  14982. type: integer
  14983. accountname:
  14984. description: 账号名称(ACCOUNTID对应的名称)
  14985. type: string
  14986. currencyid:
  14987. description: 币种id
  14988. type: integer
  14989. currencyname:
  14990. description: 币种名称
  14991. type: string
  14992. decimalplace:
  14993. description: 商品报价小数位
  14994. type: integer
  14995. enumdicname:
  14996. description: 单位名称
  14997. type: string
  14998. goodscode:
  14999. description: 定投商品代码
  15000. type: string
  15001. goodsid:
  15002. description: 定投商品ID
  15003. type: integer
  15004. goodsname:
  15005. description: 定投商品名称
  15006. type: string
  15007. goodunitid:
  15008. description: 定投商品单位id
  15009. type: integer
  15010. logid:
  15011. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  15012. type: string
  15013. logincode:
  15014. description: 账号(登录代码)
  15015. type: string
  15016. qtydecimalplace:
  15017. description: 成交量小数位
  15018. type: integer
  15019. regularlycycle:
  15020. description: 定投频率 - 1:每周 2:每月
  15021. type: integer
  15022. regularlycyclevalue:
  15023. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  15024. type: string
  15025. regularlymode:
  15026. description: 定投方式 - 1:按数量 2:按金额
  15027. type: integer
  15028. regularlymodevalue:
  15029. description: 定投方式值 - 数量或金额
  15030. type: number
  15031. regularlystrategyid:
  15032. description: 定投策略ID
  15033. type: integer
  15034. retcode:
  15035. description: 错误码
  15036. type: string
  15037. tradeid:
  15038. description: 成交单ID
  15039. type: string
  15040. triggeramount:
  15041. description: 触发金额
  15042. type: number
  15043. triggerqty:
  15044. description: 触发数量
  15045. type: number
  15046. triggerstatus:
  15047. description: 触发状态 - 1:成功 2:失败
  15048. type: integer
  15049. triggertime:
  15050. description: 触发时间
  15051. type: string
  15052. triggertradedate:
  15053. description: 触发交易日
  15054. type: string
  15055. userid:
  15056. description: 所属用户ID
  15057. type: integer
  15058. userinfotype:
  15059. description: 用户类型 1-个人 2-企业
  15060. type: integer
  15061. username:
  15062. description: 用户名称(userid对应的名称)
  15063. type: string
  15064. type: object
  15065. models.QhjRStrategy:
  15066. properties:
  15067. accountid:
  15068. description: 用户资金账户
  15069. type: integer
  15070. accountname:
  15071. description: 账号名称(ACCOUNTID对应的名称)
  15072. type: string
  15073. currencyid:
  15074. description: 币种id
  15075. type: integer
  15076. currencyname:
  15077. description: 币种名称
  15078. type: string
  15079. decimalplace:
  15080. description: 商品报价小数位
  15081. type: integer
  15082. enumdicname:
  15083. description: 单位名称
  15084. type: string
  15085. goodscode:
  15086. description: 定投商品代码
  15087. type: string
  15088. goodsid:
  15089. description: 定投商品ID
  15090. type: integer
  15091. goodsname:
  15092. description: 定投商品名称
  15093. type: string
  15094. goodunitid:
  15095. description: 定投商品单位id
  15096. type: integer
  15097. lasteffecttradedate:
  15098. description: 最新生效交易日
  15099. type: string
  15100. laststoptradedate:
  15101. description: 最新暂停交易日
  15102. type: string
  15103. lasttriggertradedate:
  15104. description: 最新触发交易日
  15105. type: string
  15106. logincode:
  15107. description: 账号(登录代码)
  15108. type: string
  15109. nexttriggeramount:
  15110. description: 下次触发金额
  15111. type: number
  15112. nexttriggerdate:
  15113. description: 下次触发日期
  15114. type: string
  15115. nexttriggerqty:
  15116. description: 下次触发数量 [按小数位放大值]
  15117. type: number
  15118. qtydecimalplace:
  15119. description: 成交量小数位
  15120. type: integer
  15121. regularlycycle:
  15122. description: 定投频率 - 1:每周 2:每月
  15123. type: integer
  15124. regularlycyclevalue:
  15125. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  15126. type: string
  15127. regularlymode:
  15128. description: 定投方式 - 1:按数量 2:按金额
  15129. type: integer
  15130. regularlymodevalue:
  15131. description: 定投方式值 - 数量或金额
  15132. type: number
  15133. regularlystrategyid:
  15134. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  15135. type: integer
  15136. regularlystrategystatus:
  15137. description: 策略状态 - 1:正常 2:暂停 3:终止
  15138. type: integer
  15139. remark:
  15140. description: 备注
  15141. type: string
  15142. triggersuccesstimes:
  15143. description: 累计定投成功次数
  15144. type: string
  15145. triggertotalamount:
  15146. description: 累计定投金额(成功)
  15147. type: number
  15148. triggertotalqty:
  15149. description: 累计定投数量(成功) [按小数位放大值]
  15150. type: number
  15151. triggertotaltimes:
  15152. description: 累计定投总次数
  15153. type: string
  15154. updatesrc:
  15155. description: 更新来源 - 1:管理端 2:终端
  15156. type: integer
  15157. updatetime:
  15158. description: 更新时间
  15159. type: string
  15160. updatorid:
  15161. description: 更新人
  15162. type: string
  15163. userid:
  15164. description: 所属用户ID
  15165. type: integer
  15166. userinfotype:
  15167. description: 用户类型 1-个人 2-企业
  15168. type: integer
  15169. username:
  15170. description: 用户名称(userid对应的名称)
  15171. type: string
  15172. type: object
  15173. models.QhjReckonPriceLog:
  15174. properties:
  15175. decimalplace:
  15176. description: 商品报价小数位
  15177. type: integer
  15178. goodscode:
  15179. description: 商品代码
  15180. type: string
  15181. goodsid:
  15182. description: 商品ID
  15183. type: integer
  15184. goodsname:
  15185. description: 商品名称
  15186. type: string
  15187. lastreckonprice:
  15188. description: 上日结算价
  15189. type: number
  15190. nextdnlimitprice:
  15191. description: 下个交易日跌停价
  15192. type: number
  15193. nexttrade:
  15194. description: 下个交易日
  15195. type: string
  15196. nextuplimitprice:
  15197. description: 下个交易日涨停价
  15198. type: number
  15199. reckonprice:
  15200. description: 今日结算价(定投价)
  15201. type: number
  15202. reckontime:
  15203. description: 结算时间
  15204. type: string
  15205. totalholderqty:
  15206. description: 总持仓数
  15207. type: integer
  15208. totalstock:
  15209. description: 总库存
  15210. type: integer
  15211. tradedate:
  15212. description: 交易日
  15213. type: string
  15214. updowncount:
  15215. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  15216. type: integer
  15217. updownflag:
  15218. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  15219. type: integer
  15220. updownrate:
  15221. description: 今日涨跌幅
  15222. type: number
  15223. updownrate_2d:
  15224. description: 连续两日涨跌幅
  15225. type: number
  15226. updownrate_3d:
  15227. description: 连续三日涨跌幅
  15228. type: number
  15229. type: object
  15230. models.QhjScoreLog:
  15231. properties:
  15232. accountid:
  15233. description: 账户ID
  15234. type: integer
  15235. createtime:
  15236. description: 创建时间(时间)
  15237. type: string
  15238. goodsid:
  15239. description: 商品ID
  15240. type: integer
  15241. hasuploaded:
  15242. description: 是否已同步(千海金) 0:未同步 1;已同步
  15243. type: integer
  15244. logid:
  15245. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15246. type: string
  15247. marketid:
  15248. description: 市场ID
  15249. type: integer
  15250. relatedamount:
  15251. description: 关联金额
  15252. type: number
  15253. relatedorderid:
  15254. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  15255. type: string
  15256. scoreconfigvalue1:
  15257. description: 积分配置1
  15258. type: integer
  15259. scoreconfigvalue2:
  15260. description: 积分配置1
  15261. type: integer
  15262. scoretype:
  15263. description: 积分类型 - 1:提货积分
  15264. type: integer
  15265. scorevalue:
  15266. description: 积分
  15267. type: number
  15268. tradedate:
  15269. description: 交易日(yyyyMMdd)
  15270. type: string
  15271. uploadedtime:
  15272. description: 同步时间
  15273. type: string
  15274. userid:
  15275. description: 用户ID
  15276. type: integer
  15277. type: object
  15278. models.QhjSiteColumnDetail:
  15279. properties:
  15280. author:
  15281. description: 作者
  15282. type: string
  15283. brief:
  15284. description: 简介
  15285. type: string
  15286. columnid:
  15287. description: 所属栏目
  15288. type: integer
  15289. context:
  15290. description: 内容
  15291. type: string
  15292. coverimage:
  15293. description: 封面图片
  15294. type: string
  15295. creaedate:
  15296. description: 创建时间
  15297. type: string
  15298. creatorid:
  15299. description: 创建人
  15300. type: integer
  15301. hits:
  15302. description: 点击数
  15303. type: integer
  15304. id:
  15305. description: ID(SEQ_SITE_COLUMNDETAIL)
  15306. type: integer
  15307. isshow:
  15308. description: 是否展示 - 0:不展示 1:展示
  15309. type: integer
  15310. istop:
  15311. description: 是否置顶 - 0:不置 1:置顶
  15312. type: integer
  15313. modifierid:
  15314. description: 操作人
  15315. type: integer
  15316. publishdate:
  15317. description: 发布日期
  15318. type: string
  15319. status:
  15320. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  15321. type: integer
  15322. title:
  15323. description: 标题
  15324. type: string
  15325. updatedate:
  15326. description: 修改时间
  15327. type: string
  15328. userid:
  15329. description: 用户ID(默认为0, 核心为为机构用户ID)
  15330. type: integer
  15331. username:
  15332. description: 用户名称
  15333. type: string
  15334. type: object
  15335. models.QhjTeamOrder:
  15336. properties:
  15337. accountid:
  15338. description: 账户ID[报价币种]
  15339. type: integer
  15340. accountname:
  15341. description: 账户名称
  15342. type: string
  15343. agreeunit:
  15344. description: 合约乘数
  15345. type: number
  15346. buyorsell:
  15347. description: 方向 - 0:买 1:卖
  15348. type: integer
  15349. decimalplace:
  15350. description: 报价小数位
  15351. type: integer
  15352. enumdicname:
  15353. description: 单位名称
  15354. type: string
  15355. goodscode:
  15356. description: 商品代码(内部)
  15357. type: string
  15358. goodsid:
  15359. description: 商品ID
  15360. type: integer
  15361. goodsname:
  15362. description: 商品名称
  15363. type: string
  15364. goodunitid:
  15365. description: 报价单位ID
  15366. type: integer
  15367. marketid:
  15368. description: 市场ID
  15369. type: integer
  15370. marketname:
  15371. description: 市场名称
  15372. type: string
  15373. qtydecimalplace:
  15374. description: 成交量小数位
  15375. type: integer
  15376. refereeuserid:
  15377. description: 推荐人ID
  15378. type: integer
  15379. tradeamount:
  15380. description: 成交金额[账户币种,用于所有权]
  15381. type: number
  15382. tradedate:
  15383. description: 交易日(yyyyMMdd)
  15384. type: string
  15385. trademode:
  15386. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15387. 21:竞拍-大宗式 22:受托竞价
  15388. type: integer
  15389. tradeprice:
  15390. description: 成交价格
  15391. type: number
  15392. tradeqty:
  15393. description: 成交数量
  15394. type: number
  15395. tradetime:
  15396. description: 成交时间
  15397. type: string
  15398. userid:
  15399. description: 用户ID
  15400. type: integer
  15401. type: object
  15402. models.QhjTradeGoodsPickup:
  15403. properties:
  15404. accountid:
  15405. description: 账户ID
  15406. type: integer
  15407. address:
  15408. description: 提货人详细地址
  15409. type: string
  15410. amount:
  15411. description: 提货金额
  15412. type: number
  15413. artradedate:
  15414. description: 自动收货交易日(yyyyMMdd)
  15415. type: string
  15416. auditer:
  15417. description: 审核人
  15418. type: integer
  15419. auditsrc:
  15420. description: 更新来源 - 1:管理端 2:终端
  15421. type: integer
  15422. audittime:
  15423. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  15424. type: string
  15425. audittradedate:
  15426. description: 审核交易日(yyyyMMdd)
  15427. type: string
  15428. cardnum:
  15429. description: 提货人证件号码
  15430. type: string
  15431. cardtypeid:
  15432. description: 提货人证件类型
  15433. type: integer
  15434. checkremark:
  15435. description: 审核备注
  15436. type: string
  15437. cityid:
  15438. description: 市
  15439. type: integer
  15440. cityname:
  15441. description: 城市名称
  15442. type: string
  15443. confirmtime:
  15444. description: 取货时间 或 收货时间
  15445. type: string
  15446. countryid:
  15447. description: 国家
  15448. type: integer
  15449. countryname:
  15450. description: 国家名称
  15451. type: string
  15452. decimalplace:
  15453. description: 商品报价小数位
  15454. type: integer
  15455. districtid:
  15456. description: 地区
  15457. type: integer
  15458. districtname:
  15459. description: 地区名称
  15460. type: string
  15461. enumdicname:
  15462. description: 单位名称(提货商品)
  15463. type: string
  15464. expresscompany:
  15465. description: 物流公司
  15466. type: string
  15467. expressnum:
  15468. description: 物流单号
  15469. type: string
  15470. goodsagreeunit:
  15471. description: 交易商品乘数
  15472. type: number
  15473. goodscode:
  15474. description: 商品代码
  15475. type: string
  15476. goodsid:
  15477. description: 商品ID
  15478. type: integer
  15479. goodsname:
  15480. description: 商品名称
  15481. type: string
  15482. goodsqty:
  15483. description: 交易商品手数(69模式按成交量小数位放大取整)
  15484. type: number
  15485. handlestatus:
  15486. description: 处理状态
  15487. type: integer
  15488. logincode:
  15489. description: 账号(登录代码, 有可能为空)
  15490. type: string
  15491. marketid:
  15492. description: 市场ID
  15493. type: integer
  15494. phonenum:
  15495. description: 提货人联系方式
  15496. type: string
  15497. pickupgoodsagreeunit:
  15498. description: 提货商品合约乘数
  15499. type: number
  15500. pickupgoodsid:
  15501. description: 提货商品ID
  15502. type: string
  15503. pickupgoodsname:
  15504. description: 提货商品名称
  15505. type: string
  15506. pickupgoodsqty:
  15507. description: 提货商品手数(数量)
  15508. type: number
  15509. pickupgoodsunitid:
  15510. description: 单位ID(提货商品)
  15511. type: integer
  15512. pickupratio:
  15513. description: 提货系数
  15514. type: number
  15515. preparedays:
  15516. description: 备货期(天)-提货单明细表
  15517. type: integer
  15518. provinceid:
  15519. description: 省
  15520. type: integer
  15521. provincename:
  15522. description: 省名称
  15523. type: string
  15524. qty:
  15525. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  15526. type: number
  15527. qtydecimalplace:
  15528. description: 商品数量小数位
  15529. type: integer
  15530. recivername:
  15531. description: 提货人姓名
  15532. type: string
  15533. reqtime:
  15534. description: 提货申请时间
  15535. type: string
  15536. storeuserid:
  15537. description: 门店用户ID (千海金)
  15538. type: integer
  15539. storeusername:
  15540. description: 门店用户名称
  15541. type: string
  15542. takemode:
  15543. description: 提货方式 - 2:自提 3:配送(邮寄)
  15544. type: integer
  15545. takeorderid:
  15546. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  15547. type: string
  15548. takeorderstatus:
  15549. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  15550. 7:已拒绝 8:已撤销
  15551. type: integer
  15552. takeremark:
  15553. description: 提货备注
  15554. type: string
  15555. tradedate:
  15556. description: 交易日(yyyyMMdd)
  15557. type: string
  15558. updatetime:
  15559. description: 更新时间
  15560. type: string
  15561. userid:
  15562. description: 用户ID
  15563. type: integer
  15564. userinfotype:
  15565. description: 客户类型 1-个人 2-企业
  15566. type: integer
  15567. username:
  15568. description: 用户名称
  15569. type: string
  15570. type: object
  15571. models.QhjUserNodeCfgAndStatus:
  15572. properties:
  15573. agreementcontent:
  15574. description: 协议内容
  15575. type: string
  15576. agreementid:
  15577. description: 协议ID
  15578. type: integer
  15579. agreementname:
  15580. description: 协议名称
  15581. type: string
  15582. agreementno:
  15583. description: 协议编号
  15584. type: string
  15585. agreementtype:
  15586. description: 协议类型 - 1:注册 2:登录 3:交易
  15587. type: integer
  15588. agreementversion:
  15589. description: 协议版本号
  15590. type: integer
  15591. configid:
  15592. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  15593. type: integer
  15594. createtime:
  15595. description: 创建时间
  15596. type: string
  15597. goodsid:
  15598. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15599. type: integer
  15600. nodetype:
  15601. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  15602. type: integer
  15603. signtimestamp:
  15604. description: 签约状态时间戳(最近一次)
  15605. type: string
  15606. tradedate:
  15607. description: 签约交易日(yyyyMMdd)
  15608. type: string
  15609. userid:
  15610. description: 客户ID
  15611. type: integer
  15612. type: object
  15613. models.Qhjgoodsex:
  15614. properties:
  15615. canfinance:
  15616. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  15617. type: integer
  15618. canregularlybuy:
  15619. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  15620. type: integer
  15621. defaulttradeuserid:
  15622. description: 默认交易用户ID
  15623. type: integer
  15624. deliverygoodsid:
  15625. description: 现货品种ID
  15626. type: integer
  15627. goodsid:
  15628. description: 商品ID(自增ID SEQ_GOODS)
  15629. type: integer
  15630. minamount:
  15631. description: 最小购买金额
  15632. type: number
  15633. regularlybuyminamount:
  15634. description: 定投最小金额
  15635. type: number
  15636. regularlybuyminqty:
  15637. description: 定投最小数量
  15638. type: number
  15639. spotgoodsbrandid:
  15640. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  15641. type: integer
  15642. visibilityforenterprise:
  15643. description: 企业客户是否可见 - 0:不可见 1:可见
  15644. type: integer
  15645. visibilityforpersonal:
  15646. description: 个人客户是否可见 - 0:不可见 1:可见
  15647. type: integer
  15648. wrstandardid:
  15649. description: 现货商品ID
  15650. type: integer
  15651. type: object
  15652. models.QueryErrorInfosRsp:
  15653. properties:
  15654. description:
  15655. description: 异常描述
  15656. type: string
  15657. errorcode:
  15658. description: 异常代码
  15659. type: string
  15660. errorid:
  15661. description: 异常ID
  15662. type: integer
  15663. modulecode:
  15664. description: 所属模块
  15665. type: string
  15666. operatecode:
  15667. description: 所属操作
  15668. type: string
  15669. rownumber:
  15670. description: 行号
  15671. type: string
  15672. required:
  15673. - errorid
  15674. type: object
  15675. models.QueryHedgeOrderDetailRsp:
  15676. properties:
  15677. accountid:
  15678. description: 账户ID
  15679. type: integer
  15680. buyorsell:
  15681. description: 买卖 - 0:买 1:卖
  15682. type: integer
  15683. cancellogincode:
  15684. description: 撤单人
  15685. type: string
  15686. channelbuildtype:
  15687. description: 开平标志 - 0:无 1:建仓 2:平仓
  15688. type: integer
  15689. channelinnerorderstatus:
  15690. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  15691. 9:全部成交
  15692. type: integer
  15693. channeloperatetype:
  15694. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  15695. type: integer
  15696. closetype:
  15697. description: 平仓方式 - 0:无 1:平今 2:平昨
  15698. type: integer
  15699. curexchangerate:
  15700. description: 当前汇率
  15701. type: number
  15702. decimalplace:
  15703. description: 商品报价小数位
  15704. type: integer
  15705. exchangefullname:
  15706. description: 外部交易所全称
  15707. type: string
  15708. goodscode:
  15709. description: 商品代码(内部)
  15710. type: string
  15711. goodsid:
  15712. description: 商品ID
  15713. type: integer
  15714. goodsname:
  15715. description: 商品名称
  15716. type: string
  15717. marketid:
  15718. description: 市场ID
  15719. type: integer
  15720. openfreezemargin:
  15721. description: 冻结保证金(冻结交易金额)
  15722. type: number
  15723. orderid:
  15724. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15725. type: string
  15726. orderlogincode:
  15727. description: 委托人
  15728. type: string
  15729. orderprice:
  15730. description: 委托价格(账户)
  15731. type: number
  15732. orderqty:
  15733. description: 委托数量
  15734. type: integer
  15735. ordertime:
  15736. description: 委托时间
  15737. type: string
  15738. pricemode:
  15739. description: '取价方式 - 1:市价 2: 限价'
  15740. type: integer
  15741. tradedate:
  15742. description: 交易日(yyyyMMdd)
  15743. type: string
  15744. tradeqty:
  15745. description: 成交数量
  15746. type: integer
  15747. type: object
  15748. models.QueryHedgeTradeDetailRsp:
  15749. properties:
  15750. accountid:
  15751. description: 账号ID
  15752. type: integer
  15753. buyorsell:
  15754. description: 方向 - 0:买 1:卖
  15755. type: integer
  15756. channelbuildtype:
  15757. description: 委托单据类型 0:无 1:建仓 2:平仓
  15758. type: integer
  15759. closecharge:
  15760. description: 平仓手续费(账户)
  15761. type: number
  15762. closecharge2:
  15763. description: 平仓手续费(商品)
  15764. type: number
  15765. closepl:
  15766. description: 平仓盈亏(账户)
  15767. type: number
  15768. closepl2:
  15769. description: 平仓盈亏(商品)
  15770. type: number
  15771. closepl3:
  15772. description: 平仓盈亏(账户)(逐笔)
  15773. type: number
  15774. closepl4:
  15775. description: 平仓盈亏(商品)(逐笔)
  15776. type: number
  15777. closetype:
  15778. description: 平仓方式 - 0:无 1:平今 2:平昨
  15779. type: integer
  15780. curexchangerate:
  15781. description: 当前汇率
  15782. type: number
  15783. decimalplace:
  15784. description: 商品报价小数位
  15785. type: integer
  15786. exchangefullname:
  15787. description: 外部交易所全称
  15788. type: string
  15789. goodscode:
  15790. description: 商品代码(内部)
  15791. type: string
  15792. goodsid:
  15793. description: 商品ID
  15794. type: integer
  15795. goodsname:
  15796. description: 商品名称
  15797. type: string
  15798. marketid:
  15799. description: 市场ID
  15800. type: integer
  15801. opencharge:
  15802. description: 建仓手续费(账户)
  15803. type: number
  15804. opencharge2:
  15805. description: 建仓手续费(商品)
  15806. type: number
  15807. orderid:
  15808. description: 委托单号
  15809. type: string
  15810. orderlogincode:
  15811. description: 委托人
  15812. type: string
  15813. tradeamount:
  15814. description: 成交金额(账户)
  15815. type: number
  15816. tradedate:
  15817. description: 交易日(yyyyMMdd)
  15818. type: string
  15819. tradeid:
  15820. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15821. type: string
  15822. tradeprice:
  15823. description: 成交价格
  15824. type: number
  15825. tradeqty:
  15826. description: 成交数量
  15827. type: integer
  15828. tradetime:
  15829. description: 成交时间
  15830. type: string
  15831. tradetype:
  15832. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  15833. type: integer
  15834. type: object
  15835. models.QuotePrimaryMenu:
  15836. properties:
  15837. Index:
  15838. description: 序号
  15839. type: integer
  15840. Key:
  15841. description: 键名
  15842. type: string
  15843. Name:
  15844. description: 菜单名称
  15845. type: string
  15846. SubMenus:
  15847. description: 子菜单
  15848. items:
  15849. $ref: '#/definitions/models.QuoteSecondaryMenu'
  15850. type: array
  15851. SubTitleType:
  15852. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  15853. type: integer
  15854. TradeModes:
  15855. description: 包含市场交易类型
  15856. type: string
  15857. type: object
  15858. models.QuoteSecondaryMenu:
  15859. properties:
  15860. ExExchangeCode:
  15861. description: 外部交易所代码
  15862. type: string
  15863. ExExchangeID:
  15864. description: 外部交易所ID
  15865. type: integer
  15866. GoodsGroupIDs:
  15867. description: 商品组ID列表
  15868. items:
  15869. type: integer
  15870. type: array
  15871. Index:
  15872. description: 序号
  15873. type: integer
  15874. MarketID:
  15875. description: 市场ID
  15876. type: integer
  15877. MenuTitle:
  15878. description: 菜单标题(市场名称或外部交易所名称)
  15879. type: string
  15880. TradeMode:
  15881. description: 交易模式
  15882. type: integer
  15883. type: object
  15884. models.Reckondaytaaccount:
  15885. properties:
  15886. accountid:
  15887. description: 资金账户ID
  15888. type: integer
  15889. accountname:
  15890. description: 账户名称
  15891. type: string
  15892. accountpl:
  15893. description: 今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新
  15894. type: number
  15895. avaiablemoney:
  15896. description: 可用资金
  15897. type: number
  15898. avaiableoutmoney:
  15899. description: 可出资金
  15900. type: number
  15901. balance:
  15902. description: 期初余额
  15903. type: number
  15904. capitalbalance:
  15905. description: 本金余额[外部子账户实际出入金余额]
  15906. type: number
  15907. changeflag:
  15908. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15909. type: integer
  15910. clearbalance:
  15911. description: 清算余额 = 期末余额 - 授信金额 - 其它授信金额
  15912. type: number
  15913. clearpl:
  15914. description: 真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费
  15915. - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 =
  15916. 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费
  15917. type: number
  15918. closepl:
  15919. description: 今日平仓盈亏
  15920. type: number
  15921. closepl2:
  15922. description: 平仓盈亏(逐笔)
  15923. type: number
  15924. creditdecrease:
  15925. description: 今日授信减少
  15926. type: number
  15927. creditincrease:
  15928. description: 今日授信增加
  15929. type: number
  15930. curdebt:
  15931. description: 期末欠款
  15932. type: number
  15933. currencyid:
  15934. description: 货币ID
  15935. type: integer
  15936. currentbalance:
  15937. description: 期末余额
  15938. type: number
  15939. cycletype:
  15940. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  15941. type: integer
  15942. defercharge:
  15943. description: 今日递延费2支出[111, 112]
  15944. type: number
  15945. deliveryamountin:
  15946. description: 今日交收货款收入
  15947. type: number
  15948. deliveryamountout:
  15949. description: 今日交收货款支出
  15950. type: number
  15951. deliverycharge:
  15952. description: 今日交收手续费支出 [105,106]
  15953. type: number
  15954. deliverycompensationfeein:
  15955. description: 今日交收补偿费收入
  15956. type: number
  15957. deliverycompensationfeeout:
  15958. description: 今日交收补偿费支出
  15959. type: number
  15960. dividedcharge:
  15961. description: 今日已收手续费分成
  15962. type: number
  15963. floatnetvalue:
  15964. description: 浮动净值 = 净值 + 浮动盈亏
  15965. type: number
  15966. floatpl:
  15967. description: 浮动盈亏 - 每日有负债类商品
  15968. type: number
  15969. freezecharge:
  15970. description: 手续费冻结
  15971. type: number
  15972. freezemargin:
  15973. description: 冻结保证金
  15974. type: number
  15975. fromaccountid:
  15976. description: 所属上级账户
  15977. type: integer
  15978. holdcharge:
  15979. description: 今日持仓过夜费支出[108,109,110]
  15980. type: number
  15981. inamount:
  15982. description: 今日入金金额
  15983. type: number
  15984. interestcharge:
  15985. description: 今日递延费支出[103, 104]
  15986. type: number
  15987. ismain:
  15988. description: 是否账号 0:不是母账户 1:是母账户
  15989. type: integer
  15990. ismarketaccount:
  15991. description: 是否机构接单账号 0:不是 1:是
  15992. type: integer
  15993. isreckonaccount:
  15994. description: 是否机构分润账号 0:不是 1:是
  15995. type: integer
  15996. mortgagecredit:
  15997. description: 授信金额
  15998. type: number
  15999. netvalue:
  16000. description: 净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新
  16001. type: number
  16002. oridebt:
  16003. description: 期初欠款
  16004. type: number
  16005. orifreezecharge:
  16006. description: 期初手续费冻结
  16007. type: number
  16008. orifreezemargin:
  16009. description: 期初冻结保证金
  16010. type: number
  16011. orimortgagecredit:
  16012. description: 期初授信金额
  16013. type: number
  16014. oriothercredit:
  16015. description: 期初其它授信金额
  16016. type: number
  16017. oriotherfreezemargin:
  16018. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  16019. type: number
  16020. orioutamountfreeze:
  16021. description: 期初出金冻结
  16022. type: number
  16023. oriusedmargin:
  16024. description: 期初占用保证金
  16025. type: number
  16026. othercredit:
  16027. description: 其它授信金额
  16028. type: number
  16029. othercreditdecrease:
  16030. description: 今日其它授信减少
  16031. type: number
  16032. othercreditincrease:
  16033. description: 今日其它授信增加
  16034. type: number
  16035. otherfreezemargin:
  16036. description: 其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  16037. type: number
  16038. otherincome:
  16039. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  16040. type: number
  16041. otherpay:
  16042. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  16043. type: number
  16044. outamount:
  16045. description: 今日出金金额
  16046. type: number
  16047. outamountfreeze:
  16048. description: 出金冻结
  16049. type: number
  16050. outthreshold:
  16051. description: 出金阈值
  16052. type: number
  16053. ownershipvalue:
  16054. description: 所有权市值
  16055. type: number
  16056. parentaccountid:
  16057. description: 所属根账户
  16058. type: integer
  16059. password:
  16060. description: 资金密码
  16061. type: string
  16062. paycharge:
  16063. description: 今日手续费支出
  16064. type: number
  16065. paycharge2:
  16066. description: 今日手续费支出(外部配置)
  16067. type: number
  16068. payexchcharge:
  16069. description: 今日应付交易所手续费
  16070. type: number
  16071. reckondate:
  16072. description: 日照日期(yyyyMMdd)
  16073. type: string
  16074. reckonpl:
  16075. description: 今日结算盈亏
  16076. type: number
  16077. reckonpl2:
  16078. description: 结算盈亏(逐笔) - 汇总取期末
  16079. type: number
  16080. relatedaccountstatus:
  16081. description: 关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  16082. type: integer
  16083. relateuserid:
  16084. description: 关联用户
  16085. type: integer
  16086. riskrate:
  16087. description: 风险率 = 占用/ 浮动净值 或 浮动净值/占用
  16088. type: number
  16089. signstatus:
  16090. description: 签约状态 - 1:未签约 2:已签约 3:已解约
  16091. type: integer
  16092. spotvalue:
  16093. description: 现货市值-统计服务更新
  16094. type: number
  16095. sublevelpath:
  16096. description: 账号层级路径(逗号分隔,首尾加逗号)
  16097. type: string
  16098. taaccounttype:
  16099. description: 外部/内部账号 - 1:外部账号 2:内部账号
  16100. type: integer
  16101. thirdinamount:
  16102. description: 今日三方入金
  16103. type: number
  16104. thirdoutamount:
  16105. description: 今日三方出金
  16106. type: number
  16107. tradeamount:
  16108. description: 今日成交金额
  16109. type: number
  16110. tradecharge:
  16111. description: 今日交易手续费支出 [101,102]
  16112. type: number
  16113. tradeqty:
  16114. description: 今日成交量
  16115. type: integer
  16116. tradestatus:
  16117. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)
  16118. type: integer
  16119. transferamount:
  16120. description: 今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)
  16121. type: number
  16122. usedmargin:
  16123. description: 占用保证金
  16124. type: number
  16125. userid:
  16126. description: 用户ID
  16127. type: integer
  16128. required:
  16129. - userid
  16130. type: object
  16131. models.Reckongzmemtradesum:
  16132. properties:
  16133. buylistingamount:
  16134. description: 买挂牌金额 - 无数据,预留
  16135. type: number
  16136. buylistinglot:
  16137. description: 买挂牌宗数
  16138. type: integer
  16139. buylistingqty:
  16140. description: 买挂牌数量 - 无数据,预留
  16141. type: number
  16142. buytradeamount:
  16143. description: 购买金额
  16144. type: number
  16145. buytradelot:
  16146. description: 购买宗数
  16147. type: integer
  16148. buytradeqty:
  16149. description: 购买数量
  16150. type: number
  16151. marketid:
  16152. description: 市场ID
  16153. type: integer
  16154. reckondate:
  16155. description: 日照日期(yyyyMMdd)
  16156. type: string
  16157. selllistingamount:
  16158. description: 卖挂牌金额
  16159. type: number
  16160. selllistinglot:
  16161. description: 卖挂牌宗数
  16162. type: integer
  16163. selllistingqty:
  16164. description: 卖挂牌数量
  16165. type: number
  16166. selltradeamount:
  16167. description: 销售金额
  16168. type: number
  16169. selltradelot:
  16170. description: 销售宗数
  16171. type: integer
  16172. selltradeqty:
  16173. description: 销售数量
  16174. type: number
  16175. updatetime:
  16176. description: 更新时间
  16177. type: string
  16178. userid:
  16179. description: 用户ID
  16180. type: integer
  16181. zscategory:
  16182. description: 钻石分类 - 枚举”ZSCategory“
  16183. type: integer
  16184. zscategorydisplay:
  16185. type: string
  16186. zscurrencytype:
  16187. description: 货币类型 - 枚举“ZSCurrencyType”
  16188. type: integer
  16189. zscurrencytypedisplay:
  16190. type: string
  16191. zscurrencytypedisplayunit:
  16192. type: string
  16193. required:
  16194. - userid
  16195. type: object
  16196. models.RegisterMoney:
  16197. properties:
  16198. amount:
  16199. description: 红包
  16200. type: number
  16201. type: object
  16202. models.RelatedTaAccount:
  16203. properties:
  16204. accountid:
  16205. description: 资金账户ID
  16206. type: integer
  16207. type: object
  16208. models.RoleMenu:
  16209. properties:
  16210. hasright:
  16211. description: 是否有权限 0-没有权限 1-有权限
  16212. type: integer
  16213. iconame:
  16214. description: 菜单图标
  16215. type: string
  16216. menutype:
  16217. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  16218. type: integer
  16219. parentcode:
  16220. description: 上级资源代码
  16221. type: string
  16222. remark:
  16223. description: 菜单备注
  16224. type: string
  16225. resourcecode:
  16226. description: 菜单代码
  16227. type: string
  16228. resourcelevel:
  16229. description: 级别
  16230. type: integer
  16231. resourcename:
  16232. description: 菜单名称
  16233. type: string
  16234. roleid:
  16235. description: 角色id
  16236. type: integer
  16237. sort:
  16238. description: 排序
  16239. type: integer
  16240. subMenu:
  16241. description: 子级菜单(结构同上层一样, swag解析不出来)
  16242. items:
  16243. $ref: '#/definitions/models.RoleMenu'
  16244. type: array
  16245. url:
  16246. description: URL
  16247. type: string
  16248. userid:
  16249. description: 用户id
  16250. type: integer
  16251. type: object
  16252. models.SearchGoods:
  16253. properties:
  16254. goodscode:
  16255. description: 商品代码(内部)
  16256. type: string
  16257. goodsid:
  16258. description: 商品ID(自增ID SEQ_GOODS)
  16259. type: integer
  16260. goodsname:
  16261. description: 商品名称
  16262. type: string
  16263. marketid:
  16264. description: 所属市场ID
  16265. type: integer
  16266. marketname:
  16267. description: 市场名称
  16268. type: string
  16269. trademode:
  16270. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16271. 21:竞拍-大宗式 22:受托竞价
  16272. type: integer
  16273. required:
  16274. - goodscode
  16275. - goodsid
  16276. - goodsname
  16277. - marketid
  16278. - trademode
  16279. type: object
  16280. models.SellOrder:
  16281. properties:
  16282. accountid:
  16283. description: 资金账号
  16284. type: integer
  16285. applyid:
  16286. description: 申请单ID
  16287. type: integer
  16288. attachment1:
  16289. description: 附件1
  16290. type: string
  16291. attachment2:
  16292. description: 附件2
  16293. type: string
  16294. buyorsell:
  16295. description: 买卖 - 0:买 1:卖
  16296. type: integer
  16297. canbargain:
  16298. description: 是否可议价 - 0:不可 1:可
  16299. type: integer
  16300. cancelqty:
  16301. description: 撤销数量
  16302. type: integer
  16303. canceltime:
  16304. description: 撤销时间
  16305. type: string
  16306. cerno:
  16307. type: string
  16308. chargealgorithm:
  16309. description: 手续费收取方式 1:比率 2:固定
  16310. type: integer
  16311. chargealgorithmvalue:
  16312. description: 手续费设置值(交易所部分)
  16313. type: number
  16314. chargealgorithmvalue2:
  16315. description: 手续费设置值(会员部分)
  16316. type: number
  16317. clientordertime:
  16318. description: 客户端委托时间
  16319. type: string
  16320. cpcertno:
  16321. type: string
  16322. exchangerate:
  16323. description: 汇率[67]
  16324. type: number
  16325. firstratio:
  16326. description: 首付比率 - [挂牌时指定,摘牌时使用]
  16327. type: number
  16328. fixedprice:
  16329. description: '[克拉单价]固定价格 - [挂牌]'
  16330. type: number
  16331. freezecharge:
  16332. description: 冻结手续费
  16333. type: number
  16334. freezefirstamount:
  16335. description: 冻结首付金额 - [摘牌]
  16336. type: number
  16337. freezemargin:
  16338. description: 冻结保证金
  16339. type: number
  16340. goodsno:
  16341. description: 商品编号
  16342. type: string
  16343. imagepath:
  16344. type: string
  16345. isQueryDiamond:
  16346. description: 是否钻石查询
  16347. type: boolean
  16348. isspecified:
  16349. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16350. type: integer
  16351. kppath:
  16352. type: string
  16353. kpweight:
  16354. type: string
  16355. marginalgorithm:
  16356. description: 保证金方式 - 1:比率 2:固定
  16357. type: integer
  16358. marginvalue:
  16359. description: 保证金设置值
  16360. type: number
  16361. marketid:
  16362. description: 市场ID
  16363. type: integer
  16364. marketprice:
  16365. type: string
  16366. orderamount:
  16367. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  16368. type: number
  16369. ordertime:
  16370. description: 委托时间
  16371. type: string
  16372. performancetemplateid:
  16373. description: 履约计划模板ID
  16374. type: integer
  16375. price:
  16376. description: 价格
  16377. type: number
  16378. pricefactor:
  16379. description: 价格系数(浮动价时填写) - [挂牌]
  16380. type: number
  16381. pricemove:
  16382. description: 升贴水(浮动价时填写) - [挂牌]
  16383. type: number
  16384. priceper:
  16385. type: string
  16386. relatedwrtradeorderid:
  16387. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  16388. type: integer
  16389. remainqty:
  16390. description: 剩余重量
  16391. type: number
  16392. remark:
  16393. type: string
  16394. retcode:
  16395. description: 错误代码
  16396. type: integer
  16397. sellusername:
  16398. description: 卖方(查询字段-模糊查询)
  16399. type: string
  16400. settingmaterial:
  16401. description: 镶嵌材料
  16402. type: string
  16403. size1:
  16404. type: string
  16405. size2:
  16406. type: string
  16407. size3:
  16408. type: string
  16409. sizedisplay:
  16410. description: 尺寸
  16411. type: string
  16412. stonedesc:
  16413. description: 配石描述
  16414. type: string
  16415. totalqty:
  16416. description: 总重量
  16417. type: number
  16418. tradedate:
  16419. description: 交易日(yyyyMMdd)
  16420. type: string
  16421. tradeprice:
  16422. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  16423. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  16424. type: number
  16425. unfreezecharge:
  16426. description: 解冻手续费
  16427. type: number
  16428. unfreezefirstamount:
  16429. description: 解冻首付金额 - [摘牌]
  16430. type: number
  16431. unfreezemargin:
  16432. description: 解冻保证金
  16433. type: number
  16434. userid:
  16435. description: 用户ID
  16436. type: integer
  16437. uuid:
  16438. description: 发起端唯一id
  16439. type: string
  16440. validtime:
  16441. description: 有效期限
  16442. type: string
  16443. validtype:
  16444. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16445. type: integer
  16446. warehousenamedisplay:
  16447. type: string
  16448. wrbargainid:
  16449. description: 议价申请单ID
  16450. type: integer
  16451. wrfactortypeid:
  16452. description: 仓单要素类型ID/商品ID(77)
  16453. type: integer
  16454. wrpath:
  16455. type: string
  16456. wrpricetype:
  16457. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16458. type: integer
  16459. wrstandardid:
  16460. description: 现货商品ID
  16461. type: integer
  16462. wrtradeorderid:
  16463. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16464. type: string
  16465. wrtradeorderstatus:
  16466. 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:撤单解冻贷款失败
  16467. type: integer
  16468. wrtradetype:
  16469. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16470. type: integer
  16471. wrtransferuserid:
  16472. description: 仓单受让用户 - [摘牌]
  16473. type: integer
  16474. zscategory:
  16475. description: 钻石分类 - 枚举”ZSCategory“
  16476. type: integer
  16477. zscategorydisplay:
  16478. description: 钻石分类 - 描述
  16479. type: string
  16480. zscerttypedisplay:
  16481. type: string
  16482. zsclaritytype1display:
  16483. type: string
  16484. zsclaritytype2display:
  16485. type: string
  16486. zscolortype1display:
  16487. type: string
  16488. zscolortype2display:
  16489. type: string
  16490. zscrystaltype:
  16491. type: string
  16492. zscrystaltypedisplay:
  16493. type: string
  16494. zscurrencytype:
  16495. description: 货币类型 - 枚举“ZSCurrencyType”
  16496. type: integer
  16497. zscurrencytypedisplay:
  16498. type: string
  16499. zscurrencytypedisplayunit:
  16500. type: string
  16501. zscuttype1display:
  16502. type: string
  16503. zscuttype2display:
  16504. type: string
  16505. zsczcolor1typedisplay:
  16506. type: string
  16507. zsczcolor2typedisplay:
  16508. type: string
  16509. zsczcolor3typedisplay:
  16510. type: string
  16511. zsfluorescencetype1display:
  16512. type: string
  16513. zsfluorescencetype2display:
  16514. type: string
  16515. zspolishtype1display:
  16516. type: string
  16517. zspolishtype2display:
  16518. type: string
  16519. zsshapetypedisplay:
  16520. type: string
  16521. zsstyletypedisplay:
  16522. type: string
  16523. zssymmetrytype1display:
  16524. type: string
  16525. zssymmetrytype2display:
  16526. type: string
  16527. type: object
  16528. models.SellOrderQueryReq:
  16529. properties:
  16530. origin:
  16531. description: 原产地
  16532. type: string
  16533. page:
  16534. description: 页码
  16535. type: integer
  16536. pagesize:
  16537. description: 每页大小
  16538. type: integer
  16539. total:
  16540. description: 总条数
  16541. type: integer
  16542. warehouseid:
  16543. description: 仓库ID
  16544. type: integer
  16545. weight1:
  16546. description: 总重量(克拉重量)-从
  16547. type: number
  16548. weight2:
  16549. description: 总重量(克拉重量)-至
  16550. type: number
  16551. weightavg1:
  16552. description: 平均单颗重量-从
  16553. type: number
  16554. weightavg2:
  16555. description: 平均单颗重量-至
  16556. type: number
  16557. zscategory:
  16558. description: 钻石分类 - 枚举”ZSCategory“
  16559. type: integer
  16560. zscerttype:
  16561. description: 证书类型
  16562. items:
  16563. type: string
  16564. type: array
  16565. zsclaritytype:
  16566. description: 净度
  16567. items:
  16568. type: integer
  16569. type: array
  16570. zscolortype:
  16571. description: 颜色
  16572. items:
  16573. type: integer
  16574. type: array
  16575. zscurrencytype:
  16576. description: 货币类型 - 枚举“ZSCurrencyType”
  16577. items:
  16578. type: string
  16579. type: array
  16580. zscuttype:
  16581. description: 切工
  16582. items:
  16583. type: integer
  16584. type: array
  16585. zsczcolor1type:
  16586. description: 彩钻颜色1
  16587. items:
  16588. type: string
  16589. type: array
  16590. zsfluorescencetype:
  16591. description: 荧光
  16592. items:
  16593. type: integer
  16594. type: array
  16595. zspolishtype:
  16596. description: 抛光度
  16597. items:
  16598. type: integer
  16599. type: array
  16600. zsshapetype:
  16601. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  16602. items:
  16603. type: string
  16604. type: array
  16605. zsstyletype:
  16606. description: 款式
  16607. items:
  16608. type: string
  16609. type: array
  16610. zssymmetrytype:
  16611. description: 对称度
  16612. items:
  16613. type: integer
  16614. type: array
  16615. required:
  16616. - zscategory
  16617. type: object
  16618. models.Sitecolumnconfig:
  16619. properties:
  16620. columnname:
  16621. description: 栏目名称
  16622. type: string
  16623. columntype:
  16624. description: 栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色
  16625. type: integer
  16626. creaedate:
  16627. description: 创建时间
  16628. type: string
  16629. creatorid:
  16630. description: 创建人
  16631. type: integer
  16632. id:
  16633. description: ID(SEQ_SITE_COLUMNCONFIG)
  16634. type: integer
  16635. isshow:
  16636. description: 是否展示 - 0:不展示 1:展示
  16637. type: integer
  16638. modifierid:
  16639. description: 操作人
  16640. type: integer
  16641. sort:
  16642. description: 排序
  16643. type: integer
  16644. updatedate:
  16645. description: 修改时间
  16646. type: string
  16647. type: object
  16648. models.Systemparam:
  16649. properties:
  16650. loginid:
  16651. description: 更新用户账号,登录账号
  16652. type: string
  16653. modifyflag:
  16654. description: 修改标志0 不允许修改 1 允许修改
  16655. type: integer
  16656. paramcode:
  16657. description: 参数代码
  16658. type: string
  16659. paramname:
  16660. description: 参数名
  16661. type: string
  16662. paramtype:
  16663. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  16664. type: integer
  16665. paramvalue:
  16666. description: 参数值
  16667. type: string
  16668. paramvalue2:
  16669. description: 参数值(CLOB)
  16670. type: string
  16671. regexpress:
  16672. description: 正则表达式
  16673. type: string
  16674. remark:
  16675. description: 备注
  16676. type: string
  16677. serverip:
  16678. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  16679. type: string
  16680. showflag:
  16681. description: 是否显示0 不显示 1 显示
  16682. type: integer
  16683. updatetime:
  16684. description: 更新时间
  16685. type: string
  16686. userid:
  16687. description: 更新用户ID
  16688. type: integer
  16689. required:
  16690. - paramcode
  16691. type: object
  16692. models.Szdz3convertconfig:
  16693. properties:
  16694. canin:
  16695. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  16696. type: integer
  16697. canout:
  16698. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  16699. type: integer
  16700. converttype:
  16701. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  16702. 6:交易转花生米(不设置)
  16703. type: integer
  16704. createtime:
  16705. description: 创建时间
  16706. type: string
  16707. creatorid:
  16708. description: 创建人
  16709. type: integer
  16710. daymaxvalue:
  16711. description: 当日最大转入限制
  16712. type: number
  16713. freezedays:
  16714. description: 冻结天数 [5:花生米转交易]
  16715. type: integer
  16716. innergoodsid:
  16717. description: 内部商品ID[交易]
  16718. type: integer
  16719. inratio:
  16720. description: 目标值
  16721. type: integer
  16722. modifierid:
  16723. description: 修改人
  16724. type: integer
  16725. modifytime:
  16726. description: 修改时间
  16727. type: string
  16728. outergoodscode:
  16729. description: 外部商品代码[JD\PD]
  16730. type: string
  16731. outratio:
  16732. description: 源值
  16733. type: integer
  16734. pddecimalplace:
  16735. description: PD小数位
  16736. type: integer
  16737. timemaxvalue:
  16738. description: 单次最大转入限制
  16739. type: number
  16740. timeminvalue:
  16741. description: 单次最小转入限制
  16742. type: number
  16743. required:
  16744. - converttype
  16745. - innergoodsid
  16746. - outergoodscode
  16747. type: object
  16748. models.Szdz3searchwhitelist:
  16749. properties:
  16750. createtime:
  16751. description: 创建时间
  16752. type: string
  16753. creatorid:
  16754. description: 创建人
  16755. type: integer
  16756. modifierid:
  16757. description: 修改人
  16758. type: integer
  16759. modifytime:
  16760. description: 修改时间
  16761. type: string
  16762. userid:
  16763. description: 用户ID
  16764. type: integer
  16765. required:
  16766. - userid
  16767. type: object
  16768. models.TBGoods:
  16769. properties:
  16770. agreeunit:
  16771. description: 合约乘数
  16772. type: number
  16773. enumdicname:
  16774. description: 单位名称
  16775. type: string
  16776. goodscode:
  16777. description: 商品代码(内部)
  16778. type: string
  16779. goodsid:
  16780. description: 商品ID(自增ID SEQ_GOODS)
  16781. type: integer
  16782. goodsname:
  16783. description: 商品名称
  16784. type: string
  16785. type: object
  16786. models.TBGoodsGroup:
  16787. properties:
  16788. GDLST:
  16789. description: 商品列表
  16790. items:
  16791. $ref: '#/definitions/models.TBGoods'
  16792. type: array
  16793. convertratio:
  16794. description: 折算系数
  16795. type: number
  16796. enumdicname:
  16797. description: 单位名称
  16798. type: string
  16799. exexchangecode:
  16800. description: 交易所代码
  16801. type: string
  16802. exexchangename:
  16803. description: 交易所名称
  16804. type: string
  16805. goodsgroupid:
  16806. description: 商品组ID(自增ID)
  16807. type: integer
  16808. goodsgroupname:
  16809. description: 商品组名称
  16810. type: string
  16811. goodunitid:
  16812. description: 报价单位ID
  16813. type: integer
  16814. type: object
  16815. models.TBMiddleGoods:
  16816. properties:
  16817. GPLST:
  16818. description: 期货品种列表
  16819. items:
  16820. $ref: '#/definitions/models.TBGoodsGroup'
  16821. type: array
  16822. WDLST:
  16823. description: 商品信息列表(现货品类)
  16824. items:
  16825. $ref: '#/definitions/models.TBWrstandard'
  16826. type: array
  16827. areauserid:
  16828. description: 机构用户ID
  16829. type: integer
  16830. enumdicname:
  16831. description: 单位名称
  16832. type: string
  16833. goodsunitid:
  16834. description: 套保品种单位id
  16835. type: integer
  16836. middlegoodscode:
  16837. description: 套保品种代码
  16838. type: string
  16839. middlegoodsid:
  16840. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  16841. type: integer
  16842. middlegoodsname:
  16843. description: 套保品种名称
  16844. type: string
  16845. needarbitrageratio:
  16846. description: 套利比率
  16847. type: number
  16848. needhedgeratio:
  16849. description: 套保比率
  16850. type: number
  16851. type: object
  16852. models.TBWrstandard:
  16853. properties:
  16854. convertratio:
  16855. description: 折算系数
  16856. type: number
  16857. deliverygoodsname:
  16858. description: 品种名称
  16859. type: string
  16860. enumdicname:
  16861. description: 单位名称
  16862. type: string
  16863. vatrate:
  16864. description: 增值税率
  16865. type: number
  16866. wrstandardcode:
  16867. description: 现货商品代码
  16868. type: string
  16869. wrstandardid:
  16870. description: 现货商品ID(SEQ_WRSTANDARD)
  16871. type: integer
  16872. wrstandardname:
  16873. description: 现货商品名称
  16874. type: string
  16875. type: object
  16876. models.THJDeliveryMode:
  16877. properties:
  16878. enumdicname:
  16879. description: 枚举项名称
  16880. type: string
  16881. enumitemname:
  16882. description: 枚举项值
  16883. type: integer
  16884. type: object
  16885. models.THJDeliveryMonth:
  16886. properties:
  16887. enddate:
  16888. description: 预售结束日期(yyyy-mm-dd)
  16889. type: string
  16890. endmonth:
  16891. description: 预售结束月份(yyyy-mm)
  16892. type: string
  16893. orderqty:
  16894. description: 委托数量
  16895. type: integer
  16896. presaleapplyid:
  16897. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  16898. type: string
  16899. remainqty:
  16900. description: 可用数量
  16901. type: integer
  16902. tradeqty:
  16903. description: 成交数量
  16904. type: integer
  16905. unitprice:
  16906. description: '[参考价]商品单价'
  16907. type: number
  16908. type: object
  16909. models.THJGoodsDetailRsp:
  16910. properties:
  16911. goodsinfo:
  16912. $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  16913. description: 商品信息
  16914. spotgoodspricelogs:
  16915. description: 历史价格走势
  16916. items:
  16917. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  16918. type: array
  16919. type: object
  16920. models.THJPresaleApplyDeposit:
  16921. properties:
  16922. depositid:
  16923. description: 自增ID autoid
  16924. type: integer
  16925. depositrate:
  16926. description: 定金比例
  16927. type: number
  16928. discountamount:
  16929. description: 优惠金额(每吨)
  16930. type: number
  16931. presaleapplyid:
  16932. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  16933. type: string
  16934. type: object
  16935. models.THJProduct:
  16936. properties:
  16937. bannerpicurl:
  16938. description: Banner图(逗号分隔)
  16939. type: string
  16940. pictureurls:
  16941. description: 详情图片(逗号分隔)
  16942. type: string
  16943. thumurls:
  16944. description: 缩略图片(1:1)(逗号分隔)
  16945. type: string
  16946. wrstandardcode:
  16947. description: 现货商品代码
  16948. type: string
  16949. wrstandardid:
  16950. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  16951. type: string
  16952. wrstandardname:
  16953. description: 现货商品名称
  16954. type: string
  16955. type: object
  16956. models.THJPurchaseTradeDetail_Date:
  16957. properties:
  16958. depositrate:
  16959. description: 定金比例
  16960. type: number
  16961. enddate:
  16962. description: 预售结束日期
  16963. type: string
  16964. tradeprice:
  16965. description: 摘牌价格
  16966. type: number
  16967. tradeqty:
  16968. description: 摘牌数量
  16969. type: integer
  16970. transferamount:
  16971. description: 转让金额
  16972. type: number
  16973. transferid:
  16974. description: 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
  16975. type: integer
  16976. transferprice:
  16977. description: 转让价格
  16978. type: number
  16979. type: object
  16980. models.THJPurchaseTradeDetail_Goodsinfo:
  16981. properties:
  16982. pictureurls:
  16983. description: 详情图片(逗号分隔)
  16984. type: string
  16985. refgoodscode:
  16986. description: 参考商品代码
  16987. type: string
  16988. refgoodsid:
  16989. description: 参考商品ID
  16990. type: integer
  16991. unitid:
  16992. description: 现货商品单位ID
  16993. type: integer
  16994. wrstandardcode:
  16995. description: 现货商品代码
  16996. type: string
  16997. wrstandardid:
  16998. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  16999. type: integer
  17000. wrstandardname:
  17001. description: 现货商品名称(模糊查询)
  17002. type: string
  17003. type: object
  17004. models.THJPurchaseTradeDetailRsp:
  17005. properties:
  17006. deliverydate:
  17007. description: 交割日期
  17008. items:
  17009. $ref: '#/definitions/models.THJPurchaseTradeDetail_Date'
  17010. type: array
  17011. goodsinfo:
  17012. $ref: '#/definitions/models.THJPurchaseTradeDetail_Goodsinfo'
  17013. description: 商品信息
  17014. history:
  17015. description: 历史价格走势(历史数据日线)
  17016. items:
  17017. $ref: '#/definitions/models.HistoryData'
  17018. type: array
  17019. type: object
  17020. models.THJSigninReq:
  17021. properties:
  17022. userid:
  17023. description: 用户ID
  17024. type: integer
  17025. required:
  17026. - userid
  17027. type: object
  17028. models.THJSigninRsp:
  17029. properties:
  17030. signinstatus:
  17031. description: 状态操作标志 1-签到成功 2-当日已签到,不能重复签到
  17032. type: integer
  17033. type: object
  17034. models.THJSpotGoodsPriceLog:
  17035. properties:
  17036. spotgoodsprice:
  17037. description: 现货价格
  17038. type: number
  17039. tradedate:
  17040. description: 交易日(yyyyMMdd)
  17041. type: string
  17042. type: object
  17043. models.THJTradeData:
  17044. properties:
  17045. accountname:
  17046. description: 被推荐人
  17047. type: string
  17048. buytradelot:
  17049. description: 购买笔数
  17050. type: integer
  17051. buytradeqty:
  17052. description: 购买数量
  17053. type: number
  17054. marketid:
  17055. description: 市场ID 采购-64201 供求-65201
  17056. type: integer
  17057. reckondate:
  17058. description: 日照日期(yyyyMMdd)日照日期(yyyyMMdd)
  17059. type: string
  17060. selltradelot:
  17061. description: 销售笔数
  17062. type: integer
  17063. selltradeqty:
  17064. description: 销售数量
  17065. type: number
  17066. userid:
  17067. description: 用户ID
  17068. type: integer
  17069. wrstandardname:
  17070. description: 现货商品名称
  17071. type: string
  17072. required:
  17073. - marketid
  17074. - userid
  17075. type: object
  17076. models.THJWrstandard:
  17077. properties:
  17078. thumurls:
  17079. description: 缩略图片(1:1)(逗号分隔)
  17080. type: string
  17081. wrstandardcode:
  17082. description: 现货商品代码
  17083. type: string
  17084. wrstandardid:
  17085. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  17086. type: integer
  17087. wrstandardname:
  17088. description: 现货商品名称(模糊查询)
  17089. type: string
  17090. type: object
  17091. models.THJWrstandardDetail_GoodsInfo:
  17092. properties:
  17093. bannerpicurl:
  17094. description: Banner图(逗号分隔)
  17095. type: string
  17096. pictureurls:
  17097. description: 详情图片(逗号分隔)
  17098. type: string
  17099. spotgoodsprice:
  17100. description: 现货价格
  17101. type: number
  17102. unitid:
  17103. description: 现货商品单位ID
  17104. type: integer
  17105. wrstandardcode:
  17106. description: 现货商品代码
  17107. type: string
  17108. wrstandardid:
  17109. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  17110. type: integer
  17111. wrstandardname:
  17112. description: 现货商品名称
  17113. type: string
  17114. type: object
  17115. models.THJWrstandardDetailRsp:
  17116. properties:
  17117. deliverymodes:
  17118. description: 交割方式
  17119. items:
  17120. $ref: '#/definitions/models.THJDeliveryMode'
  17121. type: array
  17122. deliverymonth:
  17123. description: 交割月份
  17124. items:
  17125. $ref: '#/definitions/models.THJDeliveryMonth'
  17126. type: array
  17127. goodsinfo:
  17128. $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  17129. description: 商品信息
  17130. presaleapplydeposits:
  17131. description: 支付方式
  17132. items:
  17133. $ref: '#/definitions/models.THJPresaleApplyDeposit'
  17134. type: array
  17135. spotgoodspricelogs:
  17136. description: 历史价格走势
  17137. items:
  17138. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  17139. type: array
  17140. type: object
  17141. models.Taaccount:
  17142. properties:
  17143. accountflag:
  17144. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  17145. type: integer
  17146. accountid:
  17147. description: 资金账户ID
  17148. type: integer
  17149. accountname:
  17150. description: 账户名称
  17151. type: string
  17152. balance:
  17153. description: 期初余额
  17154. type: number
  17155. capitalbalance:
  17156. description: 本金余额[外部子账户实际出入金余额]
  17157. type: number
  17158. changeflag:
  17159. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  17160. type: integer
  17161. changetime:
  17162. description: 账户状态变更时间
  17163. type: string
  17164. closepl:
  17165. description: 今日平仓盈亏
  17166. type: number
  17167. creditdecrease:
  17168. description: 今日授信减少
  17169. type: number
  17170. creditincrease:
  17171. description: 今日授信增加
  17172. type: number
  17173. curamount:
  17174. description: 总市值(从持仓中统计)
  17175. type: number
  17176. currencyid:
  17177. description: 货币ID
  17178. type: integer
  17179. currentbalance:
  17180. description: 期末余额
  17181. type: number
  17182. freezecharge:
  17183. description: 手续费冻结
  17184. type: number
  17185. freezemargin:
  17186. description: 冻结保证金
  17187. type: number
  17188. fromaccountid:
  17189. description: 所属上级账户
  17190. type: integer
  17191. inamount:
  17192. description: 今日入金金额(包括三方入金)
  17193. type: number
  17194. ismain:
  17195. description: 是否母账号 0:不是母账户 1:是母账户
  17196. type: integer
  17197. ismarketaccount:
  17198. description: 是否机构接单账号 0:不是 1:是
  17199. type: integer
  17200. isreckonaccount:
  17201. description: 是否机构分润账号 0:不是 1:是
  17202. type: integer
  17203. mortgagecredit:
  17204. description: 授信金额
  17205. type: number
  17206. orifreezecharge:
  17207. description: 期初手续费冻结
  17208. type: number
  17209. orifreezemargin:
  17210. description: 期初冻结保证金
  17211. type: number
  17212. orimortgagecredit:
  17213. description: 期初授信金额
  17214. type: number
  17215. oriothercredit:
  17216. description: 期初其它授信金额
  17217. type: number
  17218. oriotherfreezemargin:
  17219. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  17220. type: number
  17221. orioutamountfreeze:
  17222. description: 期初出金冻结
  17223. type: number
  17224. oriusedmargin:
  17225. description: 期初占用保证金
  17226. type: number
  17227. othercredit:
  17228. description: 其它授信金额
  17229. type: number
  17230. othercreditdecrease:
  17231. description: 今日其它授信减少
  17232. type: number
  17233. othercreditincrease:
  17234. description: 今日其它授信增加
  17235. type: number
  17236. otherfreezemargin:
  17237. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  17238. type: number
  17239. otherincome:
  17240. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  17241. type: number
  17242. otherpay:
  17243. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  17244. type: number
  17245. outamount:
  17246. description: 今日出金金额(包括三方出金)
  17247. type: number
  17248. outamountfreeze:
  17249. description: 出金冻结
  17250. type: number
  17251. outthreshold:
  17252. description: 出金阈值
  17253. type: number
  17254. parentaccountid:
  17255. description: 所属根账号
  17256. type: integer
  17257. paycharge:
  17258. description: 今日手续费支出
  17259. type: number
  17260. relatedaccountstatus:
  17261. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  17262. type: integer
  17263. relateduserid:
  17264. description: 关联用户
  17265. type: integer
  17266. remainamount:
  17267. description: 融资额(从融资合同中统计)
  17268. type: number
  17269. serivcegroup:
  17270. description: 服务分组
  17271. type: integer
  17272. signstatus:
  17273. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  17274. type: integer
  17275. sublevelpath:
  17276. description: 账号层级路径(逗号分隔,首尾加逗号)
  17277. type: string
  17278. taaccounttype:
  17279. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  17280. type: integer
  17281. thirdinamount:
  17282. description: 今日三方入金
  17283. type: number
  17284. thirdoutamount:
  17285. description: 今日三方出金
  17286. type: number
  17287. tradestatus:
  17288. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  17289. type: integer
  17290. tradestatuschangetime:
  17291. description: 激活时间
  17292. type: string
  17293. transferamount:
  17294. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  17295. type: number
  17296. usedmargin:
  17297. description: 占用保证金
  17298. type: number
  17299. userid:
  17300. description: 用户ID
  17301. type: integer
  17302. required:
  17303. - accountid
  17304. - userid
  17305. type: object
  17306. models.Tablecolumnconfig:
  17307. properties:
  17308. aligntype:
  17309. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  17310. type: integer
  17311. autoid:
  17312. description: AutoID
  17313. type: integer
  17314. columnfield:
  17315. description: 列字段
  17316. type: string
  17317. columntitle:
  17318. description: 列Title
  17319. type: string
  17320. columnwidth:
  17321. description: 列宽
  17322. type: string
  17323. fixed:
  17324. description: 固定类型 - 空 | left | right
  17325. type: string
  17326. formatterstring:
  17327. description: 格式化字符
  17328. type: string
  17329. formattertype:
  17330. description: 格式化类型
  17331. type: string
  17332. groupname:
  17333. description: 表头分组名称
  17334. type: string
  17335. ismerge:
  17336. description: 是否合并显示 - 0:不合并 1:合并
  17337. type: integer
  17338. isshow:
  17339. description: 是否显示 - 0:不显示 1:显示
  17340. type: integer
  17341. needsummary:
  17342. description: 是否需要汇总 - 0:不需要 1:需要
  17343. type: integer
  17344. orderindex:
  17345. description: 顺序
  17346. type: integer
  17347. remark:
  17348. description: 备注
  17349. type: string
  17350. summarytype:
  17351. description: 汇总类型 - 1:加总 2:最后一个
  17352. type: integer
  17353. tablekey:
  17354. description: 列表Key
  17355. type: string
  17356. required:
  17357. - autoid
  17358. type: object
  17359. models.Thjpurchasetradedetail:
  17360. properties:
  17361. buyaccountid:
  17362. description: 买方账号ID
  17363. type: integer
  17364. buychargevalue:
  17365. description: 买方到期手续费
  17366. type: number
  17367. buyconfirmremark:
  17368. description: 买方确认备注
  17369. type: string
  17370. buyconfirmtime:
  17371. description: 买方确认时间
  17372. type: string
  17373. buyfreezecharge:
  17374. description: 买方摘牌冻结手续费
  17375. type: number
  17376. buyuserid:
  17377. description: 买方用户ID
  17378. type: integer
  17379. contactinfo:
  17380. description: 联系方式
  17381. type: string
  17382. contactname:
  17383. description: 联系人姓名
  17384. type: string
  17385. contractaddrbuy:
  17386. description: 贸易合同地址(买家)
  17387. type: string
  17388. contractaddrsell:
  17389. description: 贸易合同地址(卖家)
  17390. type: string
  17391. deliverygoodsid:
  17392. description: 现货品种ID
  17393. type: integer
  17394. depositrate:
  17395. description: 定金比例
  17396. type: number
  17397. desaddress:
  17398. description: 目的地地址
  17399. type: string
  17400. discountamount:
  17401. description: 优惠总金额(优惠金额*TradeQty)
  17402. type: number
  17403. handlestatus:
  17404. description: 处理状态
  17405. type: integer
  17406. lastamount:
  17407. description: 到期总货款 = 到期价格 * 摘牌数量
  17408. type: number
  17409. lastprice:
  17410. description: '[实际价]到期价格'
  17411. type: number
  17412. lastpricedate:
  17413. description: 到期价格日期 - 暂不使用
  17414. type: string
  17415. marketid:
  17416. description: 市场ID
  17417. type: integer
  17418. orderstatus:
  17419. description: 单据状态 - 1:待付尾款 2:支付尾款成功 3:支付尾款失败 4:已违约 5:卖方已确认 6:买方已确认 7:系统自动确认
  17420. (枚举:THJOrderStatus)
  17421. type: integer
  17422. payeddeposit:
  17423. description: '[定金]买方已付定金'
  17424. type: number
  17425. payedtradedate:
  17426. description: 支付尾款成功交易日
  17427. type: string
  17428. presaleapplyid:
  17429. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  17430. type: integer
  17431. receiptinfo:
  17432. description: 发票信息
  17433. type: string
  17434. remainamount:
  17435. description: '[尾款]剩余货款 = 到期总货款 - 已付定金 - 优惠金额'
  17436. type: number
  17437. sellaccountid:
  17438. description: 卖方账号ID
  17439. type: integer
  17440. sellchargevalue:
  17441. description: 卖方到期手续费
  17442. type: number
  17443. sellconfirmattach:
  17444. description: 卖方确认附件
  17445. type: string
  17446. sellconfirmremark:
  17447. description: 卖方确认备注
  17448. type: string
  17449. sellconfirmtime:
  17450. description: 卖方确认时间
  17451. type: string
  17452. sellconfirmtradedate:
  17453. description: 卖方确认交易日
  17454. type: string
  17455. selluserid:
  17456. description: 卖方用户ID
  17457. type: integer
  17458. thjdeliverymode:
  17459. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  17460. type: integer
  17461. thjdeliverymodedisplay:
  17462. description: 提货方式
  17463. type: string
  17464. thjorderstatusdisplay:
  17465. description: 状态
  17466. type: string
  17467. tradeamount:
  17468. description: 摘牌总货款
  17469. type: number
  17470. tradedate:
  17471. description: 交易日(yyyyMMdd)
  17472. type: string
  17473. tradeprice:
  17474. description: 摘牌价格
  17475. type: number
  17476. tradeqty:
  17477. description: '[预售价]摘牌数量'
  17478. type: integer
  17479. tradetime:
  17480. description: 摘牌时间
  17481. type: string
  17482. warehouseid:
  17483. description: 仓库ID
  17484. type: integer
  17485. warehousename:
  17486. description: 仓库名称
  17487. type: string
  17488. wrfactortypeid:
  17489. description: 仓单要素类型ID
  17490. type: integer
  17491. wrstandardid:
  17492. description: 现货商品ID
  17493. type: integer
  17494. wrstandardname:
  17495. description: 现货商品名称
  17496. type: string
  17497. wrtradedetailid:
  17498. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17499. type: integer
  17500. required:
  17501. - buyuserid
  17502. type: object
  17503. models.Thjpurchasetransfer:
  17504. properties:
  17505. buyaccountid:
  17506. description: 买方账号ID
  17507. type: integer
  17508. buyuserid:
  17509. description: 买方用户ID
  17510. type: integer
  17511. contractaddr:
  17512. description: 协议转让合同地址
  17513. type: string
  17514. deliverygoodsid:
  17515. description: 现货品种ID
  17516. type: integer
  17517. handlestatus:
  17518. description: 处理状态
  17519. type: integer
  17520. marketid:
  17521. description: 市场ID(固定为(64202)
  17522. type: integer
  17523. presaleapplyid:
  17524. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  17525. type: integer
  17526. remark:
  17527. description: 备注
  17528. type: string
  17529. sellaccountid:
  17530. description: 卖方账号ID
  17531. type: integer
  17532. sellcharge:
  17533. description: 卖方手续费值
  17534. type: number
  17535. sellchargealgorithm:
  17536. description: 卖方手续费收取方式 1:比率 2:固定
  17537. type: integer
  17538. sellchargealgorithmvalue:
  17539. description: 手续费设置值(交易所部分)
  17540. type: number
  17541. selluserid:
  17542. description: 卖方用户ID
  17543. type: integer
  17544. tradedate:
  17545. description: 交易日(yyyyMMdd)
  17546. type: string
  17547. transferamount:
  17548. description: 转让金额
  17549. type: number
  17550. transferid:
  17551. description: 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
  17552. type: integer
  17553. transferprice:
  17554. description: 转让价格
  17555. type: number
  17556. transferqty:
  17557. description: 数量
  17558. type: integer
  17559. transferstatus:
  17560. description: 转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让
  17561. type: integer
  17562. transfertradedate:
  17563. description: 转让交易日
  17564. type: string
  17565. warehouseid:
  17566. description: 仓库ID
  17567. type: integer
  17568. wrfactortypeid:
  17569. description: 仓单要素类型ID
  17570. type: integer
  17571. wrstandardid:
  17572. description: 现货商品ID
  17573. type: integer
  17574. wrtradedetailid:
  17575. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17576. type: integer
  17577. type: object
  17578. models.Thjscoreconfig:
  17579. properties:
  17580. parma1:
  17581. description: 参数1
  17582. type: integer
  17583. parma2:
  17584. description: 参数2
  17585. type: integer
  17586. parma3:
  17587. description: 参数3
  17588. type: integer
  17589. parma4:
  17590. description: 参数4
  17591. type: integer
  17592. parma5:
  17593. description: 参数5
  17594. type: integer
  17595. parma6:
  17596. description: 参数6
  17597. type: integer
  17598. parma7:
  17599. description: 参数6
  17600. type: integer
  17601. scoreconfigtype:
  17602. description: 积分配置类型 - 1:注册送红包 2:签到送积分 3:推广送积分 4:下级用户下单送积分 5:自己采购下单送积分 6:自己供求下单送积分
  17603. 7:抽奖得红包
  17604. type: integer
  17605. type: object
  17606. models.TjmdHolderDetailTradeInfo:
  17607. properties:
  17608. agreeunit:
  17609. description: 合约乘数
  17610. type: number
  17611. buyaccountid:
  17612. description: 买方账户
  17613. type: string
  17614. buyusername:
  17615. description: 买方
  17616. type: string
  17617. delistingdate:
  17618. description: 最后结算日
  17619. type: string
  17620. expiredate:
  17621. description: 到期结算价定价日
  17622. type: string
  17623. exprieprice:
  17624. description: 到期清算价格
  17625. type: string
  17626. goodscode:
  17627. description: 商品代码
  17628. type: string
  17629. goodsid:
  17630. description: 商品ID
  17631. type: integer
  17632. goodsname:
  17633. description: 商品名称(交易标的)
  17634. type: string
  17635. lasttradedate:
  17636. description: 最后交易日
  17637. type: string
  17638. listingdate:
  17639. description: 开始交易日
  17640. type: string
  17641. openprice:
  17642. description: 成交价
  17643. type: number
  17644. openqty:
  17645. description: 交易数量
  17646. type: integer
  17647. sellaccountid:
  17648. description: 卖方账户
  17649. type: string
  17650. sellusername:
  17651. description: 卖方
  17652. type: string
  17653. tradeamount:
  17654. description: 初始名义价值
  17655. type: number
  17656. tradedate:
  17657. description: 成交日期
  17658. type: string
  17659. tradeid:
  17660. description: 成交编号
  17661. type: string
  17662. type: object
  17663. models.TjmdMarketSection:
  17664. properties:
  17665. marketsectionid:
  17666. description: 市场版块ID(SEQ_MARKETSECTION)
  17667. type: integer
  17668. marketsectionname:
  17669. description: 市场版块名称
  17670. type: string
  17671. mlist:
  17672. description: 市场列表(板块下面有多少个市场)
  17673. items:
  17674. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  17675. type: array
  17676. orderindex:
  17677. description: 排序
  17678. type: integer
  17679. pictureurl:
  17680. description: 图片url, 规格(90*90)
  17681. type: string
  17682. remark:
  17683. description: 备注
  17684. type: string
  17685. type: object
  17686. models.TjmdMarketSectionConfig:
  17687. properties:
  17688. auctionwrtype:
  17689. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  17690. type: integer
  17691. canacceptquote:
  17692. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  17693. type: integer
  17694. cangoodsexercise:
  17695. description: '[期权]是否可现货行权- 0:否 1:是'
  17696. type: integer
  17697. cangoodsexercisetype:
  17698. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  17699. type: integer
  17700. canmanualquotestrike:
  17701. description: 是否可手动报行权价- 0:否 1:是 [期权]
  17702. type: integer
  17703. canmutistage:
  17704. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  17705. type: integer
  17706. canpreexercise:
  17707. description: '[期权]是否可预申报- 0:否 1:是'
  17708. type: integer
  17709. clearinterval:
  17710. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  17711. type: integer
  17712. contracttmp:
  17713. description: 合同模板[荷兰式][竞价式][仓单贸易]
  17714. type: string
  17715. exchareaid:
  17716. description: 所属交易所,可以没有
  17717. type: integer
  17718. financemarketid:
  17719. description: 融资回购市场ID [仓单贸易]
  17720. type: integer
  17721. goodstype:
  17722. description: 商品类型 - 1:交易商品 2:仓单商品
  17723. type: integer
  17724. hasrebate:
  17725. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  17726. type: integer
  17727. hastradecredit:
  17728. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  17729. type: integer
  17730. haswr:
  17731. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  17732. type: integer
  17733. isdeductmargin:
  17734. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  17735. type: integer
  17736. isrecordsource:
  17737. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  17738. type: integer
  17739. isreleasemargin:
  17740. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  17741. type: integer
  17742. isupdatereckonprice:
  17743. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  17744. type: integer
  17745. listingmode:
  17746. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  17747. type: integer
  17748. marginformula:
  17749. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  17750. type: integer
  17751. marginformula2:
  17752. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  17753. type: integer
  17754. marketid:
  17755. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  17756. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  17757. type: integer
  17758. marketname:
  17759. description: 市场名称
  17760. type: string
  17761. marketsectionid:
  17762. description: 市场版块ID(SEQ_MARKETSECTION)
  17763. type: integer
  17764. marketserviceid:
  17765. description: 市场服务ID
  17766. type: integer
  17767. marketstatus:
  17768. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  17769. type: integer
  17770. markettype:
  17771. description: 市场类型- 1:非交易服务 2:交易服务
  17772. type: integer
  17773. matchermode:
  17774. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  17775. type: integer
  17776. nowrquotaflag:
  17777. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  17778. type: integer
  17779. openmethod:
  17780. description: 开盘模式 - 0 自动 1手动
  17781. type: integer
  17782. orderindex:
  17783. description: 排序
  17784. type: integer
  17785. otcuserid:
  17786. description: 场外期权做市商[场外期权]
  17787. type: integer
  17788. outersynctime:
  17789. description: 外部同步时间点(h24:mi:ss)[场外期权]
  17790. type: string
  17791. paylaterflag:
  17792. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  17793. type: integer
  17794. pendingflag:
  17795. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  17796. type: integer
  17797. pendingtime:
  17798. description: 待开市时间[通道交易-对冲](HH:mm)
  17799. type: string
  17800. performancetempid:
  17801. description: 履约计划模板ID - 作废
  17802. type: integer
  17803. premiumquotemode:
  17804. description: 权利金报价方式 - 1:自动 2:手动
  17805. type: integer
  17806. rebateratio:
  17807. description: 返利比率[竞价式]
  17808. type: number
  17809. reckonorder:
  17810. description: 结算顺序
  17811. type: integer
  17812. reckonpricealgorithm:
  17813. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  17814. 6.卖一价 7.买一卖一均价 8.外部结算价'
  17815. type: integer
  17816. reckonpriceparam:
  17817. description: 结算价参数
  17818. type: integer
  17819. reckontime:
  17820. description: 结算时间[通道交易-对冲](HH:mm)
  17821. type: string
  17822. roleprioritytype:
  17823. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  17824. type: integer
  17825. selllistingauditflag:
  17826. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  17827. type: integer
  17828. trademarkettype:
  17829. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  17830. type: integer
  17831. trademode:
  17832. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17833. 21:竞拍-大宗式 22:受托竞价
  17834. type: integer
  17835. tradeproperty:
  17836. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  17837. 8:场外期权
  17838. type: integer
  17839. tradetype:
  17840. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  17841. type: integer
  17842. updatereckonpriceinterval:
  17843. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  17844. type: integer
  17845. type: object
  17846. models.TjmdQuoteGoods:
  17847. properties:
  17848. buyqty:
  17849. description: 买量(暂不做, 无值, 保留字段)
  17850. type: number
  17851. decimalplace:
  17852. description: 报价小数位
  17853. type: integer
  17854. goodscode:
  17855. description: 合约代码
  17856. type: string
  17857. goodsgroupid:
  17858. description: 商品组ID(自增ID)
  17859. type: integer
  17860. goodsgroupname:
  17861. description: 商品组名称
  17862. type: string
  17863. goodsid:
  17864. description: 合约id
  17865. type: integer
  17866. goodsname:
  17867. description: 合约名称
  17868. type: string
  17869. refgoodscode:
  17870. description: 标的合约代码
  17871. type: string
  17872. refgoodsid:
  17873. description: 标的合约id
  17874. type: integer
  17875. refgoodsname:
  17876. description: 标的合约名称
  17877. type: string
  17878. sellqty:
  17879. description: 卖量(暂不做, 无值, 保留字段)
  17880. type: number
  17881. type: object
  17882. models.TjmdTodayAccountMargin:
  17883. properties:
  17884. accountid:
  17885. description: 账号ID
  17886. type: integer
  17887. goodsid:
  17888. description: 商品ID
  17889. type: integer
  17890. infoc:
  17891. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  17892. description: 配置参数
  17893. marketid:
  17894. description: 市场ID
  17895. type: integer
  17896. type: object
  17897. models.TjmdTradeOrderDetail:
  17898. properties:
  17899. buyorsell:
  17900. description: 买卖方向 0-买 1-卖
  17901. type: integer
  17902. goodsid:
  17903. description: 商品id
  17904. type: integer
  17905. marketmaxsub:
  17906. description: 市价最大偏移范围 [浮动价 - 点差]
  17907. type: number
  17908. orderid:
  17909. description: 委托单号
  17910. type: string
  17911. orderprice:
  17912. description: 期初均价
  17913. type: number
  17914. orderqty:
  17915. description: 委托数量
  17916. type: integer
  17917. pricemode:
  17918. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  17919. type: integer
  17920. userid:
  17921. description: 用户id
  17922. type: integer
  17923. username:
  17924. description: 用户名称(已脱敏)
  17925. type: string
  17926. type: object
  17927. models.TjmdTransferApply:
  17928. properties:
  17929. applyid:
  17930. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  17931. type: integer
  17932. applystatus:
  17933. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  17934. type: integer
  17935. applytime:
  17936. description: 申请时间(时间)
  17937. type: string
  17938. auditremark:
  17939. description: 审核备注(拒绝原因?)
  17940. type: string
  17941. begindate:
  17942. description: 开始交易日(yyyymmdd)
  17943. type: string
  17944. buyorsell:
  17945. description: 买卖 - 0:买 1:卖
  17946. type: integer
  17947. enddate:
  17948. description: 结束交易日(yyyymmdd)
  17949. type: string
  17950. goodscode:
  17951. description: 商品代码
  17952. type: string
  17953. goodsid:
  17954. description: 商品ID
  17955. type: integer
  17956. goodsname:
  17957. description: 商品名称
  17958. type: string
  17959. marketid:
  17960. description: 市场ID
  17961. type: integer
  17962. qty:
  17963. description: 期初均价
  17964. type: number
  17965. tradeid:
  17966. description: 成交单号(关联持仓)
  17967. type: string
  17968. transferamount:
  17969. description: 转让总金额(金额)
  17970. type: number
  17971. transferprice:
  17972. description: 转让价格(协议价格)
  17973. type: number
  17974. type: object
  17975. models.TradeHolderDetail:
  17976. properties:
  17977. accountid:
  17978. description: 账号ID
  17979. type: integer
  17980. agreeunit:
  17981. description: 合约乘数
  17982. type: number
  17983. buyorsell:
  17984. description: 方向 - 0:买 1:卖
  17985. type: integer
  17986. currencyid:
  17987. description: 商品币种id
  17988. type: integer
  17989. currencyname:
  17990. description: 币种名称
  17991. type: string
  17992. decimalplace:
  17993. description: 商品价格小数位
  17994. type: integer
  17995. enumdicname:
  17996. description: 商品单位名称
  17997. type: string
  17998. expirecycle:
  17999. description: 行权周期(天) - 1:滚动行权时填写
  18000. type: integer
  18001. expiredate:
  18002. description: 行权日(yyyyMMdd) - 到期日
  18003. type: string
  18004. expiretype:
  18005. description: 行权日类型 - 1:滚动行权 2:固定日行权
  18006. type: integer
  18007. freezeqty:
  18008. description: 期初均价
  18009. type: number
  18010. goodscode:
  18011. description: 商品代码
  18012. type: string
  18013. goodsid:
  18014. description: 商品ID
  18015. type: integer
  18016. goodsname:
  18017. description: 商品名称
  18018. type: string
  18019. goodunitid:
  18020. description: 商品单位id
  18021. type: integer
  18022. holderamount:
  18023. description: 持仓金额
  18024. type: number
  18025. holdercredit:
  18026. description: 持仓授信金额
  18027. type: number
  18028. holderdays:
  18029. description: 剩余冻结天数
  18030. type: integer
  18031. holderprice:
  18032. description: 持仓价格
  18033. type: number
  18034. holderqty:
  18035. description: 期初均价
  18036. type: number
  18037. isconfirmexercise:
  18038. description: 是否确认行权- 0:否 1:是
  18039. type: integer
  18040. ispreexercise:
  18041. description: 是否预申报- 0:否 1:是 2:不可行权
  18042. type: integer
  18043. marketid:
  18044. description: 市场id
  18045. type: integer
  18046. marketname:
  18047. description: 市场名称
  18048. type: string
  18049. openprice:
  18050. description: 建仓价格
  18051. type: number
  18052. openqty:
  18053. description: 期初均价
  18054. type: number
  18055. optiontype:
  18056. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18057. type: integer
  18058. preexerciseprice:
  18059. description: 预申报价格
  18060. type: number
  18061. premium:
  18062. description: 权利金
  18063. type: number
  18064. qtydecimalplace:
  18065. description: 商品成交量小数位
  18066. type: integer
  18067. refgoodscode:
  18068. description: 标的合约代码
  18069. type: string
  18070. refgoodsid:
  18071. description: 标的合约id
  18072. type: integer
  18073. releaseamount:
  18074. description: 释放持仓金额
  18075. type: number
  18076. releaseholdercredit:
  18077. description: 释放持仓授信金额
  18078. type: number
  18079. taname:
  18080. description: 资金账号名称
  18081. type: string
  18082. tradeamount:
  18083. description: 成交金额
  18084. type: number
  18085. tradedate:
  18086. description: 交易日(yyyyMMdd)
  18087. type: string
  18088. tradeid:
  18089. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18090. type: string
  18091. trademode:
  18092. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  18093. 21:竞拍-大宗式 22:受托竞价 46:掉期
  18094. type: integer
  18095. tradeproperty:
  18096. description: 交易属性
  18097. type: integer
  18098. tradetime:
  18099. description: 交易时间
  18100. type: string
  18101. userid:
  18102. description: 用户id
  18103. type: integer
  18104. username:
  18105. description: 用户名称
  18106. type: string
  18107. type: object
  18108. models.Unlinkermcphedgeplan:
  18109. properties:
  18110. accountid:
  18111. description: 期货账户ID - 作废
  18112. type: integer
  18113. accountname:
  18114. description: 交易用户
  18115. type: string
  18116. applyid:
  18117. description: 申请人
  18118. type: integer
  18119. applysrc:
  18120. description: 申请来源 - 1:管理端 2:终端
  18121. type: integer
  18122. applytime:
  18123. description: 申请时间
  18124. type: string
  18125. areauserid:
  18126. description: '[企业ID]机构ID'
  18127. type: integer
  18128. auditid:
  18129. description: 审核人
  18130. type: integer
  18131. auditremark:
  18132. description: 审核备注
  18133. type: string
  18134. auditsrc:
  18135. description: 审核来源 - 1:管理端 2:终端
  18136. type: integer
  18137. audittime:
  18138. description: 审核时间
  18139. type: string
  18140. audittradedate:
  18141. description: 审核交易日(yyyyMMdd)
  18142. type: string
  18143. biztype:
  18144. description: 业务类型 - 1:套保
  18145. type: integer
  18146. contracttype:
  18147. description: 计划类型 - 1:采购 -1:销售
  18148. type: integer
  18149. convertfactor:
  18150. description: 标仓系数 - 作废
  18151. type: number
  18152. createtime:
  18153. description: 创建时间
  18154. type: string
  18155. currencyid:
  18156. description: 结算币种ID - 作废
  18157. type: integer
  18158. deliverygoodsid:
  18159. description: 现货品种ID
  18160. type: integer
  18161. enumdicname:
  18162. description: 结算币种
  18163. type: string
  18164. hedgeplanid:
  18165. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  18166. type: string
  18167. hedgeplanno:
  18168. description: '[计划编号]套保计划编号,模糊查询'
  18169. type: string
  18170. hedgeplanstatus:
  18171. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  18172. type: integer
  18173. isrelated:
  18174. description: 是否已关联计划项目 - 0:否 1:是
  18175. type: integer
  18176. planqty:
  18177. description: '[计划量]计划数量'
  18178. type: number
  18179. plantime:
  18180. description: 计划时间
  18181. type: string
  18182. producttype:
  18183. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  18184. type: integer
  18185. remark:
  18186. description: 备注
  18187. type: string
  18188. spotgoodsdesc:
  18189. description: 商品型号
  18190. type: string
  18191. tradedate:
  18192. description: 交易日(yyyyMMdd)
  18193. type: string
  18194. tradeuserid:
  18195. description: 交易用户ID
  18196. type: integer
  18197. updatetime:
  18198. description: 更新时间
  18199. type: string
  18200. wrstandardid:
  18201. description: 现货商品ID
  18202. type: integer
  18203. wrstandardname:
  18204. description: 现货商品,模糊查询
  18205. type: string
  18206. required:
  18207. - areauserid
  18208. type: object
  18209. models.UserCollectConfig:
  18210. properties:
  18211. accountstatus:
  18212. description: 账户状态 - 1:正常 2:停用 3:注销
  18213. type: integer
  18214. collectaccountname:
  18215. description: 收款人账户名称
  18216. type: string
  18217. collectaccountno:
  18218. description: 收款人账户
  18219. type: string
  18220. collectbankname:
  18221. description: 收款人开户行
  18222. type: string
  18223. collectbranchbankname:
  18224. description: 收款人开户支行
  18225. type: string
  18226. collectconfigid:
  18227. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  18228. type: string
  18229. remark:
  18230. description: 备注
  18231. type: string
  18232. userid:
  18233. description: 收款人用户ID
  18234. type: integer
  18235. type: object
  18236. models.UserReceiveInfo:
  18237. properties:
  18238. address:
  18239. description: 提货人详细地址
  18240. type: string
  18241. autoid:
  18242. description: AutoID
  18243. type: integer
  18244. cardnum:
  18245. description: 证件号码(加密存储)
  18246. type: string
  18247. cardtypeid:
  18248. description: 证件类型
  18249. type: integer
  18250. cityid:
  18251. description: 市
  18252. type: integer
  18253. cityname:
  18254. description: 城市名称
  18255. type: string
  18256. countryid:
  18257. description: 国家
  18258. type: integer
  18259. countryname:
  18260. description: 国家名称
  18261. type: string
  18262. districtid:
  18263. description: 地区
  18264. type: integer
  18265. districtname:
  18266. description: 地区名称
  18267. type: string
  18268. hasencrypt:
  18269. description: 数据是否已加密 - 0:未加密 1:已加密
  18270. type: integer
  18271. isdefault:
  18272. description: 是否默认地址 - 0:否 1:是
  18273. type: integer
  18274. phonenum:
  18275. description: 提货人联系方式(加密存储)
  18276. type: string
  18277. provinceid:
  18278. description: 省
  18279. type: integer
  18280. provincename:
  18281. description: 省名称
  18282. type: string
  18283. receivername:
  18284. description: 提货人姓名
  18285. type: string
  18286. takeremark:
  18287. description: 提货备注
  18288. type: string
  18289. userid:
  18290. description: 用户ID
  18291. type: integer
  18292. type: object
  18293. models.Useraccount:
  18294. properties:
  18295. accountname:
  18296. description: 账户名称(机构名称)
  18297. type: string
  18298. accountstatus:
  18299. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  18300. type: integer
  18301. applysrc:
  18302. description: 申请来源 - 1:管理端 2:终端
  18303. type: integer
  18304. auditremark:
  18305. description: 审核备注
  18306. type: string
  18307. auditsrc:
  18308. description: 审核来源 - 1:管理端 2:终端
  18309. type: integer
  18310. audittime:
  18311. description: 审核时间
  18312. type: string
  18313. audituserid:
  18314. description: 审核人
  18315. type: integer
  18316. broker:
  18317. description: 所属经纪人ID
  18318. type: integer
  18319. canceltime:
  18320. description: 销户时间
  18321. type: string
  18322. canceluserid:
  18323. description: 销户人
  18324. type: integer
  18325. canrecommend:
  18326. description: 是否可推荐 - 0:不可 1;可
  18327. type: integer
  18328. createtime:
  18329. description: 创建时间
  18330. type: string
  18331. creatorid:
  18332. description: 创建人
  18333. type: integer
  18334. curscore:
  18335. description: 积分
  18336. type: integer
  18337. hasauth:
  18338. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  18339. type: integer
  18340. isanonymous:
  18341. description: 是否匿名下单 - 0:否 1:是
  18342. type: integer
  18343. issigned:
  18344. description: 今日是否已签到
  18345. type: boolean
  18346. maxinvestornum:
  18347. description: 最大用户数(经纪会员下投资者个数)
  18348. type: integer
  18349. memberuserid:
  18350. description: 所属会员ID
  18351. type: integer
  18352. modifierid:
  18353. description: 修改人
  18354. type: integer
  18355. modifyremark:
  18356. description: 变更备注
  18357. type: string
  18358. modifystatus:
  18359. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  18360. type: integer
  18361. modifytime:
  18362. description: 修改时间
  18363. type: string
  18364. parenttopuser:
  18365. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  18366. type: string
  18367. parentuserid:
  18368. description: 所属机构ID
  18369. type: integer
  18370. reckonaccountid:
  18371. description: 默认结算资金账号ID(机构分润使用) 作废
  18372. type: integer
  18373. refercount:
  18374. description: 推荐总人数
  18375. type: integer
  18376. refereeuserid:
  18377. description: 推荐人ID
  18378. type: integer
  18379. refernum:
  18380. description: 推荐码
  18381. type: string
  18382. rootuserid:
  18383. description: 根用户ID
  18384. type: integer
  18385. subaccountlevel:
  18386. description: 子账户层数
  18387. type: integer
  18388. subarealevelpath:
  18389. description: 子机构层级路径(逗号分隔,首尾加逗号)
  18390. type: string
  18391. todayrefercount:
  18392. description: 今日推荐人数
  18393. type: integer
  18394. userid:
  18395. description: 用户ID
  18396. type: integer
  18397. usertype:
  18398. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  18399. type: integer
  18400. required:
  18401. - userid
  18402. type: object
  18403. models.Userfavoritegoods:
  18404. properties:
  18405. goodsid:
  18406. description: 商品ID
  18407. type: integer
  18408. required:
  18409. - goodsid
  18410. type: object
  18411. models.Userinfo:
  18412. properties:
  18413. address:
  18414. description: 地址
  18415. type: string
  18416. attachment1:
  18417. description: 附件1
  18418. type: string
  18419. attachment2:
  18420. description: 附件2
  18421. type: string
  18422. bankaccount:
  18423. description: 银行帐号 (加密存储)
  18424. type: string
  18425. bankaccountname:
  18426. description: 收款人名称
  18427. type: string
  18428. bankcardfrontphotourl:
  18429. description: 银行卡正面照地址
  18430. type: string
  18431. bankid:
  18432. description: 银行编码
  18433. type: string
  18434. bankname:
  18435. description: 银行名称
  18436. type: string
  18437. biznature:
  18438. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  18439. type: integer
  18440. bizscope:
  18441. description: 企业经营范围(企业)
  18442. type: string
  18443. cardbackphotourl:
  18444. description: 证件背面图片地址
  18445. type: string
  18446. cardfrontphotourl:
  18447. description: 证件正面图片地址
  18448. type: string
  18449. cardnum:
  18450. description: 证件号码(加密存储)
  18451. type: string
  18452. cardtypeid:
  18453. description: 证件类型ID
  18454. type: integer
  18455. cityid:
  18456. description: 市
  18457. type: integer
  18458. company:
  18459. description: 公司(个人)
  18460. type: string
  18461. contactname:
  18462. description: 联系人
  18463. type: string
  18464. countryid:
  18465. description: 国家
  18466. type: integer
  18467. createtime:
  18468. description: 创建时间
  18469. type: string
  18470. creatorid:
  18471. description: 创建人
  18472. type: integer
  18473. customername:
  18474. description: 客户名称(企业名称)
  18475. type: string
  18476. districtid:
  18477. description: 地区
  18478. type: integer
  18479. email:
  18480. description: 邮件(加密存储)
  18481. type: string
  18482. fax:
  18483. description: 传真(加密存储)
  18484. type: string
  18485. halfbodyphotourl:
  18486. description: 半身照地址
  18487. type: string
  18488. hasencrypt:
  18489. description: 数据是否已加密 - 0:未加密 1:已加密
  18490. type: integer
  18491. headurl:
  18492. description: 头像地址
  18493. type: string
  18494. legalcardbackphotourl:
  18495. description: 法人身份证背面照地址
  18496. type: string
  18497. legalcardfrontphotourl:
  18498. description: 法人身份证正面照地址
  18499. type: string
  18500. legalpersonname:
  18501. description: 法人姓名(企业)
  18502. type: string
  18503. mobile:
  18504. description: 手机号码(加密存储)
  18505. type: string
  18506. mobile2:
  18507. description: 手机号码[明文-尚志]
  18508. type: string
  18509. modifierid:
  18510. description: 修改人
  18511. type: integer
  18512. modifiertime:
  18513. description: 修改时间
  18514. type: string
  18515. needinvoice:
  18516. description: 是否需要发票 - 0:不需要 1:需要
  18517. type: integer
  18518. nickname:
  18519. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  18520. type: string
  18521. openmode:
  18522. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  18523. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  18524. type: integer
  18525. otherurl:
  18526. description: 其它图片地址[使用分号分隔]
  18527. type: string
  18528. postalcode:
  18529. description: 邮政编码
  18530. type: string
  18531. provinceid:
  18532. description: 省
  18533. type: integer
  18534. qq:
  18535. description: QQ(加密存储
  18536. type: string
  18537. remark:
  18538. description: 备注
  18539. type: string
  18540. sex:
  18541. description: '用户性别 0: 女 1: 男'
  18542. type: integer
  18543. signpdfurl:
  18544. description: 签约pdf文件
  18545. type: string
  18546. telphone:
  18547. description: 联系电话(加密存储)
  18548. type: string
  18549. userid:
  18550. description: 用户ID
  18551. type: integer
  18552. userinfotype:
  18553. description: 用户信息类型 - 1:个人 2:企业
  18554. type: integer
  18555. userstatus:
  18556. description: 用户状态 - 1:正常 2:注销
  18557. type: integer
  18558. usertype:
  18559. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  18560. type: integer
  18561. wechat:
  18562. description: 微信(加密存储)
  18563. type: string
  18564. wskhinfo:
  18565. description: 开户申请信息(JSON)
  18566. type: string
  18567. required:
  18568. - userid
  18569. type: object
  18570. models.WRPositionReport:
  18571. properties:
  18572. accountid:
  18573. description: 帐户ID
  18574. type: integer
  18575. brandid:
  18576. description: 品牌ID(1交割品种升贴水参数表 AutoID) - 作废
  18577. type: integer
  18578. buylistinglot:
  18579. description: 买挂牌宗数
  18580. type: integer
  18581. buytradeamount:
  18582. description: 购买金额
  18583. type: number
  18584. buytradelot:
  18585. description: 购买宗数
  18586. type: integer
  18587. buytradeqty:
  18588. description: 购买数量
  18589. type: number
  18590. creditcurqty:
  18591. description: 授信当前数量
  18592. type: integer
  18593. creditfreezeqty:
  18594. description: 授信冻结数量
  18595. type: integer
  18596. credittotalqty:
  18597. description: 授信总数量
  18598. type: integer
  18599. credittradeqty:
  18600. description: 授信成交数量
  18601. type: integer
  18602. decreaseqty:
  18603. description: 今日减少数量
  18604. type: integer
  18605. deliverygoodsid:
  18606. description: 交割商品ID
  18607. type: integer
  18608. deliverymonthid:
  18609. description: 月份ID(1交割品种升贴水参数表 AutoID) - 作废
  18610. type: integer
  18611. freezeqty:
  18612. description: 总冻结数量
  18613. type: integer
  18614. increaseqty:
  18615. description: 今日增加数量
  18616. type: integer
  18617. marketvalue:
  18618. description: 市值
  18619. type: number
  18620. pickupqty:
  18621. description: 今日提货数量
  18622. type: integer
  18623. qualityid:
  18624. description: 品质ID(1交割品种升贴水参数表 AutoID) - 作废
  18625. type: integer
  18626. reckondate:
  18627. description: 日照时期(yyyyMMdd)
  18628. type: string
  18629. relatedqty:
  18630. description: 关联数量
  18631. type: integer
  18632. selllistingamount:
  18633. description: 卖挂牌金额
  18634. type: number
  18635. selllistinglot:
  18636. description: 卖挂牌宗数
  18637. type: integer
  18638. selllistingqty:
  18639. description: 卖挂牌数量
  18640. type: number
  18641. selltradeamount:
  18642. description: 销售金额
  18643. type: number
  18644. selltradelot:
  18645. description: 销售宗数
  18646. type: integer
  18647. selltradeqty:
  18648. description: 销售数量
  18649. type: number
  18650. specid:
  18651. description: 规格ID(1交割品种升贴水参数表 AutoID) - 作废
  18652. type: integer
  18653. totalprice:
  18654. description: 销售金额(¥)
  18655. type: number
  18656. totalqty:
  18657. description: 总数量
  18658. type: integer
  18659. totalweight:
  18660. description: 销售重量(ct)
  18661. type: number
  18662. tradewrqty:
  18663. description: 订单仓单头寸总数量
  18664. type: integer
  18665. transfertradewrqty:
  18666. description: 今日转订单数量
  18667. type: integer
  18668. warehouseid:
  18669. description: 仓库ID(1交割品种升贴水参数表 AutoID) - 作废
  18670. type: integer
  18671. wrfactortypeid:
  18672. description: 仓单要素类型ID
  18673. type: integer
  18674. wrpositionid:
  18675. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  18676. type: integer
  18677. wrstandardcode:
  18678. description: 现货商品代码
  18679. type: string
  18680. wrstandardid:
  18681. description: 现货商品ID
  18682. type: integer
  18683. wruserid:
  18684. description: 持有人ID
  18685. type: integer
  18686. zscategory:
  18687. description: 商品分类
  18688. type: integer
  18689. zscategorydisplay:
  18690. type: string
  18691. zscurrencytype:
  18692. description: 商品币种
  18693. type: integer
  18694. zscurrencytypedisplay:
  18695. type: string
  18696. zscurrencytypedisplayunit:
  18697. type: string
  18698. type: object
  18699. models.WRSConverTDetail:
  18700. properties:
  18701. convertratio:
  18702. description: 套保系数
  18703. type: number
  18704. deliverygoodscode:
  18705. description: 现货商品代码
  18706. type: string
  18707. deliverygoodsid:
  18708. description: 现货品种ID
  18709. type: integer
  18710. deliverygoodsname:
  18711. description: 现货商品名称
  18712. type: string
  18713. enumdicname:
  18714. description: 单位名称
  18715. type: string
  18716. goodsunitid:
  18717. description: 套保品种单位id
  18718. type: integer
  18719. middlegoodscode:
  18720. description: 套保品种代码
  18721. type: string
  18722. middlegoodsid:
  18723. description: 套保品种ID
  18724. type: integer
  18725. middlegoodsname:
  18726. description: 套保品种名称
  18727. type: string
  18728. modifytime:
  18729. description: 修改时间
  18730. type: string
  18731. wrstandardid:
  18732. description: 品类ID
  18733. type: integer
  18734. type: object
  18735. models.WRStandardInfo:
  18736. properties:
  18737. areauserid:
  18738. description: 所属机构
  18739. type: integer
  18740. convertfactor:
  18741. description: 标仓系数
  18742. type: number
  18743. createtime:
  18744. description: 创建时间
  18745. type: string
  18746. creatorid:
  18747. description: 创建人
  18748. type: integer
  18749. deliverygoodsid:
  18750. description: 品种ID
  18751. type: integer
  18752. deliverygoodsname:
  18753. description: 交割商品名称
  18754. type: string
  18755. factoryitemjson:
  18756. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  18757. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  18758. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  18759. 逗号分隔'
  18760. type: string
  18761. isvalid:
  18762. description: 是否有效 - 0:无效 1:有效
  18763. type: integer
  18764. minivalue:
  18765. description: 最小变动值
  18766. type: integer
  18767. minivaluedp:
  18768. description: 最小变动值小数位
  18769. type: integer
  18770. realminivalue:
  18771. description: 实际最小变动值
  18772. type: integer
  18773. realminivaluedp:
  18774. description: 实际最小变动值小数位
  18775. type: integer
  18776. remark:
  18777. description: 备注
  18778. type: string
  18779. unitid:
  18780. description: 单位ID
  18781. type: integer
  18782. unitname:
  18783. description: 单位
  18784. type: string
  18785. updatetime:
  18786. description: 更新时间
  18787. type: string
  18788. updatorid:
  18789. description: 更新人
  18790. type: integer
  18791. wrsstatus:
  18792. description: 状态 - 作废 - 0:未激活 1:正常
  18793. type: integer
  18794. wrstandardcode:
  18795. description: 现货品类代码
  18796. type: string
  18797. wrstandardid:
  18798. description: 现货品类ID(SEQ_WRSTANDARD)
  18799. type: integer
  18800. wrstandardname:
  18801. description: 现货品类名称
  18802. type: string
  18803. required:
  18804. - wrstandardid
  18805. type: object
  18806. models.WRTradeBargainApply:
  18807. properties:
  18808. accountid:
  18809. description: 摘牌资金账号
  18810. type: integer
  18811. applyprice:
  18812. description: 申请价格(议价价格)
  18813. type: string
  18814. applyqty:
  18815. description: 摘牌数量(议价数量)
  18816. type: number
  18817. applyremark:
  18818. description: 申请备注
  18819. type: string
  18820. applystatus:
  18821. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  18822. type: integer
  18823. applytime:
  18824. description: 申请时间(议价时间)
  18825. type: string
  18826. begindate:
  18827. description: 开始交易日(yyyymmdd)
  18828. type: string
  18829. buyorsell:
  18830. description: 买卖(挂牌类型) - 0:买 1:卖
  18831. type: integer
  18832. confirmremark:
  18833. description: 确认备注
  18834. type: string
  18835. confirmtime:
  18836. description: 确认时间
  18837. type: string
  18838. confirmuserid:
  18839. description: 确认人
  18840. type: integer
  18841. deliverygoodscode:
  18842. description: 品种代码
  18843. type: string
  18844. deliverygoodsid:
  18845. description: 品种ID
  18846. type: integer
  18847. deliverygoodsname:
  18848. description: 品种名称
  18849. type: string
  18850. deliverymonth:
  18851. description: 交收月
  18852. type: string
  18853. enddate:
  18854. description: 结束交易日(yyyymmdd)
  18855. type: string
  18856. enumdicname:
  18857. description: 单位名称
  18858. type: string
  18859. fixedprice:
  18860. description: 期初均价
  18861. type: number
  18862. handlestatus:
  18863. description: 处理状态
  18864. type: integer
  18865. marginvalue:
  18866. description: 期初均价
  18867. type: number
  18868. marketid:
  18869. description: 市场ID
  18870. type: integer
  18871. matchaccountid:
  18872. description: 挂牌方资金账号
  18873. type: integer
  18874. matchuserid:
  18875. description: 挂牌方用户id
  18876. type: integer
  18877. matchusername:
  18878. description: 挂牌方用户名称(已脱敏)
  18879. type: string
  18880. minivalue:
  18881. description: 现货商品最小变动值
  18882. type: integer
  18883. optioncompare:
  18884. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18885. type: string
  18886. orderqty:
  18887. description: 挂牌数量
  18888. type: integer
  18889. refprice:
  18890. description: 参考价格
  18891. type: string
  18892. retcode:
  18893. description: 委托返回代码
  18894. type: integer
  18895. templatename:
  18896. description: 履约方式(履约模板名称)
  18897. type: string
  18898. tradedate:
  18899. description: 交易日(yyyyMMdd)
  18900. type: string
  18901. userid:
  18902. description: 摘牌人用户ID(议价人ID)
  18903. type: integer
  18904. username:
  18905. description: 议价人名字(已脱敏)
  18906. type: string
  18907. validtime:
  18908. description: 有效期限
  18909. type: string
  18910. warehouseid:
  18911. description: 仓库ID
  18912. type: integer
  18913. warehousename:
  18914. description: 仓库名称
  18915. type: string
  18916. wrbargainid:
  18917. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  18918. type: string
  18919. wrfactortypeid:
  18920. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18921. type: string
  18922. wrfactortypename:
  18923. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18924. type: string
  18925. wrstandardcode:
  18926. description: 现货商品代码
  18927. type: string
  18928. wrstandardid:
  18929. description: 现货商品ID
  18930. type: integer
  18931. wrstandardname:
  18932. description: 商品名称
  18933. type: string
  18934. wrtradeorderid:
  18935. description: 关联委托单ID
  18936. type: string
  18937. wrtypename:
  18938. description: 商品
  18939. type: string
  18940. type: object
  18941. models.Warehouseinfo:
  18942. properties:
  18943. address:
  18944. description: 详细地址
  18945. type: string
  18946. areauserid:
  18947. description: 所属机构
  18948. type: integer
  18949. autoid:
  18950. description: 自增ID
  18951. type: integer
  18952. cityid:
  18953. description: 市
  18954. type: integer
  18955. contactname:
  18956. description: 联系人
  18957. type: string
  18958. contactnum:
  18959. description: 联系电话
  18960. type: string
  18961. countryid:
  18962. description: 国家
  18963. type: integer
  18964. createtime:
  18965. description: 创建时间
  18966. type: string
  18967. districtid:
  18968. description: 区
  18969. type: integer
  18970. hasvideo:
  18971. description: 是否有视频 - 0:无 1:有
  18972. type: integer
  18973. provinceid:
  18974. description: 省
  18975. type: integer
  18976. remark:
  18977. description: 审核备注
  18978. type: string
  18979. videourl:
  18980. description: 视频地址
  18981. type: string
  18982. warehousecode:
  18983. description: 仓库代码
  18984. type: string
  18985. warehousename:
  18986. description: 仓库名称
  18987. type: string
  18988. warehousestatus:
  18989. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  18990. type: integer
  18991. warehousetype:
  18992. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  18993. type: integer
  18994. required:
  18995. - autoid
  18996. - warehousecode
  18997. type: object
  18998. models.WrAverageTradePrice:
  18999. properties:
  19000. averageprice:
  19001. description: 期初均价
  19002. type: number
  19003. tradedate:
  19004. description: 交易日yyyymm
  19005. type: string
  19006. type: object
  19007. models.WrBrandAndYears:
  19008. properties:
  19009. brandlst:
  19010. description: 品牌列表
  19011. items:
  19012. $ref: '#/definitions/models.DgFactoryItem'
  19013. type: array
  19014. yearslst:
  19015. description: 年份列表
  19016. items:
  19017. $ref: '#/definitions/models.DgFactoryItem'
  19018. type: array
  19019. type: object
  19020. models.WrBsGoodsInfo:
  19021. properties:
  19022. buyorsell:
  19023. description: 买卖方向 0-买 1-卖
  19024. type: integer
  19025. goodsid:
  19026. description: 交易合约ID
  19027. type: integer
  19028. lstitem:
  19029. description: 商品信息项
  19030. items:
  19031. $ref: '#/definitions/models.WrTypeItem'
  19032. type: array
  19033. lststep:
  19034. description: 履约规则
  19035. items:
  19036. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19037. type: array
  19038. type: object
  19039. models.WrBuybackDetail:
  19040. properties:
  19041. buybackamount:
  19042. description: 回购金额
  19043. type: number
  19044. buybackqty:
  19045. description: 回购数量
  19046. type: number
  19047. buybackreleasemargin:
  19048. description: 回购释放保证金
  19049. type: number
  19050. buybacktime:
  19051. description: 回购时间
  19052. type: string
  19053. errordesc:
  19054. description: 错误描述
  19055. type: string
  19056. handlestatus:
  19057. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  19058. type: integer
  19059. relatedwrid:
  19060. description: 关联仓单ID
  19061. type: integer
  19062. scfcontractid:
  19063. description: SCF合同ID
  19064. type: string
  19065. scfwrbuybackid:
  19066. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  19067. type: integer
  19068. tradedate:
  19069. description: 交易日(yyyyMMdd)
  19070. type: string
  19071. type: object
  19072. models.WrClientAdSpaceConfig:
  19073. properties:
  19074. adspaceid:
  19075. description: 广告位ID
  19076. type: integer
  19077. adspacename:
  19078. description: 广告位名称
  19079. type: string
  19080. adspacetype:
  19081. description: 广告位类型 - 1:固定广告位
  19082. type: integer
  19083. areauserid:
  19084. description: 所属机构ID
  19085. type: integer
  19086. createdate:
  19087. description: 创建时间
  19088. type: string
  19089. imagepath:
  19090. description: 图片
  19091. type: string
  19092. modifierid:
  19093. description: 操作人
  19094. type: integer
  19095. recsize:
  19096. description: 推荐尺寸
  19097. type: string
  19098. title:
  19099. description: 标题
  19100. type: string
  19101. updatedate:
  19102. description: 更新时间
  19103. type: string
  19104. urlcontent:
  19105. description: 链接(地址\商品ID\功能菜单Key\appid)
  19106. type: string
  19107. urltype:
  19108. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  19109. type: integer
  19110. type: object
  19111. models.WrDeliveryAvalidHoldLB:
  19112. properties:
  19113. accountid:
  19114. description: 资金账号
  19115. type: integer
  19116. avalidqty:
  19117. description: 数量(可点选数量)
  19118. type: number
  19119. deliverygoodsid:
  19120. description: 品种id
  19121. type: integer
  19122. enumdicname:
  19123. description: 单位名称
  19124. type: string
  19125. goodsid:
  19126. description: x合约商品id
  19127. type: integer
  19128. ladingbillid:
  19129. description: 提单id
  19130. type: string
  19131. pgoodscode:
  19132. description: p商品代码(点价合约)
  19133. type: string
  19134. pgoodsid:
  19135. description: p商品id(点价合约)
  19136. type: integer
  19137. pgoodsname:
  19138. description: p商品名称(点价合约)
  19139. type: string
  19140. pricemove:
  19141. description: 升贴水
  19142. type: number
  19143. subnum:
  19144. description: 提单子id
  19145. type: integer
  19146. userid:
  19147. description: 用户id
  19148. type: integer
  19149. username:
  19150. description: 仓单持有人
  19151. type: string
  19152. warehousecode:
  19153. description: 仓库代码
  19154. type: string
  19155. warehouseid:
  19156. description: 仓库id
  19157. type: integer
  19158. warehousename:
  19159. description: 仓库名称
  19160. type: string
  19161. wrfactortypeid:
  19162. description: 仓单要素id
  19163. type: string
  19164. wrstandardcode:
  19165. description: 品代码
  19166. type: string
  19167. wrstandardid:
  19168. description: 品类d
  19169. type: integer
  19170. wrstandardname:
  19171. description: 品类名称
  19172. type: string
  19173. wrtypename:
  19174. description: 商品
  19175. type: string
  19176. xgoodscode:
  19177. description: x合约代码
  19178. type: string
  19179. xgoodsname:
  19180. description: x合约名称
  19181. type: string
  19182. type: object
  19183. models.WrDeliveryDetail:
  19184. properties:
  19185. accountid:
  19186. description: 账号ID
  19187. type: integer
  19188. averageprice:
  19189. description: 期初均价
  19190. type: number
  19191. begindate:
  19192. description: 开始交易日(yyyymmdd)
  19193. type: string
  19194. buyorsell:
  19195. description: 方向 - 0:买 1:卖
  19196. type: integer
  19197. deliveryamount:
  19198. description: 货款金额(X总货款+P总货款)
  19199. type: number
  19200. deliveryid:
  19201. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  19202. type: string
  19203. deliveryorderid:
  19204. description: 申报单号
  19205. type: string
  19206. deliverypricemove:
  19207. description: 升贴水(升贴水总额)
  19208. type: number
  19209. deliveryqty:
  19210. description: 交收数量(点选数量)
  19211. type: number
  19212. deliverystatus:
  19213. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  19214. type: integer
  19215. deliverytime:
  19216. description: 交割时间
  19217. type: string
  19218. deliverytotalamount:
  19219. description: 交收金额
  19220. type: number
  19221. enddate:
  19222. description: 结束交易日(yyyymmdd)
  19223. type: string
  19224. enumdicname:
  19225. description: 单位名称
  19226. type: string
  19227. matchaccountid:
  19228. description: 对手账号ID
  19229. type: integer
  19230. matchusername:
  19231. description: 对手方名称(仓单持有人)
  19232. type: string
  19233. p1goodsremainamount:
  19234. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  19235. type: number
  19236. pdeliverycloseqty:
  19237. description: p合约平仓数量
  19238. type: number
  19239. pdeliveryprice:
  19240. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  19241. type: number
  19242. pgoodscode:
  19243. description: 商品代码
  19244. type: string
  19245. pgoodsid:
  19246. description: p点选合约id
  19247. type: integer
  19248. pgoodsname:
  19249. description: 商品名称
  19250. type: string
  19251. ppricemode:
  19252. description: 点价价格方式 - 1:商品价 2:固定值
  19253. type: integer
  19254. tradedate:
  19255. description: 交易日(yyyymmdd)
  19256. type: string
  19257. userid:
  19258. description: 用户id
  19259. type: integer
  19260. username:
  19261. description: 用户名称
  19262. type: string
  19263. warehousename:
  19264. description: 仓库名称
  19265. type: string
  19266. wrfactortypeid:
  19267. description: 仓单要素类型ID
  19268. type: string
  19269. wrtypename:
  19270. description: 商品
  19271. type: string
  19272. xdeliverycloseqty:
  19273. description: 合约数量
  19274. type: number
  19275. xgoodsamount:
  19276. description: 期初均价
  19277. type: number
  19278. xgoodscode:
  19279. description: 商品代码
  19280. type: string
  19281. xgoodsid:
  19282. description: x交易合约ID
  19283. type: integer
  19284. xgoodsname:
  19285. description: 商品名称
  19286. type: string
  19287. type: object
  19288. models.WrDeliveryGoodsSection:
  19289. properties:
  19290. dglst:
  19291. description: 板块商品列表
  19292. items:
  19293. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  19294. type: array
  19295. imagepath:
  19296. description: 图片地址
  19297. type: string
  19298. orderindex:
  19299. description: 排序
  19300. type: integer
  19301. sectionid:
  19302. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  19303. = 1的版块1 - 云融指数
  19304. type: integer
  19305. sectionname:
  19306. description: 版块名称
  19307. type: string
  19308. sectiontype:
  19309. description: 版块类型 - 1:指数版块 2:普通版块
  19310. type: integer
  19311. type: object
  19312. models.WrDeliveryGoodsSectionConfig:
  19313. properties:
  19314. deliverygoodscode:
  19315. description: 现货商品代码
  19316. type: string
  19317. deliverygoodsid:
  19318. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19319. type: integer
  19320. deliverygoodsname:
  19321. description: 现货商品名称
  19322. type: string
  19323. orderindex:
  19324. description: 排序
  19325. type: integer
  19326. type: object
  19327. models.WrDraftUserInfo:
  19328. properties:
  19329. address:
  19330. description: 地址
  19331. type: string
  19332. attachment1:
  19333. description: 附件1
  19334. type: string
  19335. attachment2:
  19336. description: 附件2
  19337. type: string
  19338. attachment3:
  19339. description: 附件3
  19340. type: string
  19341. attachment4:
  19342. description: 附件4
  19343. type: string
  19344. attachment5:
  19345. description: 附件5
  19346. type: string
  19347. bankaccount:
  19348. description: 银行帐号 (加密存储)
  19349. type: string
  19350. bankaccountname:
  19351. description: 收款人名称
  19352. type: string
  19353. bankcardfrontphotourl:
  19354. description: 银行卡正面照地址
  19355. type: string
  19356. bankid:
  19357. description: 银行编码
  19358. type: string
  19359. bankname:
  19360. description: 银行名称
  19361. type: string
  19362. birthday:
  19363. description: 生日(个人:年月日)
  19364. type: string
  19365. biznature:
  19366. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  19367. type: integer
  19368. bizscope:
  19369. description: 企业经营范围(企业)
  19370. type: string
  19371. biztype:
  19372. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  19373. type: integer
  19374. cardbackphotourl:
  19375. description: 证件背面图片地址
  19376. type: string
  19377. cardfrontphotourl:
  19378. description: 证件正面图片地址
  19379. type: string
  19380. cardnum:
  19381. description: 证件号码(加密存储)
  19382. type: string
  19383. cardtypeid:
  19384. description: 证件类型ID
  19385. type: integer
  19386. cityid:
  19387. description: 市
  19388. type: integer
  19389. company:
  19390. description: 公司(个人)
  19391. type: string
  19392. contactcardbackphotourl:
  19393. description: 联系人证件背面图片地址
  19394. type: string
  19395. contactcardfrontphotourl:
  19396. description: 联系人证件正面图片地址
  19397. type: string
  19398. contactname:
  19399. description: 联系人
  19400. type: string
  19401. countryid:
  19402. description: 国家
  19403. type: integer
  19404. createtime:
  19405. description: 创建时间
  19406. type: string
  19407. creatorid:
  19408. description: 创建人
  19409. type: integer
  19410. creditquota:
  19411. description: 授信额度(金瑞)
  19412. type: number
  19413. customername:
  19414. description: 客户名称(企业名称)
  19415. type: string
  19416. districtid:
  19417. description: 地区
  19418. type: integer
  19419. email:
  19420. description: 邮件(加密存储)
  19421. type: string
  19422. fax:
  19423. description: 传真(加密存储)
  19424. type: string
  19425. halfbodyphotourl:
  19426. description: 半身照地址
  19427. type: string
  19428. hasencrypt:
  19429. description: 数据是否已加密 - 0:未加密 1:已加密
  19430. type: integer
  19431. headurl:
  19432. description: 头像地址
  19433. type: string
  19434. legalcardbackphotourl:
  19435. description: 法人身份证背面照地址
  19436. type: string
  19437. legalcardfrontphotourl:
  19438. description: 法人身份证正面照地址
  19439. type: string
  19440. legalpersonname:
  19441. description: 法人姓名(企业)
  19442. type: string
  19443. mobile:
  19444. description: 手机号码(加密存储)
  19445. type: string
  19446. mobile2:
  19447. description: 手机号码[明文-尚志]
  19448. type: string
  19449. modifierid:
  19450. description: 修改人
  19451. type: integer
  19452. modifiertime:
  19453. description: 修改时间
  19454. type: string
  19455. needinvoice:
  19456. description: 是否需要发票 - 0:不需要 1:需要
  19457. type: integer
  19458. nickname:
  19459. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  19460. type: string
  19461. openmode:
  19462. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  19463. 6:苹果手机端注册 7:PC交易端注册"
  19464. type: integer
  19465. otherurl:
  19466. description: 其它图片地址[使用分号分隔]
  19467. type: string
  19468. postalcode:
  19469. description: 邮政编码
  19470. type: string
  19471. provinceid:
  19472. description: 省
  19473. type: integer
  19474. proxystatementurl:
  19475. description: 授权委托书
  19476. type: string
  19477. qq:
  19478. description: QQ(加密存储
  19479. type: string
  19480. remark:
  19481. description: 备注
  19482. type: string
  19483. sex:
  19484. description: '用户性别 0: 女 1: 男'
  19485. type: integer
  19486. signpdfurl:
  19487. description: 签约pdf文件
  19488. type: string
  19489. taxpayernum:
  19490. description: 纳税人识别号
  19491. type: string
  19492. telphone:
  19493. description: 联系电话(加密存储)
  19494. type: string
  19495. userid:
  19496. description: 用户ID
  19497. type: integer
  19498. userinfotype:
  19499. description: 用户信息类型 - 1:个人 2:企业
  19500. type: integer
  19501. userstatus:
  19502. description: 用户状态 - 1:正常 2:注销
  19503. type: integer
  19504. usertype:
  19505. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  19506. type: integer
  19507. wechat:
  19508. description: 微信(加密存储)
  19509. type: string
  19510. wskhinfo:
  19511. description: 开户申请信息(JSON)
  19512. type: string
  19513. type: object
  19514. models.WrFAProductDetail:
  19515. properties:
  19516. accountid:
  19517. description: 资金账号
  19518. type: integer
  19519. areauserid:
  19520. description: 金融机构ID
  19521. type: integer
  19522. financingdays:
  19523. description: 天数(天)
  19524. type: integer
  19525. interestminlen:
  19526. description: 最小起息天数
  19527. type: integer
  19528. interestrate:
  19529. description: 利率
  19530. type: number
  19531. interestratemode:
  19532. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19533. type: integer
  19534. interestsettlemode:
  19535. description: 结息方式 - 1:按日结息 3:按月结息
  19536. type: integer
  19537. interestsettlevalue:
  19538. description: 结息方式值
  19539. type: integer
  19540. isautoloan:
  19541. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  19542. type: integer
  19543. loantag:
  19544. description: '放款标识: "放款快" 或者为空'
  19545. type: string
  19546. marginratio:
  19547. description: 保证金比率质押率 - [仓单质押]
  19548. type: number
  19549. productdetailid:
  19550. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  19551. type: integer
  19552. productid:
  19553. description: 金融产品ID
  19554. type: integer
  19555. productname:
  19556. description: 产品名称
  19557. type: string
  19558. updatetime:
  19559. description: 更新时间
  19560. type: string
  19561. username:
  19562. description: 融出方
  19563. type: string
  19564. type: object
  19565. models.WrFactorTypeInfo:
  19566. properties:
  19567. deliverygoodscode:
  19568. description: 品种代码
  19569. type: string
  19570. deliverygoodsname:
  19571. description: 品种名称
  19572. type: string
  19573. dgfactoryitemid:
  19574. description: 选择项id
  19575. type: integer
  19576. dgfactoryitemtypeid:
  19577. description: 要素选择项ID (1-仓库 2-品牌)
  19578. type: integer
  19579. dgfactoryitemvalue:
  19580. description: 要素项值
  19581. type: string
  19582. itemtypename:
  19583. description: 要素项名称
  19584. type: string
  19585. optioncompare:
  19586. description: 选择比较串
  19587. type: string
  19588. warehouseid:
  19589. description: 仓库id
  19590. type: integer
  19591. wrfactortypeid:
  19592. description: 仓单要素ID
  19593. type: string
  19594. wrfactortypename:
  19595. description: 要素名称
  19596. type: string
  19597. wrfactortypename2:
  19598. description: 要素名称(不含仓库)
  19599. type: string
  19600. wrstandardcode:
  19601. description: 品类代码
  19602. type: string
  19603. wrstandardid:
  19604. description: 品类id
  19605. type: integer
  19606. wrstandardname:
  19607. description: 品类名称
  19608. type: string
  19609. type: object
  19610. models.WrFilterItem:
  19611. properties:
  19612. itemcode:
  19613. description: 代码
  19614. type: string
  19615. itemid:
  19616. description: 项id
  19617. type: integer
  19618. itemname:
  19619. description: 名称
  19620. type: string
  19621. itemtype:
  19622. description: 类型 1-品种 2-品类(商品) 3-仓库
  19623. type: integer
  19624. type: object
  19625. models.WrFinanceBuyApply:
  19626. properties:
  19627. applydate:
  19628. description: 申请时间
  19629. type: string
  19630. applystatus:
  19631. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  19632. type: integer
  19633. applyuserid:
  19634. description: 申请人
  19635. type: integer
  19636. auditdate:
  19637. description: 审核时间
  19638. type: string
  19639. auditremark:
  19640. description: 审核备注
  19641. type: string
  19642. audituserid:
  19643. description: 审核人
  19644. type: integer
  19645. buyaccountid:
  19646. description: 买方资金账号
  19647. type: integer
  19648. buyorsell:
  19649. description: 买卖 - 0:买 1:卖
  19650. type: integer
  19651. buyuserid:
  19652. description: 买方用户ID
  19653. type: integer
  19654. buyusername:
  19655. description: 买方名称
  19656. type: string
  19657. buywrtradeorderid:
  19658. description: 融资方买委托单ID
  19659. type: string
  19660. deliverygoodscode:
  19661. description: 品种代码
  19662. type: string
  19663. deliverygoodsid:
  19664. description: 品种ID
  19665. type: integer
  19666. deliverygoodsname:
  19667. description: 品种名称
  19668. type: string
  19669. deliverymonth:
  19670. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  19671. type: string
  19672. enumdicname:
  19673. description: 单位名称
  19674. type: string
  19675. financeaccountid:
  19676. description: 融资方资金帐户ID
  19677. type: integer
  19678. financeapplyid:
  19679. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19680. type: string
  19681. financeareauserid:
  19682. description: 融资方用户ID
  19683. type: string
  19684. financename:
  19685. description: 融出方名称
  19686. type: string
  19687. financetype:
  19688. description: 融资类型 1-融资回购
  19689. type: integer
  19690. financingdays:
  19691. description: 天数(天)
  19692. type: integer
  19693. freezebuymargin:
  19694. description: 冻结融资保证金(买方)
  19695. type: number
  19696. handleremark:
  19697. description: 处理备注
  19698. type: string
  19699. handlestatus:
  19700. description: 处理状态
  19701. type: integer
  19702. interestminlen:
  19703. description: 最小起息天数
  19704. type: integer
  19705. interestrate:
  19706. description: 利率
  19707. type: number
  19708. interestratemode:
  19709. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19710. type: integer
  19711. interestsettlemode:
  19712. description: 结息方式 - 1:按日结息 3:按月结息
  19713. type: integer
  19714. interestsettlevalue:
  19715. description: 结息方式值
  19716. type: integer
  19717. isautoloan:
  19718. description: 是否自动放款 - 0:手动 1:自动
  19719. type: integer
  19720. marginratio:
  19721. description: 保证金比率质押率 - [仓单质押]
  19722. type: number
  19723. marketid:
  19724. description: 市场ID
  19725. type: integer
  19726. minivalue:
  19727. description: 现货商品最小变动值
  19728. type: integer
  19729. optioncompare:
  19730. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19731. type: string
  19732. orderqty:
  19733. description: 委托数量(商品数量)
  19734. type: number
  19735. productdetailid:
  19736. description: 产品组合ID
  19737. type: integer
  19738. productid:
  19739. description: 金融产品ID
  19740. type: integer
  19741. productname:
  19742. description: 产品名称
  19743. type: string
  19744. remark:
  19745. description: 备注
  19746. type: string
  19747. scfcontractid:
  19748. description: 仓单回购合同ID
  19749. type: string
  19750. sellaccountid:
  19751. description: 卖方资金账号
  19752. type: integer
  19753. selluserid:
  19754. description: 卖方用户ID
  19755. type: integer
  19756. sellwrtradeorderid:
  19757. description: 卖方委托单ID
  19758. type: string
  19759. tradeamount:
  19760. description: 成交金额(借款金额)
  19761. type: number
  19762. tradedate:
  19763. description: 交易日(yyyyMMdd)
  19764. type: string
  19765. tradeprice:
  19766. description: 成交价格
  19767. type: number
  19768. warehouseid:
  19769. description: 仓库ID
  19770. type: integer
  19771. warehousename:
  19772. description: 仓库名称
  19773. type: string
  19774. wrfactortypeid:
  19775. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19776. type: string
  19777. wrfactortypename:
  19778. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19779. type: string
  19780. wrpricetype:
  19781. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  19782. type: integer
  19783. wrstandardcode:
  19784. description: 现货商品代码
  19785. type: string
  19786. wrstandardid:
  19787. description: 现货商品ID
  19788. type: integer
  19789. wrstandardname:
  19790. description: 商品名称
  19791. type: string
  19792. wrtypename:
  19793. description: 商品
  19794. type: string
  19795. type: object
  19796. models.WrFriendApply:
  19797. properties:
  19798. applicantid:
  19799. description: 申请人
  19800. type: integer
  19801. applyname:
  19802. description: 申请人名称
  19803. type: string
  19804. applysrc:
  19805. description: 申请来源 - 1:管理端 2:终端
  19806. type: integer
  19807. applystatus:
  19808. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19809. type: integer
  19810. applytime:
  19811. description: 申请时间
  19812. type: string
  19813. auditname:
  19814. description: 审核人名称
  19815. type: string
  19816. auditorid:
  19817. description: 审核人
  19818. type: integer
  19819. auditremark:
  19820. description: 审核备注
  19821. type: string
  19822. auditsrc:
  19823. description: 审核来源 - 1:管理端 2:终端
  19824. type: integer
  19825. audittime:
  19826. description: 审核时间
  19827. type: string
  19828. friendapplyid:
  19829. description: 申请ID(SEQ_FRIENDAPPLY)
  19830. type: string
  19831. friendname:
  19832. description: 好友名字(已脱敏)
  19833. type: string
  19834. frienduserid:
  19835. description: 好友用户ID
  19836. type: string
  19837. remark:
  19838. description: 备注
  19839. type: string
  19840. userid:
  19841. description: 申请人用户ID
  19842. type: integer
  19843. type: object
  19844. models.WrFtDeliveryGoods:
  19845. properties:
  19846. deliverygoodscode:
  19847. description: 品种代码
  19848. type: string
  19849. deliverygoodsid:
  19850. description: 品种ID
  19851. type: integer
  19852. deliverygoodsname:
  19853. description: 品种名称
  19854. type: string
  19855. wdlst:
  19856. description: 商品列表
  19857. items:
  19858. $ref: '#/definitions/models.WrFtWrstandard'
  19859. type: array
  19860. type: object
  19861. models.WrFtWrstandard:
  19862. properties:
  19863. enumdicname:
  19864. description: 单位名称
  19865. type: string
  19866. minivalue:
  19867. description: 最小变动值
  19868. type: integer
  19869. wrstandardcode:
  19870. description: 现货商品代码
  19871. type: string
  19872. wrstandardid:
  19873. description: 现货商品ID
  19874. type: integer
  19875. wrstandardname:
  19876. description: 商品名称
  19877. type: string
  19878. type: object
  19879. models.WrGoodsInfo:
  19880. properties:
  19881. haswr:
  19882. description: 0:仓单预售 1:仓单贸易
  19883. type: integer
  19884. lstitem:
  19885. description: 商品信息项
  19886. items:
  19887. $ref: '#/definitions/models.WrTypeItem'
  19888. type: array
  19889. lststep:
  19890. description: 履约规则
  19891. items:
  19892. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19893. type: array
  19894. marketid:
  19895. description: 市场id
  19896. type: integer
  19897. type: object
  19898. models.WrGoodsPerformanceStep:
  19899. properties:
  19900. autoid:
  19901. description: AutoID
  19902. type: integer
  19903. isauto:
  19904. description: 是否自动 - 0:不自动 1:自动
  19905. type: integer
  19906. remark:
  19907. description: 备注
  19908. type: string
  19909. stepdate:
  19910. description: 天数信息(T+N)
  19911. type: string
  19912. stepdays:
  19913. description: 距离上一步天数
  19914. type: integer
  19915. stepindex:
  19916. description: 步骤序号
  19917. type: integer
  19918. stepinfo:
  19919. description: 步骤信息(步骤名称+步骤值)
  19920. type: string
  19921. steptypeid:
  19922. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19923. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19924. type: integer
  19925. steptypename:
  19926. description: 步骤名称
  19927. type: string
  19928. stepvalue:
  19929. description: 期初均价
  19930. type: number
  19931. templateid:
  19932. description: 履约计划模板ID
  19933. type: integer
  19934. type: object
  19935. models.WrHoldLB:
  19936. properties:
  19937. accountid:
  19938. description: 持有人帐户ID
  19939. type: integer
  19940. bannerpicurl:
  19941. description: Banner图
  19942. type: string
  19943. createtime:
  19944. description: 创建时间(过户时间)
  19945. type: string
  19946. deliverygoodscode:
  19947. description: 品种代码
  19948. type: string
  19949. deliverygoodsid:
  19950. description: 品种ID
  19951. type: integer
  19952. deliverygoodsname:
  19953. description: 品种名称
  19954. type: string
  19955. enableqty:
  19956. description: 可用数量
  19957. type: number
  19958. enumdicname:
  19959. description: 单位名称
  19960. type: string
  19961. freezerqty:
  19962. description: 冻结数量
  19963. type: number
  19964. ladingbillid:
  19965. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  19966. type: string
  19967. minivalue:
  19968. description: 现货商品最小变动值
  19969. type: integer
  19970. optioncompare:
  19971. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19972. type: string
  19973. parentsubnum:
  19974. description: 拆分父子单号
  19975. type: integer
  19976. pledgeqty:
  19977. description: 质押数量
  19978. type: number
  19979. qty:
  19980. description: 数量
  19981. type: number
  19982. subnum:
  19983. description: 提单子单号
  19984. type: integer
  19985. thumurls:
  19986. description: 缩略图
  19987. type: string
  19988. tradedate:
  19989. description: 交易日(yyyyMMdd)
  19990. type: string
  19991. userid:
  19992. description: 持有人ID
  19993. type: integer
  19994. warehouseid:
  19995. description: 仓库ID
  19996. type: integer
  19997. warehousename:
  19998. description: 仓库名称
  19999. type: string
  20000. wrfactortypeid:
  20001. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20002. type: string
  20003. wrfactortypename:
  20004. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20005. type: string
  20006. wrholdeno:
  20007. description: 仓单编号
  20008. type: string
  20009. wrid:
  20010. description: 仓单变更ID
  20011. type: string
  20012. wrstandardcode:
  20013. description: 现货商品代码
  20014. type: string
  20015. wrstandardid:
  20016. description: 现货商品ID
  20017. type: integer
  20018. wrstandardname:
  20019. description: 商品名称
  20020. type: string
  20021. wrtypename:
  20022. description: 商品
  20023. type: string
  20024. type: object
  20025. models.WrMarketTradeConfig:
  20026. properties:
  20027. basisdownratio:
  20028. description: 浮动价基差下限比例(仓单贸易)
  20029. type: number
  20030. basisupratio:
  20031. description: 浮动价基差上限比例(仓单贸易)
  20032. type: number
  20033. buychargealgorithm:
  20034. description: 买方手续费收取方式 1:比率 2:固定
  20035. type: integer
  20036. buychargealgorithm2:
  20037. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  20038. type: integer
  20039. buychargealgorithmvalue:
  20040. description: 买方手续费设置值(交易所部分)
  20041. type: number
  20042. buychargealgorithmvalue2:
  20043. description: 买方手续费设置值(会员部分)
  20044. type: number
  20045. buychargealgorithmvalue3:
  20046. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  20047. type: number
  20048. buychargealgorithmvalue4:
  20049. description: 回购买方手续费设置值(会员部分) --77:现货商城
  20050. type: number
  20051. buyfirstmarginalgorithm:
  20052. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  20053. type: integer
  20054. buyfirstmarginvalue:
  20055. description: 买方出价保证金设置值 - [竞拍]
  20056. type: number
  20057. buymarginalgorithm:
  20058. description: 买方保证金方式 - 1:比率 2:固定
  20059. type: integer
  20060. buymarginvalue:
  20061. description: 买方保证金设置值
  20062. type: number
  20063. buyreleaseratio:
  20064. description: 买方释放比率[2:分步履约]
  20065. type: number
  20066. executemode:
  20067. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  20068. type: integer
  20069. executeside:
  20070. description: 执行方[2:分步履约] - 1:买方 2:卖方
  20071. type: integer
  20072. failedchargealgorithm:
  20073. description: 流拍手续费收取方式 1:比率 2:固定
  20074. type: integer
  20075. failedchargevalue:
  20076. description: 流拍手续费设置值
  20077. type: number
  20078. failedchargevalue2:
  20079. description: 流拍卖方手续费设置值
  20080. type: number
  20081. holddays:
  20082. description: 合同期限[2:分步履约]
  20083. type: integer
  20084. listingmode:
  20085. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  20086. type: integer
  20087. marketid:
  20088. description: 市场ID-仓单贸易、竞拍、预售
  20089. type: integer
  20090. minqty:
  20091. description: 最小执行量[2:分步履约]
  20092. type: number
  20093. modifierid:
  20094. description: 修改人
  20095. type: integer
  20096. nowrquotaflag:
  20097. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  20098. type: integer
  20099. performancetempid:
  20100. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  20101. 立即执行(-1)
  20102. type: integer
  20103. performancetempid2:
  20104. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  20105. 立即执行
  20106. type: integer
  20107. performancetempid2s:
  20108. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  20109. - 履约方式: 立即执行
  20110. type: string
  20111. performancetempids:
  20112. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  20113. - 履约方式: 立即执行(-1)
  20114. type: string
  20115. performanceway:
  20116. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  20117. type: integer
  20118. sellchargealgorithm:
  20119. description: 卖方手续费收取方式 1:比率 2:固定
  20120. type: integer
  20121. sellchargealgorithm2:
  20122. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  20123. type: integer
  20124. sellchargealgorithmvalue:
  20125. description: 卖方手续费设置值(交易所部分)
  20126. type: number
  20127. sellchargealgorithmvalue2:
  20128. description: 卖方手续费设置值(会员部分)
  20129. type: number
  20130. sellchargealgorithmvalue3:
  20131. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  20132. type: number
  20133. sellchargealgorithmvalue4:
  20134. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  20135. type: number
  20136. sellmarginalgorithm:
  20137. description: 卖方保证金方式 - 1:比率 2:固定
  20138. type: integer
  20139. sellmarginvalue:
  20140. description: 卖方保证金设置值
  20141. type: number
  20142. sellmarginvalue2:
  20143. description: 卖方保证金设置值(无仓单)
  20144. type: number
  20145. sellreleaseratio:
  20146. description: 卖方释放比率[2:分步履约]
  20147. type: number
  20148. updatetime:
  20149. description: 更新时间
  20150. type: string
  20151. type: object
  20152. models.WrOrderDetail:
  20153. properties:
  20154. accountid:
  20155. description: 交易账号(资金账号)
  20156. type: integer
  20157. allfriendsflag:
  20158. description: 是否全好友可见 - 0:否 1:是
  20159. type: integer
  20160. amount:
  20161. description: 期初均价
  20162. type: number
  20163. bannerpicurl:
  20164. description: Banner图
  20165. type: string
  20166. begindate:
  20167. description: 开始交易日(yyyymmdd)
  20168. type: string
  20169. buyorsell:
  20170. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  20171. type: integer
  20172. canbargain:
  20173. description: 是否可议价 - 0:不可 1:可
  20174. type: integer
  20175. cancelqty:
  20176. description: 撤销数量
  20177. type: number
  20178. canpart:
  20179. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  20180. type: integer
  20181. delistminqty:
  20182. description: 起摘数量
  20183. type: integer
  20184. deliverygoodscode:
  20185. description: 品种代码
  20186. type: string
  20187. deliverygoodsid:
  20188. description: 品种ID
  20189. type: integer
  20190. deliverygoodsname:
  20191. description: 品种名称
  20192. type: string
  20193. deliverymonth:
  20194. description: 交收月
  20195. type: string
  20196. enddate:
  20197. description: 结束交易日(yyyymmdd)
  20198. type: string
  20199. enumdicname:
  20200. description: 单位名称
  20201. type: string
  20202. fixedprice:
  20203. description: 固定价格 - [挂牌]
  20204. type: number
  20205. freezecharge:
  20206. description: 期初均价
  20207. type: number
  20208. freezemargin:
  20209. description: 期初均价
  20210. type: number
  20211. futupricemove:
  20212. description: 期货升贴水
  20213. type: number
  20214. futushow:
  20215. description: 期货合约/升贴水
  20216. type: string
  20217. goodscode:
  20218. description: 期货合约
  20219. type: string
  20220. goodsid:
  20221. description: 期货商品id
  20222. type: integer
  20223. goodsname:
  20224. description: 商品名称
  20225. type: string
  20226. haswr:
  20227. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20228. type: integer
  20229. isspecified:
  20230. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  20231. type: integer
  20232. ladingbillid:
  20233. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  20234. type: string
  20235. marginvalue:
  20236. description: 期初均价
  20237. type: number
  20238. marketid:
  20239. description: 市场ID
  20240. type: integer
  20241. matchusername:
  20242. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  20243. type: string
  20244. minivalue:
  20245. description: 现货商品最小变动值
  20246. type: integer
  20247. optioncompare:
  20248. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20249. type: string
  20250. orderqty:
  20251. description: 委托数量
  20252. type: number
  20253. ordertime:
  20254. description: 委托时间(挂牌时间)
  20255. type: string
  20256. performancetemplateid:
  20257. description: 履约模板id
  20258. type: integer
  20259. pricemove:
  20260. description: 升贴水(浮动价时填写) - [挂牌]
  20261. type: number
  20262. taname:
  20263. description: 交易用户名称(资金账号名称)
  20264. type: string
  20265. thumurls:
  20266. description: 缩略图
  20267. type: string
  20268. tradedate:
  20269. description: 交易日(yyyyMMdd)
  20270. type: string
  20271. tradeprice:
  20272. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  20273. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  20274. type: number
  20275. tradeqty:
  20276. description: 成交数量
  20277. type: number
  20278. userid:
  20279. description: 用户ID
  20280. type: integer
  20281. validtime:
  20282. description: 挂牌有效期
  20283. type: string
  20284. validtype:
  20285. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  20286. type: integer
  20287. warehouseid:
  20288. description: 仓库ID
  20289. type: integer
  20290. warehousename:
  20291. description: 仓库名称
  20292. type: string
  20293. wrfactortypeid:
  20294. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20295. type: string
  20296. wrfactortypename:
  20297. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20298. type: string
  20299. wrpricetype:
  20300. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  20301. type: integer
  20302. wrstandardcode:
  20303. description: 现货商品代码
  20304. type: string
  20305. wrstandardid:
  20306. description: 现货商品ID
  20307. type: integer
  20308. wrstandardname:
  20309. description: 商品名称
  20310. type: string
  20311. wrtradeorderid:
  20312. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20313. type: string
  20314. wrtradeorderstatus:
  20315. 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:撤单解冻贷款失败
  20316. type: integer
  20317. wrtradetype:
  20318. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  20319. type: integer
  20320. wrtypename:
  20321. description: 商品
  20322. type: string
  20323. type: object
  20324. models.WrOrderQuote:
  20325. properties:
  20326. bannerpicurl:
  20327. description: Banner图
  20328. type: string
  20329. buyprice:
  20330. description: 买价
  20331. type: number
  20332. buypricemove:
  20333. description: 买升贴水(基差)
  20334. type: number
  20335. buyqty:
  20336. description: 买量
  20337. type: number
  20338. deliverygoodscode:
  20339. description: 品种代码
  20340. type: string
  20341. deliverygoodsid:
  20342. description: 品种id
  20343. type: integer
  20344. deliverygoodsname:
  20345. description: 品种名称
  20346. type: string
  20347. deliverymonth:
  20348. description: 交收月
  20349. type: string
  20350. enumdicname:
  20351. description: 单位名称
  20352. type: string
  20353. goodscode:
  20354. description: 商品合约(浮动价列表才有)
  20355. type: string
  20356. goodsid:
  20357. description: 商品id(浮动价列表才有)
  20358. type: integer
  20359. minivalue:
  20360. description: 现货商品最小变动值
  20361. type: integer
  20362. pictureurls:
  20363. description: 详情图片(逗号分隔)
  20364. type: string
  20365. sellprice:
  20366. description: 卖价
  20367. type: number
  20368. sellpricemove:
  20369. description: 卖升贴水(基差)
  20370. type: number
  20371. sellqty:
  20372. description: 卖量
  20373. type: number
  20374. thumurls:
  20375. description: 缩略图片(1:1)(逗号分隔)
  20376. type: string
  20377. warehousecode:
  20378. description: 仓库代码
  20379. type: string
  20380. warehouseid:
  20381. description: 仓库id
  20382. type: integer
  20383. warehousename:
  20384. description: 仓库名称
  20385. type: string
  20386. wrfactortypeid:
  20387. description: 仓单要素id
  20388. type: string
  20389. wrfactortypename:
  20390. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20391. type: string
  20392. wrgoodsname:
  20393. description: 商品(商品名称+仓库要素名称 拼接)
  20394. type: string
  20395. wrstandardcode:
  20396. description: 商品代码
  20397. type: string
  20398. wrstandardid:
  20399. description: 商品id
  20400. type: integer
  20401. wrstandardname:
  20402. description: 商品名称
  20403. type: string
  20404. type: object
  20405. models.WrOrderQuoteDetail:
  20406. properties:
  20407. buyorsell:
  20408. description: 买卖 - 0:买 1:卖
  20409. type: integer
  20410. delistminqty:
  20411. description: 期初均价
  20412. type: number
  20413. deliverymonth:
  20414. description: 交收月
  20415. type: string
  20416. enumdicname:
  20417. description: 单位名称
  20418. type: string
  20419. fixedprice:
  20420. description: 买(卖)价
  20421. type: number
  20422. marketid:
  20423. description: 市场id
  20424. type: integer
  20425. minivalue:
  20426. description: 现货商品最小变动值
  20427. type: integer
  20428. orderqty:
  20429. description: 买(卖)量(=委托量-成交量)
  20430. type: number
  20431. ordertime:
  20432. description: 委托时间
  20433. type: string
  20434. pricemove:
  20435. description: 买(卖)升贴水- 基差
  20436. type: number
  20437. userid:
  20438. description: 购买方(销售方)用户ID
  20439. type: integer
  20440. username:
  20441. description: 购买方(销售方)
  20442. type: string
  20443. wrtradeorderid:
  20444. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20445. type: string
  20446. type: object
  20447. models.WrOutInApply:
  20448. properties:
  20449. applyid:
  20450. description: 申请单id
  20451. type: string
  20452. applystatus:
  20453. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  20454. 8:已撤销
  20455. type: integer
  20456. applytime:
  20457. description: 申请时间
  20458. type: string
  20459. applytype:
  20460. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  20461. type: integer
  20462. bannerpicurl:
  20463. description: Banner图
  20464. type: string
  20465. begindate:
  20466. description: 开始交易日(yyyymmdd)
  20467. type: string
  20468. deliverygoodscode:
  20469. description: 品种代码
  20470. type: string
  20471. deliverygoodsid:
  20472. description: 品种ID
  20473. type: integer
  20474. deliverygoodsname:
  20475. description: 品种名称
  20476. type: string
  20477. enddate:
  20478. description: 结束交易日(yyyymmdd)
  20479. type: string
  20480. enumdicname:
  20481. description: 单位名称
  20482. type: string
  20483. expresscompany:
  20484. description: 物流公司
  20485. type: string
  20486. expressnum:
  20487. description: 物流单号
  20488. type: string
  20489. minivalue:
  20490. description: 现货商品最小变动值
  20491. type: integer
  20492. optioncompare:
  20493. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20494. type: string
  20495. qty:
  20496. description: 数量
  20497. type: integer
  20498. userid:
  20499. description: 用户id
  20500. type: integer
  20501. warehouseid:
  20502. description: 仓库ID
  20503. type: integer
  20504. warehousename:
  20505. description: 仓库名称
  20506. type: string
  20507. wrfactortypeid:
  20508. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20509. type: string
  20510. wrfactortypename:
  20511. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20512. type: string
  20513. wrstandardcode:
  20514. description: 现货商品代码
  20515. type: string
  20516. wrstandardid:
  20517. description: 现货商品ID
  20518. type: integer
  20519. wrstandardname:
  20520. description: 商品名称
  20521. type: string
  20522. wrtypename:
  20523. description: 商品
  20524. type: string
  20525. type: object
  20526. models.WrPerformancePlan:
  20527. properties:
  20528. activatemonth:
  20529. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  20530. type: string
  20531. amount:
  20532. description: 履约金额(总金额)
  20533. type: number
  20534. begindate:
  20535. description: 开始交易日(yyyymmdd)
  20536. type: string
  20537. buyaccountid:
  20538. description: 买方账号
  20539. type: integer
  20540. buyerfreezeamount:
  20541. description: 履约冻结(买履约)
  20542. type: number
  20543. buyerfreezeamountremain:
  20544. description: 履约冻结剩余(买履约)
  20545. type: number
  20546. buyorsell:
  20547. description: 买卖方向 0-买 1-卖
  20548. type: integer
  20549. buypaidamount:
  20550. description: 买方已冻/已扣金额 (已付金额)
  20551. type: number
  20552. buyusername:
  20553. description: 买方名字
  20554. type: string
  20555. contractid:
  20556. description: 合同ID
  20557. type: integer
  20558. createtime:
  20559. description: 创建时间
  20560. type: string
  20561. creatorid:
  20562. description: 创建人
  20563. type: integer
  20564. curstepdeadline:
  20565. description: 当前步骤到期时间
  20566. type: string
  20567. curstepid:
  20568. description: 当前步骤ID
  20569. type: string
  20570. curstepname:
  20571. description: 当前步骤名称
  20572. type: string
  20573. deliverygoodscode:
  20574. description: 品种代码
  20575. type: string
  20576. deliverygoodsid:
  20577. description: 品种ID
  20578. type: integer
  20579. deliverygoodsname:
  20580. description: 品种名称
  20581. type: string
  20582. enddate:
  20583. description: 结束交易日(yyyymmdd)
  20584. type: string
  20585. enumdicname:
  20586. description: 单位名称
  20587. type: string
  20588. expressfee:
  20589. description: 运费
  20590. type: number
  20591. expressfeeconfirmed:
  20592. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  20593. type: integer
  20594. hasovershort:
  20595. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  20596. type: integer
  20597. haswr:
  20598. description: 类型 0-仓单预售 1-仓单贸易
  20599. type: integer
  20600. marketid:
  20601. description: 市场ID
  20602. type: integer
  20603. middleaccountid:
  20604. description: 中间商资金账号ID
  20605. type: integer
  20606. middleuserid:
  20607. description: 中间商用户ID
  20608. type: integer
  20609. minivalue:
  20610. description: 现货商品最小变动值
  20611. type: integer
  20612. optioncompare:
  20613. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20614. type: string
  20615. overshortamount:
  20616. description: 溢短金额
  20617. type: number
  20618. overshortqty:
  20619. description: 溢短数量
  20620. type: number
  20621. paymenttype:
  20622. description: 付款方式 - 1:冻结 2:扣款
  20623. type: integer
  20624. performanceplanid:
  20625. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  20626. type: string
  20627. performancestatus:
  20628. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  20629. 9:超时待处理 10:超时关闭
  20630. type: integer
  20631. performancetype:
  20632. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  20633. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  20634. type: integer
  20635. qty:
  20636. description: 履约数量
  20637. type: number
  20638. relatedorderid:
  20639. description: 关联单号(履约类型的关联单号)
  20640. type: string
  20641. remark:
  20642. description: 备注
  20643. type: string
  20644. sellaccountid:
  20645. description: 卖方账号
  20646. type: integer
  20647. sellerfreezeamount:
  20648. description: 履约冻结(卖履约)
  20649. type: number
  20650. sellerfreezeamountremain:
  20651. description: 履约冻结剩余(卖履约)
  20652. type: number
  20653. sellreceivedamount:
  20654. description: 卖方已收金额
  20655. type: number
  20656. sellusername:
  20657. description: 卖方名字
  20658. type: string
  20659. shipremark:
  20660. description: 发货备注[物流单号]
  20661. type: string
  20662. starttime:
  20663. description: 开始时间
  20664. type: string
  20665. steptypeid:
  20666. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  20667. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  20668. type: integer
  20669. typename:
  20670. description: 履约类型 名称
  20671. type: string
  20672. unpaidamount:
  20673. description: 期初均价
  20674. type: number
  20675. userid:
  20676. description: 用户id
  20677. type: integer
  20678. warehouseid:
  20679. description: 仓库ID
  20680. type: integer
  20681. warehousename:
  20682. description: 仓库名称
  20683. type: string
  20684. wrfactortypeid:
  20685. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20686. type: string
  20687. wrfactortypename:
  20688. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20689. type: string
  20690. wrstandardcode:
  20691. description: 现货商品代码
  20692. type: string
  20693. wrstandardid:
  20694. description: 现货商品ID
  20695. type: integer
  20696. wrstandardname:
  20697. description: 商品名称
  20698. type: string
  20699. wrtransferuserid:
  20700. description: 仓单受让用户
  20701. type: integer
  20702. wrtypename:
  20703. description: 商品
  20704. type: string
  20705. required:
  20706. - userid
  20707. type: object
  20708. models.WrPerformancePlanStep:
  20709. properties:
  20710. delaydays:
  20711. description: 延期申请天数
  20712. type: integer
  20713. deliverygoodscode:
  20714. description: 品种代码
  20715. type: string
  20716. deliverygoodsid:
  20717. description: 品种ID
  20718. type: integer
  20719. deliverygoodsname:
  20720. description: 品种名称
  20721. type: string
  20722. endtime:
  20723. description: 结束日期
  20724. type: string
  20725. enumdicname:
  20726. description: 单位名称
  20727. type: string
  20728. executeside:
  20729. description: 步骤执行方 - 1:买方 2:卖方
  20730. type: integer
  20731. handlestatus:
  20732. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  20733. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  20734. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  20735. type: integer
  20736. isauto:
  20737. description: 是否自动 - 0:不自动 1:自动
  20738. type: integer
  20739. islastreceivestep:
  20740. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  20741. type: integer
  20742. minivalue:
  20743. description: 现货商品最小变动值
  20744. type: integer
  20745. optioncompare:
  20746. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20747. type: string
  20748. overdays:
  20749. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  20750. type: integer
  20751. performancestepid:
  20752. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  20753. type: string
  20754. planid:
  20755. description: 所属履约计划ID
  20756. type: string
  20757. realamount:
  20758. description: 实际完成金额
  20759. type: number
  20760. relatedorderid:
  20761. description: 关联单号
  20762. type: string
  20763. remaindays:
  20764. description: 剩余天数
  20765. type: integer
  20766. remark:
  20767. description: 错误备注
  20768. type: string
  20769. starttime:
  20770. description: 开始日期
  20771. type: string
  20772. stepamount:
  20773. description: 步骤金额
  20774. type: number
  20775. stepdays:
  20776. description: 距离上一步天数(分钟)
  20777. type: integer
  20778. stepindex:
  20779. description: 步骤序号
  20780. type: integer
  20781. steplanchtype:
  20782. description: 步骤启动类型 - 1:系统自动 2:手动
  20783. type: integer
  20784. stepremark:
  20785. description: 步骤备注
  20786. type: string
  20787. stepstatus:
  20788. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  20789. type: integer
  20790. steptypeid:
  20791. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  20792. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  20793. type: integer
  20794. steptypename:
  20795. description: 步骤名称
  20796. type: string
  20797. stepvalue:
  20798. description: 步骤值
  20799. type: number
  20800. warehouseid:
  20801. description: 仓库ID
  20802. type: integer
  20803. warehousename:
  20804. description: 仓库名称
  20805. type: string
  20806. wrfactortypeid:
  20807. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20808. type: string
  20809. wrfactortypename:
  20810. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20811. type: string
  20812. wrstandardcode:
  20813. description: 现货商品代码
  20814. type: string
  20815. wrstandardid:
  20816. description: 现货商品ID
  20817. type: integer
  20818. wrstandardname:
  20819. description: 商品名称
  20820. type: string
  20821. wrtypename:
  20822. description: 商品
  20823. type: string
  20824. type: object
  20825. models.WrPerformanceStepType:
  20826. properties:
  20827. canauto:
  20828. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  20829. type: integer
  20830. steptypeid:
  20831. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  20832. type: integer
  20833. steptypename:
  20834. description: 步骤类型名称
  20835. type: string
  20836. type: object
  20837. models.WrPerformanceTemplateEx:
  20838. properties:
  20839. autoid:
  20840. description: AutoID 模板id
  20841. type: integer
  20842. createtime:
  20843. description: 创建时间
  20844. type: string
  20845. creatorid:
  20846. description: 创建人
  20847. type: integer
  20848. lstStep:
  20849. description: 步骤信息列表
  20850. items:
  20851. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  20852. type: array
  20853. paymenttype:
  20854. description: 支付方式 - 1:冻结 2:扣款
  20855. type: integer
  20856. takemode:
  20857. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  20858. type: integer
  20859. templatename:
  20860. description: 模板名称
  20861. type: string
  20862. templatetype:
  20863. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  20864. (无仓单) 5:挂牌期权 6:竞拍-降价式
  20865. type: integer
  20866. userid:
  20867. description: 所属用户
  20868. type: integer
  20869. type: object
  20870. models.WrPosition:
  20871. properties:
  20872. accountid:
  20873. description: 帐户ID
  20874. type: integer
  20875. buyexcuteqty:
  20876. description: 采购履约中数量
  20877. type: number
  20878. creditcurqty:
  20879. description: 授信当前数量(预售仓单:预售当前量)
  20880. type: number
  20881. creditenableqty:
  20882. description: '授信可用数量(预售仓单: 可用数量)'
  20883. type: number
  20884. creditfreezeqty:
  20885. description: '授信冻结数量(预售仓单: 当前数量)'
  20886. type: number
  20887. credittotalqty:
  20888. description: 授信总数量(预售仓单:预售总量)
  20889. type: number
  20890. credittradeqty:
  20891. description: 授信成交数量(预售仓单:成交总量)
  20892. type: number
  20893. deliverygoodscode:
  20894. description: 品种代码
  20895. type: string
  20896. deliverygoodsid:
  20897. description: 品种ID
  20898. type: integer
  20899. deliverygoodsname:
  20900. description: 品种名称
  20901. type: string
  20902. enalbeqty:
  20903. description: 可用数量
  20904. type: number
  20905. enumdicname:
  20906. description: 单位名称
  20907. type: string
  20908. freezeqty:
  20909. description: 总冻结数量
  20910. type: number
  20911. haswr:
  20912. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20913. type: integer
  20914. minivalue:
  20915. description: 现货商品最小变动值
  20916. type: integer
  20917. modifytime:
  20918. description: 修改时间(过户时间)
  20919. type: string
  20920. optioncompare:
  20921. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20922. type: string
  20923. pledgeqty:
  20924. description: 质押数量
  20925. type: number
  20926. querytype:
  20927. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  20928. type: integer
  20929. sellexcuteqty:
  20930. description: 销售履约中数量
  20931. type: number
  20932. totalqty:
  20933. description: 总数量(库存数量)
  20934. type: number
  20935. warehouseid:
  20936. description: 仓库ID
  20937. type: integer
  20938. warehousename:
  20939. description: 仓库名称
  20940. type: string
  20941. wrfactortypeid:
  20942. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20943. type: string
  20944. wrfactortypename:
  20945. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20946. type: string
  20947. wrpositionid:
  20948. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  20949. type: string
  20950. wrpositionno:
  20951. description: 仓单编号
  20952. type: string
  20953. wrstandardcode:
  20954. description: 现货商品代码
  20955. type: string
  20956. wrstandardid:
  20957. description: 现货商品ID
  20958. type: integer
  20959. wrstandardname:
  20960. description: 商品名称
  20961. type: string
  20962. wrtypename:
  20963. description: 商品
  20964. type: string
  20965. wruserid:
  20966. description: 持有人ID
  20967. type: integer
  20968. type: object
  20969. models.WrPreSaleInfo:
  20970. properties:
  20971. bannerpicurl:
  20972. description: Banner图
  20973. type: string
  20974. baseqty:
  20975. description: 中签基数
  20976. type: number
  20977. createtime:
  20978. description: 创建时间
  20979. type: string
  20980. deliverygoodsid:
  20981. description: 现货品种ID
  20982. type: integer
  20983. enddate:
  20984. description: 预售结束日期
  20985. type: string
  20986. enumdicname:
  20987. description: 单位名称
  20988. type: string
  20989. lotteryflag:
  20990. description: 摇号标识 - 0:未摇号 1:已摇号
  20991. type: integer
  20992. lotteryqty:
  20993. description: 摇号总量
  20994. type: number
  20995. luckyqty:
  20996. description: 已中签量
  20997. type: number
  20998. marketid:
  20999. description: 市场ID
  21000. type: integer
  21001. maxbuyqty:
  21002. description: 单人最大申购量
  21003. type: number
  21004. maxluckyqty:
  21005. description: 单人最大中签量
  21006. type: number
  21007. pictureurls:
  21008. description: 详情图片(逗号分隔)
  21009. type: string
  21010. placeqty:
  21011. description: 已配售量
  21012. type: number
  21013. presaleapplyid:
  21014. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  21015. example: "0"
  21016. type: string
  21017. presaleqty:
  21018. description: 预售总量
  21019. type: number
  21020. presalestatus:
  21021. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  21022. type: integer
  21023. sellaccountid:
  21024. description: 发行方资金账户ID
  21025. type: integer
  21026. selluserid:
  21027. description: 发行方用户ID
  21028. type: integer
  21029. sellwrtradeorderid:
  21030. description: 发行方卖委托单ID
  21031. type: string
  21032. startdate:
  21033. description: 预售开始日期
  21034. type: string
  21035. takestartdate:
  21036. description: 提货开始日期
  21037. type: string
  21038. thumurls:
  21039. description: 缩略图片(1:1)(逗号分隔)
  21040. type: string
  21041. tradedate:
  21042. description: 交易日
  21043. type: string
  21044. unitid:
  21045. description: 单位ID
  21046. type: integer
  21047. unitprice:
  21048. description: 商品单价
  21049. type: number
  21050. username:
  21051. description: 发行方用户名称
  21052. type: string
  21053. warehousecode:
  21054. description: 仓库代码(仓库简称)
  21055. type: string
  21056. warehouseid:
  21057. description: 仓库ID
  21058. type: integer
  21059. warehousename:
  21060. description: 仓库名称
  21061. type: string
  21062. wrfactortypeid:
  21063. description: 仓单要素类型ID - 根据现货商品\仓库生成
  21064. example: "0"
  21065. type: string
  21066. wrstandardid:
  21067. description: 现货商品ID
  21068. type: integer
  21069. wrstandardname:
  21070. description: 现货商品名称
  21071. type: string
  21072. type: object
  21073. models.WrQuoteOrderMyq:
  21074. properties:
  21075. buyorsell:
  21076. description: 买卖 - 0:买 1:卖
  21077. type: integer
  21078. canbargain:
  21079. description: 是否可议价 - 0:不可 1:可
  21080. type: integer
  21081. canpart:
  21082. description: 是否允许部份摘牌 - 0:不允许 1:允许
  21083. type: integer
  21084. delistminqty:
  21085. description: 期初均价
  21086. type: number
  21087. deliverygoodscode:
  21088. description: 品种代码
  21089. type: string
  21090. deliverygoodsid:
  21091. description: 品种ID
  21092. type: integer
  21093. deliverygoodsname:
  21094. description: 品种名称
  21095. type: string
  21096. deliverymonth:
  21097. description: 交收月
  21098. type: string
  21099. enumdicname:
  21100. description: 单位名称
  21101. type: string
  21102. fixedprice:
  21103. description: 买(卖)价
  21104. type: number
  21105. goodscode:
  21106. description: 商品合约代码
  21107. type: string
  21108. marginflag:
  21109. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  21110. type: integer
  21111. marginvalue:
  21112. description: 保证金设置值
  21113. type: number
  21114. minivalue:
  21115. description: 现货商品最小变动值
  21116. type: integer
  21117. orderqty:
  21118. description: 买(卖)量(=委托量-成交量)
  21119. type: number
  21120. ordertime:
  21121. description: 委托时间
  21122. type: string
  21123. performancetemplateid:
  21124. description: 履约模板id
  21125. type: integer
  21126. pricemove:
  21127. description: 买(卖)升贴水- 基差
  21128. type: number
  21129. templatename:
  21130. description: 履约模板名称
  21131. type: string
  21132. userid:
  21133. description: 购买方(销售方)用户ID
  21134. type: integer
  21135. username:
  21136. description: 购买方(销售方)
  21137. type: string
  21138. validtime:
  21139. description: 有效期限
  21140. type: string
  21141. validtype:
  21142. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  21143. type: integer
  21144. warehousename:
  21145. description: 仓库名称
  21146. type: string
  21147. wrfactortypeid:
  21148. description: 仓单要素id
  21149. type: string
  21150. wrstandardcode:
  21151. description: 现货商品代码
  21152. type: string
  21153. wrstandardid:
  21154. description: 现货商品ID
  21155. type: integer
  21156. wrstandardname:
  21157. description: 商品名称
  21158. type: string
  21159. wrtradeorderid:
  21160. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  21161. type: string
  21162. wrtypename:
  21163. description: 商品
  21164. type: string
  21165. type: object
  21166. models.WrReckonSpotGoodsTradeSum:
  21167. properties:
  21168. begindate:
  21169. description: 开始日期(结果含开始日期) yyyymmdd
  21170. type: string
  21171. enddate:
  21172. description: 结束日期(结果含结束日期) yyyymmdd
  21173. type: string
  21174. istoday:
  21175. description: 是否当日
  21176. type: boolean
  21177. marketid:
  21178. description: 市场ID
  21179. type: integer
  21180. price:
  21181. description: 价格 = 日成交金额 / 日成交数量
  21182. type: string
  21183. reckondate:
  21184. description: 日期 格式 yyyymmdd
  21185. type: string
  21186. tradeamount:
  21187. description: 期初均价
  21188. type: number
  21189. tradeqty:
  21190. description: 期初均价
  21191. type: number
  21192. wrstandardid:
  21193. description: 现货商品ID
  21194. type: integer
  21195. type: object
  21196. models.WrScfContract:
  21197. properties:
  21198. borroweruserid:
  21199. description: 借款用户ID
  21200. type: integer
  21201. buybackwrpositionqty:
  21202. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  21203. type: number
  21204. closeinterest:
  21205. description: 已结利息 -> 已结费用
  21206. type: number
  21207. currisklevel:
  21208. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  21209. type: integer
  21210. deadline:
  21211. description: 截止日期(yyyyMMdd) -> 借款到期时间
  21212. type: string
  21213. deliverygoodscode:
  21214. description: 品种代码
  21215. type: string
  21216. deliverygoodsid:
  21217. description: 品种ID
  21218. type: integer
  21219. deliverygoodsname:
  21220. description: 品种名称
  21221. type: string
  21222. enumdicname:
  21223. description: 单位名称
  21224. type: string
  21225. financingdays:
  21226. description: 天数(天)
  21227. type: integer
  21228. initmargin:
  21229. description: 保证金 - [仓单回购]
  21230. type: number
  21231. interestamount:
  21232. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  21233. type: number
  21234. interestdebt:
  21235. description: 利息欠款(记录负数) -> 费用欠款
  21236. type: number
  21237. interestminlen:
  21238. description: 最小起息天数
  21239. type: integer
  21240. interestrate:
  21241. description: 利率
  21242. type: number
  21243. interestratemode:
  21244. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  21245. type: integer
  21246. interestsettlemode:
  21247. description: 结息方式 - 1:按日结息 3:按月结息
  21248. type: integer
  21249. interestsettlevalue:
  21250. description: 结息方式值
  21251. type: integer
  21252. isautoloan:
  21253. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  21254. type: integer
  21255. lastcloseinterestday:
  21256. description: 最近结息日(yyyyMMdd)
  21257. type: string
  21258. lenderamount:
  21259. description: 贷款金额 -> 借款金额
  21260. type: number
  21261. lenderuserid:
  21262. description: 贷款方用户ID -> 融出方用户ID
  21263. type: integer
  21264. lenderusername:
  21265. description: 融出方
  21266. type: string
  21267. marginratio:
  21268. description: 保证金比率质押率 - [仓单质押]
  21269. type: number
  21270. marketid:
  21271. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  21272. type: integer
  21273. minivalue:
  21274. description: 现货商品最小变动值
  21275. type: integer
  21276. optioncompare:
  21277. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21278. type: string
  21279. pricemove:
  21280. description: 估值升贴水值
  21281. type: number
  21282. productdetailid:
  21283. description: 产品组合ID
  21284. type: integer
  21285. productid:
  21286. description: 金融产品ID
  21287. type: integer
  21288. productname:
  21289. description: 产品名称
  21290. type: string
  21291. remainamount:
  21292. description: 合同剩余金额 -> 剩余金额
  21293. type: number
  21294. remainwrpositionqty:
  21295. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  21296. type: number
  21297. remark:
  21298. description: 备注
  21299. type: string
  21300. scfcontractid:
  21301. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  21302. type: string
  21303. scfcontractstatus:
  21304. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  21305. 9:违约结束 10:已注销 11:已关闭 99:未提交
  21306. type: integer
  21307. scfcontracttype:
  21308. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  21309. type: integer
  21310. startinterestday:
  21311. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  21312. type: string
  21313. totalinterest:
  21314. description: 已计利息 -> 已计费用
  21315. type: number
  21316. unpaidinterest:
  21317. description: 期初均价
  21318. type: number
  21319. updatetime:
  21320. description: 更新时间
  21321. type: string
  21322. warehouseid:
  21323. description: 仓库ID
  21324. type: integer
  21325. warehousename:
  21326. description: 仓库名称
  21327. type: string
  21328. wrfactortypeid:
  21329. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21330. type: string
  21331. wrfactortypename:
  21332. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21333. type: string
  21334. wrqty:
  21335. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  21336. type: number
  21337. wrstandardcode:
  21338. description: 现货商品代码
  21339. type: string
  21340. wrstandardid:
  21341. description: 现货商品ID
  21342. type: integer
  21343. wrstandardname:
  21344. description: 商品名称
  21345. type: string
  21346. wrtypename:
  21347. description: 商品
  21348. type: string
  21349. type: object
  21350. models.WrScfContractInterest:
  21351. properties:
  21352. closeinterest:
  21353. description: 已结利息
  21354. type: number
  21355. closeintereststatus:
  21356. description: 结息状态 - 1:未结 2:已结
  21357. type: integer
  21358. closetime:
  21359. description: 结息时间
  21360. type: string
  21361. closetradedate:
  21362. description: 结息交易日
  21363. type: string
  21364. creatorid:
  21365. description: 操作人ID
  21366. type: integer
  21367. dayrate:
  21368. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  21369. type: number
  21370. interest:
  21371. description: 利息
  21372. type: number
  21373. interestamount:
  21374. description: 计息金额
  21375. type: number
  21376. interestday:
  21377. description: 计息日(yyyyMMdd)
  21378. type: string
  21379. scfcontractid:
  21380. description: SCF合同ID
  21381. type: string
  21382. scfcontractinterestid:
  21383. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  21384. type: integer
  21385. updatetime:
  21386. description: 更新时间
  21387. type: string
  21388. type: object
  21389. models.WrSearchUser:
  21390. properties:
  21391. userid:
  21392. description: 用户ID
  21393. type: integer
  21394. username:
  21395. description: 用户名称(已脱敏)
  21396. type: string
  21397. username2:
  21398. description: 用户名称(未脱敏)
  21399. type: string
  21400. usertype:
  21401. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  21402. type: integer
  21403. required:
  21404. - username
  21405. type: object
  21406. models.WrSiteColumnDetail:
  21407. properties:
  21408. author:
  21409. description: 作者
  21410. type: string
  21411. brief:
  21412. description: 简介
  21413. type: string
  21414. context:
  21415. description: 内容
  21416. type: string
  21417. coverimage:
  21418. description: 封面图片
  21419. type: string
  21420. creaedate:
  21421. description: 创建时间
  21422. type: string
  21423. id:
  21424. description: ID(SEQ_SITE_COLUMNDETAIL)
  21425. type: integer
  21426. istop:
  21427. description: 是否置顶 - 0:不置 1:置顶
  21428. type: integer
  21429. publishdate:
  21430. description: 发布日期
  21431. type: string
  21432. title:
  21433. description: 标题
  21434. type: string
  21435. updatedate:
  21436. description: 修改时间
  21437. type: string
  21438. type: object
  21439. models.WrSpecialMatchOrder:
  21440. properties:
  21441. amount:
  21442. description: 金额 = 数量 * 价格
  21443. type: number
  21444. buyorsell:
  21445. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  21446. type: integer
  21447. cancelqty:
  21448. description: 撤销数量
  21449. type: number
  21450. deliverygoodscode:
  21451. description: 品种代码
  21452. type: string
  21453. deliverygoodsid:
  21454. description: 品种ID
  21455. type: integer
  21456. deliverygoodsname:
  21457. description: 品种名称
  21458. type: string
  21459. enumdicname:
  21460. description: 单位名称
  21461. type: string
  21462. fixedprice:
  21463. description: 固定价格(价格)
  21464. type: number
  21465. haswr:
  21466. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  21467. type: integer
  21468. isspecified:
  21469. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  21470. type: integer
  21471. marketid:
  21472. description: 市场ID
  21473. type: integer
  21474. matchuserid:
  21475. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  21476. type: integer
  21477. matchusername:
  21478. description: 指定方
  21479. type: string
  21480. minivalue:
  21481. description: 现货商品最小变动值
  21482. type: integer
  21483. optioncompare:
  21484. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21485. type: string
  21486. orderqty:
  21487. description: 委托数量
  21488. type: number
  21489. ordertime:
  21490. description: 委托时间
  21491. type: string
  21492. pricemove:
  21493. description: 升贴水(浮动价时填写) - [挂牌]
  21494. type: number
  21495. tradedate:
  21496. description: 交易日(yyyyMMdd)
  21497. type: string
  21498. tradeprice:
  21499. description: 成交价格
  21500. type: number
  21501. tradeqty:
  21502. description: 成交数量
  21503. type: number
  21504. userid:
  21505. description: 用户ID
  21506. type: integer
  21507. username:
  21508. description: 发起方
  21509. type: string
  21510. warehouseid:
  21511. description: 仓库ID
  21512. type: integer
  21513. warehousename:
  21514. description: 仓库名称
  21515. type: string
  21516. wrfactortypeid:
  21517. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21518. type: string
  21519. wrfactortypename:
  21520. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21521. type: string
  21522. wrpricetype:
  21523. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  21524. type: integer
  21525. wrstandardcode:
  21526. description: 现货商品代码
  21527. type: string
  21528. wrstandardid:
  21529. description: 现货商品ID
  21530. type: integer
  21531. wrstandardname:
  21532. description: 商品名称
  21533. type: string
  21534. wrtradeorderid:
  21535. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  21536. type: string
  21537. wrtradeorderstatus:
  21538. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  21539. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  21540. type: integer
  21541. wrtradetype:
  21542. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  21543. type: integer
  21544. wrtypename:
  21545. description: 商品
  21546. type: string
  21547. type: object
  21548. models.WrSpotGroupTradeSum:
  21549. properties:
  21550. deliverygoodscode:
  21551. description: 现货品种代码
  21552. type: string
  21553. deliverygoodsid:
  21554. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21555. type: integer
  21556. deliverygoodsname:
  21557. description: 现货品种名称
  21558. type: string
  21559. lastavgprice:
  21560. description: 上上个交易日价格(前2天价格)
  21561. type: string
  21562. lastreckondate:
  21563. description: 上上个交易日(前2天交易日)
  21564. type: string
  21565. reckondate:
  21566. description: 上个交易日(前1天交易日)
  21567. type: string
  21568. todayavgprice:
  21569. description: 上个交易日价格(前1天价格)
  21570. type: string
  21571. updown:
  21572. description: 涨跌
  21573. type: string
  21574. updownratio:
  21575. description: 涨幅(已格式化, 直接显示即可)
  21576. type: string
  21577. type: object
  21578. models.WrSpotGroupTradeSumDetail:
  21579. properties:
  21580. deliverygoodsid:
  21581. description: 现货商品id
  21582. type: integer
  21583. price:
  21584. description: 价格
  21585. type: number
  21586. reckondate:
  21587. description: 日期(yyymmdd, 如:20211031)
  21588. type: string
  21589. type: object
  21590. models.WrSpotGroupTradeSumEx:
  21591. properties:
  21592. lst:
  21593. description: 指数列表
  21594. items:
  21595. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  21596. type: array
  21597. prereckondate:
  21598. description: 上上个交易日(yyymmdd)
  21599. type: string
  21600. reckondate:
  21601. description: 上个交易日(yyyymmdd)
  21602. type: string
  21603. type: object
  21604. models.WrStandardFactoryItem:
  21605. properties:
  21606. dgfactoryitemid:
  21607. description: 选择项id
  21608. type: integer
  21609. dgfactoryitemvalue:
  21610. description: 要素项值
  21611. type: string
  21612. warehouseid:
  21613. description: 仓库id
  21614. type: integer
  21615. type: object
  21616. models.WrStandardFactoryItemEx:
  21617. properties:
  21618. dgfactoryitemtypeid:
  21619. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  21620. type: integer
  21621. itemlst:
  21622. description: 要素项列表
  21623. items:
  21624. $ref: '#/definitions/models.WrStandardFactoryItem'
  21625. type: array
  21626. itemtypename:
  21627. description: 要素项类型名称
  21628. type: string
  21629. wrstandardid:
  21630. description: 品类
  21631. type: integer
  21632. type: object
  21633. models.WrTradeDetail:
  21634. properties:
  21635. accountid:
  21636. description: 资金账号
  21637. type: integer
  21638. bannerpicurl:
  21639. description: Banner图
  21640. type: string
  21641. begindate:
  21642. description: 开始交易日(yyyymmdd)
  21643. type: string
  21644. buyorsell:
  21645. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  21646. type: integer
  21647. chargevalue:
  21648. description: 手续费
  21649. type: number
  21650. deliverygoodscode:
  21651. description: 品种代码
  21652. type: string
  21653. deliverygoodsid:
  21654. description: 品种ID
  21655. type: integer
  21656. deliverygoodsname:
  21657. description: 品种名称
  21658. type: string
  21659. deliverymonth:
  21660. description: 交收月
  21661. type: string
  21662. enddate:
  21663. description: 结束交易日(yyyymmdd)
  21664. type: string
  21665. enumdicname:
  21666. description: 单位名称
  21667. type: string
  21668. haswr:
  21669. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  21670. type: integer
  21671. marketid:
  21672. description: 市场ID
  21673. type: integer
  21674. matchaccountid:
  21675. description: 对手账号
  21676. type: integer
  21677. matchusername:
  21678. description: 对手方
  21679. type: string
  21680. minivalue:
  21681. description: 现货商品最小变动值
  21682. type: integer
  21683. optioncompare:
  21684. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21685. type: string
  21686. thumurls:
  21687. description: 缩略图
  21688. type: string
  21689. tradedate:
  21690. description: 交易日(yyyyMMdd)
  21691. type: string
  21692. tradeprice:
  21693. description: 成交价格
  21694. type: number
  21695. tradeqty:
  21696. description: 成交数量
  21697. type: number
  21698. tradetime:
  21699. description: 成交时间
  21700. type: string
  21701. userid:
  21702. description: 用户ID
  21703. type: integer
  21704. warehouseid:
  21705. description: 仓库ID
  21706. type: integer
  21707. warehousename:
  21708. description: 仓库名称
  21709. type: string
  21710. wrfactortypeid:
  21711. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21712. type: string
  21713. wrfactortypename:
  21714. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21715. type: string
  21716. wrstandardcode:
  21717. description: 现货商品代码
  21718. type: string
  21719. wrstandardid:
  21720. description: 现货商品ID
  21721. type: integer
  21722. wrstandardname:
  21723. description: 商品名称
  21724. type: string
  21725. wrtradedetailid:
  21726. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  21727. type: string
  21728. wrtradetype:
  21729. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  21730. type: integer
  21731. wrtypename:
  21732. description: 商品
  21733. type: string
  21734. type: object
  21735. models.WrTradeOrderDetail:
  21736. properties:
  21737. buyorsell:
  21738. description: 买卖方向 0-买 1-卖
  21739. type: integer
  21740. goodsid:
  21741. description: 商品id
  21742. type: integer
  21743. orderid:
  21744. description: 委托单号
  21745. type: string
  21746. orderprice:
  21747. description: 期初均价
  21748. type: number
  21749. orderqty:
  21750. description: 委托数量
  21751. type: integer
  21752. userid:
  21753. description: 用户id
  21754. type: integer
  21755. username:
  21756. description: 用户名称(已脱敏)
  21757. type: string
  21758. type: object
  21759. models.WrTypeItem:
  21760. properties:
  21761. name:
  21762. description: 名称
  21763. type: string
  21764. value:
  21765. description: 值
  21766. type: string
  21767. type: object
  21768. models.WrUserFriend:
  21769. properties:
  21770. friendname:
  21771. description: 朋友名称(已脱敏)
  21772. type: string
  21773. frienduserid:
  21774. description: 朋友id
  21775. type: integer
  21776. isfriend:
  21777. description: 是否好友 0-不是 1-是
  21778. type: integer
  21779. userid:
  21780. description: 用户id
  21781. type: integer
  21782. type: object
  21783. models.WrUserReceiptInfo:
  21784. properties:
  21785. address:
  21786. description: 地址[发票类型:企业]
  21787. type: string
  21788. autoid:
  21789. description: AutoID
  21790. type: integer
  21791. contactinfo:
  21792. description: 联系方式
  21793. type: string
  21794. email:
  21795. description: 收件邮箱
  21796. type: string
  21797. idnum:
  21798. description: 身份证号码[发票类型:个人]
  21799. type: string
  21800. isdefault:
  21801. description: 是否默认地址 - 0:否 1:是
  21802. type: integer
  21803. receiptaccount:
  21804. description: 发票帐号[发票类型:企业]
  21805. type: string
  21806. receiptbank:
  21807. description: 发票开户行[发票类型:企业]
  21808. type: string
  21809. receipttype:
  21810. description: 发票类型 - 1:个人 2:企业
  21811. type: integer
  21812. taxpayerid:
  21813. description: 纳税人识别号
  21814. type: string
  21815. userid:
  21816. description: 用户ID
  21817. type: integer
  21818. username:
  21819. description: 户名(个人姓名或企业名称)
  21820. type: string
  21821. type: object
  21822. models.Wrtradetradequote:
  21823. properties:
  21824. buyaccountid:
  21825. description: 买方账号ID
  21826. type: integer
  21827. buychargevalue:
  21828. description: 买方手续费
  21829. type: number
  21830. buyuserid:
  21831. description: 买方用户ID
  21832. type: integer
  21833. deliverygoodsid:
  21834. description: 现货品种ID
  21835. type: integer
  21836. exchangerate:
  21837. description: 汇率
  21838. type: number
  21839. marketid:
  21840. description: 市场ID
  21841. type: integer
  21842. oritradeamount:
  21843. description: 成交金额[商品币种]
  21844. type: number
  21845. performanceplanid:
  21846. description: 履约计划ID/合同ID
  21847. type: integer
  21848. sellaccountid:
  21849. description: 卖方账号ID
  21850. type: integer
  21851. sellchargevalue:
  21852. description: 卖方手续费
  21853. type: number
  21854. selluserid:
  21855. description: 卖方用户ID
  21856. type: integer
  21857. tradeamount:
  21858. description: 成交金额
  21859. type: number
  21860. tradedate:
  21861. description: 交易日(yyyyMMdd)
  21862. type: string
  21863. tradeprice:
  21864. description: 成交价格
  21865. type: number
  21866. tradeqty:
  21867. description: 成交数量
  21868. type: integer
  21869. tradetime:
  21870. description: 成交时间
  21871. type: string
  21872. wrfactortypeid:
  21873. description: 仓单要素类型ID
  21874. type: integer
  21875. wrstandardid:
  21876. description: 现货商品ID
  21877. type: integer
  21878. wrtradedetailid:
  21879. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  21880. type: integer
  21881. type: object
  21882. models.XHBRAND:
  21883. properties:
  21884. brandid:
  21885. description: 品牌id
  21886. type: integer
  21887. brandname:
  21888. description: 品牌名称
  21889. type: string
  21890. isvalid:
  21891. description: 是否有效 0-无效 1-有效
  21892. type: integer
  21893. type: object
  21894. models.XHDeliveryGoods:
  21895. properties:
  21896. areauserid:
  21897. description: 所属机构
  21898. type: integer
  21899. bdlst:
  21900. description: 品牌列表
  21901. items:
  21902. $ref: '#/definitions/models.XHBRAND'
  21903. type: array
  21904. deliverygoodscode:
  21905. description: 现货品种代码
  21906. type: string
  21907. deliverygoodsid:
  21908. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21909. type: integer
  21910. deliverygoodsname:
  21911. description: 现货品种名称
  21912. type: string
  21913. dgstatus:
  21914. description: 品种状态 - 作废 - 0:未激活 1:正常
  21915. type: integer
  21916. filterSubEmpty:
  21917. description: 过滤下级为空的
  21918. type: integer
  21919. isvalid:
  21920. description: 是否有效 - 0:无效 1:有效
  21921. type: integer
  21922. remark:
  21923. description: 备注
  21924. type: string
  21925. unitid:
  21926. description: 单位id(目前看,数据库中是空值)
  21927. type: integer
  21928. wdlst:
  21929. description: 品类(现货商品)列表
  21930. items:
  21931. $ref: '#/definitions/models.XHWrstandard'
  21932. type: array
  21933. type: object
  21934. models.XHMiddleGoods:
  21935. properties:
  21936. GPLST:
  21937. description: 期货品种列表
  21938. items:
  21939. $ref: '#/definitions/models.TBGoodsGroup'
  21940. type: array
  21941. convertratio:
  21942. description: 拆算系数
  21943. type: number
  21944. costratio:
  21945. description: 成本权重
  21946. type: number
  21947. deliverygoodsid:
  21948. description: 现货商品id
  21949. type: integer
  21950. enumdicname:
  21951. description: 单位名称
  21952. type: string
  21953. middlegoodscode:
  21954. description: 套保品种代码
  21955. type: string
  21956. middlegoodsid:
  21957. description: 套保品种id
  21958. type: integer
  21959. middlegoodsname:
  21960. description: 套保品种名称
  21961. type: string
  21962. unitid:
  21963. description: 单位id
  21964. type: integer
  21965. type: object
  21966. models.XHWrstandard:
  21967. properties:
  21968. bannerpicurl:
  21969. description: banner图
  21970. type: string
  21971. deliverygoodsid:
  21972. description: 品种ID
  21973. type: integer
  21974. enumdicname:
  21975. description: 单位名称
  21976. type: string
  21977. mglst:
  21978. description: 套保品列表
  21979. items:
  21980. $ref: '#/definitions/models.XHMiddleGoods'
  21981. type: array
  21982. pictureurls:
  21983. description: 详情图片(逗号分隔)
  21984. type: string
  21985. thumurls:
  21986. description: 缩略图片(1:1)(逗号分隔)
  21987. type: string
  21988. unitid:
  21989. description: 单位id
  21990. type: integer
  21991. vatrate:
  21992. description: 增值税率
  21993. type: number
  21994. wrstandardcode:
  21995. description: 现货商品代码
  21996. type: string
  21997. wrstandardid:
  21998. description: 现货商品ID(SEQ_WRSTANDARD)
  21999. type: integer
  22000. wrstandardname:
  22001. description: 现货商品名称
  22002. type: string
  22003. type: object
  22004. models.XhcpSellBackApplyEx:
  22005. properties:
  22006. applyremark:
  22007. description: 申请备注
  22008. type: string
  22009. expirytype:
  22010. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  22011. type: integer
  22012. goodsspec:
  22013. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  22014. type: integer
  22015. holeflag:
  22016. description: 是否破洞[原封] - 1:无破洞 2:破洞
  22017. type: integer
  22018. isunopened:
  22019. description: 是否原封 - 1:否 2:是
  22020. type: integer
  22021. mpflag:
  22022. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  22023. type: integer
  22024. openflag:
  22025. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  22026. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  22027. type: integer
  22028. phonenum:
  22029. description: 联系电话
  22030. type: string
  22031. userid:
  22032. description: 所属用户ID
  22033. type: integer
  22034. zpflag:
  22035. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  22036. type: integer
  22037. required:
  22038. - userid
  22039. type: object
  22040. models.Xhcpsellbackapply:
  22041. properties:
  22042. applyid:
  22043. description: 申请人
  22044. type: integer
  22045. applyremark:
  22046. description: 申请备注
  22047. type: string
  22048. applysrc:
  22049. description: 申请来源 - 1:管理端 2:终端
  22050. type: integer
  22051. applystatus:
  22052. description: 申请状态 - 1:待确认 2:已处理
  22053. type: integer
  22054. applytime:
  22055. description: 申请时间
  22056. type: string
  22057. auditremark:
  22058. description: 审核备注
  22059. type: string
  22060. auditsrc:
  22061. description: 审核来源 - 1:管理端 2:终端
  22062. type: integer
  22063. expirytype:
  22064. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  22065. type: integer
  22066. goodsspec:
  22067. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  22068. type: integer
  22069. holeflag:
  22070. description: 是否破洞[原封] - 1:无破洞 2:破洞
  22071. type: integer
  22072. isunopened:
  22073. description: 是否原封 - 1:否 2:是
  22074. type: integer
  22075. mpflag:
  22076. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  22077. type: integer
  22078. openflag:
  22079. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  22080. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  22081. type: integer
  22082. phonenum:
  22083. description: 联系电话
  22084. type: string
  22085. sellbackapplyid:
  22086. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  22087. type: string
  22088. userid:
  22089. description: 所属用户ID
  22090. type: integer
  22091. zpflag:
  22092. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  22093. type: integer
  22094. required:
  22095. - userid
  22096. type: object
  22097. order.QueryHisTradeDetailRsp:
  22098. properties:
  22099. accountid:
  22100. description: 账户ID[报价币种]
  22101. type: integer
  22102. advanceratio:
  22103. description: 首付比率
  22104. type: number
  22105. buildtype:
  22106. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  22107. type: integer
  22108. buyorsell:
  22109. description: 方向 - 0:买 1:卖
  22110. type: integer
  22111. charge:
  22112. description: 手续费
  22113. type: number
  22114. closecharge:
  22115. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  22116. type: number
  22117. closeexchagechargevalue:
  22118. description: 平仓交易所手续费设置值
  22119. type: number
  22120. closefeealgorithm:
  22121. description: 平仓手续费收取方式 1:比率 2:固定
  22122. type: integer
  22123. closememberchargevalue:
  22124. description: 平仓会员手续费设置值
  22125. type: number
  22126. closepl:
  22127. description: 平仓盈亏
  22128. type: number
  22129. closepl2:
  22130. description: 平仓盈亏[逐笔]
  22131. type: number
  22132. closeqty:
  22133. description: 平仓数量(先建后平操作 需要记录)
  22134. type: number
  22135. creditamount:
  22136. description: 授信金额
  22137. type: number
  22138. decimalplace:
  22139. description: 商品报价小数位
  22140. type: integer
  22141. enumdicname:
  22142. description: 单位名称
  22143. type: string
  22144. gcaccountid:
  22145. description: 账户ID[合约币种]
  22146. type: integer
  22147. goodscode:
  22148. description: 商品代码
  22149. type: string
  22150. goodsid:
  22151. description: 商品ID
  22152. type: integer
  22153. goodsname:
  22154. description: 商品名称
  22155. type: string
  22156. goodunitid:
  22157. description: 商品单位id
  22158. type: integer
  22159. histradedate:
  22160. description: 历史交易日
  22161. type: string
  22162. intclosepl:
  22163. description: 整型盈亏(用于交易结算试算平衡-收益权)
  22164. type: integer
  22165. isconfirmexercise:
  22166. description: 是否确认行权- 0:否 1:是
  22167. type: integer
  22168. ismain:
  22169. description: 是否主单 - 0:不是 1:是
  22170. type: integer
  22171. ispreexercise:
  22172. description: 是否预申报- 0:否 1:是
  22173. type: integer
  22174. isreckoned:
  22175. description: 是否结算 - 0:未结算 1:已结算
  22176. type: integer
  22177. isvaliddata:
  22178. description: 是否有效 - 0:无效 1:有效
  22179. type: integer
  22180. listingselecttype:
  22181. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22182. type: integer
  22183. marketid:
  22184. description: 市场ID
  22185. type: integer
  22186. marketname:
  22187. description: 市场名称
  22188. type: string
  22189. matchaccountid:
  22190. description: 对手账号id
  22191. type: integer
  22192. memberuserid:
  22193. description: 会员id 个人投资者 需要填写
  22194. type: integer
  22195. opencharge:
  22196. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  22197. type: number
  22198. openexchagechargevalue:
  22199. description: 建仓交易所手续费设置值
  22200. type: number
  22201. openfeealgorithm:
  22202. description: 建仓手续费收取方式 1:比率 2:固定
  22203. type: integer
  22204. openmemberchargevalue:
  22205. description: 建仓会员手续费设置值
  22206. type: number
  22207. openqty:
  22208. description: 开仓数量(先建后平操作 需要记录)
  22209. type: number
  22210. optiontype:
  22211. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  22212. type: integer
  22213. orderid:
  22214. description: 委托单号
  22215. type: string
  22216. payamount:
  22217. description: 支付金额(付款金额)
  22218. type: number
  22219. performanceplanid:
  22220. description: 履约计划ID[期权]
  22221. type: integer
  22222. performancestatus:
  22223. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  22224. type: integer
  22225. preexerciseprice:
  22226. description: 预申报价格
  22227. type: number
  22228. premium:
  22229. description: 权利金 - [持仓单的权利金]
  22230. type: number
  22231. qtydecimalplace:
  22232. description: 商品报价小数位
  22233. type: integer
  22234. recvamount:
  22235. description: 到账金额 = 成交金额 - 手续费
  22236. type: number
  22237. relatedouttradeid:
  22238. description: 关联外部成交单ID
  22239. type: integer
  22240. status:
  22241. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  22242. type: integer
  22243. totalamount:
  22244. description: 订单总额 = 成交金额 + 手续费
  22245. type: number
  22246. tradeamount:
  22247. description: 成交金额[账户币种,用于所有权]
  22248. type: number
  22249. tradedate:
  22250. description: 交易日(yyyyMMdd)
  22251. type: string
  22252. tradeid:
  22253. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22254. type: string
  22255. trademode:
  22256. description: 交易模式
  22257. type: integer
  22258. tradeprice:
  22259. description: 成交价格
  22260. type: number
  22261. tradeproperty:
  22262. description: 交易属性
  22263. type: integer
  22264. tradeqty:
  22265. description: 成交数量
  22266. type: number
  22267. tradetime:
  22268. description: 成交时间
  22269. type: string
  22270. tradetype:
  22271. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  22272. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  22273. type: integer
  22274. required:
  22275. - accountid
  22276. - buyorsell
  22277. - goodsid
  22278. - histradedate
  22279. - marketid
  22280. - memberuserid
  22281. - orderid
  22282. - tradeamount
  22283. - tradedate
  22284. - tradeid
  22285. - tradeprice
  22286. - tradeqty
  22287. - tradetime
  22288. type: object
  22289. order.QueryHisTradeOrderDetailRsp:
  22290. properties:
  22291. accountid:
  22292. description: 账户ID[报价币种]
  22293. type: integer
  22294. buildtype:
  22295. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  22296. type: integer
  22297. buyorsell:
  22298. description: 买卖 - 0:买 1:卖
  22299. type: integer
  22300. cancelorderid:
  22301. description: 撤单单号(撤单时填写)
  22302. type: string
  22303. cancelqty:
  22304. description: 撤单数量
  22305. type: number
  22306. clientordertime:
  22307. description: 客户端委托时间
  22308. type: string
  22309. clientticket:
  22310. description: 客户端流水号
  22311. type: string
  22312. clienttype:
  22313. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  22314. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  22315. type: integer
  22316. closeexchagechargevalue:
  22317. description: 平仓交易所手续费设置值
  22318. type: number
  22319. closefeealgorithm:
  22320. description: 平仓手续费收取方式 1:比率 2:固定
  22321. type: integer
  22322. closefreezecharge:
  22323. description: 平仓冻结手续费(先建后平操作,需要记录)
  22324. type: number
  22325. closememberchargevalue:
  22326. description: 平仓会员手续费设置值
  22327. type: number
  22328. closeqty:
  22329. description: 平仓数量(先建后平操作 需要记录)
  22330. type: number
  22331. closetradeqty:
  22332. description: 平仓成交数量(先建后平操作,需要记录)
  22333. type: number
  22334. closeunfreezecharge:
  22335. description: 平仓解冻手续费(先建后平操作,需要记录)
  22336. type: number
  22337. decimalplace:
  22338. description: 商品报价小数位
  22339. type: integer
  22340. delistingtype:
  22341. description: 摘牌类型 - 1:价格最优 2:点选成交
  22342. type: integer
  22343. enumdicname:
  22344. description: 单位名称
  22345. type: string
  22346. freezecharge:
  22347. description: 冻结手续费
  22348. type: number
  22349. freezemargin:
  22350. description: 冻结保证金(冻结交易金额)
  22351. type: number
  22352. gcaccountid:
  22353. description: 账户ID[合约币种]
  22354. type: integer
  22355. goodscode:
  22356. description: 商品代码
  22357. type: string
  22358. goodsid:
  22359. description: 商品ID
  22360. type: integer
  22361. goodsname:
  22362. description: 商品名称
  22363. type: string
  22364. goodunitid:
  22365. description: 商品单位id
  22366. type: integer
  22367. histradedate:
  22368. description: 历史交易日
  22369. type: string
  22370. isconfirmexercise:
  22371. description: 是否确认行权- 0:否 1:是
  22372. type: integer
  22373. ispreexercise:
  22374. description: 是否预申报- 0:否 1:是
  22375. type: integer
  22376. isvaliddata:
  22377. description: 是否有效 - 0:无效 1:有效
  22378. type: integer
  22379. listingselecttype:
  22380. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22381. type: integer
  22382. marginalgorithm:
  22383. description: 保证金收取方式 1:比率 2:固定
  22384. type: integer
  22385. marginvalue:
  22386. description: 即市保证金设置值
  22387. type: number
  22388. marketid:
  22389. description: 市场ID
  22390. type: integer
  22391. marketmaxsub:
  22392. description: 市价最大偏移范围
  22393. type: number
  22394. marketname:
  22395. description: 市场名称
  22396. type: string
  22397. memberuserid:
  22398. description: 所属会员UserID
  22399. type: integer
  22400. openexchagechargevalue:
  22401. description: 建仓交易所手续费设置值
  22402. type: number
  22403. openfeealgorithm:
  22404. description: 建仓手续费收取方式 1:比率 2:固定
  22405. type: integer
  22406. openfreezecharge:
  22407. description: 开仓冻结手续费(先建后平操作,需要记录)
  22408. type: number
  22409. openmemberchargevalue:
  22410. description: 建仓会员手续费设置值
  22411. type: number
  22412. openqty:
  22413. description: 开仓数量(先建后平操作,需要记录)
  22414. type: number
  22415. opentradeqty:
  22416. description: 开仓成交数量(先建后平操作,需要记录)
  22417. type: number
  22418. openunfreezecharge:
  22419. description: 开仓解冻手续费(先建后平操作,需要记录)
  22420. type: number
  22421. operatetype:
  22422. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  22423. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  22424. 15:管理端协议转让
  22425. type: integer
  22426. operatorid:
  22427. description: 登录账号(LoginID)
  22428. type: integer
  22429. optiontype:
  22430. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  22431. type: integer
  22432. orderid:
  22433. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22434. type: string
  22435. orderprice:
  22436. description: 委托价格
  22437. type: number
  22438. orderqty:
  22439. description: 委托数量
  22440. type: number
  22441. ordersrc:
  22442. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  22443. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  22444. type: integer
  22445. orderstatus:
  22446. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  22447. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  22448. 16:成交失败违约(荷兰式竞拍专用)
  22449. type: integer
  22450. ordertime:
  22451. description: 委托时间
  22452. type: string
  22453. preexerciseprice:
  22454. description: 预申报价格
  22455. type: number
  22456. premium:
  22457. description: 权利金
  22458. type: number
  22459. preorderid:
  22460. description: 关联预埋单号(止盈止损单时填写)
  22461. type: string
  22462. pricemode:
  22463. description: '取价方式 - 1:市价 2: 限价'
  22464. type: integer
  22465. qtydecimalplace:
  22466. description: 成交量小数位
  22467. type: integer
  22468. quoteid:
  22469. description: 报价单ID
  22470. type: integer
  22471. relatedid:
  22472. description: 关联单号(交割单)
  22473. type: string
  22474. retcode:
  22475. description: 错误代码
  22476. type: integer
  22477. sessionid:
  22478. description: 会话ID
  22479. type: integer
  22480. tradedate:
  22481. description: 交易日(yyyyMMdd)
  22482. type: string
  22483. trademode:
  22484. description: 交易模式
  22485. type: integer
  22486. tradeproperty:
  22487. description: 交易属性
  22488. type: integer
  22489. tradeqty:
  22490. description: 成交数量
  22491. type: number
  22492. unfreezecharge:
  22493. description: 解冻手续费
  22494. type: number
  22495. unfreezemargin:
  22496. description: 解冻保证金
  22497. type: number
  22498. updatetime:
  22499. description: 更新时间
  22500. type: string
  22501. uuid:
  22502. description: 发起端唯一id
  22503. type: string
  22504. validtime:
  22505. description: 有效期限
  22506. type: string
  22507. validtype:
  22508. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  22509. type: integer
  22510. volumetype:
  22511. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  22512. type: integer
  22513. required:
  22514. - accountid
  22515. - buildtype
  22516. - buyorsell
  22517. - goodsid
  22518. - histradedate
  22519. - marketid
  22520. - memberuserid
  22521. - operatetype
  22522. - orderid
  22523. - orderqty
  22524. - ordertime
  22525. - pricemode
  22526. - tradedate
  22527. - validtype
  22528. type: object
  22529. order.QueryTradeDetailRsp:
  22530. properties:
  22531. accountid:
  22532. description: 账户ID[报价币种]
  22533. type: integer
  22534. advanceratio:
  22535. description: 首付比率
  22536. type: number
  22537. buildtype:
  22538. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  22539. type: integer
  22540. buyorsell:
  22541. description: 方向 - 0:买 1:卖
  22542. type: integer
  22543. charge:
  22544. description: 手续费
  22545. type: number
  22546. closecharge:
  22547. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  22548. type: number
  22549. closeexchagechargevalue:
  22550. description: 平仓交易所手续费设置值
  22551. type: number
  22552. closefeealgorithm:
  22553. description: 平仓手续费收取方式 1:比率 2:固定
  22554. type: integer
  22555. closememberchargevalue:
  22556. description: 平仓会员手续费设置值
  22557. type: number
  22558. closepl:
  22559. description: 平仓盈亏
  22560. type: number
  22561. closepl2:
  22562. description: 平仓盈亏[逐笔]
  22563. type: number
  22564. closeqty:
  22565. description: 平仓数量(先建后平操作 需要记录)
  22566. type: number
  22567. creditamount:
  22568. description: 授信金额
  22569. type: number
  22570. decimalplace:
  22571. description: 商品报价小数位
  22572. type: integer
  22573. enumdicname:
  22574. description: 单位名称
  22575. type: string
  22576. gcaccountid:
  22577. description: 账户ID[合约币种]
  22578. type: integer
  22579. goodscode:
  22580. description: 商品代码
  22581. type: string
  22582. goodsid:
  22583. description: 商品ID
  22584. type: integer
  22585. goodsname:
  22586. description: 商品名称
  22587. type: string
  22588. goodunitid:
  22589. description: 商品单位id
  22590. type: integer
  22591. intclosepl:
  22592. description: 整型盈亏(用于交易结算试算平衡-收益权)
  22593. type: integer
  22594. isconfirmexercise:
  22595. description: 是否确认行权- 0:否 1:是
  22596. type: integer
  22597. ismain:
  22598. description: 是否主单 - 0:不是 1:是
  22599. type: integer
  22600. ispreexercise:
  22601. description: 是否预申报- 0:否 1:是
  22602. type: integer
  22603. isreckoned:
  22604. description: 是否结算 - 0:未结算 1:已结算
  22605. type: integer
  22606. listingselecttype:
  22607. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22608. type: integer
  22609. marketid:
  22610. description: 市场ID
  22611. type: integer
  22612. marketname:
  22613. description: 市场名称
  22614. type: string
  22615. matchaccountid:
  22616. description: 对手账号id
  22617. type: integer
  22618. memberuserid:
  22619. description: 会员id 个人投资者 需要填写
  22620. type: integer
  22621. opencharge:
  22622. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  22623. type: number
  22624. openexchagechargevalue:
  22625. description: 建仓交易所手续费设置值
  22626. type: number
  22627. openfeealgorithm:
  22628. description: 建仓手续费收取方式 1:比率 2:固定
  22629. type: integer
  22630. openmemberchargevalue:
  22631. description: 建仓会员手续费设置值
  22632. type: number
  22633. openqty:
  22634. description: 开仓数量(先建后平操作 需要记录)
  22635. type: number
  22636. optiontype:
  22637. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  22638. type: integer
  22639. orderid:
  22640. description: 委托单号
  22641. type: string
  22642. payamount:
  22643. description: 支付金额(付款金额)
  22644. type: number
  22645. performanceplanid:
  22646. description: 履约计划ID[期权]
  22647. type: integer
  22648. performancestatus:
  22649. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  22650. type: integer
  22651. preexerciseprice:
  22652. description: 预申报价格
  22653. type: number
  22654. premium:
  22655. description: 权利金 - [持仓单的权利金]
  22656. type: number
  22657. qtydecimalplace:
  22658. description: 商品报价小数位
  22659. type: integer
  22660. recvamount:
  22661. description: 到账金额 = 成交金额 - 手续费
  22662. type: number
  22663. relatedouttradeid:
  22664. description: 关联外部成交单ID
  22665. type: integer
  22666. status:
  22667. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  22668. type: integer
  22669. totalamount:
  22670. description: 订单总额 = 成交金额 + 手续费
  22671. type: number
  22672. tradeamount:
  22673. description: 成交金额[账户币种,用于所有权]
  22674. type: number
  22675. tradedate:
  22676. description: 交易日(yyyyMMdd)
  22677. type: string
  22678. tradeid:
  22679. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22680. type: string
  22681. trademode:
  22682. description: 交易模式
  22683. type: integer
  22684. tradeprice:
  22685. description: 成交价格
  22686. type: number
  22687. tradeproperty:
  22688. description: 交易属性
  22689. type: integer
  22690. tradeqty:
  22691. description: 成交数量
  22692. type: number
  22693. tradetime:
  22694. description: 成交时间
  22695. type: string
  22696. tradetype:
  22697. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  22698. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  22699. type: integer
  22700. required:
  22701. - accountid
  22702. - buyorsell
  22703. - goodsid
  22704. - marketid
  22705. - memberuserid
  22706. - orderid
  22707. - tradeamount
  22708. - tradedate
  22709. - tradeid
  22710. - tradeprice
  22711. - tradeqty
  22712. - tradetime
  22713. type: object
  22714. order.QueryTradeOrderDetailRsp:
  22715. properties:
  22716. accountid:
  22717. description: 账户ID[报价币种]
  22718. type: integer
  22719. buildtype:
  22720. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  22721. type: integer
  22722. buyorsell:
  22723. description: 买卖 - 0:买 1:卖
  22724. type: integer
  22725. cancelorderid:
  22726. description: 撤单单号(撤单时填写)
  22727. type: string
  22728. cancelqty:
  22729. description: 撤单数量
  22730. type: number
  22731. clienttype:
  22732. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  22733. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  22734. type: integer
  22735. closefreezecharge:
  22736. description: 平仓冻结手续费(先建后平操作,需要记录)
  22737. type: number
  22738. closeqty:
  22739. description: 平仓数量(先建后平操作 需要记录)
  22740. type: number
  22741. closetradeqty:
  22742. description: 平仓成交数量(先建后平操作,需要记录)
  22743. type: number
  22744. closeunfreezecharge:
  22745. description: 平仓解冻手续费(先建后平操作,需要记录)
  22746. type: number
  22747. decimalplace:
  22748. description: 商品报价小数位
  22749. type: integer
  22750. delistingtype:
  22751. description: 摘牌类型 - 1:价格最优 2:点选成交
  22752. type: integer
  22753. enableqty:
  22754. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  22755. type: number
  22756. enumdicname:
  22757. description: 单位名称
  22758. type: string
  22759. freezecharge:
  22760. description: 冻结手续费
  22761. type: number
  22762. freezemargin:
  22763. description: 冻结保证金(冻结交易金额)
  22764. type: number
  22765. goodscode:
  22766. description: 商品代码
  22767. type: string
  22768. goodsid:
  22769. description: 商品ID
  22770. type: integer
  22771. goodsname:
  22772. description: 商品名称
  22773. type: string
  22774. goodunitid:
  22775. description: 商品单位id
  22776. type: integer
  22777. listingselecttype:
  22778. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22779. type: integer
  22780. marketid:
  22781. description: 市场ID
  22782. type: integer
  22783. marketname:
  22784. description: 市场名称
  22785. type: string
  22786. openfreezecharge:
  22787. description: 开仓冻结手续费(先建后平操作,需要记录)
  22788. type: number
  22789. openqty:
  22790. description: 开仓数量(先建后平操作,需要记录)
  22791. type: number
  22792. opentradeqty:
  22793. description: 开仓成交数量(先建后平操作,需要记录)
  22794. type: number
  22795. openunfreezecharge:
  22796. description: 开仓解冻手续费(先建后平操作,需要记录)
  22797. type: number
  22798. operatetype:
  22799. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  22800. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  22801. 15:管理端协议转让
  22802. type: integer
  22803. operatorid:
  22804. description: 登录账号(LoginID)
  22805. type: integer
  22806. orderid:
  22807. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22808. type: string
  22809. orderprice:
  22810. description: 委托价格
  22811. type: number
  22812. orderqty:
  22813. description: 委托数量
  22814. type: number
  22815. ordersrc:
  22816. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  22817. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  22818. type: integer
  22819. orderstatus:
  22820. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  22821. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  22822. 16:成交失败违约(荷兰式竞拍专用)
  22823. type: integer
  22824. ordertime:
  22825. description: 委托时间
  22826. type: string
  22827. preorderid:
  22828. description: 关联预埋单号(止盈止损单时填写)
  22829. type: string
  22830. pricemode:
  22831. description: '取价方式 - 1:市价 2: 限价'
  22832. type: integer
  22833. qtydecimalplace:
  22834. description: 商品报价小数位
  22835. type: integer
  22836. relatedid:
  22837. description: 关联单号(交割单)
  22838. type: string
  22839. tradedate:
  22840. description: 交易日(yyyyMMdd)
  22841. type: string
  22842. trademode:
  22843. description: 交易模式
  22844. type: integer
  22845. tradeqty:
  22846. description: 成交数量
  22847. type: number
  22848. unfreezecharge:
  22849. description: 解冻手续费
  22850. type: number
  22851. unfreezemargin:
  22852. description: 解冻保证金
  22853. type: number
  22854. validtime:
  22855. description: 有效期限
  22856. type: string
  22857. validtype:
  22858. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  22859. type: integer
  22860. volumetype:
  22861. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  22862. type: integer
  22863. required:
  22864. - accountid
  22865. - buildtype
  22866. - buyorsell
  22867. - goodsid
  22868. - marketid
  22869. - operatetype
  22870. - orderqty
  22871. - ordertime
  22872. - pricemode
  22873. - tradedate
  22874. - validtype
  22875. type: object
  22876. order.QueryTradePositionRsp:
  22877. properties:
  22878. accountid:
  22879. description: 资金账户
  22880. type: integer
  22881. agreeunit:
  22882. description: 合约单位
  22883. type: number
  22884. averageprice:
  22885. description: 持仓均价
  22886. type: number
  22887. buyorsell:
  22888. description: 方向 - 0:买 1:卖
  22889. type: integer
  22890. closetotalqty:
  22891. description: 平仓总数量
  22892. type: number
  22893. curholderamount:
  22894. description: 当前持仓总金额[商品币种]
  22895. type: number
  22896. curpositionqty:
  22897. description: 当前持仓总数量
  22898. type: number
  22899. currencyid:
  22900. description: 报价货币ID
  22901. type: integer
  22902. curtdposition:
  22903. description: 期末今日头寸
  22904. type: number
  22905. decimalplace:
  22906. description: 报价小数位
  22907. type: integer
  22908. enableqty:
  22909. description: 可用量
  22910. type: number
  22911. fretdposition:
  22912. description: 冻结今日头寸
  22913. type: number
  22914. frozenqty:
  22915. description: 持仓冻结数量
  22916. type: number
  22917. goodscode:
  22918. description: 商品代码
  22919. type: string
  22920. goodsid:
  22921. description: 商品Id
  22922. type: integer
  22923. goodsname:
  22924. description: 商品名称
  22925. type: string
  22926. goodunit:
  22927. description: 报价单位
  22928. type: string
  22929. goodunitid:
  22930. description: 报价单位ID
  22931. type: integer
  22932. holderamount:
  22933. description: 期初持仓总金额[商品币种]
  22934. type: number
  22935. lastprice:
  22936. description: 最新价
  22937. type: number
  22938. marketamount:
  22939. description: 市值
  22940. type: number
  22941. marketid:
  22942. description: 所属市场ID
  22943. type: integer
  22944. openreqqty:
  22945. description: 开仓申请数量(用于比较最大持仓数量)
  22946. type: number
  22947. opentotalqty:
  22948. description: 开仓总数量
  22949. type: number
  22950. otherfrozenqty:
  22951. description: 持仓其他冻结数量(交割冻结)
  22952. type: number
  22953. positionpl:
  22954. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  22955. * 合约单位
  22956. type: number
  22957. positionplrate:
  22958. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  22959. type: number
  22960. positionqty:
  22961. description: 期初持仓数量
  22962. type: number
  22963. qtydecimalplace:
  22964. description: 成交量小数位
  22965. type: integer
  22966. refgoodscode:
  22967. description: 参考商品代码
  22968. type: string
  22969. refgoodsid:
  22970. description: 参考商品ID
  22971. type: integer
  22972. tnqty:
  22973. description: T+N冻结总量
  22974. type: number
  22975. tnusedqty:
  22976. description: T+N使用量(可以使用T+N的冻结数量)
  22977. type: number
  22978. trademode:
  22979. description: 交易模式
  22980. type: integer
  22981. tradeproperty:
  22982. description: 交易属性
  22983. type: integer
  22984. usedmargin:
  22985. description: 占用保证金[商品币种]
  22986. type: number
  22987. required:
  22988. - goodsid
  22989. type: object
  22990. pb.GoodsMarginCfgStruct:
  22991. properties:
  22992. CustomerTypeID:
  22993. description: 投资者客户类型
  22994. type: integer
  22995. GoodsID:
  22996. description: 商品ID
  22997. type: integer
  22998. IsDefault:
  22999. description: 是否默认标志位
  23000. type: integer
  23001. LockMarginValue:
  23002. description: 锁仓保证金
  23003. type: number
  23004. MarginAlgorithm:
  23005. description: 保证金计算方式
  23006. type: integer
  23007. MarketMarginValue:
  23008. description: 即市保证金值
  23009. type: number
  23010. RealMarginAlgorithm:
  23011. description: 实付保证金计算方式
  23012. type: integer
  23013. RealMarginValue:
  23014. description: 实付比例
  23015. type: number
  23016. ReckonMarginValue:
  23017. description: 结算保证金值
  23018. type: number
  23019. type: object
  23020. quote.HistoryData:
  23021. properties:
  23022. c:
  23023. description: 收盘价
  23024. type: number
  23025. f:
  23026. description: 是否补充数据
  23027. type: boolean
  23028. h:
  23029. description: 最高价
  23030. type: number
  23031. hv:
  23032. description: 持仓量
  23033. type: integer
  23034. l:
  23035. description: 最低价
  23036. type: number
  23037. o:
  23038. description: 开盘价
  23039. type: number
  23040. s:
  23041. description: 结算价,日线周期(包括)以上才有
  23042. type: number
  23043. ts:
  23044. description: 时间
  23045. type: string
  23046. tt:
  23047. description: 总金额
  23048. type: number
  23049. tv:
  23050. description: 总量(成交量)
  23051. type: integer
  23052. type: object
  23053. quote.HistoryTikData:
  23054. properties:
  23055. AV:
  23056. description: 卖量
  23057. type: integer
  23058. Ask:
  23059. description: 卖价
  23060. type: number
  23061. BV:
  23062. description: 买量
  23063. type: integer
  23064. Bid:
  23065. description: 买价
  23066. type: number
  23067. HI:
  23068. description: 单笔持仓
  23069. type: integer
  23070. HV:
  23071. description: 持仓量
  23072. type: integer
  23073. PE:
  23074. description: 现价
  23075. type: number
  23076. TDR:
  23077. description: 交易方向,0:买 1:卖
  23078. type: integer
  23079. TK:
  23080. description: 交易类型
  23081. type: integer
  23082. TS:
  23083. description: 行情时间文本
  23084. type: string
  23085. TT:
  23086. description: 现金额
  23087. type: number
  23088. Vol:
  23089. description: 现量
  23090. type: integer
  23091. type: object
  23092. quote.QueryQuoteDayRsp:
  23093. properties:
  23094. ask:
  23095. description: 卖1
  23096. type: number
  23097. ask2:
  23098. description: 卖2
  23099. type: number
  23100. ask3:
  23101. description: 卖3
  23102. type: number
  23103. ask4:
  23104. description: 卖4
  23105. type: number
  23106. ask5:
  23107. description: 卖5
  23108. type: number
  23109. ask6:
  23110. description: 卖6
  23111. type: number
  23112. ask7:
  23113. description: 卖7
  23114. type: number
  23115. ask8:
  23116. description: 卖8
  23117. type: number
  23118. ask9:
  23119. description: 卖9
  23120. type: number
  23121. ask10:
  23122. description: 卖10
  23123. type: number
  23124. askorderid:
  23125. description: 卖单号1
  23126. type: integer
  23127. askorderid2:
  23128. description: 卖单号2
  23129. type: integer
  23130. askorderid3:
  23131. description: 卖单号3
  23132. type: integer
  23133. askorderid4:
  23134. description: 卖单号4
  23135. type: integer
  23136. askorderid5:
  23137. description: 卖单号5
  23138. type: integer
  23139. askordervolume:
  23140. description: 卖单量1
  23141. type: integer
  23142. askordervolume2:
  23143. description: 卖单量2
  23144. type: integer
  23145. askordervolume3:
  23146. description: 卖单量3
  23147. type: integer
  23148. askordervolume4:
  23149. description: 卖单量4
  23150. type: integer
  23151. askordervolume5:
  23152. description: 卖单量5
  23153. type: integer
  23154. askordervolume6:
  23155. description: 卖单量6
  23156. type: integer
  23157. askordervolume7:
  23158. description: 卖单量7
  23159. type: integer
  23160. askordervolume8:
  23161. description: 卖单量8
  23162. type: integer
  23163. askordervolume9:
  23164. description: 卖单量9
  23165. type: integer
  23166. askordervolume10:
  23167. description: 卖单量10
  23168. type: integer
  23169. askqueueinfo:
  23170. description: 大利市卖港股用
  23171. type: string
  23172. askvolume:
  23173. description: 卖量1
  23174. type: integer
  23175. askvolume2:
  23176. description: 卖量2
  23177. type: integer
  23178. askvolume3:
  23179. description: 卖量3
  23180. type: integer
  23181. askvolume4:
  23182. description: 卖量4
  23183. type: integer
  23184. askvolume5:
  23185. description: 卖量5
  23186. type: integer
  23187. askvolume6:
  23188. description: 卖量6
  23189. type: integer
  23190. askvolume7:
  23191. description: 卖量7
  23192. type: integer
  23193. askvolume8:
  23194. description: 卖量8
  23195. type: integer
  23196. askvolume9:
  23197. description: 卖量9
  23198. type: integer
  23199. askvolume10:
  23200. description: 卖量10
  23201. type: integer
  23202. averageprice:
  23203. description: 均价
  23204. type: number
  23205. bid:
  23206. description: 买1
  23207. type: number
  23208. bid2:
  23209. description: 买2
  23210. type: number
  23211. bid3:
  23212. description: 买3
  23213. type: number
  23214. bid4:
  23215. description: 买4
  23216. type: number
  23217. bid5:
  23218. description: 买5
  23219. type: number
  23220. bid6:
  23221. description: 买6
  23222. type: number
  23223. bid7:
  23224. description: 买7
  23225. type: number
  23226. bid8:
  23227. description: 买8
  23228. type: number
  23229. bid9:
  23230. description: 买9
  23231. type: number
  23232. bid10:
  23233. description: 买10
  23234. type: number
  23235. bidorderid:
  23236. description: 买单号1
  23237. type: integer
  23238. bidorderid2:
  23239. description: 买单号2
  23240. type: integer
  23241. bidorderid3:
  23242. description: 买单号3
  23243. type: integer
  23244. bidorderid4:
  23245. description: 买单号4
  23246. type: integer
  23247. bidorderid5:
  23248. description: 买单号5
  23249. type: integer
  23250. bidordervolume:
  23251. description: 买单量1
  23252. type: integer
  23253. bidordervolume2:
  23254. description: 买单量2
  23255. type: integer
  23256. bidordervolume3:
  23257. description: 买单量3
  23258. type: integer
  23259. bidordervolume4:
  23260. description: 买单量4
  23261. type: integer
  23262. bidordervolume5:
  23263. description: 买单量5
  23264. type: integer
  23265. bidordervolume6:
  23266. description: 买单量6
  23267. type: integer
  23268. bidordervolume7:
  23269. description: 买单量7
  23270. type: integer
  23271. bidordervolume8:
  23272. description: 买单量8
  23273. type: integer
  23274. bidordervolume9:
  23275. description: 买单量9
  23276. type: integer
  23277. bidordervolume10:
  23278. description: 买单量10
  23279. type: integer
  23280. bidqueueinfo:
  23281. description: 大利市买港股用
  23282. type: string
  23283. bidvolume:
  23284. description: 买量1
  23285. type: integer
  23286. bidvolume2:
  23287. description: 买量2
  23288. type: integer
  23289. bidvolume3:
  23290. description: 买量3
  23291. type: integer
  23292. bidvolume4:
  23293. description: 买量4
  23294. type: integer
  23295. bidvolume5:
  23296. description: 买量5
  23297. type: integer
  23298. bidvolume6:
  23299. description: 买量6
  23300. type: integer
  23301. bidvolume7:
  23302. description: 买量7
  23303. type: integer
  23304. bidvolume8:
  23305. description: 买量8
  23306. type: integer
  23307. bidvolume9:
  23308. description: 买量9
  23309. type: integer
  23310. bidvolume10:
  23311. description: 买量10
  23312. type: integer
  23313. calloptionpremiums:
  23314. description: 认购期权1
  23315. type: integer
  23316. calloptionpremiums2:
  23317. description: 认购期权2
  23318. type: integer
  23319. calloptionpremiums3:
  23320. description: 认购期权3
  23321. type: integer
  23322. calloptionpremiums4:
  23323. description: 认购期权4
  23324. type: integer
  23325. calloptionpremiums5:
  23326. description: 认购期权5
  23327. type: integer
  23328. cleartime:
  23329. description: 清盘时间
  23330. type: integer
  23331. exchangecode:
  23332. description: 交易所代码
  23333. type: integer
  23334. exchangedate:
  23335. description: 交易日
  23336. type: integer
  23337. goodscode:
  23338. description: 商品代码
  23339. type: string
  23340. grepmarketprice:
  23341. description: 暗盘价 港股专用
  23342. type: number
  23343. highest:
  23344. description: 最高价
  23345. type: number
  23346. holdincrement:
  23347. description: 单笔持仓
  23348. type: integer
  23349. holdvolume:
  23350. description: 持仓
  23351. type: integer
  23352. iep:
  23353. description: 平衡价 港股专用
  23354. type: number
  23355. iev:
  23356. description: 平衡量 港股专用
  23357. type: number
  23358. inventory:
  23359. description: 库存
  23360. type: integer
  23361. iscleared:
  23362. description: 是否清盘标志
  23363. type: integer
  23364. issettled:
  23365. description: 是否结算标志
  23366. type: integer
  23367. last:
  23368. description: 最新价
  23369. type: number
  23370. lastlot:
  23371. description: 最新成交手数
  23372. type: integer
  23373. lasttime:
  23374. description: 行情时间(只有现价变化行情时间才变化)
  23375. type: string
  23376. lastturnover:
  23377. description: 最新成交金额
  23378. type: number
  23379. lastvolume:
  23380. description: 最新成交量
  23381. type: integer
  23382. limitdown:
  23383. description: 跌停价
  23384. type: number
  23385. limitup:
  23386. description: 涨停价
  23387. type: number
  23388. lowest:
  23389. description: 最低价
  23390. type: number
  23391. nontotalholdervolume:
  23392. description: 非交易持仓量
  23393. type: integer
  23394. nontotallot:
  23395. description: 非交易总手数
  23396. type: integer
  23397. nontotalturnover:
  23398. description: 非交易总金额
  23399. type: integer
  23400. nontotalvolume:
  23401. description: 非交易总量
  23402. type: integer
  23403. opened:
  23404. description: 开盘价
  23405. type: number
  23406. opentime:
  23407. description: 开盘时间
  23408. type: string
  23409. orderid:
  23410. description: 序号
  23411. type: integer
  23412. preclose:
  23413. description: 昨收
  23414. type: number
  23415. preholdvolume:
  23416. description: 昨持仓
  23417. type: integer
  23418. presettle:
  23419. description: 昨结价
  23420. type: number
  23421. publictradetype:
  23422. description: 公共交易标志类型 港股专用
  23423. type: string
  23424. putoptionpremiums:
  23425. description: 认沽期权1
  23426. type: integer
  23427. putoptionpremiums2:
  23428. description: 认沽期权2
  23429. type: integer
  23430. putoptionpremiums3:
  23431. description: 认沽期权3
  23432. type: integer
  23433. putoptionpremiums4:
  23434. description: 认沽期权4
  23435. type: integer
  23436. putoptionpremiums5:
  23437. description: 认沽期权5
  23438. type: integer
  23439. settle:
  23440. description: 结算价
  23441. type: number
  23442. strikeprice:
  23443. description: 发行价
  23444. type: number
  23445. totalaskvolume:
  23446. description: 内盘
  23447. type: integer
  23448. totalbidvolume:
  23449. description: 外盘
  23450. type: integer
  23451. totallot:
  23452. description: 总手数
  23453. type: integer
  23454. totalturnover:
  23455. description: 总金额
  23456. type: number
  23457. totalvolume:
  23458. description: 总量
  23459. type: integer
  23460. utclasttime:
  23461. description: utc的行情时间
  23462. type: string
  23463. type: object
  23464. quote.QueryTSDataRsp:
  23465. properties:
  23466. Count:
  23467. description: 交易日应有数据个数
  23468. type: integer
  23469. decimalPlace:
  23470. description: 小数位
  23471. type: integer
  23472. endTime:
  23473. description: 结束时间
  23474. type: string
  23475. goodsCode:
  23476. description: 商品代码
  23477. type: string
  23478. historyDatas:
  23479. description: 历史数据
  23480. items:
  23481. $ref: '#/definitions/quote.HistoryData'
  23482. type: array
  23483. outGoodsCode:
  23484. description: 外部商品代码
  23485. type: string
  23486. preSettle:
  23487. description: 昨结价
  23488. type: number
  23489. runSteps:
  23490. description: 交易日开休市计划
  23491. items:
  23492. $ref: '#/definitions/quote.TSDataRunStep'
  23493. type: array
  23494. startTime:
  23495. description: 开始时间
  23496. type: string
  23497. tradeDate:
  23498. description: 交易日
  23499. type: string
  23500. type: object
  23501. quote.TSDataRunStep:
  23502. properties:
  23503. end:
  23504. description: 真实结束时间
  23505. type: string
  23506. endflag:
  23507. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  23508. type: integer
  23509. endtime:
  23510. description: 结束时间(HH:mm)
  23511. type: string
  23512. endweekday:
  23513. description: 结束周几
  23514. type: integer
  23515. groupid:
  23516. description: 分组ID
  23517. type: integer
  23518. runstep:
  23519. description: 运行阶段 - 2:连续交易
  23520. type: integer
  23521. sectionid:
  23522. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  23523. 结束时间=结算时间 结束周几=结算周几
  23524. type: integer
  23525. start:
  23526. description: 真实开始时间
  23527. type: string
  23528. startflag:
  23529. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  23530. type: integer
  23531. starttime:
  23532. description: 起始时间(HH:mm)
  23533. type: string
  23534. startweekday:
  23535. description: 起始周几
  23536. type: integer
  23537. tradeweekday:
  23538. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  23539. type: integer
  23540. type: object
  23541. szdz.QueryConvertLogRsp:
  23542. properties:
  23543. accountid:
  23544. description: 资金账户ID
  23545. type: integer
  23546. clientticket:
  23547. description: 客户端流水号
  23548. type: string
  23549. converttype:
  23550. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  23551. type: integer
  23552. createtime:
  23553. description: 记账时间
  23554. type: string
  23555. daymaxvalue:
  23556. description: 配置当日最大转入限制
  23557. type: number
  23558. daymaxvalue2:
  23559. description: 配置当日最大转入限制(转入)
  23560. type: number
  23561. goodscode:
  23562. description: 商品代码
  23563. type: string
  23564. goodsname:
  23565. description: 商品名称
  23566. type: string
  23567. handlestatus:
  23568. description: 处理状态
  23569. type: integer
  23570. innergoodsid:
  23571. description: 内部商品ID
  23572. type: integer
  23573. inratio:
  23574. description: 配置转入比值
  23575. type: integer
  23576. invalue:
  23577. description: 目标值
  23578. type: number
  23579. logid:
  23580. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  23581. type: integer
  23582. mobile:
  23583. description: 手机号码(加密存储)
  23584. type: string
  23585. outergoodscode:
  23586. description: 外部商品代码[JD\PD]
  23587. type: string
  23588. outratio:
  23589. description: 配置转出比值
  23590. type: integer
  23591. outvalue:
  23592. description: 源值
  23593. type: number
  23594. pddecimalplace:
  23595. description: PD小数位
  23596. type: integer
  23597. qty:
  23598. description: 数量
  23599. type: string
  23600. remark:
  23601. description: 备注
  23602. type: string
  23603. sessionid:
  23604. description: 会话ID
  23605. type: integer
  23606. timemaxvalue:
  23607. description: 配置单次最大转入限制
  23608. type: number
  23609. timemaxvalue2:
  23610. description: 配置单次最大转入限制(转入)
  23611. type: number
  23612. timeminvalue:
  23613. description: 配置单次最小数量限制
  23614. type: number
  23615. timeminvalue2:
  23616. description: 配置单次最小数量限制(转入)
  23617. type: number
  23618. tradedate:
  23619. description: 交易日(yyyyMMdd)
  23620. type: string
  23621. userid:
  23622. description: 用户ID
  23623. type: integer
  23624. required:
  23625. - logid
  23626. type: object
  23627. szdz.QueryGoodsPickupRsp:
  23628. properties:
  23629. accountid:
  23630. description: 账户ID
  23631. type: integer
  23632. address:
  23633. description: 提货人详细地址
  23634. type: string
  23635. auditer:
  23636. description: 审核人
  23637. type: integer
  23638. audittime:
  23639. description: 审核时间
  23640. type: string
  23641. cardnum:
  23642. description: 提货人证件号码
  23643. type: string
  23644. cardtypeid:
  23645. description: 提货人证件类型
  23646. type: integer
  23647. checkremark:
  23648. description: 审核备注
  23649. type: string
  23650. goodscode:
  23651. description: 商品代码
  23652. type: string
  23653. goodsid:
  23654. description: 商品ID
  23655. type: integer
  23656. goodsname:
  23657. description: 商品名称
  23658. type: string
  23659. handlestatus:
  23660. description: 处理状态
  23661. type: integer
  23662. marketid:
  23663. description: 市场ID
  23664. type: integer
  23665. phonenum:
  23666. description: 提货人联系方式
  23667. type: string
  23668. qty:
  23669. description: 提货数量
  23670. type: number
  23671. recivername:
  23672. description: 提货人姓名
  23673. type: string
  23674. reqtime:
  23675. description: 更新时间
  23676. type: string
  23677. takemode:
  23678. description: 提货方式 - 2:自提 3:配送
  23679. type: integer
  23680. takeorderid:
  23681. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  23682. type: string
  23683. takeorderstatus:
  23684. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23685. type: integer
  23686. takeremark:
  23687. description: 提货备注
  23688. type: string
  23689. tradedate:
  23690. description: 交易日(yyyyMMdd)
  23691. type: string
  23692. userid:
  23693. description: 用户ID
  23694. type: integer
  23695. required:
  23696. - takeorderid
  23697. type: object
  23698. szdz.QueryRecieptOrderRsp:
  23699. properties:
  23700. accountName:
  23701. description: 所属账号名称(已脱敏)
  23702. type: string
  23703. accountid:
  23704. description: 资金账号
  23705. type: integer
  23706. buyorsell:
  23707. description: 方向 - 0:买 1:卖
  23708. type: integer
  23709. enableqty:
  23710. description: 可摘数量
  23711. type: integer
  23712. goodscode:
  23713. description: 商品代码
  23714. type: string
  23715. goodsid:
  23716. description: 商品ID
  23717. type: integer
  23718. goodsname:
  23719. description: 商品名称
  23720. type: string
  23721. orderid:
  23722. description: 委托单号
  23723. type: string
  23724. orderprice:
  23725. description: 委托价格
  23726. type: number
  23727. ordertime:
  23728. description: 委托时间
  23729. type: string
  23730. tradedate:
  23731. description: 交易日(yyyyMMdd)
  23732. type: string
  23733. required:
  23734. - ordertime
  23735. type: object
  23736. szdz.QuerySZDZTradePositionRsp:
  23737. properties:
  23738. accountid:
  23739. description: 账号Id
  23740. type: integer
  23741. agreeunit:
  23742. description: 合约单位
  23743. type: number
  23744. averageprice:
  23745. description: 持仓均价
  23746. type: number
  23747. buyorsell:
  23748. description: 方向 - 0:买 1:卖
  23749. type: integer
  23750. closetotalqty:
  23751. description: 平仓总数量
  23752. type: integer
  23753. curholderamount:
  23754. description: 当前持仓总金额
  23755. type: number
  23756. curpositionqty:
  23757. description: 当前持仓总数量
  23758. type: integer
  23759. currencyid:
  23760. description: 报价货币ID
  23761. type: integer
  23762. curtdposition:
  23763. description: 期末今日头寸
  23764. type: integer
  23765. decimalplace:
  23766. description: 报价小数位
  23767. type: integer
  23768. enableqty:
  23769. description: 可用量
  23770. type: integer
  23771. fretdposition:
  23772. description: 冻结今日头寸
  23773. type: integer
  23774. frozenqty:
  23775. description: 持仓冻结数量
  23776. type: integer
  23777. goodscode:
  23778. description: 商品代码(内部)
  23779. type: string
  23780. goodsid:
  23781. description: 商品Id
  23782. type: integer
  23783. goodsname:
  23784. description: 商品名称
  23785. type: string
  23786. goodunit:
  23787. description: 报价单位
  23788. type: string
  23789. goodunitid:
  23790. description: 报价单位ID
  23791. type: integer
  23792. holderamount:
  23793. description: 期初持仓总金额
  23794. type: number
  23795. marketid:
  23796. description: 市场ID
  23797. type: integer
  23798. openreqqty:
  23799. description: 开仓申请数量
  23800. type: integer
  23801. opentotalqty:
  23802. description: 开仓总数量
  23803. type: integer
  23804. otherfrozenqty:
  23805. description: 持仓其他冻结数量(交割冻结)
  23806. type: integer
  23807. positionqty:
  23808. description: 期初持仓数量
  23809. type: integer
  23810. szdz3freezqty:
  23811. description: 尚志大宗转换冻结总数量
  23812. type: integer
  23813. tnqty:
  23814. description: T+N冻结总量
  23815. type: integer
  23816. tnusedqty:
  23817. description: T+N使用量
  23818. type: integer
  23819. trademode:
  23820. description: 交易模式
  23821. type: integer
  23822. usedmargin:
  23823. description: 占用保证金
  23824. type: number
  23825. type: object
  23826. taaccount.QueryAmountLogRsp:
  23827. properties:
  23828. accountid:
  23829. description: 资金账户ID
  23830. type: integer
  23831. agoodscode:
  23832. description: 竞拍商品代码
  23833. type: string
  23834. agoodsname:
  23835. description: 竞拍商品名称
  23836. type: string
  23837. amount:
  23838. description: 资金金额
  23839. type: number
  23840. amountadjusttype:
  23841. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  23842. type: integer
  23843. autoid:
  23844. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  23845. type: integer
  23846. balance:
  23847. description: 期初余额
  23848. type: number
  23849. businesscode:
  23850. description: 业务编号
  23851. type: integer
  23852. createtime:
  23853. description: 发生时间
  23854. type: string
  23855. currencyid:
  23856. description: 币种ID
  23857. type: integer
  23858. currentbalance:
  23859. description: 期末余额(变动后金额)
  23860. type: number
  23861. dgoodscode:
  23862. description: 交割商品代码
  23863. type: string
  23864. dgoodsname:
  23865. description: 交割商品名称
  23866. type: string
  23867. goodscode:
  23868. description: 商品代码
  23869. type: string
  23870. goodsid:
  23871. description: 商品ID
  23872. type: integer
  23873. goodsname:
  23874. description: 商品名称
  23875. type: string
  23876. marketid:
  23877. description: 市场ID
  23878. type: integer
  23879. marketname:
  23880. description: 市场名称
  23881. type: string
  23882. moneyticket:
  23883. description: 资金流水号:银行端流水号
  23884. type: integer
  23885. operatetype:
  23886. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  23887. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  23888. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  23889. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  23890. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  23891. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  23892. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  23893. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  23894. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  23895. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  23896. type: integer
  23897. relationorderid:
  23898. description: 关联单号
  23899. type: string
  23900. remark:
  23901. description: 备注
  23902. type: string
  23903. trademode:
  23904. description: 交易模式
  23905. type: integer
  23906. required:
  23907. - accountid
  23908. - amount
  23909. - amountadjusttype
  23910. - autoid
  23911. - balance
  23912. - createtime
  23913. - currentbalance
  23914. - operatetype
  23915. type: object
  23916. taaccount.QueryHisAmountLogRsp:
  23917. properties:
  23918. accountid:
  23919. description: 资金账户ID
  23920. type: integer
  23921. agoodscode:
  23922. description: 竞拍商品代码
  23923. type: string
  23924. agoodsname:
  23925. description: 竞拍商品名称
  23926. type: string
  23927. amount:
  23928. description: 资金金额
  23929. type: number
  23930. amountadjusttype:
  23931. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  23932. type: integer
  23933. autoid:
  23934. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  23935. type: integer
  23936. balance:
  23937. description: 期初余额
  23938. type: number
  23939. businesscode:
  23940. description: 业务编号
  23941. type: integer
  23942. createtime:
  23943. description: 发生时间
  23944. type: string
  23945. currencyid:
  23946. description: 币种ID
  23947. type: integer
  23948. currentbalance:
  23949. description: 期末余额(变动后金额)
  23950. type: number
  23951. dgoodscode:
  23952. description: 交割商品代码
  23953. type: string
  23954. dgoodsname:
  23955. description: 交割商品名称
  23956. type: string
  23957. goodscode:
  23958. description: 商品代码
  23959. type: string
  23960. goodsid:
  23961. description: 商品ID
  23962. type: integer
  23963. goodsname:
  23964. description: 商品名称
  23965. type: string
  23966. histradedate:
  23967. description: 历史交易日
  23968. type: string
  23969. isvaliddata:
  23970. description: 是否有效 - 0:无效 1:有效
  23971. type: integer
  23972. marketid:
  23973. description: 市场ID
  23974. type: integer
  23975. marketname:
  23976. description: 市场名称
  23977. type: string
  23978. moneyticket:
  23979. description: 资金流水号:银行端流水号
  23980. type: integer
  23981. operatetype:
  23982. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  23983. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  23984. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  23985. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  23986. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  23987. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  23988. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  23989. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  23990. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  23991. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  23992. type: integer
  23993. relationorderid:
  23994. description: 关联单号
  23995. type: string
  23996. remark:
  23997. description: 备注
  23998. type: string
  23999. trademode:
  24000. description: 交易模式
  24001. type: integer
  24002. required:
  24003. - accountid
  24004. - amount
  24005. - amountadjusttype
  24006. - autoid
  24007. - balance
  24008. - createtime
  24009. - currentbalance
  24010. - histradedate
  24011. - operatetype
  24012. type: object
  24013. trade.QueryRecieptOrderRsp:
  24014. properties:
  24015. accountName:
  24016. description: 所属账号名称(已脱敏)
  24017. type: string
  24018. accountid:
  24019. description: 资金账号
  24020. type: integer
  24021. buyorsell:
  24022. description: 方向 - 0:买 1:卖
  24023. type: integer
  24024. enableqty:
  24025. description: 可摘数量
  24026. type: integer
  24027. goodscode:
  24028. description: 商品代码
  24029. type: string
  24030. goodsid:
  24031. description: 商品ID
  24032. type: integer
  24033. goodsname:
  24034. description: 商品名称
  24035. type: string
  24036. orderid:
  24037. description: 委托单号
  24038. type: string
  24039. orderprice:
  24040. description: 委托价格
  24041. type: number
  24042. ordertime:
  24043. description: 委托时间
  24044. type: string
  24045. tradedate:
  24046. description: 交易日(yyyyMMdd)
  24047. type: string
  24048. required:
  24049. - ordertime
  24050. type: object
  24051. user.LoginQueryRsp:
  24052. properties:
  24053. areaRoles:
  24054. description: 所属角色信息
  24055. items:
  24056. $ref: '#/definitions/models.Arearole'
  24057. type: array
  24058. exchangeRateConfigs:
  24059. description: 汇率信息
  24060. items:
  24061. $ref: '#/definitions/models.Exchangerateconfig'
  24062. type: array
  24063. externalExchanges:
  24064. description: 外部交易所
  24065. items:
  24066. $ref: '#/definitions/models.Externalexchange'
  24067. type: array
  24068. goodsgroups:
  24069. description: 商品组
  24070. items:
  24071. $ref: '#/definitions/models.Goodsgroup'
  24072. type: array
  24073. loginAccount:
  24074. $ref: '#/definitions/models.Loginaccount'
  24075. description: 登录账号
  24076. markets:
  24077. description: 市场
  24078. items:
  24079. $ref: '#/definitions/models.Market'
  24080. type: array
  24081. systemParams:
  24082. description: 系统参数
  24083. items:
  24084. $ref: '#/definitions/models.Systemparam'
  24085. type: array
  24086. userAccount:
  24087. $ref: '#/definitions/models.Useraccount'
  24088. description: 用户账号
  24089. userInfo:
  24090. $ref: '#/definitions/models.Userinfo'
  24091. description: 用户信息
  24092. username:
  24093. description: 用户姓名
  24094. type: string
  24095. type: object
  24096. info:
  24097. contact: {}
  24098. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  24099. termsOfService: http://www.muchinfo.cn
  24100. title: MTP2.0 查询服务 API
  24101. version: "1.0"
  24102. paths:
  24103. /CPTrade/QueryCPTradeMyBidInfos:
  24104. get:
  24105. parameters:
  24106. - description: 资金账户
  24107. in: query
  24108. name: accountid
  24109. required: true
  24110. type: integer
  24111. - description: 预售市场ID
  24112. in: query
  24113. name: marketid
  24114. type: integer
  24115. - description: 预售商品ID
  24116. in: query
  24117. name: goodsid
  24118. type: integer
  24119. produces:
  24120. - application/json
  24121. responses:
  24122. "200":
  24123. description: OK
  24124. schema:
  24125. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  24126. "500":
  24127. description: Internal Server Error
  24128. schema:
  24129. $ref: '#/definitions/app.Response'
  24130. security:
  24131. - ApiKeyAuth: []
  24132. summary: 查询产能预售我的出价信息
  24133. tags:
  24134. - 产能预售
  24135. /CPTrade/QueryCPTradeOrderDetail:
  24136. get:
  24137. parameters:
  24138. - description: 预售商品ID
  24139. in: query
  24140. name: goodsid
  24141. type: integer
  24142. - description: 预售市场ID
  24143. in: query
  24144. name: marketid
  24145. type: integer
  24146. - description: 预售商品ID列表 - 格式:1,2,3
  24147. in: query
  24148. name: goodsids
  24149. type: string
  24150. produces:
  24151. - application/json
  24152. responses:
  24153. "200":
  24154. description: OK
  24155. schema:
  24156. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  24157. "500":
  24158. description: Internal Server Error
  24159. schema:
  24160. $ref: '#/definitions/app.Response'
  24161. security:
  24162. - ApiKeyAuth: []
  24163. summary: 查询产能预售委托单信息
  24164. tags:
  24165. - 产能预售
  24166. /CPTrade/QueryMyCPTradeGoods:
  24167. get:
  24168. parameters:
  24169. - description: 资金账户
  24170. in: query
  24171. name: accountid
  24172. required: true
  24173. type: integer
  24174. produces:
  24175. - application/json
  24176. responses:
  24177. "200":
  24178. description: OK
  24179. schema:
  24180. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  24181. "500":
  24182. description: Internal Server Error
  24183. schema:
  24184. $ref: '#/definitions/app.Response'
  24185. security:
  24186. - ApiKeyAuth: []
  24187. summary: 查询我的预售信息
  24188. tags:
  24189. - 产能预售
  24190. /CPTrade/QueryPositionCancel:
  24191. get:
  24192. parameters:
  24193. - description: 账户ID
  24194. in: query
  24195. name: userid
  24196. required: true
  24197. type: integer
  24198. - description: 注销ID
  24199. in: query
  24200. name: cancelid
  24201. type: integer
  24202. - description: 资金账户ID
  24203. in: query
  24204. name: accountid
  24205. type: integer
  24206. produces:
  24207. - application/json
  24208. responses:
  24209. "200":
  24210. description: OK
  24211. schema:
  24212. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  24213. "500":
  24214. description: Internal Server Error
  24215. schema:
  24216. $ref: '#/definitions/app.Response'
  24217. security:
  24218. - ApiKeyAuth: []
  24219. summary: 查询远期订单注销申请信息
  24220. tags:
  24221. - 产能预售
  24222. /CPTrade/QueryPreasleApply:
  24223. get:
  24224. parameters:
  24225. - description: 账户ID
  24226. in: query
  24227. name: userid
  24228. required: true
  24229. type: integer
  24230. - description: 申请ID
  24231. in: query
  24232. name: applyid
  24233. type: integer
  24234. - description: 资金账户ID
  24235. in: query
  24236. name: accountid
  24237. type: integer
  24238. produces:
  24239. - application/json
  24240. responses:
  24241. "200":
  24242. description: OK
  24243. schema:
  24244. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  24245. "500":
  24246. description: Internal Server Error
  24247. schema:
  24248. $ref: '#/definitions/app.Response'
  24249. security:
  24250. - ApiKeyAuth: []
  24251. summary: 查询产能预售申请信息
  24252. tags:
  24253. - 产能预售
  24254. /CPTrade/QueryPresaleGoodsEx:
  24255. get:
  24256. parameters:
  24257. - description: 预售商品ID
  24258. in: query
  24259. name: goodsid
  24260. type: integer
  24261. - description: 预售市场ID
  24262. in: query
  24263. name: marketid
  24264. type: integer
  24265. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  24266. in: query
  24267. name: presalemode
  24268. type: integer
  24269. - description: 预售商品ID列表 - 格式:1,2,3
  24270. in: query
  24271. name: goodsids
  24272. type: string
  24273. - description: 预售商品代码
  24274. in: query
  24275. name: goodscode
  24276. type: string
  24277. produces:
  24278. - application/json
  24279. responses:
  24280. "200":
  24281. description: OK
  24282. schema:
  24283. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  24284. "500":
  24285. description: Internal Server Error
  24286. schema:
  24287. $ref: '#/definitions/app.Response'
  24288. security:
  24289. - ApiKeyAuth: []
  24290. summary: 查询产能预售商品扩展信息
  24291. tags:
  24292. - 产能预售
  24293. /CPTrade/QueryUserGoodsData:
  24294. get:
  24295. parameters:
  24296. - description: 资金账户ID
  24297. in: query
  24298. name: accountid
  24299. required: true
  24300. type: integer
  24301. produces:
  24302. - application/json
  24303. responses:
  24304. "200":
  24305. description: OK
  24306. schema:
  24307. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  24308. "500":
  24309. description: Internal Server Error
  24310. schema:
  24311. $ref: '#/definitions/app.Response'
  24312. security:
  24313. - ApiKeyAuth: []
  24314. summary: 查询远期订单信息
  24315. tags:
  24316. - 产能预售
  24317. /Common/DeleteNewFuncmenu:
  24318. delete:
  24319. consumes:
  24320. - application/json
  24321. parameters:
  24322. - description: 菜单表数据,只需要resourcecode字段即可
  24323. in: body
  24324. name: data
  24325. required: true
  24326. schema:
  24327. $ref: '#/definitions/models.NewFuncmenulist'
  24328. produces:
  24329. - application/json
  24330. responses:
  24331. "200":
  24332. description: OK
  24333. schema:
  24334. $ref: '#/definitions/app.Response'
  24335. "500":
  24336. description: Internal Server Error
  24337. schema:
  24338. $ref: '#/definitions/app.Response'
  24339. security:
  24340. - ApiKeyAuth: []
  24341. summary: 删除菜单表数据
  24342. tags:
  24343. - 通用服务
  24344. /Common/FindNewFuncmenu:
  24345. get:
  24346. parameters:
  24347. - description: 资源代码
  24348. in: query
  24349. name: resourcecode
  24350. type: string
  24351. - description: 上级资源代码
  24352. in: query
  24353. name: parentcode
  24354. type: string
  24355. - description: 资源名(Title), 模糊查询
  24356. in: query
  24357. name: resourcename
  24358. type: string
  24359. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  24360. in: query
  24361. name: menutype
  24362. type: string
  24363. produces:
  24364. - application/json
  24365. responses:
  24366. "200":
  24367. description: OK
  24368. schema:
  24369. items:
  24370. $ref: '#/definitions/models.NewFuncmenulist'
  24371. type: array
  24372. "500":
  24373. description: Internal Server Error
  24374. schema:
  24375. $ref: '#/definitions/app.Response'
  24376. security:
  24377. - ApiKeyAuth: []
  24378. summary: 获取菜单表数据
  24379. tags:
  24380. - 通用服务
  24381. /Common/GetAllEnums:
  24382. get:
  24383. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  24384. parameters:
  24385. - description: 起始自增ID
  24386. in: query
  24387. name: autoid
  24388. type: integer
  24389. produces:
  24390. - application/json
  24391. responses:
  24392. "200":
  24393. description: OK
  24394. schema:
  24395. $ref: '#/definitions/models.Enumdicitem'
  24396. "500":
  24397. description: Internal Server Error
  24398. schema:
  24399. $ref: '#/definitions/app.Response'
  24400. summary: 获取所有枚举信息
  24401. tags:
  24402. - 通用服务
  24403. /Common/GetClientMenus:
  24404. get:
  24405. parameters:
  24406. - description: 登录账号
  24407. in: query
  24408. name: loginID
  24409. required: true
  24410. type: integer
  24411. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  24412. in: query
  24413. name: clientType
  24414. type: integer
  24415. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  24416. in: query
  24417. name: name
  24418. type: string
  24419. produces:
  24420. - application/json
  24421. responses:
  24422. "200":
  24423. description: OK
  24424. schema:
  24425. items:
  24426. $ref: '#/definitions/common.ClientMenu'
  24427. type: array
  24428. "500":
  24429. description: Internal Server Error
  24430. schema:
  24431. $ref: '#/definitions/app.Response'
  24432. security:
  24433. - ApiKeyAuth: []
  24434. summary: 获取交易端菜单
  24435. tags:
  24436. - 通用服务
  24437. /Common/GetClientNewFuncmenu:
  24438. get:
  24439. parameters:
  24440. - description: 登录账号
  24441. in: query
  24442. name: loginid
  24443. required: true
  24444. type: integer
  24445. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  24446. in: query
  24447. name: menutype
  24448. required: true
  24449. type: integer
  24450. produces:
  24451. - application/json
  24452. responses:
  24453. "200":
  24454. description: OK
  24455. schema:
  24456. items:
  24457. $ref: '#/definitions/models.NewFuncmenulist'
  24458. type: array
  24459. "500":
  24460. description: Internal Server Error
  24461. schema:
  24462. $ref: '#/definitions/app.Response'
  24463. security:
  24464. - ApiKeyAuth: []
  24465. summary: 获取终端菜单
  24466. tags:
  24467. - 通用服务
  24468. /Common/GetDivisions:
  24469. get:
  24470. produces:
  24471. - application/json
  24472. responses:
  24473. "200":
  24474. description: OK
  24475. schema:
  24476. $ref: '#/definitions/models.Division'
  24477. "500":
  24478. description: Internal Server Error
  24479. schema:
  24480. $ref: '#/definitions/app.Response'
  24481. summary: 查询区域信息
  24482. tags:
  24483. - 通用服务
  24484. /Common/GetPCWebMenus:
  24485. get:
  24486. parameters:
  24487. - description: 登录账号
  24488. in: query
  24489. name: loginID
  24490. required: true
  24491. type: integer
  24492. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  24493. in: query
  24494. name: name
  24495. type: string
  24496. produces:
  24497. - application/json
  24498. responses:
  24499. "200":
  24500. description: OK
  24501. schema:
  24502. items:
  24503. $ref: '#/definitions/common.PCWebMenu'
  24504. type: array
  24505. "500":
  24506. description: Internal Server Error
  24507. schema:
  24508. $ref: '#/definitions/app.Response'
  24509. security:
  24510. - ApiKeyAuth: []
  24511. summary: 获取PCWeb交易端菜单
  24512. tags:
  24513. - 通用服务
  24514. /Common/GetServerTime:
  24515. get:
  24516. produces:
  24517. - application/json
  24518. responses:
  24519. "200":
  24520. description: OK
  24521. schema:
  24522. $ref: '#/definitions/app.Response'
  24523. "500":
  24524. description: Internal Server Error
  24525. schema:
  24526. $ref: '#/definitions/app.Response'
  24527. summary: 获取服务器时间
  24528. tags:
  24529. - 通用服务
  24530. /Common/InsertNewFuncmenu:
  24531. post:
  24532. consumes:
  24533. - application/json
  24534. parameters:
  24535. - description: 菜单表数据
  24536. in: body
  24537. name: data
  24538. required: true
  24539. schema:
  24540. $ref: '#/definitions/models.NewFuncmenulist'
  24541. produces:
  24542. - application/json
  24543. responses:
  24544. "200":
  24545. description: OK
  24546. schema:
  24547. $ref: '#/definitions/app.Response'
  24548. "500":
  24549. description: Internal Server Error
  24550. schema:
  24551. $ref: '#/definitions/app.Response'
  24552. security:
  24553. - ApiKeyAuth: []
  24554. summary: 插入菜单表数据
  24555. tags:
  24556. - 通用服务
  24557. /Common/NoticeReaded:
  24558. post:
  24559. parameters:
  24560. - description: 登录账号
  24561. in: query
  24562. name: loginID
  24563. required: true
  24564. type: integer
  24565. - description: 通知公告ID
  24566. in: query
  24567. name: noticeID
  24568. required: true
  24569. type: integer
  24570. produces:
  24571. - application/json
  24572. responses:
  24573. "200":
  24574. description: OK
  24575. schema:
  24576. $ref: '#/definitions/app.Response'
  24577. "500":
  24578. description: Internal Server Error
  24579. schema:
  24580. $ref: '#/definitions/app.Response'
  24581. security:
  24582. - ApiKeyAuth: []
  24583. summary: 通知公告设置已读请求
  24584. tags:
  24585. - 通用服务
  24586. /Common/QueryErrorInfos:
  24587. get:
  24588. description: 如果传入rowNumber,则返回此rowNumber后的数据
  24589. parameters:
  24590. - description: 起始行号前索引
  24591. in: query
  24592. name: rowNumber
  24593. type: string
  24594. produces:
  24595. - application/json
  24596. responses:
  24597. "200":
  24598. description: OK
  24599. schema:
  24600. $ref: '#/definitions/models.QueryErrorInfosRsp'
  24601. "500":
  24602. description: Internal Server Error
  24603. schema:
  24604. $ref: '#/definitions/app.Response'
  24605. summary: 获取数据库错误信息
  24606. tags:
  24607. - 通用服务
  24608. /Common/QueryImageConfigs:
  24609. get:
  24610. parameters:
  24611. - description: 用户id
  24612. in: query
  24613. name: userId
  24614. type: integer
  24615. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  24616. in: query
  24617. name: imageType
  24618. type: integer
  24619. produces:
  24620. - application/json
  24621. responses:
  24622. "200":
  24623. description: OK
  24624. schema:
  24625. $ref: '#/definitions/common.QueryImageConfigsRsp'
  24626. "500":
  24627. description: Internal Server Error
  24628. schema:
  24629. $ref: '#/definitions/app.Response'
  24630. summary: 查询轮播图配置信息
  24631. tags:
  24632. - 通用服务
  24633. /Common/QueryNotice:
  24634. get:
  24635. parameters:
  24636. - description: 页码
  24637. in: query
  24638. name: page
  24639. type: integer
  24640. - description: 每页条数
  24641. in: query
  24642. name: pagesize
  24643. type: integer
  24644. - description: 分页标志 0-page从0开始 1-page从1开始
  24645. in: query
  24646. name: pageflag
  24647. type: integer
  24648. - description: 登录账号
  24649. in: query
  24650. name: loginID
  24651. required: true
  24652. type: integer
  24653. - description: 消息类型 - 1:公告通知 2:系统消息
  24654. in: query
  24655. name: msgType
  24656. type: integer
  24657. - description: 是否只获取未读信息
  24658. in: query
  24659. name: onlyUnRead
  24660. type: boolean
  24661. - description: 自增ID,传入后会返回这个ID后面的记录
  24662. in: query
  24663. name: lastID
  24664. type: integer
  24665. produces:
  24666. - application/json
  24667. responses:
  24668. "200":
  24669. description: OK
  24670. schema:
  24671. $ref: '#/definitions/common.QueryNoticeRsp'
  24672. "500":
  24673. description: Internal Server Error
  24674. schema:
  24675. $ref: '#/definitions/app.Response'
  24676. security:
  24677. - ApiKeyAuth: []
  24678. summary: 通知公告系统消息查询
  24679. tags:
  24680. - 通用服务
  24681. /Common/QueryProvincesAndCities:
  24682. get:
  24683. parameters:
  24684. - description: 省ID
  24685. in: query
  24686. name: provinceID
  24687. type: integer
  24688. produces:
  24689. - application/json
  24690. responses:
  24691. "200":
  24692. description: OK
  24693. schema:
  24694. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  24695. "500":
  24696. description: Internal Server Error
  24697. schema:
  24698. $ref: '#/definitions/app.Response'
  24699. summary: 查询省市信息(不包括区)
  24700. tags:
  24701. - 通用服务
  24702. /Common/QueryRates:
  24703. get:
  24704. parameters:
  24705. - description: 页码
  24706. in: query
  24707. name: page
  24708. type: integer
  24709. - description: 每页条数
  24710. in: query
  24711. name: pagesize
  24712. type: integer
  24713. - description: 源币种ID
  24714. in: query
  24715. name: oricurrencyid
  24716. type: integer
  24717. - description: 目标币种ID
  24718. in: query
  24719. name: descurrencyid
  24720. type: integer
  24721. produces:
  24722. - application/json
  24723. responses:
  24724. "200":
  24725. description: OK
  24726. schema:
  24727. items:
  24728. $ref: '#/definitions/models.Exchangerateconfig'
  24729. type: array
  24730. "500":
  24731. description: Internal Server Error
  24732. schema:
  24733. $ref: '#/definitions/app.Response'
  24734. security:
  24735. - ApiKeyAuth: []
  24736. - LoginID: []
  24737. - Group: []
  24738. summary: 查询汇率信息
  24739. tags:
  24740. - 通用服务
  24741. /Common/QueryTableDefine:
  24742. get:
  24743. parameters:
  24744. - description: 表key
  24745. in: query
  24746. name: tableKey
  24747. type: string
  24748. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  24749. in: query
  24750. name: tableType
  24751. type: integer
  24752. produces:
  24753. - application/json
  24754. responses:
  24755. "200":
  24756. description: OK
  24757. schema:
  24758. $ref: '#/definitions/common.QueryTableDefineRsp'
  24759. "500":
  24760. description: Internal Server Error
  24761. schema:
  24762. $ref: '#/definitions/app.Response'
  24763. summary: 查询交易端列表头信息
  24764. tags:
  24765. - 通用服务
  24766. /Common/QueryTraderMenu:
  24767. get:
  24768. parameters:
  24769. - description: 登录账号
  24770. in: query
  24771. name: loginid
  24772. required: true
  24773. type: integer
  24774. produces:
  24775. - application/json
  24776. responses:
  24777. "200":
  24778. description: OK
  24779. schema:
  24780. $ref: '#/definitions/common.QueryTraderMenuRsp'
  24781. "500":
  24782. description: Internal Server Error
  24783. schema:
  24784. $ref: '#/definitions/app.Response'
  24785. summary: 查询交易端菜单
  24786. tags:
  24787. - 通用服务
  24788. /Common/UpdateNewFuncmenu:
  24789. put:
  24790. consumes:
  24791. - application/json
  24792. parameters:
  24793. - description: 菜单表数据
  24794. in: body
  24795. name: data
  24796. required: true
  24797. schema:
  24798. $ref: '#/definitions/models.NewFuncmenulist'
  24799. produces:
  24800. - application/json
  24801. responses:
  24802. "200":
  24803. description: OK
  24804. schema:
  24805. $ref: '#/definitions/app.Response'
  24806. "500":
  24807. description: Internal Server Error
  24808. schema:
  24809. $ref: '#/definitions/app.Response'
  24810. security:
  24811. - ApiKeyAuth: []
  24812. summary: 更新菜单表数据
  24813. tags:
  24814. - 通用服务
  24815. /Delivery/QueryDeliveryRelation:
  24816. get:
  24817. parameters:
  24818. - description: 商品ID
  24819. in: query
  24820. name: goodsid
  24821. type: integer
  24822. - description: 品种ID
  24823. in: query
  24824. name: deliverygoodsid
  24825. type: integer
  24826. - description: 市场ID
  24827. in: query
  24828. name: marketid
  24829. type: integer
  24830. produces:
  24831. - application/json
  24832. responses:
  24833. "200":
  24834. description: OK
  24835. schema:
  24836. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  24837. "500":
  24838. description: Internal Server Error
  24839. schema:
  24840. $ref: '#/definitions/app.Response'
  24841. security:
  24842. - ApiKeyAuth: []
  24843. summary: 查询商品交割关系表
  24844. tags:
  24845. - 交割服务
  24846. /Ermcp/GetErmcpGoods:
  24847. get:
  24848. parameters:
  24849. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  24850. in: query
  24851. name: userid
  24852. type: integer
  24853. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24854. in: query
  24855. name: lastUpdateTime
  24856. type: string
  24857. produces:
  24858. - application/json
  24859. responses:
  24860. "200":
  24861. description: OK
  24862. schema:
  24863. $ref: '#/definitions/models.ErmcpGoods'
  24864. "500":
  24865. description: Internal Server Error
  24866. schema:
  24867. $ref: '#/definitions/app.Response'
  24868. security:
  24869. - ApiKeyAuth: []
  24870. summary: 查询企业风管期货商品信息
  24871. tags:
  24872. - 企业风险管理(app)
  24873. /Ermcp/GetErmcpGoodsSortByPosition:
  24874. get:
  24875. parameters:
  24876. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  24877. in: query
  24878. name: sortIndex
  24879. type: string
  24880. produces:
  24881. - application/json
  24882. responses:
  24883. "200":
  24884. description: OK
  24885. schema:
  24886. $ref: '#/definitions/models.Goodssortbypreposition'
  24887. "500":
  24888. description: Internal Server Error
  24889. schema:
  24890. $ref: '#/definitions/app.Response'
  24891. security:
  24892. - ApiKeyAuth: []
  24893. summary: 查询企业风管期货主力、次主力商品信息
  24894. tags:
  24895. - 企业风险管理(app)
  24896. /Ermcp/GetErmcpOutAccountStatus:
  24897. get:
  24898. parameters:
  24899. - description: 登录账号
  24900. in: query
  24901. name: loginID
  24902. required: true
  24903. type: integer
  24904. produces:
  24905. - application/json
  24906. responses:
  24907. "200":
  24908. description: OK
  24909. schema:
  24910. $ref: '#/definitions/models.Hedgemarketopenlog'
  24911. "500":
  24912. description: Internal Server Error
  24913. schema:
  24914. $ref: '#/definitions/app.Response'
  24915. security:
  24916. - ApiKeyAuth: []
  24917. summary: 获取目标登录账号当前对冲账号在线状态
  24918. tags:
  24919. - 企业风险管理(app)
  24920. /Ermcp/GetErmcpRoleFuncMenuLists:
  24921. get:
  24922. parameters:
  24923. - description: 登录账号
  24924. in: query
  24925. name: loginID
  24926. required: true
  24927. type: integer
  24928. produces:
  24929. - application/json
  24930. responses:
  24931. "200":
  24932. description: OK
  24933. schema:
  24934. $ref: '#/definitions/models.Funcmenulist'
  24935. "500":
  24936. description: Internal Server Error
  24937. schema:
  24938. $ref: '#/definitions/app.Response'
  24939. security:
  24940. - ApiKeyAuth: []
  24941. summary: 获取企业风管终端权限
  24942. tags:
  24943. - 企业风险管理(app)
  24944. /Ermcp/QueryAccMgrBizGroupSet:
  24945. get:
  24946. parameters:
  24947. - description: 用户ID
  24948. in: query
  24949. name: userid
  24950. required: true
  24951. type: integer
  24952. - description: 现货商品id
  24953. in: query
  24954. name: deliverygoodsid
  24955. type: integer
  24956. produces:
  24957. - application/json
  24958. responses:
  24959. "200":
  24960. description: OK
  24961. schema:
  24962. items:
  24963. $ref: '#/definitions/models.ErmcpBizGroupEx'
  24964. type: array
  24965. "500":
  24966. description: Internal Server Error
  24967. schema:
  24968. $ref: '#/definitions/app.Response'
  24969. security:
  24970. - ApiKeyAuth: []
  24971. summary: 查询业务类型分组(账户管理/账户设置)
  24972. tags:
  24973. - 企业风险管理(app)
  24974. /Ermcp/QueryAccMgrLoginUser:
  24975. get:
  24976. parameters:
  24977. - description: 用户ID
  24978. in: query
  24979. name: userid
  24980. required: true
  24981. type: integer
  24982. - description: 用户类型 2-机构 7-企业成员
  24983. in: query
  24984. name: usertype
  24985. type: integer
  24986. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  24987. in: query
  24988. name: querytype
  24989. required: true
  24990. type: integer
  24991. produces:
  24992. - application/json
  24993. responses:
  24994. "200":
  24995. description: OK
  24996. schema:
  24997. items:
  24998. $ref: '#/definitions/models.ErmcpLoginUserEx'
  24999. type: array
  25000. "500":
  25001. description: Internal Server Error
  25002. schema:
  25003. $ref: '#/definitions/app.Response'
  25004. security:
  25005. - ApiKeyAuth: []
  25006. summary: 查询账户管理登录账号(账户管理/登录账号)
  25007. tags:
  25008. - 企业风险管理(app)
  25009. /Ermcp/QueryAccMgrMainAccountInfo:
  25010. get:
  25011. parameters:
  25012. - description: 用户ID
  25013. in: query
  25014. name: userid
  25015. type: integer
  25016. - description: 主账号id
  25017. in: query
  25018. name: accountid
  25019. type: integer
  25020. produces:
  25021. - application/json
  25022. responses:
  25023. "200":
  25024. description: OK
  25025. schema:
  25026. items:
  25027. $ref: '#/definitions/models.MainAccountInfo'
  25028. type: array
  25029. "500":
  25030. description: Internal Server Error
  25031. schema:
  25032. $ref: '#/definitions/app.Response'
  25033. security:
  25034. - ApiKeyAuth: []
  25035. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  25036. tags:
  25037. - 企业风险管理(app)
  25038. /Ermcp/QueryAccMgrRole:
  25039. get:
  25040. parameters:
  25041. - description: 用户ID
  25042. in: query
  25043. name: userid
  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/models.ErmcpRole'
  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/QueryAccMgrRoleMenu:
  25065. get:
  25066. parameters:
  25067. - description: 用户ID
  25068. in: query
  25069. name: userid
  25070. required: true
  25071. type: integer
  25072. - description: 角色id(可多个,逗号隔开)
  25073. in: query
  25074. name: roleid
  25075. type: string
  25076. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  25077. in: query
  25078. name: menutype
  25079. type: integer
  25080. produces:
  25081. - application/json
  25082. responses:
  25083. "200":
  25084. description: OK
  25085. schema:
  25086. items:
  25087. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  25088. type: array
  25089. "500":
  25090. description: Internal Server Error
  25091. schema:
  25092. $ref: '#/definitions/app.Response'
  25093. security:
  25094. - ApiKeyAuth: []
  25095. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  25096. tags:
  25097. - 企业风险管理(app)
  25098. /Ermcp/QueryAccMgrTaAccountInfo:
  25099. get:
  25100. parameters:
  25101. - description: 用户ID
  25102. in: query
  25103. name: userid
  25104. required: true
  25105. type: integer
  25106. - description: 账号id
  25107. in: query
  25108. name: accountid
  25109. type: integer
  25110. produces:
  25111. - application/json
  25112. responses:
  25113. "200":
  25114. description: OK
  25115. schema:
  25116. items:
  25117. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  25118. type: array
  25119. "500":
  25120. description: Internal Server Error
  25121. schema:
  25122. $ref: '#/definitions/app.Response'
  25123. security:
  25124. - ApiKeyAuth: []
  25125. summary: 查询账户管理授信(账户管理/账户设置/授信)
  25126. tags:
  25127. - 企业风险管理(app)
  25128. /Ermcp/QueryAccMgrTaaccount:
  25129. get:
  25130. parameters:
  25131. - description: 用户ID
  25132. in: query
  25133. name: userid
  25134. required: true
  25135. type: integer
  25136. produces:
  25137. - application/json
  25138. responses:
  25139. "200":
  25140. description: OK
  25141. schema:
  25142. items:
  25143. $ref: '#/definitions/models.ErmcpTaAccountEx'
  25144. type: array
  25145. "500":
  25146. description: Internal Server Error
  25147. schema:
  25148. $ref: '#/definitions/app.Response'
  25149. security:
  25150. - ApiKeyAuth: []
  25151. summary: 查询账户管理期货账号(账户管理/期货账号)
  25152. tags:
  25153. - 企业风险管理(app)
  25154. /Ermcp/QueryAvaildGoodsGroup:
  25155. get:
  25156. parameters:
  25157. - description: 所属机构ID
  25158. in: query
  25159. name: userid
  25160. required: true
  25161. type: integer
  25162. produces:
  25163. - application/json
  25164. responses:
  25165. "200":
  25166. description: OK
  25167. schema:
  25168. items:
  25169. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  25170. type: array
  25171. "500":
  25172. description: Internal Server Error
  25173. schema:
  25174. $ref: '#/definitions/app.Response'
  25175. security:
  25176. - ApiKeyAuth: []
  25177. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  25178. tags:
  25179. - 企业风险管理(app)
  25180. /Ermcp/QueryBusinessDj:
  25181. get:
  25182. parameters:
  25183. - description: 用户ID
  25184. in: query
  25185. name: UserId
  25186. required: true
  25187. type: integer
  25188. - description: 用户类型 2-机构 7-企业成员
  25189. in: query
  25190. name: usertype
  25191. type: integer
  25192. - description: 现货合同ID, 不填则查所有
  25193. in: query
  25194. name: relatedid
  25195. type: string
  25196. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25197. in: query
  25198. name: applystatus
  25199. type: string
  25200. produces:
  25201. - application/json
  25202. responses:
  25203. "200":
  25204. description: OK
  25205. schema:
  25206. items:
  25207. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  25208. type: array
  25209. "500":
  25210. description: Internal Server Error
  25211. schema:
  25212. $ref: '#/definitions/app.Response'
  25213. security:
  25214. - ApiKeyAuth: []
  25215. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  25216. tags:
  25217. - 企业风险管理(app)
  25218. /Ermcp/QueryBusinessFp:
  25219. get:
  25220. parameters:
  25221. - description: 用户ID
  25222. in: query
  25223. name: UserId
  25224. required: true
  25225. type: integer
  25226. - description: 用户类型 2-机构 7-企业成员
  25227. in: query
  25228. name: usertype
  25229. type: integer
  25230. - description: 现货合同ID, 不填则查所有
  25231. in: query
  25232. name: relatedid
  25233. type: string
  25234. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25235. in: query
  25236. name: applystatus
  25237. type: string
  25238. produces:
  25239. - application/json
  25240. responses:
  25241. "200":
  25242. description: OK
  25243. schema:
  25244. items:
  25245. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  25246. type: array
  25247. "500":
  25248. description: Internal Server Error
  25249. schema:
  25250. $ref: '#/definitions/app.Response'
  25251. security:
  25252. - ApiKeyAuth: []
  25253. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  25254. tags:
  25255. - 企业风险管理(app)
  25256. /Ermcp/QueryBusinessJs:
  25257. get:
  25258. parameters:
  25259. - description: 用户ID
  25260. in: query
  25261. name: UserId
  25262. required: true
  25263. type: integer
  25264. - description: 用户类型 2-机构 7-企业成员
  25265. in: query
  25266. name: usertype
  25267. type: integer
  25268. - description: 现货合同ID, 不填则查所有
  25269. in: query
  25270. name: relatedid
  25271. type: string
  25272. - description: 操作申请id
  25273. in: query
  25274. name: operateapplyid
  25275. type: string
  25276. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25277. in: query
  25278. name: applystatus
  25279. type: string
  25280. produces:
  25281. - application/json
  25282. responses:
  25283. "200":
  25284. description: OK
  25285. schema:
  25286. items:
  25287. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  25288. type: array
  25289. "500":
  25290. description: Internal Server Error
  25291. schema:
  25292. $ref: '#/definitions/app.Response'
  25293. security:
  25294. - ApiKeyAuth: []
  25295. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  25296. tags:
  25297. - 企业风险管理(app)
  25298. /Ermcp/QueryBusinessJsEx:
  25299. get:
  25300. parameters:
  25301. - description: 用户ID
  25302. in: query
  25303. name: UserId
  25304. required: true
  25305. type: integer
  25306. - description: 用户类型 2-机构 7-企业成员
  25307. in: query
  25308. name: usertype
  25309. type: integer
  25310. - description: 现货合同ID, 不填则查所有
  25311. in: query
  25312. name: relatedid
  25313. type: string
  25314. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25315. in: query
  25316. name: applystatus
  25317. type: string
  25318. produces:
  25319. - application/json
  25320. responses:
  25321. "200":
  25322. description: OK
  25323. schema:
  25324. items:
  25325. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  25326. type: array
  25327. "500":
  25328. description: Internal Server Error
  25329. schema:
  25330. $ref: '#/definitions/app.Response'
  25331. security:
  25332. - ApiKeyAuth: []
  25333. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  25334. tags:
  25335. - 企业风险管理(app)
  25336. /Ermcp/QueryBusinessKx:
  25337. get:
  25338. parameters:
  25339. - description: 用户ID
  25340. in: query
  25341. name: UserId
  25342. required: true
  25343. type: integer
  25344. - description: 用户类型 2-机构 7-企业成员
  25345. in: query
  25346. name: usertype
  25347. type: integer
  25348. - description: 现货合同ID, 不填则查所有
  25349. in: query
  25350. name: relatedid
  25351. type: string
  25352. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25353. in: query
  25354. name: applystatus
  25355. type: string
  25356. produces:
  25357. - application/json
  25358. responses:
  25359. "200":
  25360. description: OK
  25361. schema:
  25362. items:
  25363. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  25364. type: array
  25365. "500":
  25366. description: Internal Server Error
  25367. schema:
  25368. $ref: '#/definitions/app.Response'
  25369. security:
  25370. - ApiKeyAuth: []
  25371. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  25372. tags:
  25373. - 企业风险管理(app)
  25374. /Ermcp/QueryChangeLog:
  25375. get:
  25376. parameters:
  25377. - description: 合同ID
  25378. in: query
  25379. name: RelatedId
  25380. required: true
  25381. type: string
  25382. produces:
  25383. - application/json
  25384. responses:
  25385. "200":
  25386. description: OK
  25387. schema:
  25388. items:
  25389. $ref: '#/definitions/ermcp.QryOPLogRsp'
  25390. type: array
  25391. "500":
  25392. description: Internal Server Error
  25393. schema:
  25394. $ref: '#/definitions/app.Response'
  25395. security:
  25396. - ApiKeyAuth: []
  25397. summary: 查询变更记录
  25398. tags:
  25399. - 企业风险管理(app)
  25400. /Ermcp/QueryErmcpHisOrderDetails:
  25401. get:
  25402. parameters:
  25403. - description: 资金账户ID
  25404. in: query
  25405. name: accountID
  25406. required: true
  25407. type: integer
  25408. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25409. in: query
  25410. name: startDate
  25411. type: string
  25412. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25413. in: query
  25414. name: endDate
  25415. type: string
  25416. produces:
  25417. - application/json
  25418. responses:
  25419. "200":
  25420. description: OK
  25421. schema:
  25422. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  25423. "500":
  25424. description: Internal Server Error
  25425. schema:
  25426. $ref: '#/definitions/app.Response'
  25427. security:
  25428. - ApiKeyAuth: []
  25429. summary: 获取企业风管期货历史委托单信息
  25430. tags:
  25431. - 企业风险管理(app)
  25432. /Ermcp/QueryErmcpHisTradeDetails:
  25433. get:
  25434. parameters:
  25435. - description: 资金账户ID
  25436. in: query
  25437. name: accountID
  25438. required: true
  25439. type: integer
  25440. - description: 商品ID
  25441. in: query
  25442. name: goodsID
  25443. type: integer
  25444. - description: 买卖方向,0:买 1:卖
  25445. in: query
  25446. name: buyOrSell
  25447. type: integer
  25448. - description: 关联委托单号
  25449. in: query
  25450. name: orderID
  25451. type: integer
  25452. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25453. in: query
  25454. name: startDate
  25455. type: string
  25456. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25457. in: query
  25458. name: endDate
  25459. type: string
  25460. produces:
  25461. - application/json
  25462. responses:
  25463. "200":
  25464. description: OK
  25465. schema:
  25466. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  25467. "500":
  25468. description: Internal Server Error
  25469. schema:
  25470. $ref: '#/definitions/app.Response'
  25471. security:
  25472. - ApiKeyAuth: []
  25473. summary: 获取企业风管期货历史成交单信息
  25474. tags:
  25475. - 企业风险管理(app)
  25476. /Ermcp/QueryErmcpInnerHolderDetails:
  25477. get:
  25478. parameters:
  25479. - description: 资金账户ID
  25480. in: query
  25481. name: accountID
  25482. required: true
  25483. type: integer
  25484. - description: 商品ID
  25485. in: query
  25486. name: goodsID
  25487. type: integer
  25488. - description: 买卖方向,0:买 1:卖
  25489. in: query
  25490. name: buyOrSell
  25491. type: integer
  25492. produces:
  25493. - application/json
  25494. responses:
  25495. "200":
  25496. description: OK
  25497. schema:
  25498. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  25499. "500":
  25500. description: Internal Server Error
  25501. schema:
  25502. $ref: '#/definitions/app.Response'
  25503. security:
  25504. - ApiKeyAuth: []
  25505. summary: 获取企业风管期货内部持仓单信息
  25506. tags:
  25507. - 企业风险管理(app)
  25508. /Ermcp/QueryErmcpOrderDetails:
  25509. get:
  25510. parameters:
  25511. - description: 资金账户ID
  25512. in: query
  25513. name: accountID
  25514. required: true
  25515. type: integer
  25516. produces:
  25517. - application/json
  25518. responses:
  25519. "200":
  25520. description: OK
  25521. schema:
  25522. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  25523. "500":
  25524. description: Internal Server Error
  25525. schema:
  25526. $ref: '#/definitions/app.Response'
  25527. security:
  25528. - ApiKeyAuth: []
  25529. summary: 获取企业风管期货委托单信息
  25530. tags:
  25531. - 企业风险管理(app)
  25532. /Ermcp/QueryErmcpTradeDetails:
  25533. get:
  25534. parameters:
  25535. - description: 资金账户ID
  25536. in: query
  25537. name: accountID
  25538. required: true
  25539. type: integer
  25540. - description: 商品ID
  25541. in: query
  25542. name: goodsID
  25543. type: integer
  25544. - description: 买卖方向,0:买 1:卖
  25545. in: query
  25546. name: buyOrSell
  25547. type: integer
  25548. - description: 关联委托单号
  25549. in: query
  25550. name: orderID
  25551. type: integer
  25552. produces:
  25553. - application/json
  25554. responses:
  25555. "200":
  25556. description: OK
  25557. schema:
  25558. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  25559. "500":
  25560. description: Internal Server Error
  25561. schema:
  25562. $ref: '#/definitions/app.Response'
  25563. security:
  25564. - ApiKeyAuth: []
  25565. summary: 获取企业风管期货成交单信息
  25566. tags:
  25567. - 企业风险管理(app)
  25568. /Ermcp/QueryErmcpTradePosition:
  25569. get:
  25570. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  25571. parameters:
  25572. - description: 资金账户ID
  25573. in: query
  25574. name: accountID
  25575. required: true
  25576. type: integer
  25577. - description: 所属市场ID
  25578. in: query
  25579. name: marketID
  25580. type: integer
  25581. produces:
  25582. - application/json
  25583. responses:
  25584. "200":
  25585. description: OK
  25586. schema:
  25587. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  25588. "500":
  25589. description: Internal Server Error
  25590. schema:
  25591. $ref: '#/definitions/app.Response'
  25592. security:
  25593. - ApiKeyAuth: []
  25594. summary: 获取企业风管期货持仓头寸信息
  25595. tags:
  25596. - 企业风险管理(app)
  25597. /Ermcp/QueryExposureDetail:
  25598. get:
  25599. parameters:
  25600. - description: 所属机构ID
  25601. in: query
  25602. name: areaUserId
  25603. required: true
  25604. type: integer
  25605. - description: 套保商品
  25606. in: query
  25607. name: middleGoodsId
  25608. required: true
  25609. type: integer
  25610. produces:
  25611. - application/json
  25612. responses:
  25613. "200":
  25614. description: OK
  25615. schema:
  25616. items:
  25617. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  25618. type: array
  25619. "500":
  25620. description: Internal Server Error
  25621. schema:
  25622. $ref: '#/definitions/app.Response'
  25623. security:
  25624. - ApiKeyAuth: []
  25625. summary: 查询敞口现货明细
  25626. tags:
  25627. - 企业风险管理(app)
  25628. /Ermcp/QueryExposureGoods:
  25629. get:
  25630. parameters:
  25631. - description: 套保商品id
  25632. in: query
  25633. name: middlegoodsid
  25634. required: true
  25635. type: integer
  25636. produces:
  25637. - application/json
  25638. responses:
  25639. "200":
  25640. description: OK
  25641. schema:
  25642. items:
  25643. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  25644. type: array
  25645. "500":
  25646. description: Internal Server Error
  25647. schema:
  25648. $ref: '#/definitions/app.Response'
  25649. security:
  25650. - ApiKeyAuth: []
  25651. summary: 查询敞口主力合约
  25652. tags:
  25653. - 企业风险管理(app)
  25654. /Ermcp/QueryExposureHedgePosition:
  25655. get:
  25656. parameters:
  25657. - description: 用户id
  25658. in: query
  25659. name: userid
  25660. required: true
  25661. type: integer
  25662. produces:
  25663. - application/json
  25664. responses:
  25665. "200":
  25666. description: OK
  25667. schema:
  25668. items:
  25669. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  25670. type: array
  25671. "500":
  25672. description: Internal Server Error
  25673. schema:
  25674. $ref: '#/definitions/app.Response'
  25675. security:
  25676. - ApiKeyAuth: []
  25677. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  25678. tags:
  25679. - 企业风险管理(app)
  25680. /Ermcp/QueryExposureHedgePositionDetail:
  25681. get:
  25682. parameters:
  25683. - description: 所属机构ID
  25684. in: query
  25685. name: userid
  25686. required: true
  25687. type: integer
  25688. - description: 商品id
  25689. in: query
  25690. name: goodsId
  25691. required: true
  25692. type: integer
  25693. produces:
  25694. - application/json
  25695. responses:
  25696. "200":
  25697. description: OK
  25698. schema:
  25699. items:
  25700. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  25701. type: array
  25702. "500":
  25703. description: Internal Server Error
  25704. schema:
  25705. $ref: '#/definitions/app.Response'
  25706. security:
  25707. - ApiKeyAuth: []
  25708. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  25709. tags:
  25710. - 企业风险管理(app)
  25711. /Ermcp/QueryExposureSpot:
  25712. get:
  25713. parameters:
  25714. - description: 所属机构ID
  25715. in: query
  25716. name: areaUserId
  25717. required: true
  25718. type: integer
  25719. produces:
  25720. - application/json
  25721. responses:
  25722. "200":
  25723. description: OK
  25724. schema:
  25725. items:
  25726. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  25727. type: array
  25728. "500":
  25729. description: Internal Server Error
  25730. schema:
  25731. $ref: '#/definitions/app.Response'
  25732. security:
  25733. - ApiKeyAuth: []
  25734. summary: 查询敞口现货头寸(敞口/现货头寸)
  25735. tags:
  25736. - 企业风险管理(app)
  25737. /Ermcp/QueryExposureSpotDetail:
  25738. get:
  25739. parameters:
  25740. - description: 所属机构ID
  25741. in: query
  25742. name: areaUserId
  25743. required: true
  25744. type: integer
  25745. - description: 现货品种ID
  25746. in: query
  25747. name: wrstandardId
  25748. required: true
  25749. type: integer
  25750. produces:
  25751. - application/json
  25752. responses:
  25753. "200":
  25754. description: OK
  25755. schema:
  25756. items:
  25757. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  25758. type: array
  25759. "500":
  25760. description: Internal Server Error
  25761. schema:
  25762. $ref: '#/definitions/app.Response'
  25763. security:
  25764. - ApiKeyAuth: []
  25765. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  25766. tags:
  25767. - 企业风险管理(app)
  25768. /Ermcp/QueryFuturesCompany:
  25769. get:
  25770. produces:
  25771. - application/json
  25772. responses:
  25773. "200":
  25774. description: OK
  25775. schema:
  25776. items:
  25777. $ref: '#/definitions/models.ErmcpFuturesCompany'
  25778. type: array
  25779. "500":
  25780. description: Internal Server Error
  25781. schema:
  25782. $ref: '#/definitions/app.Response'
  25783. security:
  25784. - ApiKeyAuth: []
  25785. summary: 查询期货公司
  25786. tags:
  25787. - 企业风险管理(app)
  25788. /Ermcp/QueryGGConvertConfig:
  25789. get:
  25790. parameters:
  25791. - description: 品种id(不填则查所有)
  25792. in: query
  25793. name: goodsgroupid
  25794. type: integer
  25795. produces:
  25796. - application/json
  25797. responses:
  25798. "200":
  25799. description: OK
  25800. schema:
  25801. items:
  25802. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  25803. type: array
  25804. "500":
  25805. description: Internal Server Error
  25806. schema:
  25807. $ref: '#/definitions/app.Response'
  25808. security:
  25809. - ApiKeyAuth: []
  25810. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  25811. tags:
  25812. - 企业风险管理(app)
  25813. /Ermcp/QueryGoodsBrand:
  25814. get:
  25815. parameters:
  25816. - description: 用户ID
  25817. in: query
  25818. name: userid
  25819. required: true
  25820. type: integer
  25821. - description: 现货商品ID
  25822. in: query
  25823. name: wrstandardid
  25824. type: integer
  25825. produces:
  25826. - application/json
  25827. responses:
  25828. "200":
  25829. description: OK
  25830. schema:
  25831. items:
  25832. $ref: '#/definitions/models.ErmcpGoodsBrand'
  25833. type: array
  25834. "500":
  25835. description: Internal Server Error
  25836. schema:
  25837. $ref: '#/definitions/app.Response'
  25838. security:
  25839. - ApiKeyAuth: []
  25840. summary: 查询商品品牌
  25841. tags:
  25842. - 企业风险管理(app)
  25843. /Ermcp/QueryGoodsModel:
  25844. get:
  25845. parameters:
  25846. - description: 用户ID
  25847. in: query
  25848. name: userid
  25849. required: true
  25850. type: integer
  25851. produces:
  25852. - application/json
  25853. responses:
  25854. "200":
  25855. description: OK
  25856. schema:
  25857. items:
  25858. $ref: '#/definitions/models.ErmcpGoodsModel'
  25859. type: array
  25860. "500":
  25861. description: Internal Server Error
  25862. schema:
  25863. $ref: '#/definitions/app.Response'
  25864. security:
  25865. - ApiKeyAuth: []
  25866. summary: 查询商品型号
  25867. tags:
  25868. - 企业风险管理(app)
  25869. /Ermcp/QueryHisExposure:
  25870. get:
  25871. parameters:
  25872. - description: 用户id
  25873. in: query
  25874. name: userid
  25875. required: true
  25876. type: integer
  25877. - description: 每个品种记录数
  25878. in: query
  25879. name: lastNum
  25880. required: true
  25881. type: integer
  25882. produces:
  25883. - application/json
  25884. responses:
  25885. "200":
  25886. description: OK
  25887. schema:
  25888. items:
  25889. $ref: '#/definitions/ermcp.HisExposureRsp'
  25890. type: array
  25891. "500":
  25892. description: Internal Server Error
  25893. schema:
  25894. $ref: '#/definitions/app.Response'
  25895. security:
  25896. - ApiKeyAuth: []
  25897. summary: 查询历史敞口(菜单:敞口/历史敞口)
  25898. tags:
  25899. - 企业风险管理(app)
  25900. /Ermcp/QueryMiddleGoods:
  25901. get:
  25902. parameters:
  25903. - description: 所属机构ID
  25904. in: query
  25905. name: userid
  25906. required: true
  25907. type: integer
  25908. - description: 状态 0-停用 1-正常
  25909. in: query
  25910. name: status
  25911. required: true
  25912. type: integer
  25913. produces:
  25914. - application/json
  25915. responses:
  25916. "200":
  25917. description: OK
  25918. schema:
  25919. items:
  25920. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  25921. type: array
  25922. "500":
  25923. description: Internal Server Error
  25924. schema:
  25925. $ref: '#/definitions/app.Response'
  25926. security:
  25927. - ApiKeyAuth: []
  25928. summary: 查询套保品种(菜单:套保品种)
  25929. tags:
  25930. - 企业风险管理(app)
  25931. /Ermcp/QueryMiddleGoodsChangeLog:
  25932. get:
  25933. parameters:
  25934. - description: 所属机构ID
  25935. in: query
  25936. name: userid
  25937. required: true
  25938. type: integer
  25939. - description: 套保品种id
  25940. in: query
  25941. name: middlegoodsid
  25942. required: true
  25943. type: integer
  25944. produces:
  25945. - application/json
  25946. responses:
  25947. "200":
  25948. description: OK
  25949. schema:
  25950. items:
  25951. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  25952. type: array
  25953. "500":
  25954. description: Internal Server Error
  25955. schema:
  25956. $ref: '#/definitions/app.Response'
  25957. security:
  25958. - ApiKeyAuth: []
  25959. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  25960. tags:
  25961. - 企业风险管理(app)
  25962. /Ermcp/QueryMiddleGoodsDetail:
  25963. get:
  25964. parameters:
  25965. - description: 所属机构ID
  25966. in: query
  25967. name: userid
  25968. required: true
  25969. type: integer
  25970. - description: 套保品种id
  25971. in: query
  25972. name: middlegoodsid
  25973. type: integer
  25974. produces:
  25975. - application/json
  25976. responses:
  25977. "200":
  25978. description: OK
  25979. schema:
  25980. items:
  25981. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  25982. type: array
  25983. "500":
  25984. description: Internal Server Error
  25985. schema:
  25986. $ref: '#/definitions/app.Response'
  25987. security:
  25988. - ApiKeyAuth: []
  25989. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  25990. tags:
  25991. - 企业风险管理(app)
  25992. /Ermcp/QueryPendingAuditInfo:
  25993. get:
  25994. parameters:
  25995. - description: 用户ID
  25996. in: query
  25997. name: UserId
  25998. required: true
  25999. type: integer
  26000. produces:
  26001. - application/json
  26002. responses:
  26003. "200":
  26004. description: OK
  26005. schema:
  26006. items:
  26007. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  26008. type: array
  26009. "500":
  26010. description: Internal Server Error
  26011. schema:
  26012. $ref: '#/definitions/app.Response'
  26013. security:
  26014. - ApiKeyAuth: []
  26015. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  26016. tags:
  26017. - 企业风险管理(app)
  26018. /Ermcp/QueryRealtimeExposure:
  26019. get:
  26020. parameters:
  26021. - description: 所属机构ID
  26022. in: query
  26023. name: userid
  26024. required: true
  26025. type: integer
  26026. produces:
  26027. - application/json
  26028. responses:
  26029. "200":
  26030. description: OK
  26031. schema:
  26032. items:
  26033. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  26034. type: array
  26035. "500":
  26036. description: Internal Server Error
  26037. schema:
  26038. $ref: '#/definitions/app.Response'
  26039. security:
  26040. - ApiKeyAuth: []
  26041. summary: 查询实时敞口
  26042. tags:
  26043. - 企业风险管理(app)
  26044. /Ermcp/QueryRealtimeExposurePosition:
  26045. get:
  26046. parameters:
  26047. - description: 用户id
  26048. in: query
  26049. name: userid
  26050. required: true
  26051. type: integer
  26052. - description: 套保商品ID
  26053. in: query
  26054. name: middleGoodsId
  26055. required: true
  26056. type: integer
  26057. produces:
  26058. - application/json
  26059. responses:
  26060. "200":
  26061. description: OK
  26062. schema:
  26063. items:
  26064. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  26065. type: array
  26066. "500":
  26067. description: Internal Server Error
  26068. schema:
  26069. $ref: '#/definitions/app.Response'
  26070. security:
  26071. - ApiKeyAuth: []
  26072. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  26073. tags:
  26074. - 企业风险管理(app)
  26075. /Ermcp/QueryRoleMenu:
  26076. get:
  26077. parameters:
  26078. - description: 登录ID
  26079. in: query
  26080. name: loginid
  26081. required: true
  26082. type: integer
  26083. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  26084. in: query
  26085. name: menutype
  26086. type: integer
  26087. produces:
  26088. - application/json
  26089. responses:
  26090. "200":
  26091. description: OK
  26092. schema:
  26093. items:
  26094. $ref: '#/definitions/models.RoleMenu'
  26095. type: array
  26096. "500":
  26097. description: Internal Server Error
  26098. schema:
  26099. $ref: '#/definitions/app.Response'
  26100. security:
  26101. - ApiKeyAuth: []
  26102. summary: 查询角色菜单和权限
  26103. tags:
  26104. - 企业风险管理(app)
  26105. /Ermcp/QueryTradeConfigTMP:
  26106. get:
  26107. parameters:
  26108. - description: 所属机构id
  26109. in: query
  26110. name: areauserid
  26111. type: integer
  26112. produces:
  26113. - application/json
  26114. responses:
  26115. "200":
  26116. description: OK
  26117. schema:
  26118. items:
  26119. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  26120. type: array
  26121. "500":
  26122. description: Internal Server Error
  26123. schema:
  26124. $ref: '#/definitions/app.Response'
  26125. security:
  26126. - ApiKeyAuth: []
  26127. summary: 查询交易模板配置
  26128. tags:
  26129. - 企业风险管理(app)
  26130. /Ermcp/QueryUserInfo:
  26131. get:
  26132. parameters:
  26133. - description: 所属机构用户ID
  26134. in: query
  26135. name: MemberUserID
  26136. required: true
  26137. type: integer
  26138. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  26139. in: query
  26140. name: queryType
  26141. required: true
  26142. type: integer
  26143. produces:
  26144. - application/json
  26145. responses:
  26146. "200":
  26147. description: OK
  26148. schema:
  26149. items:
  26150. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  26151. type: array
  26152. "500":
  26153. description: Internal Server Error
  26154. schema:
  26155. $ref: '#/definitions/app.Response'
  26156. security:
  26157. - ApiKeyAuth: []
  26158. summary: 查询客户资料
  26159. tags:
  26160. - 企业风险管理(app)
  26161. /Ermcp/QueryWarehouseInfo:
  26162. get:
  26163. parameters:
  26164. - description: 用户ID
  26165. in: query
  26166. name: userid
  26167. required: true
  26168. type: integer
  26169. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  26170. in: query
  26171. name: status
  26172. type: string
  26173. produces:
  26174. - application/json
  26175. responses:
  26176. "200":
  26177. description: OK
  26178. schema:
  26179. items:
  26180. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  26181. type: array
  26182. "500":
  26183. description: Internal Server Error
  26184. schema:
  26185. $ref: '#/definitions/app.Response'
  26186. security:
  26187. - ApiKeyAuth: []
  26188. summary: 查询仓库信息
  26189. tags:
  26190. - 企业风险管理(app)
  26191. /Ermcp3/QryAreaExpourseContractDetail:
  26192. get:
  26193. parameters:
  26194. - description: 用户ID
  26195. in: query
  26196. name: userid
  26197. required: true
  26198. type: integer
  26199. - description: 套保商品id
  26200. in: query
  26201. name: middlegoodsid
  26202. required: true
  26203. type: integer
  26204. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26205. in: query
  26206. name: cycletype
  26207. required: true
  26208. type: integer
  26209. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26210. 全(0)【原值】
  26211. in: query
  26212. name: cycletime
  26213. required: true
  26214. type: string
  26215. produces:
  26216. - application/json
  26217. responses:
  26218. "200":
  26219. description: OK
  26220. schema:
  26221. items:
  26222. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  26223. type: array
  26224. "500":
  26225. description: Internal Server Error
  26226. schema:
  26227. $ref: '#/definitions/app.Response'
  26228. security:
  26229. - ApiKeyAuth: []
  26230. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  26231. tags:
  26232. - 企业风险管理v3(app)
  26233. /Ermcp3/QryAreaExpourseFutuDetail:
  26234. get:
  26235. parameters:
  26236. - description: 用户ID
  26237. in: query
  26238. name: userid
  26239. required: true
  26240. type: integer
  26241. - description: 套保商品id
  26242. in: query
  26243. name: middlegoodsid
  26244. required: true
  26245. type: integer
  26246. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26247. in: query
  26248. name: cycletype
  26249. required: true
  26250. type: integer
  26251. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26252. 全(0)【原值】
  26253. in: query
  26254. name: cycletime
  26255. required: true
  26256. type: string
  26257. produces:
  26258. - application/json
  26259. responses:
  26260. "200":
  26261. description: OK
  26262. schema:
  26263. items:
  26264. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  26265. type: array
  26266. "500":
  26267. description: Internal Server Error
  26268. schema:
  26269. $ref: '#/definitions/app.Response'
  26270. security:
  26271. - ApiKeyAuth: []
  26272. summary: 查询敞口期货明细(敞口报表/期货明细)
  26273. tags:
  26274. - 企业风险管理v3(app)
  26275. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  26276. get:
  26277. parameters:
  26278. - description: 用户ID
  26279. in: query
  26280. name: userid
  26281. required: true
  26282. type: integer
  26283. - description: 套保商品id
  26284. in: query
  26285. name: middlegoodsid
  26286. required: true
  26287. type: integer
  26288. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26289. in: query
  26290. name: cycletype
  26291. required: true
  26292. type: integer
  26293. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26294. 全(0)【原值】
  26295. in: query
  26296. name: cycletime
  26297. required: true
  26298. type: string
  26299. produces:
  26300. - application/json
  26301. responses:
  26302. "200":
  26303. description: OK
  26304. schema:
  26305. items:
  26306. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  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/QryAreaExpourseParamChLogDetail:
  26318. get:
  26319. parameters:
  26320. - description: 用户ID
  26321. in: query
  26322. name: userid
  26323. required: true
  26324. type: integer
  26325. - description: 套保商品id
  26326. in: query
  26327. name: middlegoodsid
  26328. required: true
  26329. type: integer
  26330. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26331. in: query
  26332. name: cycletype
  26333. required: true
  26334. type: integer
  26335. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26336. 全(0)【原值】
  26337. in: query
  26338. name: cycletime
  26339. required: true
  26340. type: string
  26341. produces:
  26342. - application/json
  26343. responses:
  26344. "200":
  26345. description: OK
  26346. schema:
  26347. items:
  26348. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  26349. type: array
  26350. "500":
  26351. description: Internal Server Error
  26352. schema:
  26353. $ref: '#/definitions/app.Response'
  26354. security:
  26355. - ApiKeyAuth: []
  26356. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  26357. tags:
  26358. - 企业风险管理v3(app)
  26359. /Ermcp3/QryAreaExpourseReport:
  26360. get:
  26361. parameters:
  26362. - description: 用户ID
  26363. in: query
  26364. name: userid
  26365. required: true
  26366. type: integer
  26367. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  26368. in: query
  26369. name: querytype
  26370. required: true
  26371. type: integer
  26372. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26373. in: query
  26374. name: cycletype
  26375. required: true
  26376. type: integer
  26377. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26378. 全(0)【原值】
  26379. in: query
  26380. name: cycletime
  26381. required: true
  26382. type: string
  26383. produces:
  26384. - application/json
  26385. responses:
  26386. "200":
  26387. description: OK
  26388. schema:
  26389. items:
  26390. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  26391. type: array
  26392. "500":
  26393. description: Internal Server Error
  26394. schema:
  26395. $ref: '#/definitions/app.Response'
  26396. security:
  26397. - ApiKeyAuth: []
  26398. summary: 查询敞口报表
  26399. tags:
  26400. - 企业风险管理v3(app)
  26401. /Ermcp3/QryAreaSpotplReport:
  26402. get:
  26403. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  26404. parameters:
  26405. - description: 用户ID
  26406. in: query
  26407. name: userid
  26408. required: true
  26409. type: integer
  26410. - description: 查询类型 1-报表 2-报表明细
  26411. in: query
  26412. name: querytype
  26413. required: true
  26414. type: integer
  26415. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26416. in: query
  26417. name: cycletype
  26418. required: true
  26419. type: integer
  26420. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26421. 全(0)【原值】
  26422. in: query
  26423. name: cycletime
  26424. required: true
  26425. type: string
  26426. - description: 现货品种id(明细必填)
  26427. in: query
  26428. name: deliverygoodsid
  26429. type: integer
  26430. - description: 币种id(明细必填)
  26431. in: query
  26432. name: currencyid
  26433. type: integer
  26434. - description: 日/周/月报表汇总维度 1:品种+品类
  26435. in: query
  26436. name: sumflag
  26437. type: integer
  26438. produces:
  26439. - application/json
  26440. responses:
  26441. "200":
  26442. description: OK
  26443. schema:
  26444. items:
  26445. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  26446. type: array
  26447. "500":
  26448. description: Internal Server Error
  26449. schema:
  26450. $ref: '#/definitions/app.Response'
  26451. security:
  26452. - ApiKeyAuth: []
  26453. summary: 查询现货报表
  26454. tags:
  26455. - 企业风险管理v3(app)
  26456. /Ermcp3/QryAreaStockReport:
  26457. get:
  26458. parameters:
  26459. - description: 用户ID
  26460. in: query
  26461. name: userid
  26462. required: true
  26463. type: integer
  26464. - description: 查询类型 1-报表 2-报表明细
  26465. in: query
  26466. name: querytype
  26467. required: true
  26468. type: integer
  26469. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26470. in: query
  26471. name: cycletype
  26472. required: true
  26473. type: integer
  26474. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26475. 全(0)【原值】
  26476. in: query
  26477. name: cycletime
  26478. required: true
  26479. type: string
  26480. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  26481. in: query
  26482. name: sumfields
  26483. type: string
  26484. - description: 品种ID
  26485. in: query
  26486. name: deliverygoodsid
  26487. type: integer
  26488. - description: 品类ID
  26489. in: query
  26490. name: wrstandardid
  26491. type: integer
  26492. - description: 品牌ID
  26493. in: query
  26494. name: spotgoodsbrandid
  26495. type: integer
  26496. - description: 仓库ID
  26497. in: query
  26498. name: warehouseinfoid
  26499. type: integer
  26500. produces:
  26501. - application/json
  26502. responses:
  26503. "200":
  26504. description: OK
  26505. schema:
  26506. items:
  26507. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  26508. type: array
  26509. "500":
  26510. description: Internal Server Error
  26511. schema:
  26512. $ref: '#/definitions/app.Response'
  26513. security:
  26514. - ApiKeyAuth: []
  26515. summary: 查询库存报表
  26516. tags:
  26517. - 企业风险管理v3(app)
  26518. /Ermcp3/QryAreaSumPL:
  26519. get:
  26520. parameters:
  26521. - description: 用户ID
  26522. in: query
  26523. name: userid
  26524. required: true
  26525. type: integer
  26526. - description: 查询类型 1-报表 2-报表明细
  26527. in: query
  26528. name: querytype
  26529. required: true
  26530. type: integer
  26531. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26532. in: query
  26533. name: cycletype
  26534. required: true
  26535. type: integer
  26536. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26537. 全(0)【原值】
  26538. in: query
  26539. name: cycletime
  26540. required: true
  26541. type: string
  26542. - description: 币种id(明细必填)
  26543. in: query
  26544. name: currencyid
  26545. type: integer
  26546. - description: 套保品种ID, 查询类型为2时起效
  26547. in: query
  26548. name: middlegoodsid
  26549. type: integer
  26550. produces:
  26551. - application/json
  26552. responses:
  26553. "200":
  26554. description: OK
  26555. schema:
  26556. items:
  26557. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  26558. type: array
  26559. "500":
  26560. description: Internal Server Error
  26561. schema:
  26562. $ref: '#/definitions/app.Response'
  26563. security:
  26564. - ApiKeyAuth: []
  26565. summary: 查询汇总损益表
  26566. tags:
  26567. - 企业风险管理v3(app)
  26568. /Ermcp3/QryFinanceReport:
  26569. get:
  26570. parameters:
  26571. - description: 用户ID
  26572. in: query
  26573. name: userid
  26574. required: true
  26575. type: integer
  26576. - description: 查询类型 1-报表 2-报表明细
  26577. in: query
  26578. name: querytype
  26579. required: true
  26580. type: integer
  26581. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26582. in: query
  26583. name: cycletype
  26584. required: true
  26585. type: integer
  26586. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26587. 全(0)【原值】
  26588. in: query
  26589. name: cycletime
  26590. required: true
  26591. type: string
  26592. - description: 币种id(报表明细必填)
  26593. in: query
  26594. name: currencyid
  26595. type: integer
  26596. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  26597. in: query
  26598. name: sumfields
  26599. type: string
  26600. produces:
  26601. - application/json
  26602. responses:
  26603. "200":
  26604. description: OK
  26605. schema:
  26606. items:
  26607. $ref: '#/definitions/models.Ermcp3FinanceReport'
  26608. type: array
  26609. "500":
  26610. description: Internal Server Error
  26611. schema:
  26612. $ref: '#/definitions/app.Response'
  26613. security:
  26614. - ApiKeyAuth: []
  26615. summary: 查询财务报表
  26616. tags:
  26617. - 企业风险管理v3(app)
  26618. /Ermcp3/QrySCMiddleGoodsReport:
  26619. get:
  26620. parameters:
  26621. - description: 用户ID
  26622. in: query
  26623. name: userid
  26624. required: true
  26625. type: integer
  26626. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26627. in: query
  26628. name: cycletype
  26629. required: true
  26630. type: integer
  26631. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26632. 全(0)【原值】
  26633. in: query
  26634. name: cycletime
  26635. required: true
  26636. type: string
  26637. - description: 合同id
  26638. in: query
  26639. name: spotcontractid
  26640. type: integer
  26641. - description: 套保品种id
  26642. in: query
  26643. name: middlegoodsid
  26644. type: integer
  26645. - description: 现货品种id
  26646. in: query
  26647. name: deliverygoodsid
  26648. type: integer
  26649. - description: 现货商品id
  26650. in: query
  26651. name: wrstandardid
  26652. type: integer
  26653. - description: 合同编号(模糊匹配)
  26654. in: query
  26655. name: contractno
  26656. type: string
  26657. produces:
  26658. - application/json
  26659. responses:
  26660. "200":
  26661. description: OK
  26662. schema:
  26663. items:
  26664. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  26665. type: array
  26666. "500":
  26667. description: Internal Server Error
  26668. schema:
  26669. $ref: '#/definitions/app.Response'
  26670. security:
  26671. - ApiKeyAuth: []
  26672. summary: 查询定价报表
  26673. tags:
  26674. - 企业风险管理v3(app)
  26675. /Ermcp3/QryTaFutureDataReport:
  26676. get:
  26677. parameters:
  26678. - description: 用户ID
  26679. in: query
  26680. name: userid
  26681. required: true
  26682. type: integer
  26683. - description: 查询类型 1-报表 2-报表明细
  26684. in: query
  26685. name: querytype
  26686. required: true
  26687. type: integer
  26688. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26689. in: query
  26690. name: cycletype
  26691. required: true
  26692. type: integer
  26693. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26694. 全(0)【原值】
  26695. in: query
  26696. name: cycletime
  26697. required: true
  26698. type: string
  26699. - description: 币种id(查明细必填)
  26700. in: query
  26701. name: currencyid
  26702. type: integer
  26703. - description: 品种id(查明细必填)
  26704. in: query
  26705. name: goodsgroupid
  26706. type: integer
  26707. - description: 商品id(查明细必填)
  26708. in: query
  26709. name: goodsid
  26710. type: integer
  26711. - description: 买卖方向(查明细必填)
  26712. in: query
  26713. name: buyorsell
  26714. type: integer
  26715. produces:
  26716. - application/json
  26717. responses:
  26718. "200":
  26719. description: OK
  26720. schema:
  26721. items:
  26722. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  26723. type: array
  26724. "500":
  26725. description: Internal Server Error
  26726. schema:
  26727. $ref: '#/definitions/app.Response'
  26728. security:
  26729. - ApiKeyAuth: []
  26730. summary: 查询期货报表
  26731. tags:
  26732. - 企业风险管理v3(app)
  26733. /Ermcp3/QueryAreaStock:
  26734. get:
  26735. parameters:
  26736. - description: 用户ID
  26737. in: query
  26738. name: userid
  26739. required: true
  26740. type: integer
  26741. produces:
  26742. - application/json
  26743. responses:
  26744. "200":
  26745. description: OK
  26746. schema:
  26747. items:
  26748. $ref: '#/definitions/models.Ermcp3AreaStock'
  26749. type: array
  26750. "500":
  26751. description: Internal Server Error
  26752. schema:
  26753. $ref: '#/definitions/app.Response'
  26754. security:
  26755. - ApiKeyAuth: []
  26756. summary: 查询机构库存(库存管理/当前库存)
  26757. tags:
  26758. - 企业风险管理v3(app)
  26759. /Ermcp3/QueryAreaStockApply:
  26760. get:
  26761. parameters:
  26762. - description: 用户ID
  26763. in: query
  26764. name: userid
  26765. required: true
  26766. type: integer
  26767. - description: 用户类型 2-机构 7-企业成员
  26768. in: query
  26769. name: usertype
  26770. type: integer
  26771. - description: 现货商品ID
  26772. in: query
  26773. name: deliverygoodsid
  26774. type: integer
  26775. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  26776. in: query
  26777. name: inouttype
  26778. type: string
  26779. - description: 合同ID
  26780. in: query
  26781. name: spotcontractid
  26782. type: integer
  26783. - description: 品类ID
  26784. in: query
  26785. name: wrstandardid
  26786. type: integer
  26787. - description: 品牌ID
  26788. in: query
  26789. name: spotgoodsbrandid
  26790. type: integer
  26791. - description: 仓库ID
  26792. in: query
  26793. name: warehouseinfoid
  26794. type: integer
  26795. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26796. in: query
  26797. name: applystatus
  26798. type: string
  26799. produces:
  26800. - application/json
  26801. responses:
  26802. "200":
  26803. description: OK
  26804. schema:
  26805. items:
  26806. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  26807. type: array
  26808. "500":
  26809. description: Internal Server Error
  26810. schema:
  26811. $ref: '#/definitions/app.Response'
  26812. security:
  26813. - ApiKeyAuth: []
  26814. summary: 查询库存申请(出入库记录|库存审核)
  26815. tags:
  26816. - 企业风险管理v3(app)
  26817. /Ermcp3/QueryAreaStockApplySum:
  26818. get:
  26819. parameters:
  26820. - description: 合同ID
  26821. in: query
  26822. name: spotcontractid
  26823. required: true
  26824. type: integer
  26825. produces:
  26826. - application/json
  26827. responses:
  26828. "200":
  26829. description: OK
  26830. schema:
  26831. items:
  26832. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  26833. type: array
  26834. "500":
  26835. description: Internal Server Error
  26836. schema:
  26837. $ref: '#/definitions/app.Response'
  26838. security:
  26839. - ApiKeyAuth: []
  26840. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  26841. tags:
  26842. - 企业风险管理v3(app)
  26843. /Ermcp3/QueryDGFactoryItem:
  26844. get:
  26845. parameters:
  26846. - description: 用户id
  26847. in: query
  26848. name: userid
  26849. type: integer
  26850. - description: 用户类型 2-机构 7-企业成员
  26851. in: query
  26852. name: usertype
  26853. type: integer
  26854. - description: 选择项ID(SEQ_DGFACTORYITEM)
  26855. in: query
  26856. name: dgfactoryitemid
  26857. type: integer
  26858. - description: 现货品种ID
  26859. in: query
  26860. name: deliverygoodsid
  26861. type: integer
  26862. - description: 要素项类型
  26863. in: query
  26864. name: dgfactoryitemtypeid
  26865. type: integer
  26866. - description: 顺序
  26867. in: query
  26868. name: orderindex
  26869. type: integer
  26870. produces:
  26871. - application/json
  26872. responses:
  26873. "200":
  26874. description: OK
  26875. schema:
  26876. items:
  26877. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  26878. type: array
  26879. "500":
  26880. description: Internal Server Error
  26881. schema:
  26882. $ref: '#/definitions/app.Response'
  26883. security:
  26884. - ApiKeyAuth: []
  26885. summary: 查询品种要素定义项
  26886. tags:
  26887. - 企业风险管理v3(app)
  26888. /Ermcp3/QueryDeliveryGoods:
  26889. get:
  26890. parameters:
  26891. - description: 用户id
  26892. in: query
  26893. name: userid
  26894. required: true
  26895. type: integer
  26896. - description: 用户类型 2-机构 7-企业成员
  26897. in: query
  26898. name: usertype
  26899. type: integer
  26900. - description: 排除已配置的业务类型商品 1-套保 2-套利
  26901. in: query
  26902. name: excludecfg
  26903. type: integer
  26904. produces:
  26905. - application/json
  26906. responses:
  26907. "200":
  26908. description: OK
  26909. schema:
  26910. items:
  26911. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  26912. type: array
  26913. "500":
  26914. description: Internal Server Error
  26915. schema:
  26916. $ref: '#/definitions/app.Response'
  26917. security:
  26918. - ApiKeyAuth: []
  26919. summary: 查询现货商品
  26920. tags:
  26921. - 企业风险管理v3(app)
  26922. /Ermcp3/QueryDeliveryGoodsDetail:
  26923. get:
  26924. parameters:
  26925. - description: 用户id
  26926. in: query
  26927. name: userid
  26928. required: true
  26929. type: integer
  26930. - description: 用户类型 2-机构 7-企业成员
  26931. in: query
  26932. name: usertype
  26933. type: integer
  26934. - description: 现货商品id
  26935. in: query
  26936. name: deliverygoodsid
  26937. type: integer
  26938. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  26939. in: query
  26940. name: filtersubempty
  26941. type: integer
  26942. produces:
  26943. - application/json
  26944. responses:
  26945. "200":
  26946. description: OK
  26947. schema:
  26948. items:
  26949. $ref: '#/definitions/models.XHDeliveryGoods'
  26950. type: array
  26951. "500":
  26952. description: Internal Server Error
  26953. schema:
  26954. $ref: '#/definitions/app.Response'
  26955. security:
  26956. - ApiKeyAuth: []
  26957. summary: 查询现货商品详情
  26958. tags:
  26959. - 企业风险管理v3(app)
  26960. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  26961. get:
  26962. parameters:
  26963. - description: 合同id
  26964. in: query
  26965. name: spotcontractid
  26966. required: true
  26967. type: string
  26968. produces:
  26969. - application/json
  26970. responses:
  26971. "200":
  26972. description: OK
  26973. schema:
  26974. items:
  26975. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  26976. type: array
  26977. "500":
  26978. description: Internal Server Error
  26979. schema:
  26980. $ref: '#/definitions/app.Response'
  26981. security:
  26982. - ApiKeyAuth: []
  26983. summary: 查询现货合同期现配置信息
  26984. tags:
  26985. - 企业风险管理v3(app)
  26986. /Ermcp3/QueryExposureDetail:
  26987. get:
  26988. parameters:
  26989. - description: 用户id
  26990. in: query
  26991. name: userid
  26992. required: true
  26993. type: integer
  26994. - description: 用户类型 2-机构 7-企业成员
  26995. in: query
  26996. name: usertype
  26997. type: integer
  26998. - description: 套保商品
  26999. in: query
  27000. name: middlegoodsid
  27001. required: true
  27002. type: integer
  27003. produces:
  27004. - application/json
  27005. responses:
  27006. "200":
  27007. description: OK
  27008. schema:
  27009. items:
  27010. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  27011. type: array
  27012. "500":
  27013. description: Internal Server Error
  27014. schema:
  27015. $ref: '#/definitions/app.Response'
  27016. security:
  27017. - ApiKeyAuth: []
  27018. summary: 查询敞口现货明细
  27019. tags:
  27020. - 企业风险管理v3(app)
  27021. /Ermcp3/QueryExposureSpot:
  27022. get:
  27023. parameters:
  27024. - description: 用户id
  27025. in: query
  27026. name: userid
  27027. required: true
  27028. type: integer
  27029. - description: 用户类型 2-机构 7-企业成员
  27030. in: query
  27031. name: usertype
  27032. type: integer
  27033. produces:
  27034. - application/json
  27035. responses:
  27036. "200":
  27037. description: OK
  27038. schema:
  27039. items:
  27040. $ref: '#/definitions/models.Ermcp3AreaSpot'
  27041. type: array
  27042. "500":
  27043. description: Internal Server Error
  27044. schema:
  27045. $ref: '#/definitions/app.Response'
  27046. security:
  27047. - ApiKeyAuth: []
  27048. summary: 查询敞口现货头寸(敞口/现货头寸)
  27049. tags:
  27050. - 企业风险管理v3(app)
  27051. /Ermcp3/QueryExposureSpotDetail:
  27052. get:
  27053. parameters:
  27054. - description: 用户id
  27055. in: query
  27056. name: userid
  27057. required: true
  27058. type: integer
  27059. - description: 用户类型 2-机构 7-企业成员
  27060. in: query
  27061. name: usertype
  27062. type: integer
  27063. - description: 现货商品ID
  27064. in: query
  27065. name: wrstandardid
  27066. required: true
  27067. type: integer
  27068. produces:
  27069. - application/json
  27070. responses:
  27071. "200":
  27072. description: OK
  27073. schema:
  27074. items:
  27075. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  27076. type: array
  27077. "500":
  27078. description: Internal Server Error
  27079. schema:
  27080. $ref: '#/definitions/app.Response'
  27081. security:
  27082. - ApiKeyAuth: []
  27083. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  27084. tags:
  27085. - 企业风险管理v3(app)
  27086. /Ermcp3/QueryGoodsGroup:
  27087. get:
  27088. parameters:
  27089. - description: 用户id
  27090. in: query
  27091. name: userid
  27092. required: true
  27093. type: integer
  27094. - description: 用户类型 2-机构 7-企业成员
  27095. in: query
  27096. name: usertype
  27097. type: integer
  27098. - description: 排除套保品中已关联的商品组 1-排除
  27099. in: query
  27100. name: excludecfg
  27101. type: integer
  27102. produces:
  27103. - application/json
  27104. responses:
  27105. "200":
  27106. description: OK
  27107. schema:
  27108. items:
  27109. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  27110. type: array
  27111. "500":
  27112. description: Internal Server Error
  27113. schema:
  27114. $ref: '#/definitions/app.Response'
  27115. security:
  27116. - ApiKeyAuth: []
  27117. summary: 查询期货商品组
  27118. tags:
  27119. - 企业风险管理v3(app)
  27120. /Ermcp3/QueryGoodsWrstandard:
  27121. get:
  27122. parameters:
  27123. - description: 用户id
  27124. in: query
  27125. name: userid
  27126. required: true
  27127. type: integer
  27128. - description: 用户类型 2-机构 7-企业成员
  27129. in: query
  27130. name: usertype
  27131. type: integer
  27132. - description: 现货商品id
  27133. in: query
  27134. name: deliverygoodsid
  27135. type: integer
  27136. produces:
  27137. - application/json
  27138. responses:
  27139. "200":
  27140. description: OK
  27141. schema:
  27142. items:
  27143. $ref: '#/definitions/models.Ermcp3Wrstandard'
  27144. type: array
  27145. "500":
  27146. description: Internal Server Error
  27147. schema:
  27148. $ref: '#/definitions/app.Response'
  27149. security:
  27150. - ApiKeyAuth: []
  27151. summary: 查询商品品类
  27152. tags:
  27153. - 企业风险管理v3(app)
  27154. /Ermcp3/QueryGoodsbrand:
  27155. get:
  27156. parameters:
  27157. - description: 用户id
  27158. in: query
  27159. name: userid
  27160. required: true
  27161. type: integer
  27162. - description: 用户类型 2-机构 7-企业成员
  27163. in: query
  27164. name: usertype
  27165. type: integer
  27166. produces:
  27167. - application/json
  27168. responses:
  27169. "200":
  27170. description: OK
  27171. schema:
  27172. items:
  27173. $ref: '#/definitions/models.Ermcp3Brand'
  27174. type: array
  27175. "500":
  27176. description: Internal Server Error
  27177. schema:
  27178. $ref: '#/definitions/app.Response'
  27179. security:
  27180. - ApiKeyAuth: []
  27181. summary: 查询商品品牌
  27182. tags:
  27183. - 企业风险管理v3(app)
  27184. /Ermcp3/QueryHPMiddleGoods:
  27185. get:
  27186. parameters:
  27187. - description: 用户ID(填登录用户的userid)
  27188. in: query
  27189. name: userid
  27190. required: true
  27191. type: integer
  27192. - description: 买卖方向 0-买 1-卖
  27193. in: query
  27194. name: buyorsell
  27195. required: true
  27196. type: integer
  27197. - description: 商品组id
  27198. in: query
  27199. name: goodsgroupid
  27200. required: true
  27201. type: integer
  27202. - description: 套保计划编号(模糊匹配)
  27203. in: query
  27204. name: hedgeplanno
  27205. type: string
  27206. - description: 现货商品名称(模糊匹配)
  27207. in: query
  27208. name: wrstandardname
  27209. type: string
  27210. produces:
  27211. - application/json
  27212. responses:
  27213. "200":
  27214. description: OK
  27215. schema:
  27216. items:
  27217. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  27218. type: array
  27219. "500":
  27220. description: Internal Server Error
  27221. schema:
  27222. $ref: '#/definitions/app.Response'
  27223. security:
  27224. - ApiKeyAuth: []
  27225. summary: 查询可关联套保计划
  27226. tags:
  27227. - 企业风险管理v3(app)
  27228. /Ermcp3/QueryHedgePlan:
  27229. get:
  27230. parameters:
  27231. - description: 用户ID
  27232. in: query
  27233. name: userid
  27234. required: true
  27235. type: integer
  27236. - description: 用户类型 2-机构 7-企业成员
  27237. in: query
  27238. name: usertype
  27239. type: integer
  27240. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27241. in: query
  27242. name: hedgeplanstatus
  27243. required: true
  27244. type: string
  27245. produces:
  27246. - application/json
  27247. responses:
  27248. "200":
  27249. description: OK
  27250. schema:
  27251. items:
  27252. $ref: '#/definitions/models.Ermcp3HedgePlan'
  27253. type: array
  27254. "500":
  27255. description: Internal Server Error
  27256. schema:
  27257. $ref: '#/definitions/app.Response'
  27258. security:
  27259. - ApiKeyAuth: []
  27260. summary: 查询套保计划
  27261. tags:
  27262. - 企业风险管理v3(app)
  27263. /Ermcp3/QueryInnerTradeLink:
  27264. get:
  27265. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  27266. parameters:
  27267. - description: 外部成交单号
  27268. in: query
  27269. name: outtradeid
  27270. required: true
  27271. type: integer
  27272. produces:
  27273. - application/json
  27274. responses:
  27275. "200":
  27276. description: OK
  27277. schema:
  27278. items:
  27279. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  27280. type: array
  27281. "500":
  27282. description: Internal Server Error
  27283. schema:
  27284. $ref: '#/definitions/app.Response'
  27285. security:
  27286. - ApiKeyAuth: []
  27287. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  27288. tags:
  27289. - 企业风险管理v3(app)
  27290. /Ermcp3/QueryMiddleGoodsDetail:
  27291. get:
  27292. parameters:
  27293. - description: 用户id
  27294. in: query
  27295. name: userid
  27296. required: true
  27297. type: integer
  27298. - description: 用户类型 2-机构 7-企业成员
  27299. in: query
  27300. name: usertype
  27301. type: integer
  27302. - description: 套保品种id
  27303. in: query
  27304. name: middlegoodsid
  27305. type: integer
  27306. produces:
  27307. - application/json
  27308. responses:
  27309. "200":
  27310. description: OK
  27311. schema:
  27312. items:
  27313. $ref: '#/definitions/models.TBMiddleGoods'
  27314. type: array
  27315. "500":
  27316. description: Internal Server Error
  27317. schema:
  27318. $ref: '#/definitions/app.Response'
  27319. security:
  27320. - ApiKeyAuth: []
  27321. summary: 查询套保品种详情(套保品种/商品详情)
  27322. tags:
  27323. - 企业风险管理v3(app)
  27324. /Ermcp3/QueryOutTradeLink:
  27325. get:
  27326. description: 页面 app 现货->期现关联->外部成交单关联
  27327. parameters:
  27328. - description: 用户ID(填登录用户的userid)
  27329. in: query
  27330. name: userid
  27331. required: true
  27332. type: integer
  27333. - description: 外部订单号(模糊匹配)
  27334. in: query
  27335. name: outtradeid
  27336. type: string
  27337. - description: 合约名称/代码(模糊匹配)
  27338. in: query
  27339. name: goodsname
  27340. type: string
  27341. - description: 关联状态 0-未关联 1-已关联
  27342. in: query
  27343. name: hasinnerorder
  27344. type: integer
  27345. produces:
  27346. - application/json
  27347. responses:
  27348. "200":
  27349. description: OK
  27350. schema:
  27351. items:
  27352. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  27353. type: array
  27354. "500":
  27355. description: Internal Server Error
  27356. schema:
  27357. $ref: '#/definitions/app.Response'
  27358. security:
  27359. - ApiKeyAuth: []
  27360. summary: 查询外部成交单关联
  27361. tags:
  27362. - 企业风险管理v3(app)
  27363. /Ermcp3/QueryPaAreaAuditCfg:
  27364. get:
  27365. parameters:
  27366. - description: 用户id
  27367. in: query
  27368. name: userid
  27369. required: true
  27370. type: integer
  27371. produces:
  27372. - application/json
  27373. responses:
  27374. "200":
  27375. description: OK
  27376. schema:
  27377. items:
  27378. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  27379. type: array
  27380. "500":
  27381. description: Internal Server Error
  27382. schema:
  27383. $ref: '#/definitions/app.Response'
  27384. security:
  27385. - ApiKeyAuth: []
  27386. summary: 查询审核设置
  27387. tags:
  27388. - 企业风险管理v3(app)
  27389. /Ermcp3/QueryPaAreaSubject:
  27390. get:
  27391. parameters:
  27392. - description: 用户id
  27393. in: query
  27394. name: userid
  27395. required: true
  27396. type: integer
  27397. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  27398. in: query
  27399. name: subjectid
  27400. type: integer
  27401. - description: 主体类型 - 1:交易主体 2:业务部门
  27402. in: query
  27403. name: subjecttype
  27404. type: integer
  27405. - description: '主体状态 - 1:正常 2: 停用'
  27406. in: query
  27407. name: subjectstatus
  27408. type: integer
  27409. produces:
  27410. - application/json
  27411. responses:
  27412. "200":
  27413. description: OK
  27414. schema:
  27415. items:
  27416. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  27417. type: array
  27418. "500":
  27419. description: Internal Server Error
  27420. schema:
  27421. $ref: '#/definitions/app.Response'
  27422. security:
  27423. - ApiKeyAuth: []
  27424. summary: 查询交易主体
  27425. tags:
  27426. - 企业风险管理v3(app)
  27427. /Ermcp3/QueryPaTradeLink:
  27428. get:
  27429. description: 页面 app 现货->期现关联->期现单据关联
  27430. parameters:
  27431. - description: 用户ID
  27432. in: query
  27433. name: userid
  27434. required: true
  27435. type: integer
  27436. produces:
  27437. - application/json
  27438. responses:
  27439. "200":
  27440. description: OK
  27441. schema:
  27442. items:
  27443. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  27444. type: array
  27445. "500":
  27446. description: Internal Server Error
  27447. schema:
  27448. $ref: '#/definitions/app.Response'
  27449. security:
  27450. - ApiKeyAuth: []
  27451. summary: 查询期现单据关联
  27452. tags:
  27453. - 企业风险管理v3(app)
  27454. /Ermcp3/QueryPaTradeLinkDetail:
  27455. get:
  27456. description: 页面 app 现货->期现关联->关联记录
  27457. parameters:
  27458. - description: 用户ID(填登录用户的userid)
  27459. in: query
  27460. name: userid
  27461. required: true
  27462. type: integer
  27463. - description: 关联状态 1:成功 2:失败 3:解绑
  27464. in: query
  27465. name: linkstatus
  27466. type: integer
  27467. - description: 期货订单号(模糊匹配)
  27468. in: query
  27469. name: tradeid
  27470. type: string
  27471. - description: 现货编号(模糊匹配)
  27472. in: query
  27473. name: contractno
  27474. type: string
  27475. - description: 期货账户(模糊匹配)
  27476. in: query
  27477. name: taname
  27478. type: string
  27479. produces:
  27480. - application/json
  27481. responses:
  27482. "200":
  27483. description: OK
  27484. schema:
  27485. items:
  27486. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  27487. type: array
  27488. "500":
  27489. description: Internal Server Error
  27490. schema:
  27491. $ref: '#/definitions/app.Response'
  27492. security:
  27493. - ApiKeyAuth: []
  27494. summary: 查询期现关联记录
  27495. tags:
  27496. - 企业风险管理v3(app)
  27497. /Ermcp3/QueryParamChangeApp:
  27498. get:
  27499. description: |-
  27500. 原型页面:
  27501. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  27502. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  27503. parameters:
  27504. - description: 用户ID
  27505. in: query
  27506. name: userid
  27507. required: true
  27508. type: integer
  27509. - description: 现货品种id
  27510. in: query
  27511. name: deliverygoodsid
  27512. type: integer
  27513. - description: 现货商品id
  27514. in: query
  27515. name: wrstandardid
  27516. type: integer
  27517. - description: 套保商品id
  27518. in: query
  27519. name: middlegoodsid
  27520. type: integer
  27521. - description: 操作类型 1:新增 2:修改
  27522. in: query
  27523. name: operatetype
  27524. type: integer
  27525. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  27526. in: query
  27527. name: paramchangetype
  27528. type: integer
  27529. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27530. in: query
  27531. name: ftstatus
  27532. type: string
  27533. produces:
  27534. - application/json
  27535. responses:
  27536. "200":
  27537. description: OK
  27538. schema:
  27539. items:
  27540. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  27541. type: array
  27542. "500":
  27543. description: Internal Server Error
  27544. schema:
  27545. $ref: '#/definitions/app.Response'
  27546. security:
  27547. - ApiKeyAuth: []
  27548. summary: 查询现货商品参数变更申请(流水)
  27549. tags:
  27550. - 企业风险管理v3(app)
  27551. /Ermcp3/QueryRootUserAccount:
  27552. get:
  27553. parameters:
  27554. - description: 用户ID
  27555. in: query
  27556. name: userid
  27557. required: true
  27558. type: integer
  27559. produces:
  27560. - application/json
  27561. responses:
  27562. "200":
  27563. description: OK
  27564. schema:
  27565. items:
  27566. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  27567. type: array
  27568. "500":
  27569. description: Internal Server Error
  27570. schema:
  27571. $ref: '#/definitions/app.Response'
  27572. security:
  27573. - ApiKeyAuth: []
  27574. summary: 查询顶级用户信息
  27575. tags:
  27576. - 企业风险管理v3(app)
  27577. /Ermcp3/QuerySCMiddleGoods:
  27578. get:
  27579. description: |-
  27580. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  27581. 现货编号 即 合同编号
  27582. parameters:
  27583. - description: 用户ID(填登录用户的userid)
  27584. in: query
  27585. name: userid
  27586. required: true
  27587. type: integer
  27588. - description: 买卖方向 0-买 1-卖
  27589. in: query
  27590. name: buyorsell
  27591. required: true
  27592. type: integer
  27593. - description: 商品组id
  27594. in: query
  27595. name: goodsgroupid
  27596. required: true
  27597. type: integer
  27598. - description: 业务类型 1:套保 2:套利
  27599. in: query
  27600. name: biztype
  27601. type: integer
  27602. - description: 现货编号(模糊匹配)
  27603. in: query
  27604. name: contractno
  27605. type: string
  27606. - description: 对手方(模糊匹配)
  27607. in: query
  27608. name: customername
  27609. type: string
  27610. - description: 现货商品名称(模糊匹配)
  27611. in: query
  27612. name: wrstandardname
  27613. type: string
  27614. produces:
  27615. - application/json
  27616. responses:
  27617. "200":
  27618. description: OK
  27619. schema:
  27620. items:
  27621. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  27622. type: array
  27623. "500":
  27624. description: Internal Server Error
  27625. schema:
  27626. $ref: '#/definitions/app.Response'
  27627. security:
  27628. - ApiKeyAuth: []
  27629. summary: 查询现货订单
  27630. tags:
  27631. - 企业风险管理v3(app)
  27632. /Ermcp3/QuerySpotContract:
  27633. get:
  27634. parameters:
  27635. - description: 用户id(当指定contractid, userid可不填)
  27636. in: query
  27637. name: userid
  27638. required: true
  27639. type: integer
  27640. - description: 用户类型 2-机构 7-企业成员
  27641. in: query
  27642. name: usertype
  27643. type: integer
  27644. - description: 合同类型 1-采购, -1-销售
  27645. in: query
  27646. name: contracttype
  27647. type: integer
  27648. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  27649. in: query
  27650. name: querytype
  27651. type: string
  27652. - description: 合同ID(SpotContractId)
  27653. in: query
  27654. name: contractid
  27655. type: string
  27656. - description: 合同编号(模糊匹配)
  27657. in: query
  27658. name: contractno
  27659. type: string
  27660. - description: 商品名称(模糊匹配)
  27661. in: query
  27662. name: wrstandardname
  27663. type: string
  27664. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  27665. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27666. in: query
  27667. name: status
  27668. type: string
  27669. - description: 是否只查今日的合同 1-查今日合同
  27670. in: query
  27671. name: istoday
  27672. type: integer
  27673. produces:
  27674. - application/json
  27675. responses:
  27676. "200":
  27677. description: OK
  27678. schema:
  27679. items:
  27680. $ref: '#/definitions/models.Ermcp3Contract'
  27681. type: array
  27682. "500":
  27683. description: Internal Server Error
  27684. schema:
  27685. $ref: '#/definitions/app.Response'
  27686. security:
  27687. - ApiKeyAuth: []
  27688. summary: 查询现货合同
  27689. tags:
  27690. - 企业风险管理v3(app)
  27691. /Ermcp3/QuerySpotContractBS:
  27692. get:
  27693. parameters:
  27694. - description: 用户id
  27695. in: query
  27696. name: userid
  27697. required: true
  27698. type: integer
  27699. - description: 用户类型 2-机构 7-企业成员
  27700. in: query
  27701. name: usertype
  27702. type: integer
  27703. - description: 合同类型 1-采购, -1-销售
  27704. in: query
  27705. name: contracttype
  27706. required: true
  27707. type: integer
  27708. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  27709. in: query
  27710. name: querytype
  27711. type: integer
  27712. - description: 合同ID(SpotContractId)
  27713. in: query
  27714. name: contractid
  27715. type: string
  27716. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  27717. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27718. in: query
  27719. name: status
  27720. type: string
  27721. - description: 是否只查今日的合同 1-查今日合同
  27722. in: query
  27723. name: istoday
  27724. type: integer
  27725. produces:
  27726. - application/json
  27727. responses:
  27728. "200":
  27729. description: OK
  27730. schema:
  27731. items:
  27732. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  27733. type: array
  27734. "500":
  27735. description: Internal Server Error
  27736. schema:
  27737. $ref: '#/definitions/app.Response'
  27738. security:
  27739. - ApiKeyAuth: []
  27740. summary: 查询合同(采购/销售)
  27741. tags:
  27742. - 企业风险管理v3(app)
  27743. /Ermcp3/QuerySpotGoodsPrice:
  27744. get:
  27745. parameters:
  27746. - description: 用户ID
  27747. in: query
  27748. name: userid
  27749. required: true
  27750. type: integer
  27751. produces:
  27752. - application/json
  27753. responses:
  27754. "200":
  27755. description: OK
  27756. schema:
  27757. items:
  27758. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  27759. type: array
  27760. "500":
  27761. description: Internal Server Error
  27762. schema:
  27763. $ref: '#/definitions/app.Response'
  27764. security:
  27765. - ApiKeyAuth: []
  27766. summary: 查询现货市价(现货市价)
  27767. tags:
  27768. - 企业风险管理v3(app)
  27769. /Ermcp3/QuerySpotGoodsPriceLog:
  27770. get:
  27771. parameters:
  27772. - description: 用户ID
  27773. in: query
  27774. name: userid
  27775. required: true
  27776. type: integer
  27777. - description: 现货商品ID
  27778. in: query
  27779. name: deliverygoodsid
  27780. required: true
  27781. type: integer
  27782. - description: 品牌ID
  27783. in: query
  27784. name: brandid
  27785. type: integer
  27786. - description: 品类ID
  27787. in: query
  27788. name: wrstandardid
  27789. type: integer
  27790. produces:
  27791. - application/json
  27792. responses:
  27793. "200":
  27794. description: OK
  27795. schema:
  27796. items:
  27797. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  27798. type: array
  27799. "500":
  27800. description: Internal Server Error
  27801. schema:
  27802. $ref: '#/definitions/app.Response'
  27803. security:
  27804. - ApiKeyAuth: []
  27805. summary: 查询现货市价详情(现货市价/详情)
  27806. tags:
  27807. - 企业风险管理v3(app)
  27808. /Ermcp3/QuerySubTaaccount:
  27809. get:
  27810. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  27811. parameters:
  27812. - description: 母账号id
  27813. in: query
  27814. name: parentaccountid
  27815. type: integer
  27816. - description: 母账号代码
  27817. in: query
  27818. name: parentaccountcode
  27819. type: string
  27820. produces:
  27821. - application/json
  27822. responses:
  27823. "200":
  27824. description: OK
  27825. schema:
  27826. items:
  27827. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  27828. type: array
  27829. "500":
  27830. description: Internal Server Error
  27831. schema:
  27832. $ref: '#/definitions/app.Response'
  27833. security:
  27834. - ApiKeyAuth: []
  27835. summary: 查询期货子账户
  27836. tags:
  27837. - 企业风险管理v3(app)
  27838. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  27839. get:
  27840. parameters:
  27841. - description: 套期项目ID
  27842. in: query
  27843. name: hedgeditemid
  27844. required: true
  27845. type: integer
  27846. produces:
  27847. - application/json
  27848. responses:
  27849. "200":
  27850. description: OK
  27851. schema:
  27852. items:
  27853. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  27854. type: array
  27855. "500":
  27856. description: Internal Server Error
  27857. schema:
  27858. $ref: '#/definitions/app.Response'
  27859. security:
  27860. - ApiKeyAuth: []
  27861. summary: 现货成交明细查询
  27862. tags:
  27863. - 企业风险管理v8
  27864. /Ermcp8/QueryERMCP2HedgedItemspot:
  27865. get:
  27866. parameters:
  27867. - description: 套期项目ID
  27868. in: query
  27869. name: hedgeditemid
  27870. required: true
  27871. type: integer
  27872. produces:
  27873. - application/json
  27874. responses:
  27875. "200":
  27876. description: OK
  27877. schema:
  27878. items:
  27879. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  27880. type: array
  27881. "500":
  27882. description: Internal Server Error
  27883. schema:
  27884. $ref: '#/definitions/app.Response'
  27885. security:
  27886. - ApiKeyAuth: []
  27887. summary: 套期计划明细查询
  27888. tags:
  27889. - 企业风险管理v8
  27890. /Ermcp8/QueryERMCPJRLinkPos:
  27891. get:
  27892. parameters:
  27893. - description: 套期项目ID
  27894. in: query
  27895. name: hedgeditemid
  27896. required: true
  27897. type: integer
  27898. produces:
  27899. - application/json
  27900. responses:
  27901. "200":
  27902. description: OK
  27903. schema:
  27904. items:
  27905. $ref: '#/definitions/models.Ermcpjrlinkpos'
  27906. type: array
  27907. "500":
  27908. description: Internal Server Error
  27909. schema:
  27910. $ref: '#/definitions/app.Response'
  27911. security:
  27912. - ApiKeyAuth: []
  27913. summary: 期货持仓明细查询
  27914. tags:
  27915. - 企业风险管理v8
  27916. /Ermcp8/QueryERMCPPatradeLinkDetail:
  27917. get:
  27918. parameters:
  27919. - description: 套期项目ID
  27920. in: query
  27921. name: hedgeditemid
  27922. required: true
  27923. type: integer
  27924. produces:
  27925. - application/json
  27926. responses:
  27927. "200":
  27928. description: OK
  27929. schema:
  27930. items:
  27931. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  27932. type: array
  27933. "500":
  27934. description: Internal Server Error
  27935. schema:
  27936. $ref: '#/definitions/app.Response'
  27937. security:
  27938. - ApiKeyAuth: []
  27939. summary: 期货成交单明细查询
  27940. tags:
  27941. - 企业风险管理v8
  27942. /Ermcp8/QueryErmcp2AreaExposure:
  27943. get:
  27944. parameters:
  27945. - description: 用户ID
  27946. in: query
  27947. name: userid
  27948. required: true
  27949. type: string
  27950. produces:
  27951. - application/json
  27952. responses:
  27953. "200":
  27954. description: OK
  27955. schema:
  27956. items:
  27957. $ref: '#/definitions/models.Ermcp2AreaExposure'
  27958. type: array
  27959. "500":
  27960. description: Internal Server Error
  27961. schema:
  27962. $ref: '#/definitions/app.Response'
  27963. security:
  27964. - ApiKeyAuth: []
  27965. summary: 企业敞口查询
  27966. tags:
  27967. - 企业风险管理v8
  27968. /Ermcp8/QueryErmcp2HedgedItem:
  27969. get:
  27970. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  27971. parameters:
  27972. - description: 用户ID
  27973. in: query
  27974. name: userid
  27975. required: true
  27976. type: string
  27977. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  27978. in: query
  27979. name: hedgedtype
  27980. type: integer
  27981. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27982. in: query
  27983. name: hedgeditemstatus
  27984. type: integer
  27985. produces:
  27986. - application/json
  27987. responses:
  27988. "200":
  27989. description: OK
  27990. schema:
  27991. items:
  27992. $ref: '#/definitions/models.Ermcp2hedgeditem'
  27993. type: array
  27994. "500":
  27995. description: Internal Server Error
  27996. schema:
  27997. $ref: '#/definitions/app.Response'
  27998. security:
  27999. - ApiKeyAuth: []
  28000. summary: 查询被套期项目信息
  28001. tags:
  28002. - 企业风险管理v8
  28003. /Ermcp8/QueryErmcp2HedgedItemLink:
  28004. get:
  28005. parameters:
  28006. - description: 现货合同ID
  28007. in: query
  28008. name: spotcontractid
  28009. required: true
  28010. type: integer
  28011. produces:
  28012. - application/json
  28013. responses:
  28014. "200":
  28015. description: OK
  28016. schema:
  28017. items:
  28018. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  28019. type: array
  28020. "500":
  28021. description: Internal Server Error
  28022. schema:
  28023. $ref: '#/definitions/app.Response'
  28024. security:
  28025. - ApiKeyAuth: []
  28026. summary: 现货合同关联被套期项目查询
  28027. tags:
  28028. - 企业风险管理v8
  28029. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  28030. get:
  28031. parameters:
  28032. - description: 用户ID
  28033. in: query
  28034. name: userid
  28035. required: true
  28036. type: integer
  28037. - description: 套保品种ID
  28038. in: query
  28039. name: middlegoodsid
  28040. required: true
  28041. type: integer
  28042. produces:
  28043. - application/json
  28044. responses:
  28045. "200":
  28046. description: OK
  28047. schema:
  28048. items:
  28049. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  28050. type: array
  28051. "500":
  28052. description: Internal Server Error
  28053. schema:
  28054. $ref: '#/definitions/app.Response'
  28055. security:
  28056. - ApiKeyAuth: []
  28057. summary: 敞口明细 - 计划变动明细
  28058. tags:
  28059. - 企业风险管理v8
  28060. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  28061. get:
  28062. parameters:
  28063. - description: 用户ID
  28064. in: query
  28065. name: userid
  28066. required: true
  28067. type: integer
  28068. - description: 套保品种ID
  28069. in: query
  28070. name: middlegoodsid
  28071. required: true
  28072. type: integer
  28073. produces:
  28074. - application/json
  28075. responses:
  28076. "200":
  28077. description: OK
  28078. schema:
  28079. items:
  28080. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  28081. type: array
  28082. "500":
  28083. description: Internal Server Error
  28084. schema:
  28085. $ref: '#/definitions/app.Response'
  28086. security:
  28087. - ApiKeyAuth: []
  28088. summary: 敞口明细 - 现货变动明细查询
  28089. tags:
  28090. - 企业风险管理v8
  28091. /Ermcp8/QueryErmcp8EnableHedgeditem:
  28092. get:
  28093. parameters:
  28094. - description: 用户ID
  28095. in: query
  28096. name: userid
  28097. required: true
  28098. type: integer
  28099. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  28100. in: query
  28101. name: spottype
  28102. required: true
  28103. type: integer
  28104. - description: 现货商品ID
  28105. in: query
  28106. name: wrstandardid
  28107. type: integer
  28108. produces:
  28109. - application/json
  28110. responses:
  28111. "200":
  28112. description: OK
  28113. schema:
  28114. items:
  28115. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  28116. type: array
  28117. "500":
  28118. description: Internal Server Error
  28119. schema:
  28120. $ref: '#/definitions/app.Response'
  28121. security:
  28122. - ApiKeyAuth: []
  28123. summary: 可关联项目查询
  28124. tags:
  28125. - 企业风险管理v8
  28126. /Ermcp8/QueryErmcp8HedgeditemReport:
  28127. get:
  28128. parameters:
  28129. - description: 用户ID
  28130. in: query
  28131. name: userid
  28132. required: true
  28133. type: integer
  28134. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28135. in: query
  28136. name: cycletype
  28137. type: integer
  28138. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28139. 全(0)【原值】
  28140. in: query
  28141. name: cycletime
  28142. required: true
  28143. type: string
  28144. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  28145. in: query
  28146. name: hedgedtype
  28147. type: integer
  28148. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  28149. in: query
  28150. name: hedgeditemstatus
  28151. type: integer
  28152. - description: 项目编号,模糊查询
  28153. in: query
  28154. name: hedgeditemnum
  28155. type: string
  28156. - description: 现货商品ID
  28157. in: query
  28158. name: wrstandardid
  28159. type: integer
  28160. produces:
  28161. - application/json
  28162. responses:
  28163. "200":
  28164. description: OK
  28165. schema:
  28166. items:
  28167. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  28168. type: array
  28169. "500":
  28170. description: Internal Server Error
  28171. schema:
  28172. $ref: '#/definitions/app.Response'
  28173. security:
  28174. - ApiKeyAuth: []
  28175. summary: 套期项目报表查询
  28176. tags:
  28177. - 企业风险管理v8
  28178. /Ermcp8/QueryErmcp8RunningHedgeditem:
  28179. get:
  28180. parameters:
  28181. - description: 用户ID
  28182. in: query
  28183. name: userid
  28184. required: true
  28185. type: string
  28186. produces:
  28187. - application/json
  28188. responses:
  28189. "200":
  28190. description: OK
  28191. schema:
  28192. items:
  28193. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  28194. type: array
  28195. "500":
  28196. description: Internal Server Error
  28197. schema:
  28198. $ref: '#/definitions/app.Response'
  28199. security:
  28200. - ApiKeyAuth: []
  28201. summary: 查询执行中项目查询信息
  28202. tags:
  28203. - 企业风险管理v8
  28204. /Ermcp8/QueryInternalEnableTradeDetail:
  28205. get:
  28206. parameters:
  28207. - description: 企业ID
  28208. in: query
  28209. name: areauserid
  28210. required: true
  28211. type: integer
  28212. - description: 期货合约ID
  28213. in: query
  28214. name: goodsid
  28215. required: true
  28216. type: integer
  28217. - description: 交易用户ID
  28218. in: query
  28219. name: tradeuserid
  28220. required: true
  28221. type: integer
  28222. produces:
  28223. - application/json
  28224. responses:
  28225. "200":
  28226. description: OK
  28227. schema:
  28228. items:
  28229. $ref: '#/definitions/models.InternalEnableTradeDetail'
  28230. type: array
  28231. "500":
  28232. description: Internal Server Error
  28233. schema:
  28234. $ref: '#/definitions/app.Response'
  28235. security:
  28236. - ApiKeyAuth: []
  28237. summary: 内部成交单可关联项目查询
  28238. tags:
  28239. - 企业风险管理v8
  28240. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  28241. get:
  28242. parameters:
  28243. - description: 用户编号
  28244. in: query
  28245. name: userid
  28246. required: true
  28247. type: integer
  28248. - description: 起始日期(格式yyyymmdd)
  28249. in: query
  28250. name: begindate
  28251. type: string
  28252. - description: 终止日期(格式yyyymmdd)
  28253. in: query
  28254. name: enddate
  28255. type: string
  28256. - description: 合约代码
  28257. in: query
  28258. name: goodscode
  28259. type: string
  28260. - description: 合约名称
  28261. in: query
  28262. name: goodsname
  28263. type: string
  28264. - description: 成交单号
  28265. in: query
  28266. name: tradeid
  28267. type: integer
  28268. - description: 方向 - 0:买 1:卖
  28269. in: query
  28270. name: buyorsell
  28271. type: integer
  28272. - description: 套期主体
  28273. in: query
  28274. name: accountname
  28275. type: string
  28276. produces:
  28277. - application/json
  28278. responses:
  28279. "200":
  28280. description: OK
  28281. schema:
  28282. items:
  28283. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  28284. type: array
  28285. "500":
  28286. description: Internal Server Error
  28287. schema:
  28288. $ref: '#/definitions/app.Response'
  28289. security:
  28290. - ApiKeyAuth: []
  28291. summary: 内部未关联成交单查询
  28292. tags:
  28293. - 企业风险管理v8
  28294. /Ermcp8/QueryMarketCalendar:
  28295. get:
  28296. parameters:
  28297. - description: 市场ID
  28298. in: query
  28299. name: marketid
  28300. type: integer
  28301. produces:
  28302. - application/json
  28303. responses:
  28304. "200":
  28305. description: OK
  28306. schema:
  28307. items:
  28308. $ref: '#/definitions/models.Marketcalendar'
  28309. type: array
  28310. "500":
  28311. description: Internal Server Error
  28312. schema:
  28313. $ref: '#/definitions/app.Response'
  28314. security:
  28315. - ApiKeyAuth: []
  28316. summary: 市场节假日查询
  28317. tags:
  28318. - 企业风险管理v8
  28319. /Ermcp8/QueryPatradeLinkDetail:
  28320. get:
  28321. parameters:
  28322. - description: 用户ID
  28323. in: query
  28324. name: userid
  28325. required: true
  28326. type: integer
  28327. - description: 套保品种ID
  28328. in: query
  28329. name: middlegoodsid
  28330. required: true
  28331. type: integer
  28332. produces:
  28333. - application/json
  28334. responses:
  28335. "200":
  28336. description: OK
  28337. schema:
  28338. items:
  28339. $ref: '#/definitions/models.Patradelinkdetail'
  28340. type: array
  28341. "500":
  28342. description: Internal Server Error
  28343. schema:
  28344. $ref: '#/definitions/app.Response'
  28345. security:
  28346. - ApiKeyAuth: []
  28347. summary: 敞口明细 - 期货变动明细
  28348. tags:
  28349. - 企业风险管理v8
  28350. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  28351. get:
  28352. parameters:
  28353. - description: 企业ID
  28354. in: query
  28355. name: areauserid
  28356. required: true
  28357. type: integer
  28358. - description: 计划类型 - 1:采购 -1:销售
  28359. in: query
  28360. name: contracttype
  28361. type: integer
  28362. - description: 计划编号,模糊查询
  28363. in: query
  28364. name: hedgeplanno
  28365. type: string
  28366. - description: 现货商品,模糊查询
  28367. in: query
  28368. name: wrstandardname
  28369. type: string
  28370. produces:
  28371. - application/json
  28372. responses:
  28373. "200":
  28374. description: OK
  28375. schema:
  28376. items:
  28377. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  28378. type: array
  28379. "500":
  28380. description: Internal Server Error
  28381. schema:
  28382. $ref: '#/definitions/app.Response'
  28383. security:
  28384. - ApiKeyAuth: []
  28385. summary: 未关联购销计划
  28386. tags:
  28387. - 企业风险管理v8
  28388. /Ermcp8/QueryUnLinkSpotContract:
  28389. get:
  28390. parameters:
  28391. - description: 用户ID
  28392. in: query
  28393. name: userid
  28394. required: true
  28395. type: integer
  28396. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  28397. in: query
  28398. name: pricetype
  28399. type: integer
  28400. - description: 合同编号, 模拟查询
  28401. in: query
  28402. name: contractno
  28403. type: string
  28404. - description: 对手方, 模拟查询
  28405. in: query
  28406. name: customername
  28407. type: string
  28408. - description: 项合同类型 - 1:采购 -1:销售
  28409. in: query
  28410. name: contracttype
  28411. type: integer
  28412. produces:
  28413. - application/json
  28414. responses:
  28415. "200":
  28416. description: OK
  28417. schema:
  28418. items:
  28419. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  28420. type: array
  28421. "500":
  28422. description: Internal Server Error
  28423. schema:
  28424. $ref: '#/definitions/app.Response'
  28425. security:
  28426. - ApiKeyAuth: []
  28427. summary: 未关联合同查询
  28428. tags:
  28429. - 企业风险管理v8
  28430. /Erms2/QueryArbitrageStrategy:
  28431. get:
  28432. parameters:
  28433. - description: 账户ID
  28434. in: query
  28435. name: userid
  28436. required: true
  28437. type: integer
  28438. - description: 商品组ID(品种ID)
  28439. in: query
  28440. name: goodsgroupid
  28441. type: string
  28442. produces:
  28443. - application/json
  28444. responses:
  28445. "200":
  28446. description: OK
  28447. schema:
  28448. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  28449. "500":
  28450. description: Internal Server Error
  28451. schema:
  28452. $ref: '#/definitions/app.Response'
  28453. security:
  28454. - ApiKeyAuth: []
  28455. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  28456. tags:
  28457. - 风险管理
  28458. /Erms2/QueryInnerTradeDetail:
  28459. get:
  28460. parameters:
  28461. - description: 资金账户
  28462. in: query
  28463. name: accountid
  28464. required: true
  28465. type: integer
  28466. produces:
  28467. - application/json
  28468. responses:
  28469. "200":
  28470. description: OK
  28471. schema:
  28472. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  28473. "500":
  28474. description: Internal Server Error
  28475. schema:
  28476. $ref: '#/definitions/app.Response'
  28477. security:
  28478. - ApiKeyAuth: []
  28479. summary: 查询内部成交单信息
  28480. tags:
  28481. - 风险管理
  28482. /Erms2/QuerySpotContract:
  28483. get:
  28484. parameters:
  28485. - description: 策略申请ID
  28486. in: query
  28487. name: asapplyid
  28488. required: true
  28489. type: integer
  28490. - description: 现货合同ID
  28491. in: query
  28492. name: spotcontractid
  28493. type: integer
  28494. produces:
  28495. - application/json
  28496. responses:
  28497. "200":
  28498. description: OK
  28499. schema:
  28500. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  28501. "500":
  28502. description: Internal Server Error
  28503. schema:
  28504. $ref: '#/definitions/app.Response'
  28505. security:
  28506. - ApiKeyAuth: []
  28507. summary: 查询现货合同表信息(指定策略ID、未结束的)
  28508. tags:
  28509. - 风险管理
  28510. /Erms3/AddErms2ASApply:
  28511. post:
  28512. parameters:
  28513. - description: 申请参数
  28514. in: body
  28515. name: jsonBody
  28516. required: true
  28517. schema:
  28518. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  28519. produces:
  28520. - application/json
  28521. responses:
  28522. "200":
  28523. description: OK
  28524. schema:
  28525. $ref: '#/definitions/app.Response'
  28526. "500":
  28527. description: Internal Server Error
  28528. schema:
  28529. $ref: '#/definitions/app.Response'
  28530. security:
  28531. - ApiKeyAuth: []
  28532. summary: 新增期现套利业务申请
  28533. tags:
  28534. - 风险管理v3
  28535. /Erms3/AddErms2SpotTradeApply:
  28536. post:
  28537. parameters:
  28538. - description: 申请参数
  28539. in: body
  28540. name: jsonBody
  28541. required: true
  28542. schema:
  28543. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  28544. produces:
  28545. - application/json
  28546. responses:
  28547. "200":
  28548. description: OK
  28549. schema:
  28550. $ref: '#/definitions/app.Response'
  28551. "500":
  28552. description: Internal Server Error
  28553. schema:
  28554. $ref: '#/definitions/app.Response'
  28555. security:
  28556. - ApiKeyAuth: []
  28557. summary: 新增现货贸易业务申请
  28558. tags:
  28559. - 风险管理v3
  28560. /Erms3/AddSpotContractApply:
  28561. post:
  28562. parameters:
  28563. - description: 申请参数
  28564. in: body
  28565. name: jsonBody
  28566. required: true
  28567. schema:
  28568. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  28569. produces:
  28570. - application/json
  28571. responses:
  28572. "200":
  28573. description: OK
  28574. schema:
  28575. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  28576. "500":
  28577. description: Internal Server Error
  28578. schema:
  28579. $ref: '#/definitions/app.Response'
  28580. security:
  28581. - ApiKeyAuth: []
  28582. summary: 新增现货合同申请
  28583. tags:
  28584. - 风险管理v3
  28585. /Erms3/AddUserInfoApply:
  28586. post:
  28587. parameters:
  28588. - description: 用户信息
  28589. in: body
  28590. name: jsonBody
  28591. required: true
  28592. schema:
  28593. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  28594. produces:
  28595. - application/json
  28596. responses:
  28597. "200":
  28598. description: OK
  28599. schema:
  28600. $ref: '#/definitions/app.Response'
  28601. "500":
  28602. description: Internal Server Error
  28603. schema:
  28604. $ref: '#/definitions/app.Response'
  28605. security:
  28606. - ApiKeyAuth: []
  28607. summary: 新增客户申请
  28608. tags:
  28609. - 风险管理v3
  28610. /Erms3/DeleteUserInfoApply:
  28611. get:
  28612. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  28613. parameters:
  28614. - description: 用户ID
  28615. in: query
  28616. name: userID
  28617. required: true
  28618. type: integer
  28619. produces:
  28620. - application/json
  28621. responses:
  28622. "200":
  28623. description: OK
  28624. schema:
  28625. $ref: '#/definitions/app.Response'
  28626. "500":
  28627. description: Internal Server Error
  28628. schema:
  28629. $ref: '#/definitions/app.Response'
  28630. security:
  28631. - ApiKeyAuth: []
  28632. summary: 删除客户申请
  28633. tags:
  28634. - 风险管理v3
  28635. /Erms3/ModifyUserInfoApply:
  28636. post:
  28637. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  28638. int, "userstate": 2 }'
  28639. parameters:
  28640. - description: 用户信息
  28641. in: body
  28642. name: jsonBody
  28643. required: true
  28644. schema:
  28645. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  28646. produces:
  28647. - application/json
  28648. responses:
  28649. "200":
  28650. description: OK
  28651. schema:
  28652. $ref: '#/definitions/app.Response'
  28653. "500":
  28654. description: Internal Server Error
  28655. schema:
  28656. $ref: '#/definitions/app.Response'
  28657. security:
  28658. - ApiKeyAuth: []
  28659. summary: 修改客户申请
  28660. tags:
  28661. - 风险管理v3
  28662. /Erms3/QueryBusinessInfo:
  28663. get:
  28664. parameters:
  28665. - description: 资金账号ID列表,用逗号分隔
  28666. in: query
  28667. name: accountids
  28668. required: true
  28669. type: string
  28670. - description: 状态,0为未结束 1为已结束
  28671. in: query
  28672. name: status
  28673. required: true
  28674. type: integer
  28675. produces:
  28676. - application/json
  28677. responses:
  28678. "200":
  28679. description: OK
  28680. schema:
  28681. items:
  28682. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  28683. type: array
  28684. "500":
  28685. description: Internal Server Error
  28686. schema:
  28687. $ref: '#/definitions/app.Response'
  28688. security:
  28689. - ApiKeyAuth: []
  28690. summary: 查询业务表单数据
  28691. tags:
  28692. - 风险管理v3
  28693. /Erms3/QueryPendingAuditContract:
  28694. get:
  28695. parameters:
  28696. - description: 资金账号ID列表,逗号隔开
  28697. in: query
  28698. name: accountids
  28699. required: true
  28700. type: string
  28701. - description: 合同类型 1-采购 -1-销售
  28702. in: query
  28703. name: contracttype
  28704. required: true
  28705. type: integer
  28706. - description: 合同模式 1-普通 2-回购
  28707. in: query
  28708. name: contractmode
  28709. required: true
  28710. type: integer
  28711. produces:
  28712. - application/json
  28713. responses:
  28714. "200":
  28715. description: OK
  28716. schema:
  28717. items:
  28718. $ref: '#/definitions/erms3.QryAuditContractRsp'
  28719. type: array
  28720. "500":
  28721. description: Internal Server Error
  28722. schema:
  28723. $ref: '#/definitions/app.Response'
  28724. security:
  28725. - ApiKeyAuth: []
  28726. summary: 查询待审核合同
  28727. tags:
  28728. - 风险管理v3
  28729. /Erms3/QueryPendingBusiness:
  28730. get:
  28731. parameters:
  28732. - description: 资金账号ID列表,逗号隔开
  28733. in: query
  28734. name: accountids
  28735. required: true
  28736. type: string
  28737. produces:
  28738. - application/json
  28739. responses:
  28740. "200":
  28741. description: OK
  28742. schema:
  28743. items:
  28744. $ref: '#/definitions/erms3.QryPendingBizRsp'
  28745. type: array
  28746. "500":
  28747. description: Internal Server Error
  28748. schema:
  28749. $ref: '#/definitions/app.Response'
  28750. security:
  28751. - ApiKeyAuth: []
  28752. summary: 查询待审核基差贸易业务
  28753. tags:
  28754. - 风险管理v3
  28755. /Erms3/QuerySpotContractAppleForm:
  28756. get:
  28757. parameters:
  28758. - description: 登录账号
  28759. in: query
  28760. name: loginID
  28761. required: true
  28762. type: integer
  28763. produces:
  28764. - application/json
  28765. responses:
  28766. "200":
  28767. description: OK
  28768. schema:
  28769. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  28770. "500":
  28771. description: Internal Server Error
  28772. schema:
  28773. $ref: '#/definitions/app.Response'
  28774. security:
  28775. - ApiKeyAuth: []
  28776. summary: 查询合同申请表单数据
  28777. tags:
  28778. - 风险管理v3
  28779. /Erms3/QuerySpotContractDetail:
  28780. get:
  28781. parameters:
  28782. - description: 资金账号ID列表,用逗号分隔
  28783. in: query
  28784. name: accountids
  28785. required: true
  28786. type: string
  28787. - description: 合同类型,1为采购合同 -1为销售合同
  28788. in: query
  28789. name: contracttype
  28790. required: true
  28791. type: integer
  28792. - description: 合同模式,1为普通合同 2为回购销售合同
  28793. in: query
  28794. name: contractmode
  28795. required: true
  28796. type: integer
  28797. - description: 状态,0为履约中 1为已完成
  28798. in: query
  28799. name: status
  28800. required: true
  28801. type: integer
  28802. produces:
  28803. - application/json
  28804. responses:
  28805. "200":
  28806. description: OK
  28807. schema:
  28808. items:
  28809. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  28810. type: array
  28811. "500":
  28812. description: Internal Server Error
  28813. schema:
  28814. $ref: '#/definitions/app.Response'
  28815. security:
  28816. - ApiKeyAuth: []
  28817. summary: 查询合同详细信息
  28818. tags:
  28819. - 风险管理v3
  28820. /Erms3/QueryUserInfoApplies:
  28821. get:
  28822. parameters:
  28823. - description: 页码
  28824. in: query
  28825. name: page
  28826. type: integer
  28827. - description: 每页条数
  28828. in: query
  28829. name: pagesize
  28830. type: integer
  28831. - description: 客户名称,支持模糊查询
  28832. in: query
  28833. name: userName
  28834. type: string
  28835. produces:
  28836. - application/json
  28837. responses:
  28838. "200":
  28839. description: OK
  28840. schema:
  28841. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  28842. "500":
  28843. description: Internal Server Error
  28844. schema:
  28845. $ref: '#/definitions/app.Response'
  28846. security:
  28847. - ApiKeyAuth: []
  28848. summary: 客户申请信息查询
  28849. tags:
  28850. - 风险管理v3
  28851. /Erms3/QueryUserInfos:
  28852. get:
  28853. parameters:
  28854. - description: 页码
  28855. in: query
  28856. name: page
  28857. type: integer
  28858. - description: 每页条数
  28859. in: query
  28860. name: pagesize
  28861. type: integer
  28862. - description: 客户名称,支持模糊查询
  28863. in: query
  28864. name: userName
  28865. type: string
  28866. produces:
  28867. - application/json
  28868. responses:
  28869. "200":
  28870. description: OK
  28871. schema:
  28872. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  28873. "500":
  28874. description: Internal Server Error
  28875. schema:
  28876. $ref: '#/definitions/app.Response'
  28877. security:
  28878. - ApiKeyAuth: []
  28879. summary: 客户信息查询
  28880. tags:
  28881. - 风险管理v3
  28882. /Ferroalloy/GetSpotGoodsPrice:
  28883. get:
  28884. parameters:
  28885. - description: 页码
  28886. in: query
  28887. name: page
  28888. type: integer
  28889. - description: 每页条数
  28890. in: query
  28891. name: pagesize
  28892. type: integer
  28893. produces:
  28894. - application/json
  28895. responses:
  28896. "200":
  28897. description: OK
  28898. schema:
  28899. items:
  28900. $ref: '#/definitions/models.GErmcpspotgoodsprice'
  28901. type: array
  28902. "500":
  28903. description: Internal Server Error
  28904. schema:
  28905. $ref: '#/definitions/app.Response'
  28906. security:
  28907. - ApiKeyAuth: []
  28908. summary: 获取现货行情
  28909. tags:
  28910. - 铁合金
  28911. /Ferroalloy/QueryMyRefer:
  28912. get:
  28913. parameters:
  28914. - description: 用户ID
  28915. in: query
  28916. name: userid
  28917. required: true
  28918. type: integer
  28919. - description: 页码
  28920. in: query
  28921. name: page
  28922. type: integer
  28923. - description: 每页条数
  28924. in: query
  28925. name: pagesize
  28926. type: integer
  28927. produces:
  28928. - application/json
  28929. responses:
  28930. "200":
  28931. description: OK
  28932. schema:
  28933. items:
  28934. $ref: '#/definitions/models.MyRefer'
  28935. type: array
  28936. "500":
  28937. description: Internal Server Error
  28938. schema:
  28939. $ref: '#/definitions/app.Response'
  28940. security:
  28941. - ApiKeyAuth: []
  28942. summary: 查询我的推荐列表
  28943. tags:
  28944. - 铁合金
  28945. /Ferroalloy/QueryMyRegisterMoney:
  28946. get:
  28947. parameters:
  28948. - description: 资金账户
  28949. in: query
  28950. name: accountid
  28951. required: true
  28952. type: integer
  28953. produces:
  28954. - application/json
  28955. responses:
  28956. "200":
  28957. description: OK
  28958. schema:
  28959. items:
  28960. $ref: '#/definitions/models.RegisterMoney'
  28961. type: array
  28962. "500":
  28963. description: Internal Server Error
  28964. schema:
  28965. $ref: '#/definitions/app.Response'
  28966. summary: 查询我的注册红包
  28967. tags:
  28968. - 铁合金
  28969. /Ferroalloy/QueryTHJGoodsDetail:
  28970. get:
  28971. parameters:
  28972. - description: 现货商品ID
  28973. in: query
  28974. name: wrstandardid
  28975. required: true
  28976. type: integer
  28977. produces:
  28978. - application/json
  28979. responses:
  28980. "200":
  28981. description: OK
  28982. schema:
  28983. items:
  28984. $ref: '#/definitions/models.THJGoodsDetailRsp'
  28985. type: array
  28986. "500":
  28987. description: Internal Server Error
  28988. schema:
  28989. $ref: '#/definitions/app.Response'
  28990. security:
  28991. - ApiKeyAuth: []
  28992. summary: 查询商品详情
  28993. tags:
  28994. - 铁合金
  28995. /Ferroalloy/QueryTHJProduct:
  28996. get:
  28997. parameters:
  28998. - description: 用户ID
  28999. in: query
  29000. name: userid
  29001. required: true
  29002. type: integer
  29003. - description: 关注标志 true-已关注 false-未关注
  29004. in: query
  29005. name: favoriteflag
  29006. type: boolean
  29007. - description: 页码
  29008. in: query
  29009. name: page
  29010. type: integer
  29011. - description: 每页条数
  29012. in: query
  29013. name: pagesize
  29014. type: integer
  29015. produces:
  29016. - application/json
  29017. responses:
  29018. "200":
  29019. description: OK
  29020. schema:
  29021. items:
  29022. $ref: '#/definitions/models.THJProduct'
  29023. type: array
  29024. "500":
  29025. description: Internal Server Error
  29026. schema:
  29027. $ref: '#/definitions/app.Response'
  29028. security:
  29029. - ApiKeyAuth: []
  29030. summary: 获取产品介绍列表
  29031. tags:
  29032. - 铁合金
  29033. /Ferroalloy/QueryTHJPromotionIncome:
  29034. get:
  29035. parameters:
  29036. - description: 用户ID
  29037. in: query
  29038. name: userid
  29039. required: true
  29040. type: integer
  29041. - description: 状态 - 0:全部 1:已支付 2:未支付
  29042. in: query
  29043. name: profitstatus
  29044. type: integer
  29045. - description: 页码
  29046. in: query
  29047. name: page
  29048. type: integer
  29049. - description: 每页条数
  29050. in: query
  29051. name: pagesize
  29052. type: integer
  29053. produces:
  29054. - application/json
  29055. responses:
  29056. "200":
  29057. description: OK
  29058. schema:
  29059. items:
  29060. $ref: '#/definitions/models.PromotionIncome'
  29061. type: array
  29062. "500":
  29063. description: Internal Server Error
  29064. schema:
  29065. $ref: '#/definitions/app.Response'
  29066. security:
  29067. - ApiKeyAuth: []
  29068. summary: 查询我的推广-推广收益
  29069. tags:
  29070. - 铁合金
  29071. /Ferroalloy/QueryTHJPromotionIncomeDetail:
  29072. get:
  29073. parameters:
  29074. - description: 用户ID
  29075. in: query
  29076. name: userid
  29077. required: true
  29078. type: integer
  29079. - description: 月份,格式:yyyymm
  29080. in: query
  29081. name: mouth
  29082. required: true
  29083. type: string
  29084. - description: 页码
  29085. in: query
  29086. name: page
  29087. type: integer
  29088. - description: 每页条数
  29089. in: query
  29090. name: pagesize
  29091. type: integer
  29092. produces:
  29093. - application/json
  29094. responses:
  29095. "200":
  29096. description: OK
  29097. schema:
  29098. items:
  29099. $ref: '#/definitions/models.PromotionIncomeDetail'
  29100. type: array
  29101. "500":
  29102. description: Internal Server Error
  29103. schema:
  29104. $ref: '#/definitions/app.Response'
  29105. security:
  29106. - ApiKeyAuth: []
  29107. summary: 查询我的推广-推广收益-明细
  29108. tags:
  29109. - 铁合金
  29110. /Ferroalloy/QueryTHJPurchaseTradeDetail:
  29111. get:
  29112. parameters:
  29113. - description: 用户ID
  29114. in: query
  29115. name: userid
  29116. required: true
  29117. type: integer
  29118. - description: 类型 - 0:未完成 1:已完成
  29119. in: query
  29120. name: type
  29121. type: integer
  29122. - description: 页码
  29123. in: query
  29124. name: page
  29125. type: integer
  29126. - description: 每页条数
  29127. in: query
  29128. name: pagesize
  29129. type: integer
  29130. produces:
  29131. - application/json
  29132. responses:
  29133. "200":
  29134. description: OK
  29135. schema:
  29136. items:
  29137. $ref: '#/definitions/models.Thjpurchasetradedetail'
  29138. type: array
  29139. "500":
  29140. description: Internal Server Error
  29141. schema:
  29142. $ref: '#/definitions/app.Response'
  29143. security:
  29144. - ApiKeyAuth: []
  29145. summary: 查询我的订单-采购订单
  29146. tags:
  29147. - 铁合金
  29148. /Ferroalloy/QueryTHJPurchaseTransfer:
  29149. get:
  29150. parameters:
  29151. - description: 现货商品名称(模糊查询)
  29152. in: query
  29153. name: wrstandardname
  29154. type: string
  29155. - description: 页码
  29156. in: query
  29157. name: page
  29158. type: integer
  29159. - description: 每页条数
  29160. in: query
  29161. name: pagesize
  29162. type: integer
  29163. produces:
  29164. - application/json
  29165. responses:
  29166. "200":
  29167. description: OK
  29168. schema:
  29169. items:
  29170. $ref: '#/definitions/models.PurchaseTransfer'
  29171. type: array
  29172. "500":
  29173. description: Internal Server Error
  29174. schema:
  29175. $ref: '#/definitions/app.Response'
  29176. security:
  29177. - ApiKeyAuth: []
  29178. summary: 查询合同转让列表
  29179. tags:
  29180. - 铁合金
  29181. /Ferroalloy/QueryTHJPurchaseTransferDetail:
  29182. get:
  29183. parameters:
  29184. - description: 现货商品ID
  29185. in: query
  29186. name: wrstandardid
  29187. required: true
  29188. type: integer
  29189. produces:
  29190. - application/json
  29191. responses:
  29192. "200":
  29193. description: OK
  29194. schema:
  29195. items:
  29196. $ref: '#/definitions/models.THJPurchaseTradeDetailRsp'
  29197. type: array
  29198. "500":
  29199. description: Internal Server Error
  29200. schema:
  29201. $ref: '#/definitions/app.Response'
  29202. security:
  29203. - ApiKeyAuth: []
  29204. summary: 查询合同转让详情
  29205. tags:
  29206. - 铁合金
  29207. /Ferroalloy/QueryTHJPurchaseTransferOrder:
  29208. get:
  29209. parameters:
  29210. - description: 用户ID
  29211. in: query
  29212. name: userid
  29213. required: true
  29214. type: integer
  29215. - description: 页码
  29216. in: query
  29217. name: page
  29218. type: integer
  29219. - description: 每页条数
  29220. in: query
  29221. name: pagesize
  29222. type: integer
  29223. produces:
  29224. - application/json
  29225. responses:
  29226. "200":
  29227. description: OK
  29228. schema:
  29229. items:
  29230. $ref: '#/definitions/models.Thjpurchasetransfer'
  29231. type: array
  29232. "500":
  29233. description: Internal Server Error
  29234. schema:
  29235. $ref: '#/definitions/app.Response'
  29236. security:
  29237. - ApiKeyAuth: []
  29238. summary: 查询我的订单-转让订单
  29239. tags:
  29240. - 铁合金
  29241. /Ferroalloy/QueryTHJScoreConfig:
  29242. get:
  29243. parameters:
  29244. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  29245. 6:自己供求下单积分 7:抽奖配置'
  29246. in: query
  29247. name: stype
  29248. type: string
  29249. produces:
  29250. - application/json
  29251. responses:
  29252. "200":
  29253. description: OK
  29254. schema:
  29255. items:
  29256. $ref: '#/definitions/models.Thjscoreconfig'
  29257. type: array
  29258. "500":
  29259. description: Internal Server Error
  29260. schema:
  29261. $ref: '#/definitions/app.Response'
  29262. security:
  29263. - ApiKeyAuth: []
  29264. summary: 查询积分配置
  29265. tags:
  29266. - 铁合金
  29267. /Ferroalloy/QueryTHJTradeData:
  29268. get:
  29269. parameters:
  29270. - description: 用户ID
  29271. in: query
  29272. name: userid
  29273. required: true
  29274. type: integer
  29275. - description: 市场ID 采购-64201 供求-65201
  29276. in: query
  29277. name: marketid
  29278. required: true
  29279. type: integer
  29280. - description: 页码
  29281. in: query
  29282. name: page
  29283. type: integer
  29284. - description: 每页条数
  29285. in: query
  29286. name: pagesize
  29287. type: integer
  29288. produces:
  29289. - application/json
  29290. responses:
  29291. "200":
  29292. description: OK
  29293. schema:
  29294. items:
  29295. $ref: '#/definitions/models.THJTradeData'
  29296. type: array
  29297. "500":
  29298. description: Internal Server Error
  29299. schema:
  29300. $ref: '#/definitions/app.Response'
  29301. security:
  29302. - ApiKeyAuth: []
  29303. summary: 获取我的推广-交易数据
  29304. tags:
  29305. - 铁合金
  29306. /Ferroalloy/QueryTHJWrstandard:
  29307. get:
  29308. parameters:
  29309. - description: 现货商品名称(模糊查询)
  29310. in: query
  29311. name: wrstandardname
  29312. type: string
  29313. - description: 页码
  29314. in: query
  29315. name: page
  29316. type: integer
  29317. - description: 每页条数
  29318. in: query
  29319. name: pagesize
  29320. type: integer
  29321. produces:
  29322. - application/json
  29323. responses:
  29324. "200":
  29325. description: OK
  29326. schema:
  29327. items:
  29328. $ref: '#/definitions/models.THJWrstandard'
  29329. type: array
  29330. "500":
  29331. description: Internal Server Error
  29332. schema:
  29333. $ref: '#/definitions/app.Response'
  29334. security:
  29335. - ApiKeyAuth: []
  29336. summary: 查询采购列表
  29337. tags:
  29338. - 铁合金
  29339. /Ferroalloy/QueryTHJWrstandardDetail:
  29340. get:
  29341. parameters:
  29342. - description: 现货商品ID
  29343. in: query
  29344. name: wrstandardid
  29345. required: true
  29346. type: integer
  29347. produces:
  29348. - application/json
  29349. responses:
  29350. "200":
  29351. description: OK
  29352. schema:
  29353. items:
  29354. $ref: '#/definitions/models.THJWrstandardDetailRsp'
  29355. type: array
  29356. "500":
  29357. description: Internal Server Error
  29358. schema:
  29359. $ref: '#/definitions/app.Response'
  29360. security:
  29361. - ApiKeyAuth: []
  29362. summary: 查询采购详情
  29363. tags:
  29364. - 铁合金
  29365. /Ferroalloy/QueryUserScoreLog:
  29366. get:
  29367. parameters:
  29368. - description: 用户ID
  29369. in: query
  29370. name: userid
  29371. required: true
  29372. type: integer
  29373. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  29374. 6:自己供求下单积分 7:抽奖配置'
  29375. in: query
  29376. name: stype
  29377. type: string
  29378. - description: 页码
  29379. in: query
  29380. name: page
  29381. type: integer
  29382. - description: 每页条数
  29383. in: query
  29384. name: pagesize
  29385. type: integer
  29386. produces:
  29387. - application/json
  29388. responses:
  29389. "200":
  29390. description: OK
  29391. schema:
  29392. items:
  29393. $ref: '#/definitions/models.GThjuserscorelog'
  29394. type: array
  29395. "500":
  29396. description: Internal Server Error
  29397. schema:
  29398. $ref: '#/definitions/app.Response'
  29399. security:
  29400. - ApiKeyAuth: []
  29401. summary: 查询我的积分流水
  29402. tags:
  29403. - 铁合金
  29404. /Ferroalloy/Signin:
  29405. post:
  29406. parameters:
  29407. - description: 用户签到请求
  29408. in: body
  29409. name: jsonBody
  29410. required: true
  29411. schema:
  29412. $ref: '#/definitions/models.THJSigninReq'
  29413. produces:
  29414. - application/json
  29415. responses:
  29416. "200":
  29417. description: OK
  29418. schema:
  29419. $ref: '#/definitions/models.THJSigninRsp'
  29420. "500":
  29421. description: Internal Server Error
  29422. schema:
  29423. $ref: '#/definitions/app.Response'
  29424. security:
  29425. - ApiKeyAuth: []
  29426. summary: 用户签到
  29427. tags:
  29428. - 铁合金
  29429. /Guangzuan/GZBSFWOrderOperate:
  29430. get:
  29431. parameters:
  29432. - description: 单据ID
  29433. in: query
  29434. name: orderid
  29435. required: true
  29436. type: integer
  29437. produces:
  29438. - application/json
  29439. responses:
  29440. "200":
  29441. description: OK
  29442. schema:
  29443. items:
  29444. $ref: '#/definitions/models.Gzbsfworderoperate'
  29445. type: array
  29446. "500":
  29447. description: Internal Server Error
  29448. schema:
  29449. $ref: '#/definitions/app.Response'
  29450. security:
  29451. - ApiKeyAuth: []
  29452. - LoginID: []
  29453. - Group: []
  29454. summary: 保税服务单据操作信息
  29455. tags:
  29456. - 广钻
  29457. /Guangzuan/GetGoods:
  29458. get:
  29459. parameters:
  29460. - description: 商品编号
  29461. in: query
  29462. name: goodsno
  29463. required: true
  29464. type: string
  29465. produces:
  29466. - application/json
  29467. responses:
  29468. "200":
  29469. description: OK
  29470. schema:
  29471. $ref: '#/definitions/models.GZGoods'
  29472. "500":
  29473. description: Internal Server Error
  29474. schema:
  29475. $ref: '#/definitions/app.Response'
  29476. security:
  29477. - ApiKeyAuth: []
  29478. - LoginID: []
  29479. - Group: []
  29480. summary: 获取钻石详情
  29481. tags:
  29482. - 广钻
  29483. /Guangzuan/GzCertAddressConfig:
  29484. get:
  29485. produces:
  29486. - application/json
  29487. responses:
  29488. "200":
  29489. description: OK
  29490. schema:
  29491. items:
  29492. $ref: '#/definitions/models.Gzcertaddressconfig'
  29493. type: array
  29494. "500":
  29495. description: Internal Server Error
  29496. schema:
  29497. $ref: '#/definitions/app.Response'
  29498. security:
  29499. - ApiKeyAuth: []
  29500. - LoginID: []
  29501. - Group: []
  29502. summary: Rapaport最新报价表(广钻)
  29503. tags:
  29504. - 广钻
  29505. /Guangzuan/GzCertAddressParam:
  29506. get:
  29507. produces:
  29508. - application/json
  29509. responses:
  29510. "200":
  29511. description: OK
  29512. schema:
  29513. items:
  29514. $ref: '#/definitions/models.Gzcertaddressparam'
  29515. type: array
  29516. "500":
  29517. description: Internal Server Error
  29518. schema:
  29519. $ref: '#/definitions/app.Response'
  29520. security:
  29521. - ApiKeyAuth: []
  29522. - LoginID: []
  29523. - Group: []
  29524. summary: 钻石证书地址参数
  29525. tags:
  29526. - 广钻
  29527. /Guangzuan/HomeData:
  29528. get:
  29529. parameters:
  29530. - description: 用户ID
  29531. in: query
  29532. name: userid
  29533. required: true
  29534. type: integer
  29535. produces:
  29536. - application/json
  29537. responses:
  29538. "200":
  29539. description: OK
  29540. schema:
  29541. $ref: '#/definitions/models.GZHomeData'
  29542. "500":
  29543. description: Internal Server Error
  29544. schema:
  29545. $ref: '#/definitions/app.Response'
  29546. security:
  29547. - ApiKeyAuth: []
  29548. - LoginID: []
  29549. - Group: []
  29550. summary: 首页统计数据
  29551. tags:
  29552. - 广钻
  29553. /Guangzuan/PriceCalc:
  29554. get:
  29555. parameters:
  29556. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  29557. in: query
  29558. name: zsshape
  29559. required: true
  29560. type: integer
  29561. - description: 颜色(D-M)
  29562. in: query
  29563. name: zscolor
  29564. required: true
  29565. type: string
  29566. - description: 净度
  29567. in: query
  29568. name: zsclarity
  29569. required: true
  29570. type: string
  29571. - description: 重量
  29572. in: query
  29573. name: weight
  29574. required: true
  29575. type: number
  29576. - description: 汇率
  29577. in: query
  29578. name: rate
  29579. required: true
  29580. type: number
  29581. - description: 折扣(%), 方向(加:10, 减:-10 )
  29582. in: query
  29583. name: discount
  29584. type: number
  29585. produces:
  29586. - application/json
  29587. responses:
  29588. "200":
  29589. description: OK
  29590. schema:
  29591. items:
  29592. $ref: '#/definitions/models.Gzrapaportprice'
  29593. type: array
  29594. "500":
  29595. description: Internal Server Error
  29596. schema:
  29597. $ref: '#/definitions/app.Response'
  29598. security:
  29599. - ApiKeyAuth: []
  29600. - LoginID: []
  29601. - Group: []
  29602. summary: 钻石价格计算器
  29603. tags:
  29604. - 广钻
  29605. /Guangzuan/QueryBuyOrder:
  29606. get:
  29607. parameters:
  29608. - description: 页码
  29609. in: query
  29610. name: page
  29611. type: integer
  29612. - description: 每页条数
  29613. in: query
  29614. name: pagesize
  29615. type: integer
  29616. - description: 商品(查询字段-模糊查询)
  29617. in: query
  29618. name: zsallproperties
  29619. type: string
  29620. - description: 钻石分类, 格式:1,2,3
  29621. in: query
  29622. name: zscategorys
  29623. type: string
  29624. - description: 委托单号
  29625. in: query
  29626. name: wrtradeorderid
  29627. type: integer
  29628. - description: 买方(查询字段-模糊查询)
  29629. in: query
  29630. name: buyusername
  29631. type: string
  29632. produces:
  29633. - application/json
  29634. responses:
  29635. "200":
  29636. description: OK
  29637. schema:
  29638. items:
  29639. $ref: '#/definitions/models.BuyOrder'
  29640. type: array
  29641. "500":
  29642. description: Internal Server Error
  29643. schema:
  29644. $ref: '#/definitions/app.Response'
  29645. security:
  29646. - ApiKeyAuth: []
  29647. - LoginID: []
  29648. - Group: []
  29649. summary: 查询求购大厅委托单
  29650. tags:
  29651. - 广钻
  29652. /Guangzuan/QueryDiamond:
  29653. post:
  29654. parameters:
  29655. - description: 钻石搜索入参
  29656. in: body
  29657. name: data
  29658. required: true
  29659. schema:
  29660. $ref: '#/definitions/models.SellOrderQueryReq'
  29661. produces:
  29662. - application/json
  29663. responses:
  29664. "200":
  29665. description: OK
  29666. schema:
  29667. items:
  29668. $ref: '#/definitions/models.SellOrder'
  29669. type: array
  29670. "500":
  29671. description: Internal Server Error
  29672. schema:
  29673. $ref: '#/definitions/app.Response'
  29674. security:
  29675. - ApiKeyAuth: []
  29676. - LoginID: []
  29677. - Group: []
  29678. summary: 钻石搜索
  29679. tags:
  29680. - 广钻
  29681. /Guangzuan/QueryGZBSFWOrder:
  29682. get:
  29683. parameters:
  29684. - description: 用户ID
  29685. in: query
  29686. name: userid
  29687. required: true
  29688. type: integer
  29689. - description: 页码
  29690. in: query
  29691. name: page
  29692. type: integer
  29693. - description: 每页条数
  29694. in: query
  29695. name: pagesize
  29696. type: integer
  29697. produces:
  29698. - application/json
  29699. responses:
  29700. "200":
  29701. description: OK
  29702. schema:
  29703. items:
  29704. $ref: '#/definitions/models.GzbsfworderM'
  29705. type: array
  29706. "500":
  29707. description: Internal Server Error
  29708. schema:
  29709. $ref: '#/definitions/app.Response'
  29710. security:
  29711. - ApiKeyAuth: []
  29712. - LoginID: []
  29713. - Group: []
  29714. summary: 查询保税服务单据
  29715. tags:
  29716. - 广钻
  29717. /Guangzuan/QueryGZBSFWOrderDetail:
  29718. get:
  29719. parameters:
  29720. - description: 用户ID
  29721. in: query
  29722. name: userid
  29723. required: true
  29724. type: integer
  29725. - description: 单据ID
  29726. in: query
  29727. name: orderid
  29728. type: integer
  29729. - description: 页码
  29730. in: query
  29731. name: page
  29732. type: integer
  29733. - description: 每页条数
  29734. in: query
  29735. name: pagesize
  29736. type: integer
  29737. produces:
  29738. - application/json
  29739. responses:
  29740. "200":
  29741. description: OK
  29742. schema:
  29743. items:
  29744. $ref: '#/definitions/models.GzbsfworderdetailM'
  29745. type: array
  29746. "500":
  29747. description: Internal Server Error
  29748. schema:
  29749. $ref: '#/definitions/app.Response'
  29750. security:
  29751. - ApiKeyAuth: []
  29752. - LoginID: []
  29753. - Group: []
  29754. summary: 查询保税服务单据明细
  29755. tags:
  29756. - 广钻
  29757. /Guangzuan/QueryGZCJBSOrderFile:
  29758. get:
  29759. parameters:
  29760. - description: 单据ID
  29761. in: query
  29762. name: orderid
  29763. required: true
  29764. type: integer
  29765. - description: 页码
  29766. in: query
  29767. name: page
  29768. type: integer
  29769. - description: 每页条数
  29770. in: query
  29771. name: pagesize
  29772. type: integer
  29773. produces:
  29774. - application/json
  29775. responses:
  29776. "200":
  29777. description: OK
  29778. schema:
  29779. items:
  29780. $ref: '#/definitions/models.GzcjbsorderfileM'
  29781. type: array
  29782. "500":
  29783. description: Internal Server Error
  29784. schema:
  29785. $ref: '#/definitions/app.Response'
  29786. security:
  29787. - ApiKeyAuth: []
  29788. - LoginID: []
  29789. - Group: []
  29790. summary: 出境保税单据文件
  29791. tags:
  29792. - 广钻
  29793. /Guangzuan/QueryGZCJJCOrder:
  29794. get:
  29795. parameters:
  29796. - description: 用户ID
  29797. in: query
  29798. name: userid
  29799. required: true
  29800. type: integer
  29801. - description: 页码
  29802. in: query
  29803. name: page
  29804. type: integer
  29805. - description: 每页条数
  29806. in: query
  29807. name: pagesize
  29808. type: integer
  29809. produces:
  29810. - application/json
  29811. responses:
  29812. "200":
  29813. description: OK
  29814. schema:
  29815. items:
  29816. $ref: '#/definitions/models.GzcjjcorderM'
  29817. type: array
  29818. "500":
  29819. description: Internal Server Error
  29820. schema:
  29821. $ref: '#/definitions/app.Response'
  29822. security:
  29823. - ApiKeyAuth: []
  29824. - LoginID: []
  29825. - Group: []
  29826. summary: 查询出境检测单据
  29827. tags:
  29828. - 广钻
  29829. /Guangzuan/QueryGZCJJCOrderDetail:
  29830. get:
  29831. parameters:
  29832. - description: 用户ID
  29833. in: query
  29834. name: userid
  29835. required: true
  29836. type: integer
  29837. - description: 单据ID
  29838. in: query
  29839. name: orderid
  29840. type: integer
  29841. - description: 页码
  29842. in: query
  29843. name: page
  29844. type: integer
  29845. - description: 每页条数
  29846. in: query
  29847. name: pagesize
  29848. type: integer
  29849. produces:
  29850. - application/json
  29851. responses:
  29852. "200":
  29853. description: OK
  29854. schema:
  29855. items:
  29856. $ref: '#/definitions/models.GzcjjcorderdetailM'
  29857. type: array
  29858. "500":
  29859. description: Internal Server Error
  29860. schema:
  29861. $ref: '#/definitions/app.Response'
  29862. security:
  29863. - ApiKeyAuth: []
  29864. - LoginID: []
  29865. - Group: []
  29866. summary: 查询出境检测单据明细(批次信息)
  29867. tags:
  29868. - 广钻
  29869. /Guangzuan/QueryMemberReport:
  29870. get:
  29871. parameters:
  29872. - description: 用户ID
  29873. in: query
  29874. name: userid
  29875. required: true
  29876. type: integer
  29877. - description: 页码
  29878. in: query
  29879. name: page
  29880. type: integer
  29881. - description: 每页条数
  29882. in: query
  29883. name: pagesize
  29884. type: integer
  29885. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  29886. in: query
  29887. name: cycletype
  29888. type: string
  29889. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29890. in: query
  29891. name: begindate
  29892. required: true
  29893. type: string
  29894. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29895. in: query
  29896. name: enddate
  29897. required: true
  29898. type: string
  29899. produces:
  29900. - application/json
  29901. responses:
  29902. "200":
  29903. description: OK
  29904. schema:
  29905. items:
  29906. $ref: '#/definitions/models.Reckondaytaaccount'
  29907. type: array
  29908. "500":
  29909. description: Internal Server Error
  29910. schema:
  29911. $ref: '#/definitions/app.Response'
  29912. security:
  29913. - ApiKeyAuth: []
  29914. - LoginID: []
  29915. - Group: []
  29916. summary: 查询会员报表
  29917. tags:
  29918. - 广钻
  29919. /Guangzuan/QueryMyBargainApply:
  29920. get:
  29921. parameters:
  29922. - description: 用户ID
  29923. in: query
  29924. name: userid
  29925. required: true
  29926. type: integer
  29927. - description: 页码
  29928. in: query
  29929. name: page
  29930. type: integer
  29931. - description: 每页条数
  29932. in: query
  29933. name: pagesize
  29934. type: integer
  29935. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  29936. in: query
  29937. name: applystatus
  29938. type: integer
  29939. - description: 查询类型 - 0:我的询价 1:我订单的询价
  29940. in: query
  29941. name: type
  29942. type: integer
  29943. - description: 关联委托单ID
  29944. in: query
  29945. name: wrtradeorderid
  29946. type: string
  29947. produces:
  29948. - application/json
  29949. responses:
  29950. "200":
  29951. description: OK
  29952. schema:
  29953. items:
  29954. $ref: '#/definitions/models.MyBargainApply'
  29955. type: array
  29956. "500":
  29957. description: Internal Server Error
  29958. schema:
  29959. $ref: '#/definitions/app.Response'
  29960. security:
  29961. - ApiKeyAuth: []
  29962. - LoginID: []
  29963. - Group: []
  29964. summary: 查询询价-求购
  29965. tags:
  29966. - 广钻
  29967. /Guangzuan/QueryMyBuyOrder:
  29968. get:
  29969. parameters:
  29970. - description: 用户ID
  29971. in: query
  29972. name: userid
  29973. required: true
  29974. type: integer
  29975. - description: 页码
  29976. in: query
  29977. name: page
  29978. type: integer
  29979. - description: 每页条数
  29980. in: query
  29981. name: pagesize
  29982. type: integer
  29983. - description: 商品(查询字段-模糊查询)
  29984. in: query
  29985. name: zsallproperties
  29986. type: string
  29987. - description: 钻石分类, 格式:1,2,3
  29988. in: query
  29989. name: zscategorys
  29990. type: string
  29991. - description: 委托单号
  29992. in: query
  29993. name: wrtradeorderid
  29994. type: integer
  29995. - description: 是否历史查询
  29996. in: query
  29997. name: ishis
  29998. type: boolean
  29999. - description: 开始交易日(yyyymmdd)
  30000. in: query
  30001. name: begindate
  30002. type: string
  30003. - description: 结束交易日(yyyymmdd)
  30004. in: query
  30005. name: enddate
  30006. type: string
  30007. produces:
  30008. - application/json
  30009. responses:
  30010. "200":
  30011. description: OK
  30012. schema:
  30013. items:
  30014. $ref: '#/definitions/models.MyBuyOrder'
  30015. type: array
  30016. "500":
  30017. description: Internal Server Error
  30018. schema:
  30019. $ref: '#/definitions/app.Response'
  30020. security:
  30021. - ApiKeyAuth: []
  30022. - LoginID: []
  30023. - Group: []
  30024. summary: 查询我的求购
  30025. tags:
  30026. - 广钻
  30027. /Guangzuan/QueryMyDeListing:
  30028. get:
  30029. parameters:
  30030. - description: 用户ID
  30031. in: query
  30032. name: userid
  30033. required: true
  30034. type: integer
  30035. - description: 页码
  30036. in: query
  30037. name: page
  30038. type: integer
  30039. - description: 每页条数
  30040. in: query
  30041. name: pagesize
  30042. type: integer
  30043. - description: 商品(查询字段-模糊查询)
  30044. in: query
  30045. name: zsallproperties
  30046. type: string
  30047. - description: 钻石分类, 格式:1,2,3
  30048. in: query
  30049. name: zscategorys
  30050. type: string
  30051. - description: 成交单号
  30052. in: query
  30053. name: wrtradedetailid
  30054. type: integer
  30055. - description: 方向,0-购买 1-出售
  30056. in: query
  30057. name: buyorsell
  30058. type: integer
  30059. - description: 对手方(模糊匹配)
  30060. in: query
  30061. name: matchusername
  30062. type: string
  30063. - description: 开始交易日(yyyymmdd)
  30064. in: query
  30065. name: begindate
  30066. type: string
  30067. - description: 结束交易日(yyyymmdd)
  30068. in: query
  30069. name: enddate
  30070. type: string
  30071. produces:
  30072. - application/json
  30073. responses:
  30074. "200":
  30075. description: OK
  30076. schema:
  30077. items:
  30078. $ref: '#/definitions/models.MyDeListing'
  30079. type: array
  30080. "500":
  30081. description: Internal Server Error
  30082. schema:
  30083. $ref: '#/definitions/app.Response'
  30084. security:
  30085. - ApiKeyAuth: []
  30086. - LoginID: []
  30087. - Group: []
  30088. summary: 查询我的摘牌
  30089. tags:
  30090. - 广钻
  30091. /Guangzuan/QueryMyDelistingApply:
  30092. get:
  30093. parameters:
  30094. - description: 用户ID
  30095. in: query
  30096. name: userid
  30097. required: true
  30098. type: integer
  30099. - description: 页码
  30100. in: query
  30101. name: page
  30102. type: integer
  30103. - description: 每页条数
  30104. in: query
  30105. name: pagesize
  30106. type: integer
  30107. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  30108. in: query
  30109. name: applystatus
  30110. type: integer
  30111. - description: 查询类型 - 0:我的询价 1:我订单的询价
  30112. in: query
  30113. name: type
  30114. type: integer
  30115. - description: 买委托单ID
  30116. in: query
  30117. name: buywrtradeorderid
  30118. type: string
  30119. produces:
  30120. - application/json
  30121. responses:
  30122. "200":
  30123. description: OK
  30124. schema:
  30125. items:
  30126. $ref: '#/definitions/models.MyDelistingApply'
  30127. type: array
  30128. "500":
  30129. description: Internal Server Error
  30130. schema:
  30131. $ref: '#/definitions/app.Response'
  30132. security:
  30133. - ApiKeyAuth: []
  30134. - LoginID: []
  30135. - Group: []
  30136. summary: 查询询价-出售
  30137. tags:
  30138. - 广钻
  30139. /Guangzuan/QueryMyFavorite:
  30140. get:
  30141. parameters:
  30142. - description: 用户ID
  30143. in: query
  30144. name: userid
  30145. required: true
  30146. type: integer
  30147. - description: 页码
  30148. in: query
  30149. name: page
  30150. type: integer
  30151. - description: 每页条数
  30152. in: query
  30153. name: pagesize
  30154. type: integer
  30155. - description: 钻石分类, 格式:1,2,3
  30156. in: query
  30157. name: zscategorys
  30158. type: string
  30159. produces:
  30160. - application/json
  30161. responses:
  30162. "200":
  30163. description: OK
  30164. schema:
  30165. items:
  30166. $ref: '#/definitions/models.MyFavorite'
  30167. type: array
  30168. "500":
  30169. description: Internal Server Error
  30170. schema:
  30171. $ref: '#/definitions/app.Response'
  30172. security:
  30173. - ApiKeyAuth: []
  30174. - LoginID: []
  30175. - Group: []
  30176. summary: 查询我的收藏
  30177. tags:
  30178. - 广钻
  30179. /Guangzuan/QueryMyPerformanc:
  30180. get:
  30181. parameters:
  30182. - description: 用户ID
  30183. in: query
  30184. name: userid
  30185. required: true
  30186. type: integer
  30187. - description: 页码
  30188. in: query
  30189. name: page
  30190. type: integer
  30191. - description: 每页条数
  30192. in: query
  30193. name: pagesize
  30194. type: integer
  30195. - description: 商品(查询字段-模糊查询)
  30196. in: query
  30197. name: zsallproperties
  30198. type: string
  30199. - description: 方向,0-买 1-卖
  30200. in: query
  30201. name: buyorsell
  30202. type: integer
  30203. - description: 是否历史查询
  30204. in: query
  30205. name: ishis
  30206. type: boolean
  30207. - description: 开始交易日(yyyymmdd)
  30208. in: query
  30209. name: begindate
  30210. type: string
  30211. - description: 结束交易日(yyyymmdd)
  30212. in: query
  30213. name: enddate
  30214. type: string
  30215. produces:
  30216. - application/json
  30217. responses:
  30218. "200":
  30219. description: OK
  30220. schema:
  30221. items:
  30222. $ref: '#/definitions/models.MyPerformanc'
  30223. type: array
  30224. "500":
  30225. description: Internal Server Error
  30226. schema:
  30227. $ref: '#/definitions/app.Response'
  30228. security:
  30229. - ApiKeyAuth: []
  30230. - LoginID: []
  30231. - Group: []
  30232. summary: 查询我的履约
  30233. tags:
  30234. - 广钻
  30235. /Guangzuan/QueryMySellOrder:
  30236. get:
  30237. parameters:
  30238. - description: 用户ID
  30239. in: query
  30240. name: userid
  30241. required: true
  30242. type: integer
  30243. - description: 页码
  30244. in: query
  30245. name: page
  30246. type: integer
  30247. - description: 每页条数
  30248. in: query
  30249. name: pagesize
  30250. type: integer
  30251. - description: 商品(查询字段-模糊查询)
  30252. in: query
  30253. name: zsallproperties
  30254. type: string
  30255. - description: 钻石分类, 格式:1,2,3
  30256. in: query
  30257. name: zscategorys
  30258. type: string
  30259. - description: 委托单号
  30260. in: query
  30261. name: wrtradeorderid
  30262. type: integer
  30263. - description: 是否历史查询
  30264. in: query
  30265. name: ishis
  30266. type: boolean
  30267. - description: 开始交易日(yyyymmdd)
  30268. in: query
  30269. name: begindate
  30270. type: string
  30271. - description: 结束交易日(yyyymmdd)
  30272. in: query
  30273. name: enddate
  30274. type: string
  30275. produces:
  30276. - application/json
  30277. responses:
  30278. "200":
  30279. description: OK
  30280. schema:
  30281. items:
  30282. $ref: '#/definitions/models.MySellOrder'
  30283. type: array
  30284. "500":
  30285. description: Internal Server Error
  30286. schema:
  30287. $ref: '#/definitions/app.Response'
  30288. security:
  30289. - ApiKeyAuth: []
  30290. - LoginID: []
  30291. - Group: []
  30292. summary: 查询我的出售
  30293. tags:
  30294. - 广钻
  30295. /Guangzuan/QueryMyWRPosition:
  30296. get:
  30297. parameters:
  30298. - description: 页码
  30299. in: query
  30300. name: page
  30301. type: integer
  30302. - description: 每页条数
  30303. in: query
  30304. name: pagesize
  30305. type: integer
  30306. - description: 登录用户ID
  30307. in: query
  30308. name: wruserid
  30309. required: true
  30310. type: integer
  30311. - description: 商品(查询字段-模糊查询)
  30312. in: query
  30313. name: zsallproperties
  30314. type: string
  30315. - description: 钻石分类, 格式:1,2,3
  30316. in: query
  30317. name: zscategorys
  30318. type: string
  30319. - description: 仓库ID
  30320. in: query
  30321. name: warehouseid
  30322. type: integer
  30323. - description: 是否上架,0-全部 1-是 2-否
  30324. in: query
  30325. name: marketflag
  30326. type: integer
  30327. produces:
  30328. - application/json
  30329. responses:
  30330. "200":
  30331. description: OK
  30332. schema:
  30333. items:
  30334. $ref: '#/definitions/models.MyWRPosition'
  30335. type: array
  30336. "500":
  30337. description: Internal Server Error
  30338. schema:
  30339. $ref: '#/definitions/app.Response'
  30340. security:
  30341. - ApiKeyAuth: []
  30342. - LoginID: []
  30343. - Group: []
  30344. summary: 查询我的库存
  30345. tags:
  30346. - 广钻
  30347. /Guangzuan/QuerySellOrder:
  30348. get:
  30349. parameters:
  30350. - description: 页码
  30351. in: query
  30352. name: page
  30353. type: integer
  30354. - description: 每页条数
  30355. in: query
  30356. name: pagesize
  30357. type: integer
  30358. - description: 商品(查询字段-模糊查询)
  30359. in: query
  30360. name: zsallproperties
  30361. type: string
  30362. - description: 钻石分类, 格式:1,2,3
  30363. in: query
  30364. name: zscategorys
  30365. type: string
  30366. - description: 委托单号
  30367. in: query
  30368. name: wrtradeorderid
  30369. type: integer
  30370. - description: 卖方(查询字段-模糊查询)
  30371. in: query
  30372. name: buyusername
  30373. type: string
  30374. produces:
  30375. - application/json
  30376. responses:
  30377. "200":
  30378. description: OK
  30379. schema:
  30380. items:
  30381. $ref: '#/definitions/models.SellOrder'
  30382. type: array
  30383. "500":
  30384. description: Internal Server Error
  30385. schema:
  30386. $ref: '#/definitions/app.Response'
  30387. security:
  30388. - ApiKeyAuth: []
  30389. - LoginID: []
  30390. - Group: []
  30391. summary: 查询出售大厅委托单
  30392. tags:
  30393. - 广钻
  30394. /Guangzuan/QueryTradeReport:
  30395. get:
  30396. parameters:
  30397. - description: 用户ID
  30398. in: query
  30399. name: userid
  30400. required: true
  30401. type: integer
  30402. - description: 页码
  30403. in: query
  30404. name: page
  30405. type: integer
  30406. - description: 每页条数
  30407. in: query
  30408. name: pagesize
  30409. type: integer
  30410. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  30411. in: query
  30412. name: cycletype
  30413. type: string
  30414. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  30415. in: query
  30416. name: begindate
  30417. required: true
  30418. type: string
  30419. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  30420. in: query
  30421. name: enddate
  30422. required: true
  30423. type: string
  30424. - description: 商品分类
  30425. in: query
  30426. name: zscategory
  30427. type: integer
  30428. - description: 商品币种
  30429. in: query
  30430. name: zscurrencytype
  30431. type: integer
  30432. produces:
  30433. - application/json
  30434. responses:
  30435. "200":
  30436. description: OK
  30437. schema:
  30438. items:
  30439. $ref: '#/definitions/models.Reckongzmemtradesum'
  30440. type: array
  30441. "500":
  30442. description: Internal Server Error
  30443. schema:
  30444. $ref: '#/definitions/app.Response'
  30445. security:
  30446. - ApiKeyAuth: []
  30447. - LoginID: []
  30448. - Group: []
  30449. summary: 查询交易报表
  30450. tags:
  30451. - 广钻
  30452. /Guangzuan/QueryWRPositionReport:
  30453. get:
  30454. parameters:
  30455. - description: 用户ID
  30456. in: query
  30457. name: userid
  30458. required: true
  30459. type: integer
  30460. - description: 页码
  30461. in: query
  30462. name: page
  30463. type: integer
  30464. - description: 每页条数
  30465. in: query
  30466. name: pagesize
  30467. type: integer
  30468. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  30469. in: query
  30470. name: cycletype
  30471. type: string
  30472. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  30473. in: query
  30474. name: begindate
  30475. required: true
  30476. type: string
  30477. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  30478. in: query
  30479. name: enddate
  30480. required: true
  30481. type: string
  30482. - description: 商品分类
  30483. in: query
  30484. name: zscategory
  30485. type: integer
  30486. - description: 商品币种
  30487. in: query
  30488. name: zscurrencytype
  30489. type: integer
  30490. produces:
  30491. - application/json
  30492. responses:
  30493. "200":
  30494. description: OK
  30495. schema:
  30496. items:
  30497. $ref: '#/definitions/models.WRPositionReport'
  30498. type: array
  30499. "500":
  30500. description: Internal Server Error
  30501. schema:
  30502. $ref: '#/definitions/app.Response'
  30503. security:
  30504. - ApiKeyAuth: []
  30505. - LoginID: []
  30506. - Group: []
  30507. summary: 查询仓储报表
  30508. tags:
  30509. - 广钻
  30510. /Guangzuan/QueryWarehouseInfo:
  30511. get:
  30512. parameters:
  30513. - description: 页码
  30514. in: query
  30515. name: page
  30516. type: integer
  30517. - description: 每页条数
  30518. in: query
  30519. name: pagesize
  30520. type: integer
  30521. - description: 用户ID
  30522. in: query
  30523. name: userid
  30524. required: true
  30525. type: integer
  30526. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  30527. in: query
  30528. name: status
  30529. type: string
  30530. - description: 是返回交易所仓库
  30531. in: query
  30532. name: isincludeexchange
  30533. type: boolean
  30534. produces:
  30535. - application/json
  30536. responses:
  30537. "200":
  30538. description: OK
  30539. schema:
  30540. items:
  30541. $ref: '#/definitions/models.GZWarehouseinfo'
  30542. type: array
  30543. "500":
  30544. description: Internal Server Error
  30545. schema:
  30546. $ref: '#/definitions/app.Response'
  30547. security:
  30548. - ApiKeyAuth: []
  30549. - LoginID: []
  30550. - Group: []
  30551. summary: 查询仓库信息
  30552. tags:
  30553. - 广钻
  30554. /Market/GetAllExExchanges:
  30555. get:
  30556. produces:
  30557. - application/json
  30558. responses:
  30559. "200":
  30560. description: OK
  30561. schema:
  30562. $ref: '#/definitions/models.Goods'
  30563. "500":
  30564. description: Internal Server Error
  30565. schema:
  30566. $ref: '#/definitions/app.Response'
  30567. security:
  30568. - ApiKeyAuth: []
  30569. summary: 获取所有外部交易所信息
  30570. tags:
  30571. - 通用市场
  30572. /Market/QueryGoodsesByLoginID:
  30573. get:
  30574. parameters:
  30575. - description: 登录账号
  30576. in: query
  30577. name: loginID
  30578. required: true
  30579. type: integer
  30580. - description: 市场ID列表,格式:1,2,3
  30581. in: query
  30582. name: marketIDs
  30583. type: string
  30584. produces:
  30585. - application/json
  30586. responses:
  30587. "200":
  30588. description: OK
  30589. schema:
  30590. $ref: '#/definitions/models.Goods'
  30591. "500":
  30592. description: Internal Server Error
  30593. schema:
  30594. $ref: '#/definitions/app.Response'
  30595. security:
  30596. - ApiKeyAuth: []
  30597. summary: 获取登录账号有权限的商品信息
  30598. tags:
  30599. - 通用市场
  30600. /Market/QueryMarketRun:
  30601. get:
  30602. parameters:
  30603. - description: 市场ID,不传返回所有
  30604. in: query
  30605. name: marketID
  30606. type: integer
  30607. produces:
  30608. - application/json
  30609. responses:
  30610. "200":
  30611. description: OK
  30612. schema:
  30613. $ref: '#/definitions/models.Marketrun'
  30614. "500":
  30615. description: Internal Server Error
  30616. schema:
  30617. $ref: '#/definitions/app.Response'
  30618. security:
  30619. - ApiKeyAuth: []
  30620. summary: 查询市场运行信息
  30621. tags:
  30622. - 通用市场
  30623. /Market/QueryMarketsByLoginID:
  30624. get:
  30625. parameters:
  30626. - description: 登录账号
  30627. in: query
  30628. name: loginID
  30629. required: true
  30630. type: integer
  30631. produces:
  30632. - application/json
  30633. responses:
  30634. "200":
  30635. description: OK
  30636. schema:
  30637. $ref: '#/definitions/models.Market'
  30638. "500":
  30639. description: Internal Server Error
  30640. schema:
  30641. $ref: '#/definitions/app.Response'
  30642. security:
  30643. - ApiKeyAuth: []
  30644. summary: 获取登录账号有权限的市场信息
  30645. tags:
  30646. - 通用市场
  30647. /Order/QueryHisTradeDetail:
  30648. get:
  30649. parameters:
  30650. - description: 资金账户 - 格式:1,2,3
  30651. in: query
  30652. name: accountID
  30653. required: true
  30654. type: string
  30655. - description: 成交单号
  30656. in: query
  30657. name: tradeID
  30658. type: integer
  30659. - description: 委托单号
  30660. in: query
  30661. name: orderID
  30662. type: integer
  30663. - description: 商品ID
  30664. in: query
  30665. name: goodsID
  30666. type: integer
  30667. - description: 交易模式 - 格式:1,2,3
  30668. in: query
  30669. name: tradeMode
  30670. type: string
  30671. - description: 委托单据类型
  30672. in: query
  30673. name: buildType
  30674. type: integer
  30675. - description: 成交类别 - 格式:1,2,3
  30676. in: query
  30677. name: tradeType
  30678. type: string
  30679. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30680. in: query
  30681. name: startDate
  30682. type: string
  30683. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30684. in: query
  30685. name: endDate
  30686. type: string
  30687. produces:
  30688. - application/json
  30689. responses:
  30690. "200":
  30691. description: OK
  30692. schema:
  30693. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  30694. "500":
  30695. description: Internal Server Error
  30696. schema:
  30697. $ref: '#/definitions/app.Response'
  30698. security:
  30699. - ApiKeyAuth: []
  30700. summary: 历史成交单查询(合约市场)
  30701. tags:
  30702. - 通用单据
  30703. /Order/QueryHisTradeOrderDetail:
  30704. get:
  30705. parameters:
  30706. - description: 资金账户 - 格式:1,2,3
  30707. in: query
  30708. name: accountID
  30709. required: true
  30710. type: string
  30711. - description: 交易模式 - 格式:1,2,3
  30712. in: query
  30713. name: tradeMode
  30714. type: string
  30715. - description: 委托状态 - 格式:1,2,3
  30716. in: query
  30717. name: orderStatus
  30718. type: string
  30719. - description: 委托单号
  30720. in: query
  30721. name: orderID
  30722. type: integer
  30723. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30724. in: query
  30725. name: startDate
  30726. type: string
  30727. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30728. in: query
  30729. name: endDate
  30730. type: string
  30731. produces:
  30732. - application/json
  30733. responses:
  30734. "200":
  30735. description: OK
  30736. schema:
  30737. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  30738. "500":
  30739. description: Internal Server Error
  30740. schema:
  30741. $ref: '#/definitions/app.Response'
  30742. security:
  30743. - ApiKeyAuth: []
  30744. summary: 历史委托单查询请求(合约市场)
  30745. tags:
  30746. - 通用单据
  30747. /Order/QueryTradeDetail:
  30748. get:
  30749. parameters:
  30750. - description: 资金账户 - 格式:1,2,3
  30751. in: query
  30752. name: accountID
  30753. required: true
  30754. type: string
  30755. - description: 成交单号
  30756. in: query
  30757. name: tradeID
  30758. type: integer
  30759. - description: 委托单号
  30760. in: query
  30761. name: orderID
  30762. type: integer
  30763. - description: 交易模式 - 格式:1,2,3
  30764. in: query
  30765. name: tradeMode
  30766. type: string
  30767. - description: 委托单据类型
  30768. in: query
  30769. name: buildType
  30770. type: integer
  30771. - description: 成交类别 - 格式:1,2,3
  30772. in: query
  30773. name: tradeType
  30774. type: string
  30775. - description: 商品ID
  30776. in: query
  30777. name: goodsID
  30778. type: integer
  30779. produces:
  30780. - application/json
  30781. responses:
  30782. "200":
  30783. description: OK
  30784. schema:
  30785. $ref: '#/definitions/order.QueryTradeDetailRsp'
  30786. "500":
  30787. description: Internal Server Error
  30788. schema:
  30789. $ref: '#/definitions/app.Response'
  30790. security:
  30791. - ApiKeyAuth: []
  30792. summary: 成交单查询(合约市场)
  30793. tags:
  30794. - 通用单据
  30795. /Order/QueryTradeHolderDetail:
  30796. get:
  30797. parameters:
  30798. - description: 用户id
  30799. in: query
  30800. name: userid
  30801. type: integer
  30802. - description: 资金账号, 格式 1,2,3
  30803. in: query
  30804. name: accids
  30805. type: string
  30806. - description: 交易模式, 格式 1,2,3
  30807. in: query
  30808. name: trademodes
  30809. type: string
  30810. - description: 市场id, 格式 1,2,3
  30811. in: query
  30812. name: marketids
  30813. type: string
  30814. - description: 商品id
  30815. in: query
  30816. name: goodsid
  30817. type: integer
  30818. - description: 买卖方向 0-买 1-卖
  30819. in: query
  30820. name: buyorsell
  30821. type: integer
  30822. produces:
  30823. - application/json
  30824. responses:
  30825. "200":
  30826. description: OK
  30827. schema:
  30828. items:
  30829. $ref: '#/definitions/models.TradeHolderDetail'
  30830. type: array
  30831. "500":
  30832. description: Internal Server Error
  30833. schema:
  30834. $ref: '#/definitions/app.Response'
  30835. security:
  30836. - ApiKeyAuth: []
  30837. summary: 查询持仓明细
  30838. tags:
  30839. - 通用单据
  30840. /Order/QueryTradeOrderDetail:
  30841. get:
  30842. parameters:
  30843. - description: 资金账户 - 格式:1,2,3
  30844. in: query
  30845. name: accountID
  30846. required: true
  30847. type: string
  30848. - description: 交易模式 - 格式:1,2,3
  30849. in: query
  30850. name: tradeMode
  30851. type: string
  30852. - description: 委托状态 - 格式:1,2,3
  30853. in: query
  30854. name: orderStatus
  30855. type: string
  30856. - description: 委托单号
  30857. in: query
  30858. name: orderID
  30859. type: integer
  30860. produces:
  30861. - application/json
  30862. responses:
  30863. "200":
  30864. description: OK
  30865. schema:
  30866. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  30867. "500":
  30868. description: Internal Server Error
  30869. schema:
  30870. $ref: '#/definitions/app.Response'
  30871. security:
  30872. - ApiKeyAuth: []
  30873. summary: 委托单查询请求(合约市场)
  30874. tags:
  30875. - 通用单据
  30876. /Order/QueryTradePosition:
  30877. get:
  30878. parameters:
  30879. - description: 资金账户 - 格式:1,2,3
  30880. in: query
  30881. name: accountID
  30882. required: true
  30883. type: string
  30884. - description: 交易模式 - 格式:1,2,3
  30885. in: query
  30886. name: tradeMode
  30887. type: string
  30888. produces:
  30889. - application/json
  30890. responses:
  30891. "200":
  30892. description: OK
  30893. schema:
  30894. $ref: '#/definitions/order.QueryTradePositionRsp'
  30895. "500":
  30896. description: Internal Server Error
  30897. schema:
  30898. $ref: '#/definitions/app.Response'
  30899. security:
  30900. - ApiKeyAuth: []
  30901. summary: 持仓汇总查询(合约市场)
  30902. tags:
  30903. - 通用单据
  30904. /Qhj/QueryAccountInOutApply:
  30905. get:
  30906. parameters:
  30907. - description: 用户ID
  30908. in: query
  30909. name: userid
  30910. required: true
  30911. type: integer
  30912. - description: 申请起始日期(格式yyyymmdd)
  30913. in: query
  30914. name: begindate
  30915. type: string
  30916. - description: 申请截止日期(格式yyyymmdd)
  30917. in: query
  30918. name: enddate
  30919. type: string
  30920. - description: 模糊搜索名称
  30921. in: query
  30922. name: likename
  30923. type: string
  30924. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  30925. in: query
  30926. name: applystatus
  30927. type: integer
  30928. - description: 查询类型 1-提现(出金) 2-充值(入金)
  30929. in: query
  30930. name: querytype
  30931. type: integer
  30932. produces:
  30933. - application/json
  30934. responses:
  30935. "200":
  30936. description: OK
  30937. schema:
  30938. items:
  30939. $ref: '#/definitions/models.QhjAccountOutInApply'
  30940. type: array
  30941. "500":
  30942. description: Internal Server Error
  30943. schema:
  30944. $ref: '#/definitions/app.Response'
  30945. security:
  30946. - ApiKeyAuth: []
  30947. summary: 查询充值提现
  30948. tags:
  30949. - 大连千海金
  30950. /Qhj/QueryAreaFinanceConfig:
  30951. get:
  30952. parameters:
  30953. - description: 机构用户ID 其他做市关系,都设置为 1
  30954. in: query
  30955. name: userid
  30956. type: integer
  30957. produces:
  30958. - application/json
  30959. responses:
  30960. "200":
  30961. description: OK
  30962. schema:
  30963. items:
  30964. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  30965. type: array
  30966. "500":
  30967. description: Internal Server Error
  30968. schema:
  30969. $ref: '#/definitions/app.Response'
  30970. security:
  30971. - ApiKeyAuth: []
  30972. summary: 查询企业配置表
  30973. tags:
  30974. - 大连千海金
  30975. /Qhj/QueryBankAccountSign:
  30976. get:
  30977. parameters:
  30978. - description: 用户ID
  30979. in: query
  30980. name: userid
  30981. required: true
  30982. type: integer
  30983. produces:
  30984. - application/json
  30985. responses:
  30986. "200":
  30987. description: OK
  30988. schema:
  30989. items:
  30990. $ref: '#/definitions/models.QhjBankAccountSign'
  30991. type: array
  30992. "500":
  30993. description: Internal Server Error
  30994. schema:
  30995. $ref: '#/definitions/app.Response'
  30996. security:
  30997. - ApiKeyAuth: []
  30998. summary: 查询签约银行信息(提现账户管理)
  30999. tags:
  31000. - 大连千海金
  31001. /Qhj/QueryBankInfo:
  31002. get:
  31003. produces:
  31004. - application/json
  31005. responses:
  31006. "200":
  31007. description: OK
  31008. schema:
  31009. items:
  31010. $ref: '#/definitions/models.QhjBankInfo'
  31011. type: array
  31012. "500":
  31013. description: Internal Server Error
  31014. schema:
  31015. $ref: '#/definitions/app.Response'
  31016. security:
  31017. - ApiKeyAuth: []
  31018. summary: 查询开户行
  31019. tags:
  31020. - 大连千海金
  31021. /Qhj/QueryBrokerApply:
  31022. get:
  31023. parameters:
  31024. - description: 所属机构ID
  31025. in: query
  31026. name: userid
  31027. type: integer
  31028. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  31029. in: query
  31030. name: filterstatus
  31031. type: string
  31032. produces:
  31033. - application/json
  31034. responses:
  31035. "200":
  31036. description: OK
  31037. schema:
  31038. items:
  31039. $ref: '#/definitions/models.QhjBrokerApply'
  31040. type: array
  31041. "500":
  31042. description: Internal Server Error
  31043. schema:
  31044. $ref: '#/definitions/app.Response'
  31045. security:
  31046. - ApiKeyAuth: []
  31047. summary: 查询经纪人申请
  31048. tags:
  31049. - 大连千海金
  31050. /Qhj/QueryBrokerApplyEx:
  31051. get:
  31052. parameters:
  31053. - description: 所属机构ID
  31054. in: query
  31055. name: userid
  31056. type: integer
  31057. produces:
  31058. - application/json
  31059. responses:
  31060. "200":
  31061. description: OK
  31062. schema:
  31063. items:
  31064. $ref: '#/definitions/models.QhjBrokerApplyEx'
  31065. type: array
  31066. "500":
  31067. description: Internal Server Error
  31068. schema:
  31069. $ref: '#/definitions/app.Response'
  31070. security:
  31071. - ApiKeyAuth: []
  31072. summary: 查询经纪人信息和申请记录
  31073. tags:
  31074. - 大连千海金
  31075. /Qhj/QueryBrokerRewardLog:
  31076. get:
  31077. parameters:
  31078. - description: 用户ID
  31079. in: query
  31080. name: userid
  31081. required: true
  31082. type: integer
  31083. - description: 开始交易日(yyyymmdd)
  31084. in: query
  31085. name: begindate
  31086. type: string
  31087. - description: 结束交易日(yyyymmdd)
  31088. in: query
  31089. name: enddate
  31090. type: string
  31091. produces:
  31092. - application/json
  31093. responses:
  31094. "200":
  31095. description: OK
  31096. schema:
  31097. items:
  31098. $ref: '#/definitions/models.QhjBrokerRewardLog'
  31099. type: array
  31100. "500":
  31101. description: Internal Server Error
  31102. schema:
  31103. $ref: '#/definitions/app.Response'
  31104. security:
  31105. - ApiKeyAuth: []
  31106. summary: 查询奖励流水(我的奖励)
  31107. tags:
  31108. - 大连千海金
  31109. /Qhj/QueryContract:
  31110. get:
  31111. parameters:
  31112. - description: 用户ID
  31113. in: query
  31114. name: userid
  31115. type: integer
  31116. - description: scf合同id
  31117. in: query
  31118. name: scfcontractid
  31119. type: integer
  31120. produces:
  31121. - application/json
  31122. responses:
  31123. "200":
  31124. description: OK
  31125. schema:
  31126. items:
  31127. $ref: '#/definitions/models.QhjContract'
  31128. type: array
  31129. "500":
  31130. description: Internal Server Error
  31131. schema:
  31132. $ref: '#/definitions/app.Response'
  31133. security:
  31134. - ApiKeyAuth: []
  31135. summary: 查询融资明细(合同)
  31136. tags:
  31137. - 大连千海金
  31138. /Qhj/QueryContractLog:
  31139. get:
  31140. parameters:
  31141. - description: scf合同id
  31142. in: query
  31143. name: scfcontractid
  31144. required: true
  31145. type: integer
  31146. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  31147. in: query
  31148. name: amounttype
  31149. type: string
  31150. produces:
  31151. - application/json
  31152. responses:
  31153. "200":
  31154. description: OK
  31155. schema:
  31156. items:
  31157. $ref: '#/definitions/models.QhjContractLog'
  31158. type: array
  31159. "500":
  31160. description: Internal Server Error
  31161. schema:
  31162. $ref: '#/definitions/app.Response'
  31163. security:
  31164. - ApiKeyAuth: []
  31165. summary: 查询融资明细流水(融资明细详情页中的流水)
  31166. tags:
  31167. - 大连千海金
  31168. /Qhj/QueryCusBankSignBank:
  31169. get:
  31170. produces:
  31171. - application/json
  31172. responses:
  31173. "200":
  31174. description: OK
  31175. schema:
  31176. items:
  31177. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  31178. type: array
  31179. "500":
  31180. description: Internal Server Error
  31181. schema:
  31182. $ref: '#/definitions/app.Response'
  31183. security:
  31184. - ApiKeyAuth: []
  31185. summary: 查询托管银行
  31186. tags:
  31187. - 大连千海金
  31188. /Qhj/QueryCustomerInfo:
  31189. get:
  31190. parameters:
  31191. - description: 用户ID
  31192. in: query
  31193. name: userid
  31194. required: true
  31195. type: integer
  31196. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  31197. in: query
  31198. name: querytype
  31199. required: true
  31200. type: integer
  31201. - description: 客户类型 1-个人 2-企业
  31202. in: query
  31203. name: userinfotype
  31204. type: integer
  31205. - description: 客户名称(模糊匹配)
  31206. in: query
  31207. name: customername
  31208. type: string
  31209. - description: 昵称(模糊匹配)
  31210. in: query
  31211. name: nickname
  31212. type: string
  31213. - description: 是否包含子级 1-包含
  31214. in: query
  31215. name: includesub
  31216. type: integer
  31217. produces:
  31218. - application/json
  31219. responses:
  31220. "200":
  31221. description: OK
  31222. schema:
  31223. items:
  31224. $ref: '#/definitions/models.QhjCustomer'
  31225. type: array
  31226. "500":
  31227. description: Internal Server Error
  31228. schema:
  31229. $ref: '#/definitions/app.Response'
  31230. security:
  31231. - ApiKeyAuth: []
  31232. summary: 查询客户资料
  31233. tags:
  31234. - 大连千海金
  31235. /Qhj/QueryGoodsEx:
  31236. get:
  31237. parameters:
  31238. - description: 商品id
  31239. in: query
  31240. name: goodsid
  31241. type: integer
  31242. produces:
  31243. - application/json
  31244. responses:
  31245. "200":
  31246. description: OK
  31247. schema:
  31248. items:
  31249. $ref: '#/definitions/models.Qhjgoodsex'
  31250. type: array
  31251. "500":
  31252. description: Internal Server Error
  31253. schema:
  31254. $ref: '#/definitions/app.Response'
  31255. security:
  31256. - ApiKeyAuth: []
  31257. summary: 交易商品扩展表
  31258. tags:
  31259. - 大连千海金
  31260. /Qhj/QueryMyTeam:
  31261. get:
  31262. parameters:
  31263. - description: 用户ID
  31264. in: query
  31265. name: userid
  31266. required: true
  31267. type: integer
  31268. produces:
  31269. - application/json
  31270. responses:
  31271. "200":
  31272. description: OK
  31273. schema:
  31274. items:
  31275. $ref: '#/definitions/models.QhjMyTeamEx'
  31276. type: array
  31277. "500":
  31278. description: Internal Server Error
  31279. schema:
  31280. $ref: '#/definitions/app.Response'
  31281. security:
  31282. - ApiKeyAuth: []
  31283. summary: 查询我的团队
  31284. tags:
  31285. - 大连千海金
  31286. /Qhj/QueryMyTeamOrder:
  31287. get:
  31288. parameters:
  31289. - description: 页码
  31290. in: query
  31291. name: page
  31292. type: integer
  31293. - description: 每页条数
  31294. in: query
  31295. name: pagesize
  31296. type: integer
  31297. - description: 用户ID
  31298. in: query
  31299. name: userid
  31300. required: true
  31301. type: integer
  31302. - description: 交易模式
  31303. in: query
  31304. name: trademode
  31305. type: integer
  31306. - description: 名称(模糊搜索账户)
  31307. in: query
  31308. name: filtername
  31309. type: string
  31310. produces:
  31311. - application/json
  31312. responses:
  31313. "200":
  31314. description: OK
  31315. schema:
  31316. items:
  31317. $ref: '#/definitions/models.QhjTeamOrder'
  31318. type: array
  31319. "500":
  31320. description: Internal Server Error
  31321. schema:
  31322. $ref: '#/definitions/app.Response'
  31323. security:
  31324. - ApiKeyAuth: []
  31325. summary: 查询团队订单(我的团队/团队订单)
  31326. tags:
  31327. - 大连千海金
  31328. /Qhj/QueryParentAreaList:
  31329. get:
  31330. parameters:
  31331. - description: 用户ID
  31332. in: query
  31333. name: userid
  31334. required: true
  31335. type: integer
  31336. produces:
  31337. - application/json
  31338. responses:
  31339. "200":
  31340. description: OK
  31341. schema:
  31342. items:
  31343. $ref: '#/definitions/models.QhjParentAreaList'
  31344. type: array
  31345. "500":
  31346. description: Internal Server Error
  31347. schema:
  31348. $ref: '#/definitions/app.Response'
  31349. security:
  31350. - ApiKeyAuth: []
  31351. summary: 查询所属机构列表
  31352. tags:
  31353. - 大连千海金
  31354. /Qhj/QueryPayOrder:
  31355. get:
  31356. parameters:
  31357. - description: 资金账号id
  31358. in: query
  31359. name: accountid
  31360. required: true
  31361. type: integer
  31362. - description: 成交单号
  31363. in: query
  31364. name: tradeid
  31365. type: integer
  31366. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  31367. in: query
  31368. name: payflag
  31369. type: string
  31370. produces:
  31371. - application/json
  31372. responses:
  31373. "200":
  31374. description: OK
  31375. schema:
  31376. items:
  31377. $ref: '#/definitions/models.QhjPayOrder'
  31378. type: array
  31379. "500":
  31380. description: Internal Server Error
  31381. schema:
  31382. $ref: '#/definitions/app.Response'
  31383. security:
  31384. - ApiKeyAuth: []
  31385. summary: 查询待付款单据
  31386. tags:
  31387. - 大连千海金
  31388. /Qhj/QueryPickArea:
  31389. get:
  31390. parameters:
  31391. - description: 用户ID
  31392. in: query
  31393. name: userid
  31394. type: integer
  31395. produces:
  31396. - application/json
  31397. responses:
  31398. "200":
  31399. description: OK
  31400. schema:
  31401. items:
  31402. $ref: '#/definitions/models.QhjPickArea'
  31403. type: array
  31404. "500":
  31405. description: Internal Server Error
  31406. schema:
  31407. $ref: '#/definitions/app.Response'
  31408. security:
  31409. - ApiKeyAuth: []
  31410. summary: 查询提货门店
  31411. tags:
  31412. - 大连千海金
  31413. /Qhj/QueryPickGoods:
  31414. get:
  31415. parameters:
  31416. - description: 交易商品id
  31417. in: query
  31418. name: goodsid
  31419. required: true
  31420. type: integer
  31421. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  31422. in: query
  31423. name: status
  31424. type: string
  31425. produces:
  31426. - application/json
  31427. responses:
  31428. "200":
  31429. description: OK
  31430. schema:
  31431. items:
  31432. $ref: '#/definitions/models.QhjPickGoods'
  31433. type: array
  31434. "500":
  31435. description: Internal Server Error
  31436. schema:
  31437. $ref: '#/definitions/app.Response'
  31438. security:
  31439. - ApiKeyAuth: []
  31440. summary: 查询提货商品
  31441. tags:
  31442. - 大连千海金
  31443. /Qhj/QueryRSTriggerLog:
  31444. get:
  31445. parameters:
  31446. - description: 用户ID
  31447. in: query
  31448. name: userid
  31449. type: integer
  31450. - description: 定投策略id
  31451. in: query
  31452. name: regularlystrategyid
  31453. type: integer
  31454. - description: 商品id
  31455. in: query
  31456. name: goodsid
  31457. type: integer
  31458. - description: 开始交易日(yyyymmdd)
  31459. in: query
  31460. name: begindate
  31461. type: string
  31462. - description: 结束交易日(yyyymmdd)
  31463. in: query
  31464. name: enddate
  31465. type: string
  31466. - description: 名称(模糊搜索账户)
  31467. in: query
  31468. name: filtername
  31469. type: string
  31470. produces:
  31471. - application/json
  31472. responses:
  31473. "200":
  31474. description: OK
  31475. schema:
  31476. items:
  31477. $ref: '#/definitions/models.QhjRSTriggerLog'
  31478. type: array
  31479. "500":
  31480. description: Internal Server Error
  31481. schema:
  31482. $ref: '#/definitions/app.Response'
  31483. security:
  31484. - ApiKeyAuth: []
  31485. summary: 查询定投记录(定投管理/详情/定投记录)
  31486. tags:
  31487. - 大连千海金
  31488. /Qhj/QueryRStrategy:
  31489. get:
  31490. parameters:
  31491. - description: 用户ID
  31492. in: query
  31493. name: userid
  31494. type: integer
  31495. - description: 商品id
  31496. in: query
  31497. name: goodsid
  31498. type: integer
  31499. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  31500. in: query
  31501. name: status
  31502. type: string
  31503. - description: 名称(模糊搜索账户)
  31504. in: query
  31505. name: filtername
  31506. type: string
  31507. produces:
  31508. - application/json
  31509. responses:
  31510. "200":
  31511. description: OK
  31512. schema:
  31513. items:
  31514. $ref: '#/definitions/models.QhjRStrategy'
  31515. type: array
  31516. "500":
  31517. description: Internal Server Error
  31518. schema:
  31519. $ref: '#/definitions/app.Response'
  31520. security:
  31521. - ApiKeyAuth: []
  31522. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  31523. tags:
  31524. - 大连千海金
  31525. /Qhj/QueryReckonPriceLog:
  31526. get:
  31527. parameters:
  31528. - description: 商品ID
  31529. in: query
  31530. name: goodsid
  31531. type: integer
  31532. - description: 交易日 格式(yyyymmdd)
  31533. in: query
  31534. name: tradedate
  31535. type: string
  31536. produces:
  31537. - application/json
  31538. responses:
  31539. "200":
  31540. description: OK
  31541. schema:
  31542. items:
  31543. $ref: '#/definitions/models.QhjReckonPriceLog'
  31544. type: array
  31545. "500":
  31546. description: Internal Server Error
  31547. schema:
  31548. $ref: '#/definitions/app.Response'
  31549. security:
  31550. - ApiKeyAuth: []
  31551. summary: 查询定投价(结算价)
  31552. tags:
  31553. - 大连千海金
  31554. /Qhj/QueryScoreLog:
  31555. get:
  31556. parameters:
  31557. - description: 用户ID
  31558. in: query
  31559. name: userid
  31560. required: true
  31561. type: integer
  31562. - description: 开始交易日(yyyymmdd)
  31563. in: query
  31564. name: begindate
  31565. type: string
  31566. - description: 结束交易日(yyyymmdd)
  31567. in: query
  31568. name: enddate
  31569. type: string
  31570. - description: 最近多少条
  31571. in: query
  31572. name: lastnum
  31573. type: integer
  31574. produces:
  31575. - application/json
  31576. responses:
  31577. "200":
  31578. description: OK
  31579. schema:
  31580. items:
  31581. $ref: '#/definitions/models.QhjScoreLog'
  31582. type: array
  31583. "500":
  31584. description: Internal Server Error
  31585. schema:
  31586. $ref: '#/definitions/app.Response'
  31587. security:
  31588. - ApiKeyAuth: []
  31589. summary: 查询积分流水(我的积分)
  31590. tags:
  31591. - 大连千海金
  31592. /Qhj/QuerySiteColumnDetail:
  31593. get:
  31594. parameters:
  31595. - description: 用户ID
  31596. in: query
  31597. name: userid
  31598. required: true
  31599. type: integer
  31600. produces:
  31601. - application/json
  31602. responses:
  31603. "200":
  31604. description: OK
  31605. schema:
  31606. items:
  31607. $ref: '#/definitions/models.QhjSiteColumnDetail'
  31608. type: array
  31609. "500":
  31610. description: Internal Server Error
  31611. schema:
  31612. $ref: '#/definitions/app.Response'
  31613. security:
  31614. - ApiKeyAuth: []
  31615. summary: 查询资讯
  31616. tags:
  31617. - 大连千海金
  31618. /Qhj/QueryTradeGoodsPickup:
  31619. get:
  31620. parameters:
  31621. - description: 用户ID
  31622. in: query
  31623. name: userid
  31624. required: true
  31625. type: integer
  31626. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  31627. 7:已拒绝 8:已撤销
  31628. in: query
  31629. name: takeorderstatus
  31630. type: integer
  31631. produces:
  31632. - application/json
  31633. responses:
  31634. "200":
  31635. description: OK
  31636. schema:
  31637. items:
  31638. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  31639. type: array
  31640. "500":
  31641. description: Internal Server Error
  31642. schema:
  31643. $ref: '#/definitions/app.Response'
  31644. security:
  31645. - ApiKeyAuth: []
  31646. summary: 查询提货
  31647. tags:
  31648. - 大连千海金
  31649. /Qhj/QueryUserCollectConfig:
  31650. get:
  31651. parameters:
  31652. - description: 用户ID
  31653. in: query
  31654. name: userid
  31655. required: true
  31656. type: integer
  31657. produces:
  31658. - application/json
  31659. responses:
  31660. "200":
  31661. description: OK
  31662. schema:
  31663. items:
  31664. $ref: '#/definitions/models.UserCollectConfig'
  31665. type: array
  31666. "500":
  31667. description: Internal Server Error
  31668. schema:
  31669. $ref: '#/definitions/app.Response'
  31670. security:
  31671. - ApiKeyAuth: []
  31672. summary: 查询提现账户设置
  31673. tags:
  31674. - 大连千海金
  31675. /Qhj/QueryUserReceiveInfo:
  31676. get:
  31677. parameters:
  31678. - description: 用户ID
  31679. in: query
  31680. name: userid
  31681. required: true
  31682. type: integer
  31683. produces:
  31684. - application/json
  31685. responses:
  31686. "200":
  31687. description: OK
  31688. schema:
  31689. items:
  31690. $ref: '#/definitions/models.UserReceiveInfo'
  31691. type: array
  31692. "500":
  31693. description: Internal Server Error
  31694. schema:
  31695. $ref: '#/definitions/app.Response'
  31696. security:
  31697. - ApiKeyAuth: []
  31698. summary: 查询收货地址信息
  31699. tags:
  31700. - 大连千海金
  31701. /QhjMgr/QueryAccountInOutApply:
  31702. get:
  31703. parameters:
  31704. - description: 查询类型 1-提现(出金) 2-充值(出金)
  31705. in: query
  31706. name: querytype
  31707. required: true
  31708. type: integer
  31709. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  31710. in: query
  31711. name: applystatus
  31712. type: integer
  31713. - description: 申请起始日期(格式yyyymmdd)
  31714. in: query
  31715. name: begindate
  31716. type: string
  31717. - description: 申请截止日期(格式yyyymmdd)
  31718. in: query
  31719. name: enddate
  31720. type: string
  31721. - description: 模糊搜索名称
  31722. in: query
  31723. name: likename
  31724. type: string
  31725. produces:
  31726. - application/json
  31727. responses:
  31728. "200":
  31729. description: OK
  31730. schema:
  31731. items:
  31732. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  31733. type: array
  31734. "500":
  31735. description: Internal Server Error
  31736. schema:
  31737. $ref: '#/definitions/app.Response'
  31738. security:
  31739. - ApiKeyAuth: []
  31740. summary: 查询充值提现
  31741. tags:
  31742. - 大连千海金(PCWeb)
  31743. /QhjMgr/QueryBrokerApply:
  31744. get:
  31745. parameters:
  31746. - description: 所属机构ID
  31747. in: query
  31748. name: userid
  31749. type: integer
  31750. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  31751. in: query
  31752. name: filterstatus
  31753. type: string
  31754. - description: 名称(模糊匹配)
  31755. in: query
  31756. name: filtername
  31757. type: string
  31758. - description: 是否包含子级 1-包含
  31759. in: query
  31760. name: includesub
  31761. type: integer
  31762. produces:
  31763. - application/json
  31764. responses:
  31765. "200":
  31766. description: OK
  31767. schema:
  31768. items:
  31769. $ref: '#/definitions/models.QhjMgrBrokerApply'
  31770. type: array
  31771. "500":
  31772. description: Internal Server Error
  31773. schema:
  31774. $ref: '#/definitions/app.Response'
  31775. security:
  31776. - ApiKeyAuth: []
  31777. summary: 查询经纪人申请
  31778. tags:
  31779. - 大连千海金(PCWeb)
  31780. /QhjMgr/QueryBrokerRewardReport:
  31781. get:
  31782. parameters:
  31783. - description: 所属机构ID
  31784. in: query
  31785. name: userid
  31786. required: true
  31787. type: integer
  31788. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  31789. in: query
  31790. name: cycletype
  31791. required: true
  31792. type: integer
  31793. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  31794. in: query
  31795. name: cycletime
  31796. required: true
  31797. type: string
  31798. - description: 名称(模糊匹配)
  31799. in: query
  31800. name: filtername
  31801. type: string
  31802. - description: 是否包含子级 1-包含
  31803. in: query
  31804. name: includesub
  31805. type: integer
  31806. produces:
  31807. - application/json
  31808. responses:
  31809. "200":
  31810. description: OK
  31811. schema:
  31812. items:
  31813. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  31814. type: array
  31815. "500":
  31816. description: Internal Server Error
  31817. schema:
  31818. $ref: '#/definitions/app.Response'
  31819. security:
  31820. - ApiKeyAuth: []
  31821. summary: 查询经纪人奖励报表(废弃)
  31822. tags:
  31823. - 大连千海金(PCWeb)
  31824. /QhjMgr/QueryContract:
  31825. get:
  31826. parameters:
  31827. - description: 用户ID
  31828. in: query
  31829. name: userid
  31830. type: integer
  31831. - description: 商品id
  31832. in: query
  31833. name: goodsid
  31834. type: integer
  31835. - description: 名称(模糊搜索账户)
  31836. in: query
  31837. name: filtername
  31838. type: string
  31839. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  31840. in: query
  31841. name: risklevel
  31842. type: string
  31843. - description: 开始交易日(yyyymmdd)
  31844. in: query
  31845. name: begindate
  31846. type: string
  31847. - description: 结束交易日(yyyymmdd)
  31848. in: query
  31849. name: enddate
  31850. type: string
  31851. produces:
  31852. - application/json
  31853. responses:
  31854. "200":
  31855. description: OK
  31856. schema:
  31857. items:
  31858. $ref: '#/definitions/models.QhjMgrContract'
  31859. type: array
  31860. "500":
  31861. description: Internal Server Error
  31862. schema:
  31863. $ref: '#/definitions/app.Response'
  31864. security:
  31865. - ApiKeyAuth: []
  31866. summary: 查询融资信息(合同)
  31867. tags:
  31868. - 大连千海金(PCWeb)
  31869. /QhjMgr/QueryCustomerInfo:
  31870. get:
  31871. parameters:
  31872. - description: 用户ID
  31873. in: query
  31874. name: userid
  31875. required: true
  31876. type: integer
  31877. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  31878. in: query
  31879. name: querytype
  31880. required: true
  31881. type: integer
  31882. - description: 客户类型 1-个人 2-企业
  31883. in: query
  31884. name: userinfotype
  31885. type: integer
  31886. - description: 客户名称(模糊匹配)
  31887. in: query
  31888. name: customername
  31889. type: string
  31890. - description: 昵称(模糊匹配)
  31891. in: query
  31892. name: nickname
  31893. type: string
  31894. - description: 所属客户经理(模糊匹配)
  31895. in: query
  31896. name: brokername
  31897. type: string
  31898. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  31899. 如0503 -5月3日)
  31900. in: query
  31901. name: birthday
  31902. type: string
  31903. - description: 是否包含子级 1-包含
  31904. in: query
  31905. name: includesub
  31906. type: integer
  31907. produces:
  31908. - application/json
  31909. responses:
  31910. "200":
  31911. description: OK
  31912. schema:
  31913. items:
  31914. $ref: '#/definitions/models.QhjMgrCustomer'
  31915. type: array
  31916. "500":
  31917. description: Internal Server Error
  31918. schema:
  31919. $ref: '#/definitions/app.Response'
  31920. security:
  31921. - ApiKeyAuth: []
  31922. summary: 查询客户资料
  31923. tags:
  31924. - 大连千海金(PCWeb)
  31925. /QhjMgr/QueryPickGoods:
  31926. get:
  31927. parameters:
  31928. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  31929. in: query
  31930. name: status
  31931. type: string
  31932. produces:
  31933. - application/json
  31934. responses:
  31935. "200":
  31936. description: OK
  31937. schema:
  31938. items:
  31939. $ref: '#/definitions/models.QhjMgrPickGoods'
  31940. type: array
  31941. "500":
  31942. description: Internal Server Error
  31943. schema:
  31944. $ref: '#/definitions/app.Response'
  31945. security:
  31946. - ApiKeyAuth: []
  31947. summary: 查询提货商品
  31948. tags:
  31949. - 大连千海金(PCWeb)
  31950. /QhjMgr/QuerySubArea:
  31951. get:
  31952. parameters:
  31953. - description: 用户ID
  31954. in: query
  31955. name: userid
  31956. required: true
  31957. type: integer
  31958. produces:
  31959. - application/json
  31960. responses:
  31961. "200":
  31962. description: OK
  31963. schema:
  31964. items:
  31965. $ref: '#/definitions/models.QhjMgrSubArea'
  31966. type: array
  31967. "500":
  31968. description: Internal Server Error
  31969. schema:
  31970. $ref: '#/definitions/app.Response'
  31971. security:
  31972. - ApiKeyAuth: []
  31973. summary: 查询子机构列表
  31974. tags:
  31975. - 大连千海金(PCWeb)
  31976. /QhjMgr/QueryTradeDetail:
  31977. get:
  31978. parameters:
  31979. - description: 用户ID
  31980. in: query
  31981. name: userid
  31982. required: true
  31983. type: integer
  31984. - description: 用户类型 1-个人 2-企业
  31985. in: query
  31986. name: userinfotype
  31987. type: integer
  31988. - description: 交易模式
  31989. in: query
  31990. name: trademode
  31991. type: integer
  31992. - description: 商品id
  31993. in: query
  31994. name: goodsid
  31995. type: integer
  31996. - description: 名称(模糊搜索账户)
  31997. in: query
  31998. name: filtername
  31999. type: string
  32000. - description: 开始交易日(yyyymmdd)
  32001. in: query
  32002. name: begindate
  32003. type: string
  32004. - description: 结束交易日(yyyymmdd)
  32005. in: query
  32006. name: enddate
  32007. type: string
  32008. - description: 是否包含子级 1-包含
  32009. in: query
  32010. name: includesub
  32011. type: integer
  32012. produces:
  32013. - application/json
  32014. responses:
  32015. "200":
  32016. description: OK
  32017. schema:
  32018. items:
  32019. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  32020. type: array
  32021. "500":
  32022. description: Internal Server Error
  32023. schema:
  32024. $ref: '#/definitions/app.Response'
  32025. security:
  32026. - ApiKeyAuth: []
  32027. summary: 查询成交明细
  32028. tags:
  32029. - 大连千海金(PCWeb)
  32030. /QhjMgr/QueryTradeOrderDetail:
  32031. get:
  32032. parameters:
  32033. - description: 用户ID
  32034. in: query
  32035. name: userid
  32036. required: true
  32037. type: integer
  32038. - description: 用户类型 1-个人 2-企业
  32039. in: query
  32040. name: userinfotype
  32041. type: integer
  32042. - description: 交易模式
  32043. in: query
  32044. name: trademode
  32045. type: integer
  32046. - description: 商品id
  32047. in: query
  32048. name: goodsid
  32049. type: integer
  32050. - description: 名称(模糊搜索账户)
  32051. in: query
  32052. name: filtername
  32053. type: string
  32054. - description: 开始交易日(yyyymmdd)
  32055. in: query
  32056. name: begindate
  32057. type: string
  32058. - description: 结束交易日(yyyymmdd)
  32059. in: query
  32060. name: enddate
  32061. type: string
  32062. - description: 是否包含子级 1-包含
  32063. in: query
  32064. name: includesub
  32065. type: integer
  32066. produces:
  32067. - application/json
  32068. responses:
  32069. "200":
  32070. description: OK
  32071. schema:
  32072. items:
  32073. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  32074. type: array
  32075. "500":
  32076. description: Internal Server Error
  32077. schema:
  32078. $ref: '#/definitions/app.Response'
  32079. security:
  32080. - ApiKeyAuth: []
  32081. summary: 查询委托明细
  32082. tags:
  32083. - 大连千海金(PCWeb)
  32084. /QhjMgr/QueryTradePayOrder:
  32085. get:
  32086. parameters:
  32087. - description: 用户ID
  32088. in: query
  32089. name: userid
  32090. required: true
  32091. type: integer
  32092. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  32093. in: query
  32094. name: payflag
  32095. type: string
  32096. - description: 用户类型 1-个人 2-企业
  32097. in: query
  32098. name: userinfotype
  32099. type: integer
  32100. - description: 交易模式
  32101. in: query
  32102. name: trademode
  32103. type: integer
  32104. - description: 商品id
  32105. in: query
  32106. name: goodsid
  32107. type: integer
  32108. - description: 名称(模糊搜索账户)
  32109. in: query
  32110. name: filtername
  32111. type: string
  32112. - description: 开始交易日(yyyymmdd)
  32113. in: query
  32114. name: begindate
  32115. type: string
  32116. - description: 结束交易日(yyyymmdd)
  32117. in: query
  32118. name: enddate
  32119. type: string
  32120. - description: 是否包含子级 1-包含
  32121. in: query
  32122. name: includesub
  32123. type: integer
  32124. produces:
  32125. - application/json
  32126. responses:
  32127. "200":
  32128. description: OK
  32129. schema:
  32130. items:
  32131. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  32132. type: array
  32133. "500":
  32134. description: Internal Server Error
  32135. schema:
  32136. $ref: '#/definitions/app.Response'
  32137. security:
  32138. - ApiKeyAuth: []
  32139. summary: 查询待付款单
  32140. tags:
  32141. - 大连千海金(PCWeb)
  32142. /QhjMgr/QueryTradePosition:
  32143. get:
  32144. parameters:
  32145. - description: 用户ID
  32146. in: query
  32147. name: userid
  32148. required: true
  32149. type: integer
  32150. - description: 用户类型 1-个人 2-企业
  32151. in: query
  32152. name: userinfotype
  32153. type: integer
  32154. - description: 交易模式
  32155. in: query
  32156. name: trademode
  32157. type: integer
  32158. - description: 商品id
  32159. in: query
  32160. name: goodsid
  32161. type: integer
  32162. - description: 名称(模糊搜索账户)
  32163. in: query
  32164. name: filtername
  32165. type: string
  32166. - description: 是否包含子级 1-包含
  32167. in: query
  32168. name: includesub
  32169. type: integer
  32170. produces:
  32171. - application/json
  32172. responses:
  32173. "200":
  32174. description: OK
  32175. schema:
  32176. items:
  32177. $ref: '#/definitions/models.QhjMgrPositionRsp'
  32178. type: array
  32179. "500":
  32180. description: Internal Server Error
  32181. schema:
  32182. $ref: '#/definitions/app.Response'
  32183. security:
  32184. - ApiKeyAuth: []
  32185. summary: 查询持仓汇总
  32186. tags:
  32187. - 大连千海金(PCWeb)
  32188. /QhjSys/QueryAgreementChangeLog:
  32189. get:
  32190. parameters:
  32191. - description: 协议ID
  32192. in: query
  32193. name: agreementid
  32194. type: integer
  32195. - description: 协议版本号
  32196. in: query
  32197. name: agreementversion
  32198. type: integer
  32199. - description: 协议类型 - 1:注册 2:登录 3:交易
  32200. in: query
  32201. name: agreementtype
  32202. type: integer
  32203. - description: 协议编号(模糊匹配)
  32204. in: query
  32205. name: agreementno
  32206. type: string
  32207. - description: 协议名称(模糊匹配)
  32208. in: query
  32209. name: agreementname
  32210. type: string
  32211. produces:
  32212. - application/json
  32213. responses:
  32214. "200":
  32215. description: OK
  32216. schema:
  32217. items:
  32218. $ref: '#/definitions/models.QhjAgreementChangeLog'
  32219. type: array
  32220. "500":
  32221. description: Internal Server Error
  32222. schema:
  32223. $ref: '#/definitions/app.Response'
  32224. security:
  32225. - ApiKeyAuth: []
  32226. summary: 查询协议配置变更流水
  32227. tags:
  32228. - 大连千海金(协议和签约信息)
  32229. /QhjSys/QueryAgreementConfig:
  32230. get:
  32231. parameters:
  32232. - description: 协议ID
  32233. in: query
  32234. name: agreementid
  32235. type: integer
  32236. - description: 协议版本号
  32237. in: query
  32238. name: agreementversion
  32239. type: integer
  32240. - description: 协议类型 - 1:注册 2:登录 3:交易
  32241. in: query
  32242. name: agreementtype
  32243. type: integer
  32244. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  32245. in: query
  32246. name: isvalid
  32247. type: integer
  32248. - description: 协议编号(模糊匹配)
  32249. in: query
  32250. name: agreementno
  32251. type: string
  32252. - description: 协议名称(模糊匹配)
  32253. in: query
  32254. name: agreementname
  32255. type: string
  32256. produces:
  32257. - application/json
  32258. responses:
  32259. "200":
  32260. description: OK
  32261. schema:
  32262. items:
  32263. $ref: '#/definitions/models.QhjAgreementConfig'
  32264. type: array
  32265. "500":
  32266. description: Internal Server Error
  32267. schema:
  32268. $ref: '#/definitions/app.Response'
  32269. security:
  32270. - ApiKeyAuth: []
  32271. summary: 查询协议配置
  32272. tags:
  32273. - 大连千海金(协议和签约信息)
  32274. /QhjSys/QueryCustomerSignStatus:
  32275. get:
  32276. parameters:
  32277. - description: 客户ID
  32278. in: query
  32279. name: userid
  32280. type: integer
  32281. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  32282. in: query
  32283. name: nodetype
  32284. type: integer
  32285. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  32286. in: query
  32287. name: goodsid
  32288. type: integer
  32289. - description: 创建交易日(yyyyMMdd)
  32290. in: query
  32291. name: tradedate
  32292. type: string
  32293. - description: 用户名称(模糊匹配)
  32294. in: query
  32295. name: username
  32296. type: string
  32297. produces:
  32298. - application/json
  32299. responses:
  32300. "200":
  32301. description: OK
  32302. schema:
  32303. items:
  32304. $ref: '#/definitions/models.QhjCustomerSignStatus'
  32305. type: array
  32306. "500":
  32307. description: Internal Server Error
  32308. schema:
  32309. $ref: '#/definitions/app.Response'
  32310. security:
  32311. - ApiKeyAuth: []
  32312. summary: 查询客户协议签约状态
  32313. tags:
  32314. - 大连千海金(协议和签约信息)
  32315. /QhjSys/QueryNodeAgreementConfig:
  32316. get:
  32317. parameters:
  32318. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  32319. in: query
  32320. name: configid
  32321. type: integer
  32322. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  32323. in: query
  32324. name: nodetype
  32325. type: integer
  32326. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  32327. in: query
  32328. name: goodsid
  32329. type: integer
  32330. - description: 协议ID
  32331. in: query
  32332. name: agreementid
  32333. type: integer
  32334. - description: 协议类型 - 1:注册 2:登录 3:交易
  32335. in: query
  32336. name: agreementtype
  32337. type: integer
  32338. - description: 协议版本号
  32339. in: query
  32340. name: agreementversion
  32341. type: integer
  32342. - description: 协议编号(模糊匹配)
  32343. in: query
  32344. name: agreementno
  32345. type: string
  32346. - description: 协议名称(模糊匹配)
  32347. in: query
  32348. name: agreementname
  32349. type: string
  32350. produces:
  32351. - application/json
  32352. responses:
  32353. "200":
  32354. description: OK
  32355. schema:
  32356. items:
  32357. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  32358. type: array
  32359. "500":
  32360. description: Internal Server Error
  32361. schema:
  32362. $ref: '#/definitions/app.Response'
  32363. security:
  32364. - ApiKeyAuth: []
  32365. summary: 查询协议节点配置
  32366. tags:
  32367. - 大连千海金(协议和签约信息)
  32368. /QhjSys/QueryQhjCustomerSignLog:
  32369. get:
  32370. parameters:
  32371. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  32372. in: query
  32373. name: logid
  32374. type: integer
  32375. - description: 客户ID
  32376. in: query
  32377. name: userid
  32378. type: integer
  32379. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  32380. in: query
  32381. name: nodetype
  32382. type: integer
  32383. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  32384. in: query
  32385. name: goodsid
  32386. type: integer
  32387. - description: 协议ID
  32388. in: query
  32389. name: agreementid
  32390. type: integer
  32391. - description: 用户名称(模糊匹配)
  32392. in: query
  32393. name: username
  32394. type: string
  32395. - description: 协议编号(模糊匹配)
  32396. in: query
  32397. name: agreementno
  32398. type: string
  32399. - description: 协议名称(模糊匹配)
  32400. in: query
  32401. name: agreementname
  32402. type: string
  32403. produces:
  32404. - application/json
  32405. responses:
  32406. "200":
  32407. description: OK
  32408. schema:
  32409. items:
  32410. $ref: '#/definitions/models.QhjCustomerSignLog'
  32411. type: array
  32412. "500":
  32413. description: Internal Server Error
  32414. schema:
  32415. $ref: '#/definitions/app.Response'
  32416. security:
  32417. - ApiKeyAuth: []
  32418. summary: 查询客户协议签约流水
  32419. tags:
  32420. - 大连千海金(协议和签约信息)
  32421. /QhjSys/QueryUserNodeCfgAndStatus:
  32422. get:
  32423. parameters:
  32424. - description: 客户ID
  32425. in: query
  32426. name: userid
  32427. type: integer
  32428. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  32429. in: query
  32430. name: configid
  32431. type: integer
  32432. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  32433. in: query
  32434. name: nodetype
  32435. type: string
  32436. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  32437. in: query
  32438. name: goodsid
  32439. type: integer
  32440. - description: 协议ID
  32441. in: query
  32442. name: agreementid
  32443. type: integer
  32444. - description: 协议类型 - 1:注册 2:登录 3:交易
  32445. in: query
  32446. name: agreementtype
  32447. type: integer
  32448. - description: 协议版本号
  32449. in: query
  32450. name: agreementversion
  32451. type: integer
  32452. - description: 协议编号(模糊匹配)
  32453. in: query
  32454. name: agreementno
  32455. type: string
  32456. - description: 协议名称(模糊匹配)
  32457. in: query
  32458. name: agreementname
  32459. type: string
  32460. produces:
  32461. - application/json
  32462. responses:
  32463. "200":
  32464. description: OK
  32465. schema:
  32466. items:
  32467. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  32468. type: array
  32469. "500":
  32470. description: Internal Server Error
  32471. schema:
  32472. $ref: '#/definitions/app.Response'
  32473. security:
  32474. - ApiKeyAuth: []
  32475. summary: 查询用户协议节点配置和状态
  32476. tags:
  32477. - 大连千海金(协议和签约信息)
  32478. /Quote/QueryHistoryDatas:
  32479. get:
  32480. parameters:
  32481. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  32482. 日线 12:周线 13:月线 14:年线'
  32483. in: query
  32484. name: cycleType
  32485. required: true
  32486. type: integer
  32487. - description: 商品代码
  32488. in: query
  32489. name: goodsCode
  32490. required: true
  32491. type: string
  32492. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  32493. in: query
  32494. name: startTime
  32495. type: string
  32496. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  32497. in: query
  32498. name: endTime
  32499. type: string
  32500. - description: 条数
  32501. in: query
  32502. name: count
  32503. type: integer
  32504. - description: 是否按时间顺序排序(默认为时间倒序排序)
  32505. in: query
  32506. name: isAsc
  32507. type: boolean
  32508. produces:
  32509. - application/json
  32510. responses:
  32511. "200":
  32512. description: OK
  32513. schema:
  32514. $ref: '#/definitions/quote.HistoryData'
  32515. "500":
  32516. description: Internal Server Error
  32517. schema:
  32518. $ref: '#/definitions/app.Response'
  32519. security:
  32520. - ApiKeyAuth: []
  32521. summary: 查询行情历史数据
  32522. tags:
  32523. - 行情服务
  32524. /Quote/QueryHistoryTikDatas:
  32525. get:
  32526. parameters:
  32527. - description: 商品代码
  32528. in: query
  32529. name: goodsCode
  32530. required: true
  32531. type: string
  32532. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  32533. in: query
  32534. name: startTime
  32535. type: string
  32536. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  32537. in: query
  32538. name: endTime
  32539. type: string
  32540. - description: 条数
  32541. in: query
  32542. name: count
  32543. type: integer
  32544. - description: 是否按时间顺序排序(默认为时间倒序排序)
  32545. in: query
  32546. name: isAsc
  32547. type: boolean
  32548. produces:
  32549. - application/json
  32550. responses:
  32551. "200":
  32552. description: OK
  32553. schema:
  32554. $ref: '#/definitions/quote.HistoryTikData'
  32555. "500":
  32556. description: Internal Server Error
  32557. schema:
  32558. $ref: '#/definitions/app.Response'
  32559. security:
  32560. - ApiKeyAuth: []
  32561. summary: 查询行情Tik数据
  32562. tags:
  32563. - 行情服务
  32564. /Quote/QueryQuoteDay:
  32565. get:
  32566. parameters:
  32567. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  32568. in: query
  32569. name: goodsCodes
  32570. type: string
  32571. produces:
  32572. - application/json
  32573. responses:
  32574. "200":
  32575. description: OK
  32576. schema:
  32577. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  32578. "500":
  32579. description: Internal Server Error
  32580. schema:
  32581. $ref: '#/definitions/app.Response'
  32582. security:
  32583. - ApiKeyAuth: []
  32584. summary: 获取商品盘面信息
  32585. tags:
  32586. - 行情服务
  32587. /Quote/QueryTSData:
  32588. get:
  32589. parameters:
  32590. - description: 商品代码
  32591. in: query
  32592. name: goodsCode
  32593. required: true
  32594. type: string
  32595. produces:
  32596. - application/json
  32597. responses:
  32598. "200":
  32599. description: OK
  32600. schema:
  32601. $ref: '#/definitions/quote.QueryTSDataRsp'
  32602. "500":
  32603. description: Internal Server Error
  32604. schema:
  32605. $ref: '#/definitions/app.Response'
  32606. security:
  32607. - ApiKeyAuth: []
  32608. summary: 分时图数据查询
  32609. tags:
  32610. - 行情服务
  32611. /SZDZ/QueryConvertConfig:
  32612. get:
  32613. parameters:
  32614. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  32615. 6:交易转花生米(不设置)
  32616. in: query
  32617. name: convertType
  32618. type: integer
  32619. - description: 外部商品代码[JD\PD]
  32620. in: query
  32621. name: outerGoodsCode
  32622. type: string
  32623. - description: 内部商品ID列表[交易],格式:1,2,3
  32624. in: query
  32625. name: innerGoodsIDs
  32626. type: string
  32627. produces:
  32628. - application/json
  32629. responses:
  32630. "200":
  32631. description: OK
  32632. schema:
  32633. $ref: '#/definitions/models.Szdz3convertconfig'
  32634. "500":
  32635. description: Internal Server Error
  32636. schema:
  32637. $ref: '#/definitions/app.Response'
  32638. security:
  32639. - ApiKeyAuth: []
  32640. summary: 查询交易系统转换设置
  32641. tags:
  32642. - 定制【尚志大宗】
  32643. /SZDZ/QueryConvertLog:
  32644. get:
  32645. parameters:
  32646. - description: 资金账户 - 格式:1,2,3
  32647. in: query
  32648. name: accountID
  32649. required: true
  32650. type: string
  32651. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  32652. in: query
  32653. name: startDate
  32654. type: string
  32655. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  32656. in: query
  32657. name: endDate
  32658. type: string
  32659. produces:
  32660. - application/json
  32661. responses:
  32662. "200":
  32663. description: OK
  32664. schema:
  32665. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  32666. "500":
  32667. description: Internal Server Error
  32668. schema:
  32669. $ref: '#/definitions/app.Response'
  32670. security:
  32671. - ApiKeyAuth: []
  32672. summary: 交易系统转换流水查询
  32673. tags:
  32674. - 定制【尚志大宗】
  32675. /SZDZ/QueryGoodsPickup:
  32676. get:
  32677. parameters:
  32678. - description: 资金账户 - 格式:1,2,3
  32679. in: query
  32680. name: accountID
  32681. required: true
  32682. type: string
  32683. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  32684. in: query
  32685. name: takeOrderStatus
  32686. type: integer
  32687. produces:
  32688. - application/json
  32689. responses:
  32690. "200":
  32691. description: OK
  32692. schema:
  32693. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  32694. "500":
  32695. description: Internal Server Error
  32696. schema:
  32697. $ref: '#/definitions/app.Response'
  32698. security:
  32699. - ApiKeyAuth: []
  32700. summary: 商品提货单查询
  32701. tags:
  32702. - 定制【尚志大宗】
  32703. /SZDZ/QueryRecieptOrder:
  32704. get:
  32705. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  32706. parameters:
  32707. - description: 页码
  32708. in: query
  32709. name: page
  32710. type: integer
  32711. - description: 每页条数
  32712. in: query
  32713. name: pagesize
  32714. type: integer
  32715. - description: 商品ID
  32716. in: query
  32717. name: goodsID
  32718. required: true
  32719. type: integer
  32720. - description: 所属账户名称
  32721. in: query
  32722. name: accountName
  32723. type: string
  32724. - description: 市场ID
  32725. in: query
  32726. name: marketID
  32727. type: integer
  32728. - description: 方向 - 0:买 1:卖
  32729. in: query
  32730. name: buyorsell
  32731. required: true
  32732. type: integer
  32733. produces:
  32734. - application/json
  32735. responses:
  32736. "200":
  32737. description: OK
  32738. schema:
  32739. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  32740. "500":
  32741. description: Internal Server Error
  32742. schema:
  32743. $ref: '#/definitions/app.Response'
  32744. security:
  32745. - ApiKeyAuth: []
  32746. summary: 点选挂牌委托单据查询(摘牌大厅)
  32747. tags:
  32748. - 定制【尚志大宗】
  32749. /SZDZ/QuerySZDZTradePosition:
  32750. get:
  32751. parameters:
  32752. - description: 资金账户
  32753. in: query
  32754. name: accountID
  32755. required: true
  32756. type: integer
  32757. produces:
  32758. - application/json
  32759. responses:
  32760. "200":
  32761. description: OK
  32762. schema:
  32763. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  32764. "500":
  32765. description: Internal Server Error
  32766. schema:
  32767. $ref: '#/definitions/app.Response'
  32768. security:
  32769. - ApiKeyAuth: []
  32770. summary: 持仓汇总查询(尚志大宗)
  32771. tags:
  32772. - 定制【尚志大宗】
  32773. /SZDZ/SearchWhite:
  32774. get:
  32775. parameters:
  32776. - description: 用户ID
  32777. in: query
  32778. name: userID
  32779. required: true
  32780. type: integer
  32781. produces:
  32782. - application/json
  32783. responses:
  32784. "200":
  32785. description: OK
  32786. schema:
  32787. $ref: '#/definitions/models.Szdz3searchwhitelist'
  32788. "500":
  32789. description: Internal Server Error
  32790. schema:
  32791. $ref: '#/definitions/app.Response'
  32792. security:
  32793. - ApiKeyAuth: []
  32794. summary: 搜索白名单
  32795. tags:
  32796. - 定制【尚志大宗】
  32797. /Search/SearchGoodses:
  32798. get:
  32799. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  32800. parameters:
  32801. - description: 检索内容
  32802. in: query
  32803. name: content
  32804. required: true
  32805. type: string
  32806. - description: 交易模式,格式:1,2,3
  32807. in: query
  32808. name: tradeModes
  32809. type: string
  32810. produces:
  32811. - application/json
  32812. responses:
  32813. "200":
  32814. description: OK
  32815. schema:
  32816. $ref: '#/definitions/models.SearchGoods'
  32817. "500":
  32818. description: Internal Server Error
  32819. schema:
  32820. $ref: '#/definitions/app.Response'
  32821. summary: 检索商品信息
  32822. tags:
  32823. - 检索服务
  32824. /TaAccount/GetTaAccounts:
  32825. get:
  32826. parameters:
  32827. - description: 登录账户
  32828. in: query
  32829. name: loginID
  32830. required: true
  32831. type: integer
  32832. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  32833. in: query
  32834. name: taAccountType
  32835. type: integer
  32836. produces:
  32837. - application/json
  32838. responses:
  32839. "200":
  32840. description: OK
  32841. schema:
  32842. $ref: '#/definitions/models.Taaccount'
  32843. "500":
  32844. description: Internal Server Error
  32845. schema:
  32846. $ref: '#/definitions/app.Response'
  32847. security:
  32848. - ApiKeyAuth: []
  32849. summary: 获取资金账户信息
  32850. tags:
  32851. - 资金账户
  32852. /TaAccount/QueryAmountLog:
  32853. get:
  32854. parameters:
  32855. - description: 页码
  32856. in: query
  32857. name: page
  32858. type: integer
  32859. - description: 每页条数
  32860. in: query
  32861. name: pagesize
  32862. type: integer
  32863. - description: 分页标志 0-page从0开始 1-page从1开始
  32864. in: query
  32865. name: pageflag
  32866. type: integer
  32867. - description: 资金账户 - 格式:1,2,3
  32868. in: query
  32869. name: accountID
  32870. required: true
  32871. type: string
  32872. - description: 资金操作类型 - 格式:1,2,3
  32873. in: query
  32874. name: OperateType
  32875. type: string
  32876. produces:
  32877. - application/json
  32878. responses:
  32879. "200":
  32880. description: OK
  32881. schema:
  32882. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  32883. "500":
  32884. description: Internal Server Error
  32885. schema:
  32886. $ref: '#/definitions/app.Response'
  32887. security:
  32888. - ApiKeyAuth: []
  32889. summary: 资金流水查询(当前)
  32890. tags:
  32891. - 资金账户
  32892. /TaAccount/QueryHisAmountLog:
  32893. get:
  32894. parameters:
  32895. - description: 页码
  32896. in: query
  32897. name: page
  32898. type: integer
  32899. - description: 每页条数
  32900. in: query
  32901. name: pagesize
  32902. type: integer
  32903. - description: 分页标志 0-page从0开始 1-page从1开始
  32904. in: query
  32905. name: pageflag
  32906. type: integer
  32907. - description: 资金账户 - 格式:1,2,3
  32908. in: query
  32909. name: accountID
  32910. required: true
  32911. type: string
  32912. - description: 资金操作类型 - 格式:1,2,3
  32913. in: query
  32914. name: OperateType
  32915. type: string
  32916. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  32917. in: query
  32918. name: startDate
  32919. type: string
  32920. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  32921. in: query
  32922. name: endDate
  32923. type: string
  32924. produces:
  32925. - application/json
  32926. responses:
  32927. "200":
  32928. description: OK
  32929. schema:
  32930. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  32931. "500":
  32932. description: Internal Server Error
  32933. schema:
  32934. $ref: '#/definitions/app.Response'
  32935. security:
  32936. - ApiKeyAuth: []
  32937. summary: 资金流水查询(历史)
  32938. tags:
  32939. - 资金账户
  32940. /TaAccount/QueryRelatedTaAccount:
  32941. get:
  32942. parameters:
  32943. - description: 关联UserID
  32944. in: query
  32945. name: relateduserid
  32946. required: true
  32947. type: integer
  32948. produces:
  32949. - application/json
  32950. responses:
  32951. "200":
  32952. description: OK
  32953. schema:
  32954. items:
  32955. $ref: '#/definitions/models.RelatedTaAccount'
  32956. type: array
  32957. "500":
  32958. description: Internal Server Error
  32959. schema:
  32960. $ref: '#/definitions/app.Response'
  32961. security:
  32962. - ApiKeyAuth: []
  32963. summary: 查询关联资金账户信息
  32964. tags:
  32965. - 资金账户
  32966. /Tjmd/QueryQuoteGoodsList:
  32967. get:
  32968. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  32969. parameters:
  32970. - description: 用户类型
  32971. in: query
  32972. name: usertype
  32973. required: true
  32974. type: integer
  32975. - description: 市场id, 格式 1,2,3
  32976. in: query
  32977. name: marketids
  32978. type: string
  32979. - description: 商品组id
  32980. in: query
  32981. name: goodsgroupid
  32982. type: integer
  32983. - description: 商品id
  32984. in: query
  32985. name: goodsid
  32986. type: integer
  32987. produces:
  32988. - application/json
  32989. responses:
  32990. "200":
  32991. description: OK
  32992. schema:
  32993. items:
  32994. $ref: '#/definitions/models.TjmdQuoteGoods'
  32995. type: array
  32996. "500":
  32997. description: Internal Server Error
  32998. schema:
  32999. $ref: '#/definitions/app.Response'
  33000. security:
  33001. - ApiKeyAuth: []
  33002. summary: 查询掉期报价列表
  33003. tags:
  33004. - 天津麦顿
  33005. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  33006. get:
  33007. parameters:
  33008. - description: 成交单号
  33009. in: query
  33010. name: tradeid
  33011. required: true
  33012. type: string
  33013. produces:
  33014. - application/json
  33015. responses:
  33016. "200":
  33017. description: OK
  33018. schema:
  33019. items:
  33020. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  33021. type: array
  33022. "500":
  33023. description: Internal Server Error
  33024. schema:
  33025. $ref: '#/definitions/app.Response'
  33026. security:
  33027. - ApiKeyAuth: []
  33028. summary: 掉期商品订单详情(交易确认书)
  33029. tags:
  33030. - 天津麦顿
  33031. /Tjmd/QueryTjmdMarketSection:
  33032. get:
  33033. produces:
  33034. - application/json
  33035. responses:
  33036. "200":
  33037. description: OK
  33038. schema:
  33039. items:
  33040. $ref: '#/definitions/models.TjmdMarketSection'
  33041. type: array
  33042. "500":
  33043. description: Internal Server Error
  33044. schema:
  33045. $ref: '#/definitions/app.Response'
  33046. security:
  33047. - ApiKeyAuth: []
  33048. summary: 查询市场板块
  33049. tags:
  33050. - 天津麦顿
  33051. /Tjmd/QueryTjmdTodayAccountMargin:
  33052. get:
  33053. parameters:
  33054. - description: 市场id
  33055. in: query
  33056. name: marketid
  33057. type: string
  33058. - description: 商品id
  33059. in: query
  33060. name: goodsid
  33061. type: string
  33062. - description: 资金账号
  33063. in: query
  33064. name: accountid
  33065. type: string
  33066. produces:
  33067. - application/json
  33068. responses:
  33069. "200":
  33070. description: OK
  33071. schema:
  33072. items:
  33073. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  33074. type: array
  33075. "500":
  33076. description: Internal Server Error
  33077. schema:
  33078. $ref: '#/definitions/app.Response'
  33079. security:
  33080. - ApiKeyAuth: []
  33081. summary: 查询今日账户保证金配置
  33082. tags:
  33083. - 天津麦顿
  33084. /Tjmd/QueryTjmdTradeOrderDetail:
  33085. get:
  33086. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  33087. parameters:
  33088. - description: 页码
  33089. in: query
  33090. name: page
  33091. type: integer
  33092. - description: 每页条数
  33093. in: query
  33094. name: pagesize
  33095. type: integer
  33096. - description: 用户id
  33097. in: query
  33098. name: userid
  33099. required: true
  33100. type: integer
  33101. - description: 用户类型
  33102. in: query
  33103. name: usertype
  33104. required: true
  33105. type: integer
  33106. - description: 市场id, 格式 1,2,3
  33107. in: query
  33108. name: marketids
  33109. type: string
  33110. - description: 商品id
  33111. in: query
  33112. name: goodsid
  33113. required: true
  33114. type: integer
  33115. - description: 买卖方向 0-买 1-卖
  33116. in: query
  33117. name: buyorsell
  33118. required: true
  33119. type: integer
  33120. produces:
  33121. - application/json
  33122. responses:
  33123. "200":
  33124. description: OK
  33125. schema:
  33126. items:
  33127. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  33128. type: array
  33129. "500":
  33130. description: Internal Server Error
  33131. schema:
  33132. $ref: '#/definitions/app.Response'
  33133. security:
  33134. - ApiKeyAuth: []
  33135. summary: 查询掉期买卖大厅
  33136. tags:
  33137. - 天津麦顿
  33138. /Tjmd/QueryTjmdTransferApply:
  33139. get:
  33140. parameters:
  33141. - description: 类型 1-我的申请 2-对方申请
  33142. in: query
  33143. name: applytype
  33144. required: true
  33145. type: integer
  33146. - description: 市场id, 格式 1,2,3
  33147. in: query
  33148. name: marketids
  33149. type: string
  33150. - description: 资金账号, 格式 25000000001,25000000003
  33151. in: query
  33152. name: accountids
  33153. type: string
  33154. - description: 开始交易日(yyyymmdd)
  33155. in: query
  33156. name: begindate
  33157. type: string
  33158. - description: 结束交易日(yyyymmdd)
  33159. in: query
  33160. name: enddate
  33161. type: string
  33162. produces:
  33163. - application/json
  33164. responses:
  33165. "200":
  33166. description: OK
  33167. schema:
  33168. items:
  33169. $ref: '#/definitions/models.TjmdTransferApply'
  33170. type: array
  33171. "500":
  33172. description: Internal Server Error
  33173. schema:
  33174. $ref: '#/definitions/app.Response'
  33175. security:
  33176. - ApiKeyAuth: []
  33177. summary: 查询掉期协议单
  33178. tags:
  33179. - 天津麦顿
  33180. /Trade/QueryRecieptOrder:
  33181. get:
  33182. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  33183. parameters:
  33184. - description: 页码
  33185. in: query
  33186. name: page
  33187. type: integer
  33188. - description: 每页条数
  33189. in: query
  33190. name: pagesize
  33191. type: integer
  33192. - description: 商品ID
  33193. in: query
  33194. name: goodsID
  33195. required: true
  33196. type: integer
  33197. - description: 所属账户名称
  33198. in: query
  33199. name: accountName
  33200. type: string
  33201. - description: 市场ID
  33202. in: query
  33203. name: marketID
  33204. type: integer
  33205. - description: 方向 - 0:买 1:卖
  33206. in: query
  33207. name: buyorsell
  33208. required: true
  33209. type: integer
  33210. produces:
  33211. - application/json
  33212. responses:
  33213. "200":
  33214. description: OK
  33215. schema:
  33216. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  33217. "500":
  33218. description: Internal Server Error
  33219. schema:
  33220. $ref: '#/definitions/app.Response'
  33221. security:
  33222. - ApiKeyAuth: []
  33223. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  33224. tags:
  33225. - 通用交易
  33226. /User/AddMessageBoard:
  33227. post:
  33228. parameters:
  33229. - description: 用户ID
  33230. in: query
  33231. name: userID
  33232. required: true
  33233. type: integer
  33234. - description: 留言信息
  33235. in: query
  33236. name: message
  33237. required: true
  33238. type: string
  33239. - description: 联系电话
  33240. in: query
  33241. name: contactNum
  33242. required: true
  33243. type: string
  33244. produces:
  33245. - application/json
  33246. responses:
  33247. "200":
  33248. description: OK
  33249. schema:
  33250. $ref: '#/definitions/app.Response'
  33251. "500":
  33252. description: Internal Server Error
  33253. schema:
  33254. $ref: '#/definitions/app.Response'
  33255. security:
  33256. - ApiKeyAuth: []
  33257. summary: 添加用户留言板信息
  33258. tags:
  33259. - 用户信息
  33260. /User/AddUserFavoriteGoods:
  33261. post:
  33262. parameters:
  33263. - description: 用户ID
  33264. in: query
  33265. name: userID
  33266. required: true
  33267. type: integer
  33268. - description: 商品ID
  33269. in: query
  33270. name: goodsID
  33271. required: true
  33272. type: integer
  33273. produces:
  33274. - application/json
  33275. responses:
  33276. "200":
  33277. description: OK
  33278. schema:
  33279. $ref: '#/definitions/app.Response'
  33280. "500":
  33281. description: Internal Server Error
  33282. schema:
  33283. $ref: '#/definitions/app.Response'
  33284. security:
  33285. - ApiKeyAuth: []
  33286. summary: 添加用户商品收藏信息
  33287. tags:
  33288. - 用户信息
  33289. /User/GetLoginID:
  33290. get:
  33291. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  33292. parameters:
  33293. - description: 登录代码
  33294. in: query
  33295. name: username
  33296. required: true
  33297. type: string
  33298. produces:
  33299. - application/json
  33300. responses:
  33301. "200":
  33302. description: OK
  33303. schema:
  33304. $ref: '#/definitions/app.Response'
  33305. "500":
  33306. description: Internal Server Error
  33307. schema:
  33308. $ref: '#/definitions/app.Response'
  33309. summary: 获取登录ID
  33310. tags:
  33311. - 用户信息
  33312. /User/GetUserAccount:
  33313. get:
  33314. parameters:
  33315. - description: 用户ID
  33316. in: query
  33317. name: userID
  33318. required: true
  33319. type: integer
  33320. produces:
  33321. - application/json
  33322. responses:
  33323. "200":
  33324. description: OK
  33325. schema:
  33326. $ref: '#/definitions/models.Useraccount'
  33327. "500":
  33328. description: Internal Server Error
  33329. schema:
  33330. $ref: '#/definitions/app.Response'
  33331. security:
  33332. - ApiKeyAuth: []
  33333. summary: 获取用户账号信息
  33334. tags:
  33335. - 用户信息
  33336. /User/GetUserAuthStatus:
  33337. get:
  33338. parameters:
  33339. - description: 用户ID
  33340. in: query
  33341. name: userID
  33342. required: true
  33343. type: integer
  33344. produces:
  33345. - application/json
  33346. responses:
  33347. "200":
  33348. description: OK
  33349. schema:
  33350. $ref: '#/definitions/app.Response'
  33351. "500":
  33352. description: Internal Server Error
  33353. schema:
  33354. $ref: '#/definitions/app.Response'
  33355. security:
  33356. - ApiKeyAuth: []
  33357. summary: 获取用户实名认证状态
  33358. tags:
  33359. - 用户信息
  33360. /User/LoginQuery:
  33361. get:
  33362. parameters:
  33363. - description: 登录账号
  33364. in: query
  33365. name: loginID
  33366. required: true
  33367. type: integer
  33368. produces:
  33369. - application/json
  33370. responses:
  33371. "200":
  33372. description: OK
  33373. schema:
  33374. $ref: '#/definitions/user.LoginQueryRsp'
  33375. "500":
  33376. description: Internal Server Error
  33377. schema:
  33378. $ref: '#/definitions/app.Response'
  33379. security:
  33380. - ApiKeyAuth: []
  33381. summary: 账户登录后信息查询
  33382. tags:
  33383. - 用户信息
  33384. /User/QueryMessageBoard:
  33385. get:
  33386. parameters:
  33387. - description: 用户ID
  33388. in: query
  33389. name: userID
  33390. required: true
  33391. type: integer
  33392. produces:
  33393. - application/json
  33394. responses:
  33395. "200":
  33396. description: OK
  33397. schema:
  33398. $ref: '#/definitions/models.Messageboard'
  33399. "500":
  33400. description: Internal Server Error
  33401. schema:
  33402. $ref: '#/definitions/app.Response'
  33403. security:
  33404. - ApiKeyAuth: []
  33405. summary: 获取用户留言板信息
  33406. tags:
  33407. - 用户信息
  33408. /User/QueryUserFavoriteGoodses:
  33409. get:
  33410. parameters:
  33411. - description: 用户ID
  33412. in: query
  33413. name: userID
  33414. required: true
  33415. type: integer
  33416. produces:
  33417. - application/json
  33418. responses:
  33419. "200":
  33420. description: OK
  33421. schema:
  33422. $ref: '#/definitions/models.Userfavoritegoods'
  33423. "500":
  33424. description: Internal Server Error
  33425. schema:
  33426. $ref: '#/definitions/app.Response'
  33427. security:
  33428. - ApiKeyAuth: []
  33429. summary: 获取用户商品收藏信息
  33430. tags:
  33431. - 用户信息
  33432. /User/QueryUserInfo:
  33433. get:
  33434. parameters:
  33435. - description: 用户ID
  33436. in: query
  33437. name: userID
  33438. required: true
  33439. type: integer
  33440. - description: 是否解密
  33441. in: query
  33442. name: isDecrypt
  33443. type: boolean
  33444. produces:
  33445. - application/json
  33446. responses:
  33447. "200":
  33448. description: OK
  33449. schema:
  33450. $ref: '#/definitions/models.Userinfo'
  33451. "500":
  33452. description: Internal Server Error
  33453. schema:
  33454. $ref: '#/definitions/app.Response'
  33455. security:
  33456. - ApiKeyAuth: []
  33457. summary: 获取用户信息
  33458. tags:
  33459. - 用户信息
  33460. /User/QueryUserReferNum:
  33461. get:
  33462. parameters:
  33463. - description: 用户ID
  33464. in: query
  33465. name: userID
  33466. required: true
  33467. type: integer
  33468. produces:
  33469. - application/json
  33470. responses:
  33471. "200":
  33472. description: OK
  33473. schema:
  33474. $ref: '#/definitions/app.Response'
  33475. "500":
  33476. description: Internal Server Error
  33477. schema:
  33478. $ref: '#/definitions/app.Response'
  33479. summary: 获取用户邀请码
  33480. tags:
  33481. - 用户信息
  33482. /User/RemoveUserFavoriteGoods:
  33483. post:
  33484. parameters:
  33485. - description: 用户ID
  33486. in: query
  33487. name: userID
  33488. required: true
  33489. type: integer
  33490. - description: 商品ID
  33491. in: query
  33492. name: goodsID
  33493. required: true
  33494. type: integer
  33495. produces:
  33496. - application/json
  33497. responses:
  33498. "200":
  33499. description: OK
  33500. schema:
  33501. $ref: '#/definitions/app.Response'
  33502. "500":
  33503. description: Internal Server Error
  33504. schema:
  33505. $ref: '#/definitions/app.Response'
  33506. security:
  33507. - ApiKeyAuth: []
  33508. summary: 移除用户商品收藏信息
  33509. tags:
  33510. - 用户信息
  33511. /User/UpdateUserAccountStatus:
  33512. post:
  33513. parameters:
  33514. - description: 用户ID
  33515. in: query
  33516. name: userID
  33517. required: true
  33518. type: integer
  33519. - description: 账户状态 - 4:正常 6:注销(停用)
  33520. in: query
  33521. name: accountStatus
  33522. required: true
  33523. type: integer
  33524. produces:
  33525. - application/json
  33526. responses:
  33527. "200":
  33528. description: OK
  33529. schema:
  33530. $ref: '#/definitions/app.Response'
  33531. "500":
  33532. description: Internal Server Error
  33533. schema:
  33534. $ref: '#/definitions/app.Response'
  33535. security:
  33536. - ApiKeyAuth: []
  33537. summary: 更新用户状态
  33538. tags:
  33539. - 用户信息
  33540. /WRTrade/GetAllDeliveryGoods:
  33541. get:
  33542. produces:
  33543. - application/json
  33544. responses:
  33545. "200":
  33546. description: OK
  33547. schema:
  33548. $ref: '#/definitions/app.Response'
  33549. "500":
  33550. description: Internal Server Error
  33551. schema:
  33552. $ref: '#/definitions/app.Response'
  33553. security:
  33554. - ApiKeyAuth: []
  33555. summary: 获取带仓单分类的种类信息
  33556. tags:
  33557. - 仓单贸易
  33558. - 仓单贸易
  33559. /WrTrade2/InsertXhcpSellBackApply:
  33560. post:
  33561. parameters:
  33562. - description: 回收申请
  33563. in: body
  33564. name: jsonBody
  33565. required: true
  33566. schema:
  33567. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  33568. produces:
  33569. - application/json
  33570. responses:
  33571. "200":
  33572. description: OK
  33573. schema:
  33574. $ref: '#/definitions/app.Response'
  33575. "500":
  33576. description: Internal Server Error
  33577. schema:
  33578. $ref: '#/definitions/app.Response'
  33579. security:
  33580. - ApiKeyAuth: []
  33581. summary: 新增回收申请(新会陈皮)
  33582. tags:
  33583. - 仓单贸易v2
  33584. /WrTrade2/QueryDeliveryGoodsSection:
  33585. get:
  33586. produces:
  33587. - application/json
  33588. responses:
  33589. "200":
  33590. description: OK
  33591. schema:
  33592. items:
  33593. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  33594. type: array
  33595. "500":
  33596. description: Internal Server Error
  33597. schema:
  33598. $ref: '#/definitions/app.Response'
  33599. security:
  33600. - ApiKeyAuth: []
  33601. summary: 查询板块(分类)
  33602. tags:
  33603. - 仓单贸易v2
  33604. /WrTrade2/QueryFaProductDetail:
  33605. get:
  33606. description: 页面 买卖大厅 -> 选择融资方案
  33607. parameters:
  33608. - description: 仓单要素id
  33609. in: query
  33610. name: wrfactortypeid
  33611. required: true
  33612. type: integer
  33613. produces:
  33614. - application/json
  33615. responses:
  33616. "200":
  33617. description: OK
  33618. schema:
  33619. items:
  33620. $ref: '#/definitions/models.WrFAProductDetail'
  33621. type: array
  33622. "500":
  33623. description: Internal Server Error
  33624. schema:
  33625. $ref: '#/definitions/app.Response'
  33626. security:
  33627. - ApiKeyAuth: []
  33628. summary: 查询融资产品列表
  33629. tags:
  33630. - 仓单贸易v2
  33631. /WrTrade2/QueryFilterItem:
  33632. get:
  33633. parameters:
  33634. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  33635. in: query
  33636. name: itype
  33637. required: true
  33638. type: string
  33639. produces:
  33640. - application/json
  33641. responses:
  33642. "200":
  33643. description: OK
  33644. schema:
  33645. items:
  33646. $ref: '#/definitions/models.WrFilterItem'
  33647. type: array
  33648. "500":
  33649. description: Internal Server Error
  33650. schema:
  33651. $ref: '#/definitions/app.Response'
  33652. security:
  33653. - ApiKeyAuth: []
  33654. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  33655. tags:
  33656. - 仓单贸易v2
  33657. /WrTrade2/QueryFtDeliveryGoods:
  33658. get:
  33659. produces:
  33660. - application/json
  33661. responses:
  33662. "200":
  33663. description: OK
  33664. schema:
  33665. items:
  33666. $ref: '#/definitions/models.WrFtDeliveryGoods'
  33667. type: array
  33668. "500":
  33669. description: Internal Server Error
  33670. schema:
  33671. $ref: '#/definitions/app.Response'
  33672. security:
  33673. - ApiKeyAuth: []
  33674. summary: 查询品种品类筛选框列表
  33675. tags:
  33676. - 仓单贸易v2
  33677. /WrTrade2/QueryHoldLB:
  33678. get:
  33679. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  33680. parameters:
  33681. - description: 资金账号
  33682. in: query
  33683. name: accountid
  33684. required: true
  33685. type: integer
  33686. - description: 仓库id
  33687. in: query
  33688. name: warehouseid
  33689. type: integer
  33690. - description: 品种id
  33691. in: query
  33692. name: deliverygoodsid
  33693. type: integer
  33694. - description: 品类id
  33695. in: query
  33696. name: wrstandardid
  33697. type: integer
  33698. - description: 仓单要素id
  33699. in: query
  33700. name: wrfactortypeid
  33701. type: integer
  33702. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  33703. in: query
  33704. name: dgitemname
  33705. type: string
  33706. produces:
  33707. - application/json
  33708. responses:
  33709. "200":
  33710. description: OK
  33711. schema:
  33712. items:
  33713. $ref: '#/definitions/models.WrHoldLB'
  33714. type: array
  33715. "500":
  33716. description: Internal Server Error
  33717. schema:
  33718. $ref: '#/definitions/app.Response'
  33719. security:
  33720. - ApiKeyAuth: []
  33721. summary: 查询仓单持有记录
  33722. tags:
  33723. - 仓单贸易v2
  33724. /WrTrade2/QueryOrderQuote:
  33725. get:
  33726. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  33727. 唯一确定1条记录
  33728. parameters:
  33729. - description: 页码
  33730. in: query
  33731. name: page
  33732. type: integer
  33733. - description: 每页条数
  33734. in: query
  33735. name: pagesize
  33736. type: integer
  33737. - description: 仓单贸易市场id
  33738. in: query
  33739. name: marketid
  33740. type: integer
  33741. - description: 价格方式 - 1:固定价 2-浮动价
  33742. in: query
  33743. name: wrpricetype
  33744. required: true
  33745. type: integer
  33746. - description: 0:仓单预售 1:仓单贸易
  33747. in: query
  33748. name: haswr
  33749. type: integer
  33750. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  33751. in: query
  33752. name: dgitemname
  33753. type: string
  33754. - description: 仓库id(筛选条件)
  33755. in: query
  33756. name: warehouseid
  33757. type: integer
  33758. - description: 品种id
  33759. in: query
  33760. name: deliverygoodsid
  33761. type: integer
  33762. - description: 品类id
  33763. in: query
  33764. name: wrstandardid
  33765. type: integer
  33766. - description: 品牌id(dgfactoryitemid)
  33767. in: query
  33768. name: brandid
  33769. type: integer
  33770. - description: 年份id(dgfactoryitemid)
  33771. in: query
  33772. name: yearsid
  33773. type: integer
  33774. - description: 仓单要素id
  33775. in: query
  33776. name: wrfactortypeid
  33777. type: integer
  33778. - description: 交收月(yyyy-mm) 仓单预售填写
  33779. in: query
  33780. name: deliverymonth
  33781. type: string
  33782. produces:
  33783. - application/json
  33784. responses:
  33785. "200":
  33786. description: OK
  33787. schema:
  33788. items:
  33789. $ref: '#/definitions/models.WrOrderQuote'
  33790. type: array
  33791. "500":
  33792. description: Internal Server Error
  33793. schema:
  33794. $ref: '#/definitions/app.Response'
  33795. security:
  33796. - ApiKeyAuth: []
  33797. summary: 查询大厅行情列表
  33798. tags:
  33799. - 仓单贸易v2
  33800. /WrTrade2/QueryOrderQuoteDetail:
  33801. get:
  33802. parameters:
  33803. - description: 页码
  33804. in: query
  33805. name: page
  33806. type: integer
  33807. - description: 每页条数
  33808. in: query
  33809. name: pagesize
  33810. type: integer
  33811. - description: 仓单贸易市场id
  33812. in: query
  33813. name: marketid
  33814. type: integer
  33815. - description: 价格方式 - 1:固定价 2-浮动价
  33816. in: query
  33817. name: wrpricetype
  33818. required: true
  33819. type: integer
  33820. - description: 0:仓单预售 1:仓单贸易
  33821. in: query
  33822. name: haswr
  33823. type: integer
  33824. - description: 仓单要素id
  33825. in: query
  33826. name: wrfactortypeid
  33827. required: true
  33828. type: integer
  33829. - description: 期货商品id(浮动价方式时填)
  33830. in: query
  33831. name: goodsid
  33832. type: integer
  33833. - description: 买卖方向 0-买 1-卖
  33834. in: query
  33835. name: buyorsell
  33836. required: true
  33837. type: integer
  33838. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  33839. in: query
  33840. name: deliverymonth
  33841. type: string
  33842. produces:
  33843. - application/json
  33844. responses:
  33845. "200":
  33846. description: OK
  33847. schema:
  33848. items:
  33849. $ref: '#/definitions/models.WrOrderQuoteDetail'
  33850. type: array
  33851. "500":
  33852. description: Internal Server Error
  33853. schema:
  33854. $ref: '#/definitions/app.Response'
  33855. security:
  33856. - ApiKeyAuth: []
  33857. summary: 查询买卖大厅
  33858. tags:
  33859. - 仓单贸易v2
  33860. /WrTrade2/QueryOrderQuoteMyq:
  33861. get:
  33862. parameters:
  33863. - description: 页码
  33864. in: query
  33865. name: page
  33866. type: integer
  33867. - description: 每页条数
  33868. in: query
  33869. name: pagesize
  33870. type: integer
  33871. - description: 用户id
  33872. in: query
  33873. name: userid
  33874. required: true
  33875. type: integer
  33876. - description: 仓单贸易市场id
  33877. in: query
  33878. name: marketid
  33879. type: integer
  33880. - description: 0:仓单预售 1:仓单贸易
  33881. in: query
  33882. name: haswr
  33883. type: integer
  33884. - description: 买卖方向 0-买 1-卖
  33885. in: query
  33886. name: buyorsell
  33887. required: true
  33888. type: integer
  33889. - description: 品种id
  33890. in: query
  33891. name: deliverygoodsid
  33892. type: integer
  33893. - description: 品类id
  33894. in: query
  33895. name: wrstandardid
  33896. type: integer
  33897. - description: 交收月(yyyy-mm) 仓单预售填写
  33898. in: query
  33899. name: deliverymonth
  33900. type: string
  33901. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  33902. in: query
  33903. name: dgitemname
  33904. type: string
  33905. produces:
  33906. - application/json
  33907. responses:
  33908. "200":
  33909. description: OK
  33910. schema:
  33911. items:
  33912. $ref: '#/definitions/models.WrQuoteOrderMyq'
  33913. type: array
  33914. "500":
  33915. description: Internal Server Error
  33916. schema:
  33917. $ref: '#/definitions/app.Response'
  33918. security:
  33919. - ApiKeyAuth: []
  33920. summary: 查询贸易圈挂牌大厅
  33921. tags:
  33922. - 仓单贸易v2
  33923. /WrTrade2/QueryPerformancePlan:
  33924. get:
  33925. parameters:
  33926. - description: 用户id
  33927. in: query
  33928. name: userid
  33929. required: true
  33930. type: integer
  33931. - description: 买卖方向 0-买 1-卖
  33932. in: query
  33933. name: buyorsell
  33934. required: true
  33935. type: integer
  33936. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  33937. 8:释放冻结失败 9:超时待处理 10:超时关闭
  33938. in: query
  33939. name: status
  33940. type: string
  33941. - description: 开始交易日(yyyymmdd)
  33942. in: query
  33943. name: begindate
  33944. type: string
  33945. - description: 结束交易日(yyyymmdd)
  33946. in: query
  33947. name: enddate
  33948. type: string
  33949. produces:
  33950. - application/json
  33951. responses:
  33952. "200":
  33953. description: OK
  33954. schema:
  33955. items:
  33956. $ref: '#/definitions/models.WrPerformancePlan'
  33957. type: array
  33958. "500":
  33959. description: Internal Server Error
  33960. schema:
  33961. $ref: '#/definitions/app.Response'
  33962. security:
  33963. - ApiKeyAuth: []
  33964. summary: 查询履约信息
  33965. tags:
  33966. - 仓单贸易v2
  33967. /WrTrade2/QueryPermancePlanTmp:
  33968. get:
  33969. description: |-
  33970. 返回指定用户的模板和公共模板(用户id为空)
  33971. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  33972. parameters:
  33973. - description: 用户id
  33974. in: query
  33975. name: userid
  33976. type: integer
  33977. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  33978. (无仓单) 5:挂牌期权 6:竞拍-降价式
  33979. in: query
  33980. name: tmptype
  33981. type: string
  33982. - description: 是否包含公共模板(用户id为空的) 1-包含
  33983. in: query
  33984. name: includepub
  33985. type: integer
  33986. - description: 市场id(天津麦顿指定此参数,其它不用)
  33987. in: query
  33988. name: marketid
  33989. type: integer
  33990. produces:
  33991. - application/json
  33992. responses:
  33993. "200":
  33994. description: OK
  33995. schema:
  33996. items:
  33997. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  33998. type: array
  33999. "500":
  34000. description: Internal Server Error
  34001. schema:
  34002. $ref: '#/definitions/app.Response'
  34003. security:
  34004. - ApiKeyAuth: []
  34005. summary: 查询履约模板
  34006. tags:
  34007. - 仓单贸易v2
  34008. /WrTrade2/QuerySiteColumnConfig:
  34009. get:
  34010. parameters:
  34011. - description: 页码
  34012. in: query
  34013. name: page
  34014. type: integer
  34015. - description: 每页条数
  34016. in: query
  34017. name: pagesize
  34018. type: integer
  34019. - description: 栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色
  34020. in: query
  34021. name: columntype
  34022. type: integer
  34023. produces:
  34024. - application/json
  34025. responses:
  34026. "200":
  34027. description: OK
  34028. schema:
  34029. items:
  34030. $ref: '#/definitions/models.Sitecolumnconfig'
  34031. type: array
  34032. "500":
  34033. description: Internal Server Error
  34034. schema:
  34035. $ref: '#/definitions/app.Response'
  34036. security:
  34037. - ApiKeyAuth: []
  34038. summary: 查询资讯栏目配置
  34039. tags:
  34040. - 仓单贸易v2
  34041. /WrTrade2/QuerySiteColumnDetail:
  34042. get:
  34043. parameters:
  34044. - description: 页码
  34045. in: query
  34046. name: page
  34047. type: integer
  34048. - description: 每页条数
  34049. in: query
  34050. name: pagesize
  34051. type: integer
  34052. - description: 所属栏目id
  34053. in: query
  34054. name: columnid
  34055. type: integer
  34056. produces:
  34057. - application/json
  34058. responses:
  34059. "200":
  34060. description: OK
  34061. schema:
  34062. items:
  34063. $ref: '#/definitions/models.WrSiteColumnDetail'
  34064. type: array
  34065. "500":
  34066. description: Internal Server Error
  34067. schema:
  34068. $ref: '#/definitions/app.Response'
  34069. security:
  34070. - ApiKeyAuth: []
  34071. summary: 查询资讯
  34072. tags:
  34073. - 仓单贸易v2
  34074. /WrTrade2/QuerySpotGroupTradeSum:
  34075. get:
  34076. produces:
  34077. - application/json
  34078. responses:
  34079. "200":
  34080. description: OK
  34081. schema:
  34082. items:
  34083. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  34084. type: array
  34085. "500":
  34086. description: Internal Server Error
  34087. schema:
  34088. $ref: '#/definitions/app.Response'
  34089. security:
  34090. - ApiKeyAuth: []
  34091. summary: 查询指数
  34092. tags:
  34093. - 仓单贸易v2
  34094. /WrTrade2/QuerySpotGroupTradeSumDetail:
  34095. get:
  34096. description: 查询的结果将会按日期 从小到大 排序
  34097. parameters:
  34098. - description: 现货商品id
  34099. in: query
  34100. name: deliverygoodsid
  34101. required: true
  34102. type: integer
  34103. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  34104. in: query
  34105. name: lastnum
  34106. type: integer
  34107. produces:
  34108. - application/json
  34109. responses:
  34110. "200":
  34111. description: OK
  34112. schema:
  34113. items:
  34114. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  34115. type: array
  34116. "500":
  34117. description: Internal Server Error
  34118. schema:
  34119. $ref: '#/definitions/app.Response'
  34120. security:
  34121. - ApiKeyAuth: []
  34122. summary: 查询指数详细(价格走势图)
  34123. tags:
  34124. - 仓单贸易v2
  34125. /WrTrade2/QueryWrAverageTradePrice:
  34126. get:
  34127. parameters:
  34128. - description: 页码
  34129. in: query
  34130. name: page
  34131. type: integer
  34132. - description: 每页条数
  34133. in: query
  34134. name: pagesize
  34135. type: integer
  34136. - description: 0:仓单预售 1:仓单贸易
  34137. in: query
  34138. name: haswr
  34139. required: true
  34140. type: integer
  34141. - description: 仓单要素id
  34142. in: query
  34143. name: wrfactortypeid
  34144. required: true
  34145. type: integer
  34146. produces:
  34147. - application/json
  34148. responses:
  34149. "200":
  34150. description: OK
  34151. schema:
  34152. items:
  34153. $ref: '#/definitions/models.WrAverageTradePrice'
  34154. type: array
  34155. "500":
  34156. description: Internal Server Error
  34157. schema:
  34158. $ref: '#/definitions/app.Response'
  34159. security:
  34160. - ApiKeyAuth: []
  34161. summary: 查询成交价(历史走势)
  34162. tags:
  34163. - 仓单贸易v2
  34164. /WrTrade2/QueryWrBrandAndYears:
  34165. get:
  34166. produces:
  34167. - application/json
  34168. responses:
  34169. "200":
  34170. description: OK
  34171. schema:
  34172. items:
  34173. $ref: '#/definitions/models.WrBrandAndYears'
  34174. type: array
  34175. "500":
  34176. description: Internal Server Error
  34177. schema:
  34178. $ref: '#/definitions/app.Response'
  34179. security:
  34180. - ApiKeyAuth: []
  34181. summary: 查询品牌和年份
  34182. tags:
  34183. - 仓单贸易v2
  34184. /WrTrade2/QueryWrBsGoodsInfo:
  34185. get:
  34186. description: 合约交易/买卖大厅/详情
  34187. parameters:
  34188. - description: 商品id
  34189. in: query
  34190. name: goodsid
  34191. required: true
  34192. type: integer
  34193. produces:
  34194. - application/json
  34195. responses:
  34196. "200":
  34197. description: OK
  34198. schema:
  34199. items:
  34200. $ref: '#/definitions/models.WrBsGoodsInfo'
  34201. type: array
  34202. "500":
  34203. description: Internal Server Error
  34204. schema:
  34205. $ref: '#/definitions/app.Response'
  34206. security:
  34207. - ApiKeyAuth: []
  34208. summary: 查询合约交易买卖大厅详情
  34209. tags:
  34210. - 仓单贸易v2
  34211. /WrTrade2/QueryWrBuybackDetail:
  34212. get:
  34213. parameters:
  34214. - description: 融资合同id
  34215. in: query
  34216. name: scfcontractid
  34217. type: integer
  34218. produces:
  34219. - application/json
  34220. responses:
  34221. "200":
  34222. description: OK
  34223. schema:
  34224. items:
  34225. $ref: '#/definitions/models.WrBuybackDetail'
  34226. type: array
  34227. "500":
  34228. description: Internal Server Error
  34229. schema:
  34230. $ref: '#/definitions/app.Response'
  34231. security:
  34232. - ApiKeyAuth: []
  34233. summary: 查询仓单回购明细
  34234. tags:
  34235. - 仓单贸易v2
  34236. /WrTrade2/QueryWrClientAdSpaceConfig:
  34237. get:
  34238. produces:
  34239. - application/json
  34240. responses:
  34241. "200":
  34242. description: OK
  34243. schema:
  34244. items:
  34245. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  34246. type: array
  34247. "500":
  34248. description: Internal Server Error
  34249. schema:
  34250. $ref: '#/definitions/app.Response'
  34251. security:
  34252. - ApiKeyAuth: []
  34253. summary: 查询固定广告配置
  34254. tags:
  34255. - 仓单贸易v2
  34256. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  34257. get:
  34258. parameters:
  34259. - description: 资金账号
  34260. in: query
  34261. name: accountid
  34262. required: true
  34263. type: integer
  34264. - description: 商品id
  34265. in: query
  34266. name: goodsid
  34267. required: true
  34268. type: integer
  34269. produces:
  34270. - application/json
  34271. responses:
  34272. "200":
  34273. description: OK
  34274. schema:
  34275. items:
  34276. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  34277. type: array
  34278. "500":
  34279. description: Internal Server Error
  34280. schema:
  34281. $ref: '#/definitions/app.Response'
  34282. security:
  34283. - ApiKeyAuth: []
  34284. summary: 查询合约交收可点选仓单
  34285. tags:
  34286. - 仓单贸易v2
  34287. /WrTrade2/QueryWrDeliveryDetail:
  34288. get:
  34289. parameters:
  34290. - description: 用户id
  34291. in: query
  34292. name: userid
  34293. required: true
  34294. type: integer
  34295. - description: 资金账号id
  34296. in: query
  34297. name: accountid
  34298. type: integer
  34299. - description: 开始交易日(yyyymmdd)
  34300. in: query
  34301. name: begindate
  34302. type: string
  34303. - description: 结束交易日(yyyymmdd)
  34304. in: query
  34305. name: enddate
  34306. type: string
  34307. produces:
  34308. - application/json
  34309. responses:
  34310. "200":
  34311. description: OK
  34312. schema:
  34313. items:
  34314. $ref: '#/definitions/models.WrDeliveryDetail'
  34315. type: array
  34316. "500":
  34317. description: Internal Server Error
  34318. schema:
  34319. $ref: '#/definitions/app.Response'
  34320. security:
  34321. - ApiKeyAuth: []
  34322. summary: 查询交收
  34323. tags:
  34324. - 仓单贸易v2
  34325. /WrTrade2/QueryWrDraftUserInfo:
  34326. get:
  34327. parameters:
  34328. - description: 用户ID
  34329. in: query
  34330. name: userid
  34331. required: true
  34332. type: integer
  34333. - description: 用户状态 1:正常 2:注销
  34334. in: query
  34335. name: userstatus
  34336. type: integer
  34337. produces:
  34338. - application/json
  34339. responses:
  34340. "200":
  34341. description: OK
  34342. schema:
  34343. items:
  34344. $ref: '#/definitions/models.WrDraftUserInfo'
  34345. type: array
  34346. "500":
  34347. description: Internal Server Error
  34348. schema:
  34349. $ref: '#/definitions/app.Response'
  34350. security:
  34351. - ApiKeyAuth: []
  34352. summary: 查询实名认证信息
  34353. tags:
  34354. - 仓单贸易v2
  34355. /WrTrade2/QueryWrFactorTypeInfo:
  34356. get:
  34357. parameters:
  34358. - description: 仓单要素id
  34359. in: query
  34360. name: wrfactortypeid
  34361. required: true
  34362. type: integer
  34363. produces:
  34364. - application/json
  34365. responses:
  34366. "200":
  34367. description: OK
  34368. schema:
  34369. items:
  34370. $ref: '#/definitions/models.WrFactorTypeInfo'
  34371. type: array
  34372. "500":
  34373. description: Internal Server Error
  34374. schema:
  34375. $ref: '#/definitions/app.Response'
  34376. security:
  34377. - ApiKeyAuth: []
  34378. summary: 查询仓单要素详细信息
  34379. tags:
  34380. - 仓单贸易v2
  34381. /WrTrade2/QueryWrFactorTypeInfoEx:
  34382. get:
  34383. parameters:
  34384. - description: 仓单要素id
  34385. in: query
  34386. name: wrfactortypeid
  34387. required: true
  34388. type: integer
  34389. produces:
  34390. - application/json
  34391. responses:
  34392. "200":
  34393. description: OK
  34394. schema:
  34395. items:
  34396. $ref: '#/definitions/models.WrTypeItem'
  34397. type: array
  34398. "500":
  34399. description: Internal Server Error
  34400. schema:
  34401. $ref: '#/definitions/app.Response'
  34402. security:
  34403. - ApiKeyAuth: []
  34404. summary: 查询仓单要素详细信息列表项
  34405. tags:
  34406. - 仓单贸易v2
  34407. /WrTrade2/QueryWrFinanceBuyApply:
  34408. get:
  34409. description: 页面 融资信息+ / 申请单
  34410. parameters:
  34411. - description: 用户id
  34412. in: query
  34413. name: userid
  34414. required: true
  34415. type: integer
  34416. produces:
  34417. - application/json
  34418. responses:
  34419. "200":
  34420. description: OK
  34421. schema:
  34422. items:
  34423. $ref: '#/definitions/models.WrFinanceBuyApply'
  34424. type: array
  34425. "500":
  34426. description: Internal Server Error
  34427. schema:
  34428. $ref: '#/definitions/app.Response'
  34429. security:
  34430. - ApiKeyAuth: []
  34431. summary: 查询融资购买申请
  34432. tags:
  34433. - 仓单贸易v2
  34434. /WrTrade2/QueryWrFriendApply:
  34435. get:
  34436. parameters:
  34437. - description: 用户id
  34438. in: query
  34439. name: userid
  34440. required: true
  34441. type: integer
  34442. produces:
  34443. - application/json
  34444. responses:
  34445. "200":
  34446. description: OK
  34447. schema:
  34448. items:
  34449. $ref: '#/definitions/models.WrFriendApply'
  34450. type: array
  34451. "500":
  34452. description: Internal Server Error
  34453. schema:
  34454. $ref: '#/definitions/app.Response'
  34455. security:
  34456. - ApiKeyAuth: []
  34457. summary: 查询好友申请记录
  34458. tags:
  34459. - 仓单贸易v2
  34460. /WrTrade2/QueryWrGoodsInfo:
  34461. get:
  34462. parameters:
  34463. - description: 仓单贸易市场id
  34464. in: query
  34465. name: marketid
  34466. type: integer
  34467. - description: 0:仓单预售 1:仓单贸易
  34468. in: query
  34469. name: haswr
  34470. required: true
  34471. type: integer
  34472. - description: 仓单要素id
  34473. in: query
  34474. name: wrfactortypeid
  34475. required: true
  34476. type: integer
  34477. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  34478. in: query
  34479. name: tmplateid
  34480. type: integer
  34481. produces:
  34482. - application/json
  34483. responses:
  34484. "200":
  34485. description: OK
  34486. schema:
  34487. items:
  34488. $ref: '#/definitions/models.WrGoodsInfo'
  34489. type: array
  34490. "500":
  34491. description: Internal Server Error
  34492. schema:
  34493. $ref: '#/definitions/app.Response'
  34494. security:
  34495. - ApiKeyAuth: []
  34496. summary: 查询仓单商品信息
  34497. tags:
  34498. - 仓单贸易v2
  34499. /WrTrade2/QueryWrMarketTradeConfig:
  34500. get:
  34501. parameters:
  34502. - description: 市场id
  34503. in: query
  34504. name: marketid
  34505. type: integer
  34506. produces:
  34507. - application/json
  34508. responses:
  34509. "200":
  34510. description: OK
  34511. schema:
  34512. items:
  34513. $ref: '#/definitions/models.WrMarketTradeConfig'
  34514. type: array
  34515. "500":
  34516. description: Internal Server Error
  34517. schema:
  34518. $ref: '#/definitions/app.Response'
  34519. security:
  34520. - ApiKeyAuth: []
  34521. summary: 查询市场交易参数配置
  34522. tags:
  34523. - 仓单贸易v2
  34524. /WrTrade2/QueryWrOrderDetail:
  34525. get:
  34526. description: 页面 现货仓单 | 预售仓单 -> 委托单
  34527. parameters:
  34528. - description: 页码
  34529. in: query
  34530. name: page
  34531. type: integer
  34532. - description: 每页条数
  34533. in: query
  34534. name: pagesize
  34535. type: integer
  34536. - description: 用户id
  34537. in: query
  34538. name: userid
  34539. required: true
  34540. type: integer
  34541. - description: 仓单贸易市场id
  34542. in: query
  34543. name: marketid
  34544. type: integer
  34545. - description: 0:仓单预售 1:仓单贸易
  34546. in: query
  34547. name: haswr
  34548. required: true
  34549. type: integer
  34550. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  34551. in: query
  34552. name: bcancel
  34553. type: integer
  34554. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  34555. in: query
  34556. name: wrtradetype
  34557. type: integer
  34558. - description: 开始交易日(yyyymmdd)
  34559. in: query
  34560. name: begindate
  34561. type: string
  34562. - description: 结束交易日(yyyymmdd)
  34563. in: query
  34564. name: enddate
  34565. type: string
  34566. produces:
  34567. - application/json
  34568. responses:
  34569. "200":
  34570. description: OK
  34571. schema:
  34572. items:
  34573. $ref: '#/definitions/models.WrOrderDetail'
  34574. type: array
  34575. "500":
  34576. description: Internal Server Error
  34577. schema:
  34578. $ref: '#/definitions/app.Response'
  34579. security:
  34580. - ApiKeyAuth: []
  34581. summary: 查询仓单委托单
  34582. tags:
  34583. - 仓单贸易v2
  34584. /WrTrade2/QueryWrOutInApply:
  34585. get:
  34586. parameters:
  34587. - description: 页码
  34588. in: query
  34589. name: page
  34590. type: integer
  34591. - description: 每页条数
  34592. in: query
  34593. name: pagesize
  34594. type: integer
  34595. - description: 用户id
  34596. in: query
  34597. name: userid
  34598. required: true
  34599. type: integer
  34600. - description: 开始交易日(yyyymmdd)
  34601. in: query
  34602. name: begindate
  34603. type: string
  34604. - description: 结束交易日(yyyymmdd)
  34605. in: query
  34606. name: enddate
  34607. type: string
  34608. produces:
  34609. - application/json
  34610. responses:
  34611. "200":
  34612. description: OK
  34613. schema:
  34614. items:
  34615. $ref: '#/definitions/models.WrOutInApply'
  34616. type: array
  34617. "500":
  34618. description: Internal Server Error
  34619. schema:
  34620. $ref: '#/definitions/app.Response'
  34621. security:
  34622. - ApiKeyAuth: []
  34623. summary: 查询提货申请
  34624. tags:
  34625. - 仓单贸易v2
  34626. /WrTrade2/QueryWrPerformancePlanStep:
  34627. get:
  34628. parameters:
  34629. - description: 履约计划id(performanceplanid)
  34630. in: query
  34631. name: planid
  34632. required: true
  34633. type: integer
  34634. - description: 当前步骤id
  34635. in: query
  34636. name: curstepid
  34637. type: integer
  34638. produces:
  34639. - application/json
  34640. responses:
  34641. "200":
  34642. description: OK
  34643. schema:
  34644. items:
  34645. $ref: '#/definitions/models.WrPerformancePlanStep'
  34646. type: array
  34647. "500":
  34648. description: Internal Server Error
  34649. schema:
  34650. $ref: '#/definitions/app.Response'
  34651. security:
  34652. - ApiKeyAuth: []
  34653. summary: 查询履约信息详情
  34654. tags:
  34655. - 仓单贸易v2
  34656. /WrTrade2/QueryWrPerformanceStepType:
  34657. get:
  34658. produces:
  34659. - application/json
  34660. responses:
  34661. "200":
  34662. description: OK
  34663. schema:
  34664. items:
  34665. $ref: '#/definitions/models.WrPerformanceStepType'
  34666. type: array
  34667. "500":
  34668. description: Internal Server Error
  34669. schema:
  34670. $ref: '#/definitions/app.Response'
  34671. security:
  34672. - ApiKeyAuth: []
  34673. summary: 查询履约步骤枚举
  34674. tags:
  34675. - 仓单贸易v2
  34676. /WrTrade2/QueryWrPosition:
  34677. get:
  34678. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  34679. parameters:
  34680. - description: 用户id
  34681. in: query
  34682. name: userid
  34683. required: true
  34684. type: integer
  34685. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  34686. in: query
  34687. name: querytype
  34688. required: true
  34689. type: integer
  34690. - description: 0:仓单预售 1:仓单贸易
  34691. in: query
  34692. name: haswr
  34693. required: true
  34694. type: integer
  34695. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  34696. in: query
  34697. name: dgitemname
  34698. type: string
  34699. - description: 仓库id(筛选条件)
  34700. in: query
  34701. name: warehouseid
  34702. type: integer
  34703. - description: 品种id
  34704. in: query
  34705. name: deliverygoodsid
  34706. type: integer
  34707. - description: 品类id
  34708. in: query
  34709. name: wrstandardid
  34710. type: integer
  34711. produces:
  34712. - application/json
  34713. responses:
  34714. "200":
  34715. description: OK
  34716. schema:
  34717. items:
  34718. $ref: '#/definitions/models.WrPosition'
  34719. type: array
  34720. "500":
  34721. description: Internal Server Error
  34722. schema:
  34723. $ref: '#/definitions/app.Response'
  34724. security:
  34725. - ApiKeyAuth: []
  34726. summary: 查询现货(预售)仓单持仓
  34727. tags:
  34728. - 仓单贸易v2
  34729. /WrTrade2/QueryWrPreSaleInfo:
  34730. get:
  34731. parameters:
  34732. - description: 市场id
  34733. in: query
  34734. name: marketid
  34735. type: integer
  34736. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  34737. in: query
  34738. name: presalestatus
  34739. type: string
  34740. - description: 摇号标识 - 0:未摇号 1:已摇号
  34741. in: query
  34742. name: lotteryflag
  34743. type: integer
  34744. - description: 最近多少条记录(按创建时间倒序)
  34745. in: query
  34746. name: lastnum
  34747. type: integer
  34748. produces:
  34749. - application/json
  34750. responses:
  34751. "200":
  34752. description: OK
  34753. schema:
  34754. items:
  34755. $ref: '#/definitions/models.WrPreSaleInfo'
  34756. type: array
  34757. "500":
  34758. description: Internal Server Error
  34759. schema:
  34760. $ref: '#/definitions/app.Response'
  34761. security:
  34762. - ApiKeyAuth: []
  34763. summary: 查询新品发布
  34764. tags:
  34765. - 仓单贸易v2
  34766. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  34767. get:
  34768. parameters:
  34769. - description: 市场id
  34770. in: query
  34771. name: marketid
  34772. required: true
  34773. type: integer
  34774. - description: 现货商品id
  34775. in: query
  34776. name: wrstandardid
  34777. required: true
  34778. type: integer
  34779. - description: 开始交易日(yyyymmdd)
  34780. in: query
  34781. name: begindate
  34782. type: string
  34783. - description: 结束交易日(yyyymmdd)
  34784. in: query
  34785. name: enddate
  34786. type: string
  34787. - description: 最近多少条记录(按交易日倒序)
  34788. in: query
  34789. name: lastnum
  34790. type: integer
  34791. - description: 是否今日
  34792. in: query
  34793. name: istoday
  34794. type: boolean
  34795. produces:
  34796. - application/json
  34797. responses:
  34798. "200":
  34799. description: OK
  34800. schema:
  34801. items:
  34802. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  34803. type: array
  34804. "500":
  34805. description: Internal Server Error
  34806. schema:
  34807. $ref: '#/definitions/app.Response'
  34808. security:
  34809. - ApiKeyAuth: []
  34810. summary: 查询价格走势
  34811. tags:
  34812. - 仓单贸易v2
  34813. /WrTrade2/QueryWrScfContract:
  34814. get:
  34815. parameters:
  34816. - description: 用户id
  34817. in: query
  34818. name: userid
  34819. required: true
  34820. type: integer
  34821. - description: 融资合同id
  34822. in: query
  34823. name: scfcontractid
  34824. type: integer
  34825. produces:
  34826. - application/json
  34827. responses:
  34828. "200":
  34829. description: OK
  34830. schema:
  34831. items:
  34832. $ref: '#/definitions/models.WrScfContract'
  34833. type: array
  34834. "500":
  34835. description: Internal Server Error
  34836. schema:
  34837. $ref: '#/definitions/app.Response'
  34838. security:
  34839. - ApiKeyAuth: []
  34840. summary: 查询仓单贸易融资合同
  34841. tags:
  34842. - 仓单贸易v2
  34843. /WrTrade2/QueryWrScfContractInterest:
  34844. get:
  34845. parameters:
  34846. - description: 融资合同id
  34847. in: query
  34848. name: scfcontractid
  34849. type: integer
  34850. produces:
  34851. - application/json
  34852. responses:
  34853. "200":
  34854. description: OK
  34855. schema:
  34856. items:
  34857. $ref: '#/definitions/models.WrScfContractInterest'
  34858. type: array
  34859. "500":
  34860. description: Internal Server Error
  34861. schema:
  34862. $ref: '#/definitions/app.Response'
  34863. security:
  34864. - ApiKeyAuth: []
  34865. summary: 查询融资合同费用明细
  34866. tags:
  34867. - 仓单贸易v2
  34868. /WrTrade2/QueryWrSearchUser:
  34869. get:
  34870. parameters:
  34871. - description: 用户名称(模糊匹配)
  34872. in: query
  34873. name: username
  34874. required: true
  34875. type: string
  34876. produces:
  34877. - application/json
  34878. responses:
  34879. "200":
  34880. description: OK
  34881. schema:
  34882. items:
  34883. $ref: '#/definitions/models.WrSearchUser'
  34884. type: array
  34885. "500":
  34886. description: Internal Server Error
  34887. schema:
  34888. $ref: '#/definitions/app.Response'
  34889. security:
  34890. - ApiKeyAuth: []
  34891. summary: 查询用户
  34892. tags:
  34893. - 仓单贸易v2
  34894. /WrTrade2/QueryWrSpecialMatchOrder:
  34895. get:
  34896. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  34897. parameters:
  34898. - description: 页码
  34899. in: query
  34900. name: page
  34901. type: integer
  34902. - description: 每页条数
  34903. in: query
  34904. name: pagesize
  34905. type: integer
  34906. - description: 用户id
  34907. in: query
  34908. name: userid
  34909. required: true
  34910. type: integer
  34911. - description: 仓单贸易市场id
  34912. in: query
  34913. name: marketid
  34914. type: integer
  34915. - description: 0:仓单预售 1:仓单贸易
  34916. in: query
  34917. name: haswr
  34918. required: true
  34919. type: integer
  34920. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  34921. in: query
  34922. name: isspecified
  34923. type: integer
  34924. produces:
  34925. - application/json
  34926. responses:
  34927. "200":
  34928. description: OK
  34929. schema:
  34930. items:
  34931. $ref: '#/definitions/models.WrSpecialMatchOrder'
  34932. type: array
  34933. "500":
  34934. description: Internal Server Error
  34935. schema:
  34936. $ref: '#/definitions/app.Response'
  34937. security:
  34938. - ApiKeyAuth: []
  34939. summary: 查询指定成交
  34940. tags:
  34941. - 仓单贸易v2
  34942. /WrTrade2/QueryWrStandardFactoryItem:
  34943. get:
  34944. parameters:
  34945. - description: 品类id
  34946. in: query
  34947. name: wrstandardid
  34948. required: true
  34949. type: integer
  34950. produces:
  34951. - application/json
  34952. responses:
  34953. "200":
  34954. description: OK
  34955. schema:
  34956. items:
  34957. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  34958. type: array
  34959. "500":
  34960. description: Internal Server Error
  34961. schema:
  34962. $ref: '#/definitions/app.Response'
  34963. security:
  34964. - ApiKeyAuth: []
  34965. summary: 查询品类要素定义项
  34966. tags:
  34967. - 仓单贸易v2
  34968. /WrTrade2/QueryWrTradeBargainApply:
  34969. get:
  34970. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  34971. 议价->对方议价 填写matchuserid=登录用户id
  34972. parameters:
  34973. - description: 议价人id(摘牌方)
  34974. in: query
  34975. name: userid
  34976. type: integer
  34977. - description: 挂牌方id(查对方议价时,填写此项)
  34978. in: query
  34979. name: matchuserid
  34980. type: integer
  34981. - description: 关联委托单id
  34982. in: query
  34983. name: wrtradeorderid
  34984. type: integer
  34985. - description: 0:仓单预售 1:仓单贸易
  34986. in: query
  34987. name: haswr
  34988. required: true
  34989. type: integer
  34990. - description: 开始交易日(yyyymmdd)
  34991. in: query
  34992. name: begindate
  34993. type: string
  34994. - description: 结束交易日(yyyymmdd)
  34995. in: query
  34996. name: enddate
  34997. type: string
  34998. produces:
  34999. - application/json
  35000. responses:
  35001. "200":
  35002. description: OK
  35003. schema:
  35004. items:
  35005. $ref: '#/definitions/models.WRTradeBargainApply'
  35006. type: array
  35007. "500":
  35008. description: Internal Server Error
  35009. schema:
  35010. $ref: '#/definitions/app.Response'
  35011. security:
  35012. - ApiKeyAuth: []
  35013. summary: 查询议价单
  35014. tags:
  35015. - 仓单贸易v2
  35016. /WrTrade2/QueryWrTradeDetail:
  35017. get:
  35018. parameters:
  35019. - description: 页码
  35020. in: query
  35021. name: page
  35022. type: integer
  35023. - description: 每页条数
  35024. in: query
  35025. name: pagesize
  35026. type: integer
  35027. - description: 用户id
  35028. in: query
  35029. name: userid
  35030. required: true
  35031. type: integer
  35032. - description: 仓单贸易市场id
  35033. in: query
  35034. name: marketid
  35035. type: integer
  35036. - description: 0:仓单预售 1:仓单贸易
  35037. in: query
  35038. name: haswr
  35039. required: true
  35040. type: integer
  35041. - description: 开始交易日(yyyymmdd)
  35042. in: query
  35043. name: begindate
  35044. type: string
  35045. - description: 结束交易日(yyyymmdd)
  35046. in: query
  35047. name: enddate
  35048. type: string
  35049. produces:
  35050. - application/json
  35051. responses:
  35052. "200":
  35053. description: OK
  35054. schema:
  35055. items:
  35056. $ref: '#/definitions/models.WrTradeDetail'
  35057. type: array
  35058. "500":
  35059. description: Internal Server Error
  35060. schema:
  35061. $ref: '#/definitions/app.Response'
  35062. security:
  35063. - ApiKeyAuth: []
  35064. summary: 查询仓单成交明细
  35065. tags:
  35066. - 仓单贸易v2
  35067. /WrTrade2/QueryWrTradeOrderDetail:
  35068. get:
  35069. parameters:
  35070. - description: 页码
  35071. in: query
  35072. name: page
  35073. type: integer
  35074. - description: 每页条数
  35075. in: query
  35076. name: pagesize
  35077. type: integer
  35078. - description: 商品id
  35079. in: query
  35080. name: goodsid
  35081. required: true
  35082. type: integer
  35083. - description: 买卖方向 0-买 1-卖
  35084. in: query
  35085. name: buyorsell
  35086. required: true
  35087. type: integer
  35088. produces:
  35089. - application/json
  35090. responses:
  35091. "200":
  35092. description: OK
  35093. schema:
  35094. items:
  35095. $ref: '#/definitions/models.WrTradeOrderDetail'
  35096. type: array
  35097. "500":
  35098. description: Internal Server Error
  35099. schema:
  35100. $ref: '#/definitions/app.Response'
  35101. security:
  35102. - ApiKeyAuth: []
  35103. summary: 查询合约交易买卖大厅
  35104. tags:
  35105. - 仓单贸易v2
  35106. /WrTrade2/QueryWrTradeQuote:
  35107. get:
  35108. parameters:
  35109. - description: 现货商品id
  35110. in: query
  35111. name: wrstandardid
  35112. required: true
  35113. type: integer
  35114. - description: 开始日期(yyyymmdd)
  35115. in: query
  35116. name: begindate
  35117. required: true
  35118. type: string
  35119. - description: 结束日期(yyyymmdd)
  35120. in: query
  35121. name: enddate
  35122. required: true
  35123. type: string
  35124. - description: 市场id
  35125. in: query
  35126. name: marketid
  35127. type: integer
  35128. produces:
  35129. - application/json
  35130. responses:
  35131. "200":
  35132. description: OK
  35133. schema:
  35134. items:
  35135. $ref: '#/definitions/models.Wrtradetradequote'
  35136. type: array
  35137. "500":
  35138. description: Internal Server Error
  35139. schema:
  35140. $ref: '#/definitions/app.Response'
  35141. security:
  35142. - ApiKeyAuth: []
  35143. summary: 查询仓单贸易成交行情
  35144. tags:
  35145. - 仓单贸易v2
  35146. /WrTrade2/QueryWrUserFriend:
  35147. get:
  35148. parameters:
  35149. - description: 用户id
  35150. in: query
  35151. name: userid
  35152. required: true
  35153. type: integer
  35154. - description: 新朋友userid, 如果填写了此项则查找新朋友
  35155. in: query
  35156. name: newuserid
  35157. type: integer
  35158. produces:
  35159. - application/json
  35160. responses:
  35161. "200":
  35162. description: OK
  35163. schema:
  35164. items:
  35165. $ref: '#/definitions/models.WrUserFriend'
  35166. type: array
  35167. "500":
  35168. description: Internal Server Error
  35169. schema:
  35170. $ref: '#/definitions/app.Response'
  35171. security:
  35172. - ApiKeyAuth: []
  35173. summary: 查询我的朋友
  35174. tags:
  35175. - 仓单贸易v2
  35176. /WrTrade2/QueryWrUserReceiptInfo:
  35177. get:
  35178. parameters:
  35179. - description: 用户id
  35180. in: query
  35181. name: userid
  35182. type: integer
  35183. - description: 发票类型 - 1:个人 2:企业
  35184. in: query
  35185. name: receipttype
  35186. type: integer
  35187. produces:
  35188. - application/json
  35189. responses:
  35190. "200":
  35191. description: OK
  35192. schema:
  35193. items:
  35194. $ref: '#/definitions/models.WrUserReceiptInfo'
  35195. type: array
  35196. "500":
  35197. description: Internal Server Error
  35198. schema:
  35199. $ref: '#/definitions/app.Response'
  35200. security:
  35201. - ApiKeyAuth: []
  35202. summary: 查询发票信息
  35203. tags:
  35204. - 仓单贸易v2
  35205. /WrTrade2/QueryXhcpSellBackApply:
  35206. get:
  35207. parameters:
  35208. - description: 用户ID
  35209. in: query
  35210. name: userid
  35211. required: true
  35212. type: integer
  35213. produces:
  35214. - application/json
  35215. responses:
  35216. "200":
  35217. description: OK
  35218. schema:
  35219. items:
  35220. $ref: '#/definitions/models.Xhcpsellbackapply'
  35221. type: array
  35222. "500":
  35223. description: Internal Server Error
  35224. schema:
  35225. $ref: '#/definitions/app.Response'
  35226. security:
  35227. - ApiKeyAuth: []
  35228. summary: 查询我的回收申请(新会陈皮)
  35229. tags:
  35230. - 仓单贸易v2
  35231. /ZJ/GetBankTip:
  35232. get:
  35233. produces:
  35234. - application/json
  35235. responses:
  35236. "200":
  35237. description: OK
  35238. schema:
  35239. type: string
  35240. "500":
  35241. description: Internal Server Error
  35242. schema:
  35243. $ref: '#/definitions/app.Response'
  35244. summary: 获取中江网银端出入金提示信息
  35245. tags:
  35246. - 中江
  35247. /ZJ/GetCusBankChannels:
  35248. get:
  35249. produces:
  35250. - application/json
  35251. responses:
  35252. "200":
  35253. description: OK
  35254. schema:
  35255. items:
  35256. type: string
  35257. type: array
  35258. "500":
  35259. description: Internal Server Error
  35260. schema:
  35261. $ref: '#/definitions/app.Response'
  35262. summary: 获取中江出入金渠道显示列表
  35263. tags:
  35264. - 中江
  35265. securityDefinitions:
  35266. ApiKeyAuth:
  35267. in: header
  35268. name: Authorization
  35269. type: apiKey
  35270. Group:
  35271. in: header
  35272. name: Group
  35273. type: apiKey
  35274. LoginID:
  35275. in: header
  35276. name: LoginID
  35277. type: apiKey
  35278. swagger: "2.0"