swagger.yaml 980 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354
  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.ThjpurchasetransferDetail:
  17579. properties:
  17580. buyusername:
  17581. description: 受让人
  17582. type: string
  17583. contractaddrbuy:
  17584. description: 贸易合同地址(买家)
  17585. type: string
  17586. contractaddrsell:
  17587. description: 贸易合同地址(卖家)
  17588. type: string
  17589. payeddeposit:
  17590. description: 买方已付定金
  17591. type: number
  17592. sellusername:
  17593. description: 转让人
  17594. type: string
  17595. tradeprice:
  17596. description: 预售价格
  17597. type: number
  17598. transferamount:
  17599. description: 转让金额
  17600. type: number
  17601. transferid:
  17602. description: 转让单号
  17603. type: integer
  17604. transferprice:
  17605. description: 转让价格
  17606. type: number
  17607. transferstatus:
  17608. description: 转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让
  17609. type: integer
  17610. warehousename:
  17611. description: 仓库名称
  17612. type: string
  17613. wrstandardcode:
  17614. description: 现货商品代码
  17615. type: string
  17616. wrstandardid:
  17617. description: 现货商品ID
  17618. type: integer
  17619. wrstandardname:
  17620. description: 现货商品名称
  17621. type: string
  17622. type: object
  17623. models.Thjscoreconfig:
  17624. properties:
  17625. parma1:
  17626. description: 参数1
  17627. type: integer
  17628. parma2:
  17629. description: 参数2
  17630. type: integer
  17631. parma3:
  17632. description: 参数3
  17633. type: integer
  17634. parma4:
  17635. description: 参数4
  17636. type: integer
  17637. parma5:
  17638. description: 参数5
  17639. type: integer
  17640. parma6:
  17641. description: 参数6
  17642. type: integer
  17643. parma7:
  17644. description: 参数6
  17645. type: integer
  17646. scoreconfigtype:
  17647. description: 积分配置类型 - 1:注册送红包 2:签到送积分 3:推广送积分 4:下级用户下单送积分 5:自己采购下单送积分 6:自己供求下单送积分
  17648. 7:抽奖得红包
  17649. type: integer
  17650. type: object
  17651. models.TjmdHolderDetailTradeInfo:
  17652. properties:
  17653. agreeunit:
  17654. description: 合约乘数
  17655. type: number
  17656. buyaccountid:
  17657. description: 买方账户
  17658. type: string
  17659. buyusername:
  17660. description: 买方
  17661. type: string
  17662. delistingdate:
  17663. description: 最后结算日
  17664. type: string
  17665. expiredate:
  17666. description: 到期结算价定价日
  17667. type: string
  17668. exprieprice:
  17669. description: 到期清算价格
  17670. type: string
  17671. goodscode:
  17672. description: 商品代码
  17673. type: string
  17674. goodsid:
  17675. description: 商品ID
  17676. type: integer
  17677. goodsname:
  17678. description: 商品名称(交易标的)
  17679. type: string
  17680. lasttradedate:
  17681. description: 最后交易日
  17682. type: string
  17683. listingdate:
  17684. description: 开始交易日
  17685. type: string
  17686. openprice:
  17687. description: 成交价
  17688. type: number
  17689. openqty:
  17690. description: 交易数量
  17691. type: integer
  17692. sellaccountid:
  17693. description: 卖方账户
  17694. type: string
  17695. sellusername:
  17696. description: 卖方
  17697. type: string
  17698. tradeamount:
  17699. description: 初始名义价值
  17700. type: number
  17701. tradedate:
  17702. description: 成交日期
  17703. type: string
  17704. tradeid:
  17705. description: 成交编号
  17706. type: string
  17707. type: object
  17708. models.TjmdMarketSection:
  17709. properties:
  17710. marketsectionid:
  17711. description: 市场版块ID(SEQ_MARKETSECTION)
  17712. type: integer
  17713. marketsectionname:
  17714. description: 市场版块名称
  17715. type: string
  17716. mlist:
  17717. description: 市场列表(板块下面有多少个市场)
  17718. items:
  17719. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  17720. type: array
  17721. orderindex:
  17722. description: 排序
  17723. type: integer
  17724. pictureurl:
  17725. description: 图片url, 规格(90*90)
  17726. type: string
  17727. remark:
  17728. description: 备注
  17729. type: string
  17730. type: object
  17731. models.TjmdMarketSectionConfig:
  17732. properties:
  17733. auctionwrtype:
  17734. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  17735. type: integer
  17736. canacceptquote:
  17737. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  17738. type: integer
  17739. cangoodsexercise:
  17740. description: '[期权]是否可现货行权- 0:否 1:是'
  17741. type: integer
  17742. cangoodsexercisetype:
  17743. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  17744. type: integer
  17745. canmanualquotestrike:
  17746. description: 是否可手动报行权价- 0:否 1:是 [期权]
  17747. type: integer
  17748. canmutistage:
  17749. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  17750. type: integer
  17751. canpreexercise:
  17752. description: '[期权]是否可预申报- 0:否 1:是'
  17753. type: integer
  17754. clearinterval:
  17755. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  17756. type: integer
  17757. contracttmp:
  17758. description: 合同模板[荷兰式][竞价式][仓单贸易]
  17759. type: string
  17760. exchareaid:
  17761. description: 所属交易所,可以没有
  17762. type: integer
  17763. financemarketid:
  17764. description: 融资回购市场ID [仓单贸易]
  17765. type: integer
  17766. goodstype:
  17767. description: 商品类型 - 1:交易商品 2:仓单商品
  17768. type: integer
  17769. hasrebate:
  17770. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  17771. type: integer
  17772. hastradecredit:
  17773. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  17774. type: integer
  17775. haswr:
  17776. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  17777. type: integer
  17778. isdeductmargin:
  17779. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  17780. type: integer
  17781. isrecordsource:
  17782. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  17783. type: integer
  17784. isreleasemargin:
  17785. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  17786. type: integer
  17787. isupdatereckonprice:
  17788. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  17789. type: integer
  17790. listingmode:
  17791. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  17792. type: integer
  17793. marginformula:
  17794. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  17795. type: integer
  17796. marginformula2:
  17797. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  17798. type: integer
  17799. marketid:
  17800. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  17801. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  17802. type: integer
  17803. marketname:
  17804. description: 市场名称
  17805. type: string
  17806. marketsectionid:
  17807. description: 市场版块ID(SEQ_MARKETSECTION)
  17808. type: integer
  17809. marketserviceid:
  17810. description: 市场服务ID
  17811. type: integer
  17812. marketstatus:
  17813. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  17814. type: integer
  17815. markettype:
  17816. description: 市场类型- 1:非交易服务 2:交易服务
  17817. type: integer
  17818. matchermode:
  17819. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  17820. type: integer
  17821. nowrquotaflag:
  17822. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  17823. type: integer
  17824. openmethod:
  17825. description: 开盘模式 - 0 自动 1手动
  17826. type: integer
  17827. orderindex:
  17828. description: 排序
  17829. type: integer
  17830. otcuserid:
  17831. description: 场外期权做市商[场外期权]
  17832. type: integer
  17833. outersynctime:
  17834. description: 外部同步时间点(h24:mi:ss)[场外期权]
  17835. type: string
  17836. paylaterflag:
  17837. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  17838. type: integer
  17839. pendingflag:
  17840. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  17841. type: integer
  17842. pendingtime:
  17843. description: 待开市时间[通道交易-对冲](HH:mm)
  17844. type: string
  17845. performancetempid:
  17846. description: 履约计划模板ID - 作废
  17847. type: integer
  17848. premiumquotemode:
  17849. description: 权利金报价方式 - 1:自动 2:手动
  17850. type: integer
  17851. rebateratio:
  17852. description: 返利比率[竞价式]
  17853. type: number
  17854. reckonorder:
  17855. description: 结算顺序
  17856. type: integer
  17857. reckonpricealgorithm:
  17858. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  17859. 6.卖一价 7.买一卖一均价 8.外部结算价'
  17860. type: integer
  17861. reckonpriceparam:
  17862. description: 结算价参数
  17863. type: integer
  17864. reckontime:
  17865. description: 结算时间[通道交易-对冲](HH:mm)
  17866. type: string
  17867. roleprioritytype:
  17868. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  17869. type: integer
  17870. selllistingauditflag:
  17871. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  17872. type: integer
  17873. trademarkettype:
  17874. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  17875. type: integer
  17876. trademode:
  17877. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17878. 21:竞拍-大宗式 22:受托竞价
  17879. type: integer
  17880. tradeproperty:
  17881. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  17882. 8:场外期权
  17883. type: integer
  17884. tradetype:
  17885. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  17886. type: integer
  17887. updatereckonpriceinterval:
  17888. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  17889. type: integer
  17890. type: object
  17891. models.TjmdQuoteGoods:
  17892. properties:
  17893. buyqty:
  17894. description: 买量(暂不做, 无值, 保留字段)
  17895. type: number
  17896. decimalplace:
  17897. description: 报价小数位
  17898. type: integer
  17899. goodscode:
  17900. description: 合约代码
  17901. type: string
  17902. goodsgroupid:
  17903. description: 商品组ID(自增ID)
  17904. type: integer
  17905. goodsgroupname:
  17906. description: 商品组名称
  17907. type: string
  17908. goodsid:
  17909. description: 合约id
  17910. type: integer
  17911. goodsname:
  17912. description: 合约名称
  17913. type: string
  17914. refgoodscode:
  17915. description: 标的合约代码
  17916. type: string
  17917. refgoodsid:
  17918. description: 标的合约id
  17919. type: integer
  17920. refgoodsname:
  17921. description: 标的合约名称
  17922. type: string
  17923. sellqty:
  17924. description: 卖量(暂不做, 无值, 保留字段)
  17925. type: number
  17926. type: object
  17927. models.TjmdTodayAccountMargin:
  17928. properties:
  17929. accountid:
  17930. description: 账号ID
  17931. type: integer
  17932. goodsid:
  17933. description: 商品ID
  17934. type: integer
  17935. infoc:
  17936. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  17937. description: 配置参数
  17938. marketid:
  17939. description: 市场ID
  17940. type: integer
  17941. type: object
  17942. models.TjmdTradeOrderDetail:
  17943. properties:
  17944. buyorsell:
  17945. description: 买卖方向 0-买 1-卖
  17946. type: integer
  17947. goodsid:
  17948. description: 商品id
  17949. type: integer
  17950. marketmaxsub:
  17951. description: 市价最大偏移范围 [浮动价 - 点差]
  17952. type: number
  17953. orderid:
  17954. description: 委托单号
  17955. type: string
  17956. orderprice:
  17957. description: 期初均价
  17958. type: number
  17959. orderqty:
  17960. description: 委托数量
  17961. type: integer
  17962. pricemode:
  17963. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  17964. type: integer
  17965. userid:
  17966. description: 用户id
  17967. type: integer
  17968. username:
  17969. description: 用户名称(已脱敏)
  17970. type: string
  17971. type: object
  17972. models.TjmdTransferApply:
  17973. properties:
  17974. applyid:
  17975. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  17976. type: integer
  17977. applystatus:
  17978. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  17979. type: integer
  17980. applytime:
  17981. description: 申请时间(时间)
  17982. type: string
  17983. auditremark:
  17984. description: 审核备注(拒绝原因?)
  17985. type: string
  17986. begindate:
  17987. description: 开始交易日(yyyymmdd)
  17988. type: string
  17989. buyorsell:
  17990. description: 买卖 - 0:买 1:卖
  17991. type: integer
  17992. enddate:
  17993. description: 结束交易日(yyyymmdd)
  17994. type: string
  17995. goodscode:
  17996. description: 商品代码
  17997. type: string
  17998. goodsid:
  17999. description: 商品ID
  18000. type: integer
  18001. goodsname:
  18002. description: 商品名称
  18003. type: string
  18004. marketid:
  18005. description: 市场ID
  18006. type: integer
  18007. qty:
  18008. description: 期初均价
  18009. type: number
  18010. tradeid:
  18011. description: 成交单号(关联持仓)
  18012. type: string
  18013. transferamount:
  18014. description: 转让总金额(金额)
  18015. type: number
  18016. transferprice:
  18017. description: 转让价格(协议价格)
  18018. type: number
  18019. type: object
  18020. models.TradeHolderDetail:
  18021. properties:
  18022. accountid:
  18023. description: 账号ID
  18024. type: integer
  18025. agreeunit:
  18026. description: 合约乘数
  18027. type: number
  18028. buyorsell:
  18029. description: 方向 - 0:买 1:卖
  18030. type: integer
  18031. currencyid:
  18032. description: 商品币种id
  18033. type: integer
  18034. currencyname:
  18035. description: 币种名称
  18036. type: string
  18037. decimalplace:
  18038. description: 商品价格小数位
  18039. type: integer
  18040. enumdicname:
  18041. description: 商品单位名称
  18042. type: string
  18043. expirecycle:
  18044. description: 行权周期(天) - 1:滚动行权时填写
  18045. type: integer
  18046. expiredate:
  18047. description: 行权日(yyyyMMdd) - 到期日
  18048. type: string
  18049. expiretype:
  18050. description: 行权日类型 - 1:滚动行权 2:固定日行权
  18051. type: integer
  18052. freezeqty:
  18053. description: 期初均价
  18054. type: number
  18055. goodscode:
  18056. description: 商品代码
  18057. type: string
  18058. goodsid:
  18059. description: 商品ID
  18060. type: integer
  18061. goodsname:
  18062. description: 商品名称
  18063. type: string
  18064. goodunitid:
  18065. description: 商品单位id
  18066. type: integer
  18067. holderamount:
  18068. description: 持仓金额
  18069. type: number
  18070. holdercredit:
  18071. description: 持仓授信金额
  18072. type: number
  18073. holderdays:
  18074. description: 剩余冻结天数
  18075. type: integer
  18076. holderprice:
  18077. description: 持仓价格
  18078. type: number
  18079. holderqty:
  18080. description: 期初均价
  18081. type: number
  18082. isconfirmexercise:
  18083. description: 是否确认行权- 0:否 1:是
  18084. type: integer
  18085. ispreexercise:
  18086. description: 是否预申报- 0:否 1:是 2:不可行权
  18087. type: integer
  18088. marketid:
  18089. description: 市场id
  18090. type: integer
  18091. marketname:
  18092. description: 市场名称
  18093. type: string
  18094. openprice:
  18095. description: 建仓价格
  18096. type: number
  18097. openqty:
  18098. description: 期初均价
  18099. type: number
  18100. optiontype:
  18101. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18102. type: integer
  18103. preexerciseprice:
  18104. description: 预申报价格
  18105. type: number
  18106. premium:
  18107. description: 权利金
  18108. type: number
  18109. qtydecimalplace:
  18110. description: 商品成交量小数位
  18111. type: integer
  18112. refgoodscode:
  18113. description: 标的合约代码
  18114. type: string
  18115. refgoodsid:
  18116. description: 标的合约id
  18117. type: integer
  18118. releaseamount:
  18119. description: 释放持仓金额
  18120. type: number
  18121. releaseholdercredit:
  18122. description: 释放持仓授信金额
  18123. type: number
  18124. taname:
  18125. description: 资金账号名称
  18126. type: string
  18127. tradeamount:
  18128. description: 成交金额
  18129. type: number
  18130. tradedate:
  18131. description: 交易日(yyyyMMdd)
  18132. type: string
  18133. tradeid:
  18134. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18135. type: string
  18136. trademode:
  18137. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  18138. 21:竞拍-大宗式 22:受托竞价 46:掉期
  18139. type: integer
  18140. tradeproperty:
  18141. description: 交易属性
  18142. type: integer
  18143. tradetime:
  18144. description: 交易时间
  18145. type: string
  18146. userid:
  18147. description: 用户id
  18148. type: integer
  18149. username:
  18150. description: 用户名称
  18151. type: string
  18152. type: object
  18153. models.Unlinkermcphedgeplan:
  18154. properties:
  18155. accountid:
  18156. description: 期货账户ID - 作废
  18157. type: integer
  18158. accountname:
  18159. description: 交易用户
  18160. type: string
  18161. applyid:
  18162. description: 申请人
  18163. type: integer
  18164. applysrc:
  18165. description: 申请来源 - 1:管理端 2:终端
  18166. type: integer
  18167. applytime:
  18168. description: 申请时间
  18169. type: string
  18170. areauserid:
  18171. description: '[企业ID]机构ID'
  18172. type: integer
  18173. auditid:
  18174. description: 审核人
  18175. type: integer
  18176. auditremark:
  18177. description: 审核备注
  18178. type: string
  18179. auditsrc:
  18180. description: 审核来源 - 1:管理端 2:终端
  18181. type: integer
  18182. audittime:
  18183. description: 审核时间
  18184. type: string
  18185. audittradedate:
  18186. description: 审核交易日(yyyyMMdd)
  18187. type: string
  18188. biztype:
  18189. description: 业务类型 - 1:套保
  18190. type: integer
  18191. contracttype:
  18192. description: 计划类型 - 1:采购 -1:销售
  18193. type: integer
  18194. convertfactor:
  18195. description: 标仓系数 - 作废
  18196. type: number
  18197. createtime:
  18198. description: 创建时间
  18199. type: string
  18200. currencyid:
  18201. description: 结算币种ID - 作废
  18202. type: integer
  18203. deliverygoodsid:
  18204. description: 现货品种ID
  18205. type: integer
  18206. enumdicname:
  18207. description: 结算币种
  18208. type: string
  18209. hedgeplanid:
  18210. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  18211. type: string
  18212. hedgeplanno:
  18213. description: '[计划编号]套保计划编号,模糊查询'
  18214. type: string
  18215. hedgeplanstatus:
  18216. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  18217. type: integer
  18218. isrelated:
  18219. description: 是否已关联计划项目 - 0:否 1:是
  18220. type: integer
  18221. planqty:
  18222. description: '[计划量]计划数量'
  18223. type: number
  18224. plantime:
  18225. description: 计划时间
  18226. type: string
  18227. producttype:
  18228. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  18229. type: integer
  18230. remark:
  18231. description: 备注
  18232. type: string
  18233. spotgoodsdesc:
  18234. description: 商品型号
  18235. type: string
  18236. tradedate:
  18237. description: 交易日(yyyyMMdd)
  18238. type: string
  18239. tradeuserid:
  18240. description: 交易用户ID
  18241. type: integer
  18242. updatetime:
  18243. description: 更新时间
  18244. type: string
  18245. wrstandardid:
  18246. description: 现货商品ID
  18247. type: integer
  18248. wrstandardname:
  18249. description: 现货商品,模糊查询
  18250. type: string
  18251. required:
  18252. - areauserid
  18253. type: object
  18254. models.UserCollectConfig:
  18255. properties:
  18256. accountstatus:
  18257. description: 账户状态 - 1:正常 2:停用 3:注销
  18258. type: integer
  18259. collectaccountname:
  18260. description: 收款人账户名称
  18261. type: string
  18262. collectaccountno:
  18263. description: 收款人账户
  18264. type: string
  18265. collectbankname:
  18266. description: 收款人开户行
  18267. type: string
  18268. collectbranchbankname:
  18269. description: 收款人开户支行
  18270. type: string
  18271. collectconfigid:
  18272. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  18273. type: string
  18274. remark:
  18275. description: 备注
  18276. type: string
  18277. userid:
  18278. description: 收款人用户ID
  18279. type: integer
  18280. type: object
  18281. models.UserReceiveInfo:
  18282. properties:
  18283. address:
  18284. description: 提货人详细地址
  18285. type: string
  18286. autoid:
  18287. description: AutoID
  18288. type: integer
  18289. cardnum:
  18290. description: 证件号码(加密存储)
  18291. type: string
  18292. cardtypeid:
  18293. description: 证件类型
  18294. type: integer
  18295. cityid:
  18296. description: 市
  18297. type: integer
  18298. cityname:
  18299. description: 城市名称
  18300. type: string
  18301. countryid:
  18302. description: 国家
  18303. type: integer
  18304. countryname:
  18305. description: 国家名称
  18306. type: string
  18307. districtid:
  18308. description: 地区
  18309. type: integer
  18310. districtname:
  18311. description: 地区名称
  18312. type: string
  18313. hasencrypt:
  18314. description: 数据是否已加密 - 0:未加密 1:已加密
  18315. type: integer
  18316. isdefault:
  18317. description: 是否默认地址 - 0:否 1:是
  18318. type: integer
  18319. phonenum:
  18320. description: 提货人联系方式(加密存储)
  18321. type: string
  18322. provinceid:
  18323. description: 省
  18324. type: integer
  18325. provincename:
  18326. description: 省名称
  18327. type: string
  18328. receivername:
  18329. description: 提货人姓名
  18330. type: string
  18331. takeremark:
  18332. description: 提货备注
  18333. type: string
  18334. userid:
  18335. description: 用户ID
  18336. type: integer
  18337. type: object
  18338. models.Useraccount:
  18339. properties:
  18340. accountname:
  18341. description: 账户名称(机构名称)
  18342. type: string
  18343. accountstatus:
  18344. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  18345. type: integer
  18346. applysrc:
  18347. description: 申请来源 - 1:管理端 2:终端
  18348. type: integer
  18349. auditremark:
  18350. description: 审核备注
  18351. type: string
  18352. auditsrc:
  18353. description: 审核来源 - 1:管理端 2:终端
  18354. type: integer
  18355. audittime:
  18356. description: 审核时间
  18357. type: string
  18358. audituserid:
  18359. description: 审核人
  18360. type: integer
  18361. broker:
  18362. description: 所属经纪人ID
  18363. type: integer
  18364. canceltime:
  18365. description: 销户时间
  18366. type: string
  18367. canceluserid:
  18368. description: 销户人
  18369. type: integer
  18370. canrecommend:
  18371. description: 是否可推荐 - 0:不可 1;可
  18372. type: integer
  18373. createtime:
  18374. description: 创建时间
  18375. type: string
  18376. creatorid:
  18377. description: 创建人
  18378. type: integer
  18379. curscore:
  18380. description: 积分
  18381. type: integer
  18382. hasauth:
  18383. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  18384. type: integer
  18385. isanonymous:
  18386. description: 是否匿名下单 - 0:否 1:是
  18387. type: integer
  18388. issigned:
  18389. description: 今日是否已签到
  18390. type: boolean
  18391. maxinvestornum:
  18392. description: 最大用户数(经纪会员下投资者个数)
  18393. type: integer
  18394. memberuserid:
  18395. description: 所属会员ID
  18396. type: integer
  18397. modifierid:
  18398. description: 修改人
  18399. type: integer
  18400. modifyremark:
  18401. description: 变更备注
  18402. type: string
  18403. modifystatus:
  18404. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  18405. type: integer
  18406. modifytime:
  18407. description: 修改时间
  18408. type: string
  18409. parenttopuser:
  18410. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  18411. type: string
  18412. parentuserid:
  18413. description: 所属机构ID
  18414. type: integer
  18415. reckonaccountid:
  18416. description: 默认结算资金账号ID(机构分润使用) 作废
  18417. type: integer
  18418. refercount:
  18419. description: 推荐总人数
  18420. type: integer
  18421. refereeuserid:
  18422. description: 推荐人ID
  18423. type: integer
  18424. refernum:
  18425. description: 推荐码
  18426. type: string
  18427. rootuserid:
  18428. description: 根用户ID
  18429. type: integer
  18430. subaccountlevel:
  18431. description: 子账户层数
  18432. type: integer
  18433. subarealevelpath:
  18434. description: 子机构层级路径(逗号分隔,首尾加逗号)
  18435. type: string
  18436. todayrefercount:
  18437. description: 今日推荐人数
  18438. type: integer
  18439. userid:
  18440. description: 用户ID
  18441. type: integer
  18442. usertype:
  18443. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  18444. type: integer
  18445. required:
  18446. - userid
  18447. type: object
  18448. models.Userfavoritegoods:
  18449. properties:
  18450. goodsid:
  18451. description: 商品ID
  18452. type: integer
  18453. required:
  18454. - goodsid
  18455. type: object
  18456. models.Userinfo:
  18457. properties:
  18458. address:
  18459. description: 地址
  18460. type: string
  18461. attachment1:
  18462. description: 附件1
  18463. type: string
  18464. attachment2:
  18465. description: 附件2
  18466. type: string
  18467. bankaccount:
  18468. description: 银行帐号 (加密存储)
  18469. type: string
  18470. bankaccountname:
  18471. description: 收款人名称
  18472. type: string
  18473. bankcardfrontphotourl:
  18474. description: 银行卡正面照地址
  18475. type: string
  18476. bankid:
  18477. description: 银行编码
  18478. type: string
  18479. bankname:
  18480. description: 银行名称
  18481. type: string
  18482. biznature:
  18483. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  18484. type: integer
  18485. bizscope:
  18486. description: 企业经营范围(企业)
  18487. type: string
  18488. cardbackphotourl:
  18489. description: 证件背面图片地址
  18490. type: string
  18491. cardfrontphotourl:
  18492. description: 证件正面图片地址
  18493. type: string
  18494. cardnum:
  18495. description: 证件号码(加密存储)
  18496. type: string
  18497. cardtypeid:
  18498. description: 证件类型ID
  18499. type: integer
  18500. cityid:
  18501. description: 市
  18502. type: integer
  18503. company:
  18504. description: 公司(个人)
  18505. type: string
  18506. contactname:
  18507. description: 联系人
  18508. type: string
  18509. countryid:
  18510. description: 国家
  18511. type: integer
  18512. createtime:
  18513. description: 创建时间
  18514. type: string
  18515. creatorid:
  18516. description: 创建人
  18517. type: integer
  18518. customername:
  18519. description: 客户名称(企业名称)
  18520. type: string
  18521. districtid:
  18522. description: 地区
  18523. type: integer
  18524. email:
  18525. description: 邮件(加密存储)
  18526. type: string
  18527. fax:
  18528. description: 传真(加密存储)
  18529. type: string
  18530. halfbodyphotourl:
  18531. description: 半身照地址
  18532. type: string
  18533. hasencrypt:
  18534. description: 数据是否已加密 - 0:未加密 1:已加密
  18535. type: integer
  18536. headurl:
  18537. description: 头像地址
  18538. type: string
  18539. legalcardbackphotourl:
  18540. description: 法人身份证背面照地址
  18541. type: string
  18542. legalcardfrontphotourl:
  18543. description: 法人身份证正面照地址
  18544. type: string
  18545. legalpersonname:
  18546. description: 法人姓名(企业)
  18547. type: string
  18548. mobile:
  18549. description: 手机号码(加密存储)
  18550. type: string
  18551. mobile2:
  18552. description: 手机号码[明文-尚志]
  18553. type: string
  18554. modifierid:
  18555. description: 修改人
  18556. type: integer
  18557. modifiertime:
  18558. description: 修改时间
  18559. type: string
  18560. needinvoice:
  18561. description: 是否需要发票 - 0:不需要 1:需要
  18562. type: integer
  18563. nickname:
  18564. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  18565. type: string
  18566. openmode:
  18567. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  18568. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  18569. type: integer
  18570. otherurl:
  18571. description: 其它图片地址[使用分号分隔]
  18572. type: string
  18573. postalcode:
  18574. description: 邮政编码
  18575. type: string
  18576. provinceid:
  18577. description: 省
  18578. type: integer
  18579. qq:
  18580. description: QQ(加密存储
  18581. type: string
  18582. remark:
  18583. description: 备注
  18584. type: string
  18585. sex:
  18586. description: '用户性别 0: 女 1: 男'
  18587. type: integer
  18588. signpdfurl:
  18589. description: 签约pdf文件
  18590. type: string
  18591. telphone:
  18592. description: 联系电话(加密存储)
  18593. type: string
  18594. userid:
  18595. description: 用户ID
  18596. type: integer
  18597. userinfotype:
  18598. description: 用户信息类型 - 1:个人 2:企业
  18599. type: integer
  18600. userstatus:
  18601. description: 用户状态 - 1:正常 2:注销
  18602. type: integer
  18603. usertype:
  18604. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  18605. type: integer
  18606. wechat:
  18607. description: 微信(加密存储)
  18608. type: string
  18609. wskhinfo:
  18610. description: 开户申请信息(JSON)
  18611. type: string
  18612. required:
  18613. - userid
  18614. type: object
  18615. models.WRPositionReport:
  18616. properties:
  18617. accountid:
  18618. description: 帐户ID
  18619. type: integer
  18620. brandid:
  18621. description: 品牌ID(1交割品种升贴水参数表 AutoID) - 作废
  18622. type: integer
  18623. buylistinglot:
  18624. description: 买挂牌宗数
  18625. type: integer
  18626. buytradeamount:
  18627. description: 购买金额
  18628. type: number
  18629. buytradelot:
  18630. description: 购买宗数
  18631. type: integer
  18632. buytradeqty:
  18633. description: 购买数量
  18634. type: number
  18635. creditcurqty:
  18636. description: 授信当前数量
  18637. type: integer
  18638. creditfreezeqty:
  18639. description: 授信冻结数量
  18640. type: integer
  18641. credittotalqty:
  18642. description: 授信总数量
  18643. type: integer
  18644. credittradeqty:
  18645. description: 授信成交数量
  18646. type: integer
  18647. decreaseqty:
  18648. description: 今日减少数量
  18649. type: integer
  18650. deliverygoodsid:
  18651. description: 交割商品ID
  18652. type: integer
  18653. deliverymonthid:
  18654. description: 月份ID(1交割品种升贴水参数表 AutoID) - 作废
  18655. type: integer
  18656. freezeqty:
  18657. description: 总冻结数量
  18658. type: integer
  18659. increaseqty:
  18660. description: 今日增加数量
  18661. type: integer
  18662. marketvalue:
  18663. description: 市值
  18664. type: number
  18665. pickupqty:
  18666. description: 今日提货数量
  18667. type: integer
  18668. qualityid:
  18669. description: 品质ID(1交割品种升贴水参数表 AutoID) - 作废
  18670. type: integer
  18671. reckondate:
  18672. description: 日照时期(yyyyMMdd)
  18673. type: string
  18674. relatedqty:
  18675. description: 关联数量
  18676. type: integer
  18677. selllistingamount:
  18678. description: 卖挂牌金额
  18679. type: number
  18680. selllistinglot:
  18681. description: 卖挂牌宗数
  18682. type: integer
  18683. selllistingqty:
  18684. description: 卖挂牌数量
  18685. type: number
  18686. selltradeamount:
  18687. description: 销售金额
  18688. type: number
  18689. selltradelot:
  18690. description: 销售宗数
  18691. type: integer
  18692. selltradeqty:
  18693. description: 销售数量
  18694. type: number
  18695. specid:
  18696. description: 规格ID(1交割品种升贴水参数表 AutoID) - 作废
  18697. type: integer
  18698. totalprice:
  18699. description: 销售金额(¥)
  18700. type: number
  18701. totalqty:
  18702. description: 总数量
  18703. type: integer
  18704. totalweight:
  18705. description: 销售重量(ct)
  18706. type: number
  18707. tradewrqty:
  18708. description: 订单仓单头寸总数量
  18709. type: integer
  18710. transfertradewrqty:
  18711. description: 今日转订单数量
  18712. type: integer
  18713. warehouseid:
  18714. description: 仓库ID(1交割品种升贴水参数表 AutoID) - 作废
  18715. type: integer
  18716. wrfactortypeid:
  18717. description: 仓单要素类型ID
  18718. type: integer
  18719. wrpositionid:
  18720. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  18721. type: integer
  18722. wrstandardcode:
  18723. description: 现货商品代码
  18724. type: string
  18725. wrstandardid:
  18726. description: 现货商品ID
  18727. type: integer
  18728. wruserid:
  18729. description: 持有人ID
  18730. type: integer
  18731. zscategory:
  18732. description: 商品分类
  18733. type: integer
  18734. zscategorydisplay:
  18735. type: string
  18736. zscurrencytype:
  18737. description: 商品币种
  18738. type: integer
  18739. zscurrencytypedisplay:
  18740. type: string
  18741. zscurrencytypedisplayunit:
  18742. type: string
  18743. type: object
  18744. models.WRSConverTDetail:
  18745. properties:
  18746. convertratio:
  18747. description: 套保系数
  18748. type: number
  18749. deliverygoodscode:
  18750. description: 现货商品代码
  18751. type: string
  18752. deliverygoodsid:
  18753. description: 现货品种ID
  18754. type: integer
  18755. deliverygoodsname:
  18756. description: 现货商品名称
  18757. type: string
  18758. enumdicname:
  18759. description: 单位名称
  18760. type: string
  18761. goodsunitid:
  18762. description: 套保品种单位id
  18763. type: integer
  18764. middlegoodscode:
  18765. description: 套保品种代码
  18766. type: string
  18767. middlegoodsid:
  18768. description: 套保品种ID
  18769. type: integer
  18770. middlegoodsname:
  18771. description: 套保品种名称
  18772. type: string
  18773. modifytime:
  18774. description: 修改时间
  18775. type: string
  18776. wrstandardid:
  18777. description: 品类ID
  18778. type: integer
  18779. type: object
  18780. models.WRStandardInfo:
  18781. properties:
  18782. areauserid:
  18783. description: 所属机构
  18784. type: integer
  18785. convertfactor:
  18786. description: 标仓系数
  18787. type: number
  18788. createtime:
  18789. description: 创建时间
  18790. type: string
  18791. creatorid:
  18792. description: 创建人
  18793. type: integer
  18794. deliverygoodsid:
  18795. description: 品种ID
  18796. type: integer
  18797. deliverygoodsname:
  18798. description: 交割商品名称
  18799. type: string
  18800. factoryitemjson:
  18801. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  18802. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  18803. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  18804. 逗号分隔'
  18805. type: string
  18806. isvalid:
  18807. description: 是否有效 - 0:无效 1:有效
  18808. type: integer
  18809. minivalue:
  18810. description: 最小变动值
  18811. type: integer
  18812. minivaluedp:
  18813. description: 最小变动值小数位
  18814. type: integer
  18815. realminivalue:
  18816. description: 实际最小变动值
  18817. type: integer
  18818. realminivaluedp:
  18819. description: 实际最小变动值小数位
  18820. type: integer
  18821. remark:
  18822. description: 备注
  18823. type: string
  18824. unitid:
  18825. description: 单位ID
  18826. type: integer
  18827. unitname:
  18828. description: 单位
  18829. type: string
  18830. updatetime:
  18831. description: 更新时间
  18832. type: string
  18833. updatorid:
  18834. description: 更新人
  18835. type: integer
  18836. wrsstatus:
  18837. description: 状态 - 作废 - 0:未激活 1:正常
  18838. type: integer
  18839. wrstandardcode:
  18840. description: 现货品类代码
  18841. type: string
  18842. wrstandardid:
  18843. description: 现货品类ID(SEQ_WRSTANDARD)
  18844. type: integer
  18845. wrstandardname:
  18846. description: 现货品类名称
  18847. type: string
  18848. required:
  18849. - wrstandardid
  18850. type: object
  18851. models.WRTradeBargainApply:
  18852. properties:
  18853. accountid:
  18854. description: 摘牌资金账号
  18855. type: integer
  18856. applyprice:
  18857. description: 申请价格(议价价格)
  18858. type: string
  18859. applyqty:
  18860. description: 摘牌数量(议价数量)
  18861. type: number
  18862. applyremark:
  18863. description: 申请备注
  18864. type: string
  18865. applystatus:
  18866. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  18867. type: integer
  18868. applytime:
  18869. description: 申请时间(议价时间)
  18870. type: string
  18871. begindate:
  18872. description: 开始交易日(yyyymmdd)
  18873. type: string
  18874. buyorsell:
  18875. description: 买卖(挂牌类型) - 0:买 1:卖
  18876. type: integer
  18877. confirmremark:
  18878. description: 确认备注
  18879. type: string
  18880. confirmtime:
  18881. description: 确认时间
  18882. type: string
  18883. confirmuserid:
  18884. description: 确认人
  18885. type: integer
  18886. deliverygoodscode:
  18887. description: 品种代码
  18888. type: string
  18889. deliverygoodsid:
  18890. description: 品种ID
  18891. type: integer
  18892. deliverygoodsname:
  18893. description: 品种名称
  18894. type: string
  18895. deliverymonth:
  18896. description: 交收月
  18897. type: string
  18898. enddate:
  18899. description: 结束交易日(yyyymmdd)
  18900. type: string
  18901. enumdicname:
  18902. description: 单位名称
  18903. type: string
  18904. fixedprice:
  18905. description: 期初均价
  18906. type: number
  18907. handlestatus:
  18908. description: 处理状态
  18909. type: integer
  18910. marginvalue:
  18911. description: 期初均价
  18912. type: number
  18913. marketid:
  18914. description: 市场ID
  18915. type: integer
  18916. matchaccountid:
  18917. description: 挂牌方资金账号
  18918. type: integer
  18919. matchuserid:
  18920. description: 挂牌方用户id
  18921. type: integer
  18922. matchusername:
  18923. description: 挂牌方用户名称(已脱敏)
  18924. type: string
  18925. minivalue:
  18926. description: 现货商品最小变动值
  18927. type: integer
  18928. optioncompare:
  18929. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18930. type: string
  18931. orderqty:
  18932. description: 挂牌数量
  18933. type: integer
  18934. refprice:
  18935. description: 参考价格
  18936. type: string
  18937. retcode:
  18938. description: 委托返回代码
  18939. type: integer
  18940. templatename:
  18941. description: 履约方式(履约模板名称)
  18942. type: string
  18943. tradedate:
  18944. description: 交易日(yyyyMMdd)
  18945. type: string
  18946. userid:
  18947. description: 摘牌人用户ID(议价人ID)
  18948. type: integer
  18949. username:
  18950. description: 议价人名字(已脱敏)
  18951. type: string
  18952. validtime:
  18953. description: 有效期限
  18954. type: string
  18955. warehouseid:
  18956. description: 仓库ID
  18957. type: integer
  18958. warehousename:
  18959. description: 仓库名称
  18960. type: string
  18961. wrbargainid:
  18962. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  18963. type: string
  18964. wrfactortypeid:
  18965. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18966. type: string
  18967. wrfactortypename:
  18968. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18969. type: string
  18970. wrstandardcode:
  18971. description: 现货商品代码
  18972. type: string
  18973. wrstandardid:
  18974. description: 现货商品ID
  18975. type: integer
  18976. wrstandardname:
  18977. description: 商品名称
  18978. type: string
  18979. wrtradeorderid:
  18980. description: 关联委托单ID
  18981. type: string
  18982. wrtypename:
  18983. description: 商品
  18984. type: string
  18985. type: object
  18986. models.Warehouseinfo:
  18987. properties:
  18988. address:
  18989. description: 详细地址
  18990. type: string
  18991. areauserid:
  18992. description: 所属机构
  18993. type: integer
  18994. autoid:
  18995. description: 自增ID
  18996. type: integer
  18997. cityid:
  18998. description: 市
  18999. type: integer
  19000. contactname:
  19001. description: 联系人
  19002. type: string
  19003. contactnum:
  19004. description: 联系电话
  19005. type: string
  19006. countryid:
  19007. description: 国家
  19008. type: integer
  19009. createtime:
  19010. description: 创建时间
  19011. type: string
  19012. districtid:
  19013. description: 区
  19014. type: integer
  19015. hasvideo:
  19016. description: 是否有视频 - 0:无 1:有
  19017. type: integer
  19018. provinceid:
  19019. description: 省
  19020. type: integer
  19021. remark:
  19022. description: 审核备注
  19023. type: string
  19024. videourl:
  19025. description: 视频地址
  19026. type: string
  19027. warehousecode:
  19028. description: 仓库代码
  19029. type: string
  19030. warehousename:
  19031. description: 仓库名称
  19032. type: string
  19033. warehousestatus:
  19034. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  19035. type: integer
  19036. warehousetype:
  19037. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  19038. type: integer
  19039. required:
  19040. - autoid
  19041. - warehousecode
  19042. type: object
  19043. models.WrAverageTradePrice:
  19044. properties:
  19045. averageprice:
  19046. description: 期初均价
  19047. type: number
  19048. tradedate:
  19049. description: 交易日yyyymm
  19050. type: string
  19051. type: object
  19052. models.WrBrandAndYears:
  19053. properties:
  19054. brandlst:
  19055. description: 品牌列表
  19056. items:
  19057. $ref: '#/definitions/models.DgFactoryItem'
  19058. type: array
  19059. yearslst:
  19060. description: 年份列表
  19061. items:
  19062. $ref: '#/definitions/models.DgFactoryItem'
  19063. type: array
  19064. type: object
  19065. models.WrBsGoodsInfo:
  19066. properties:
  19067. buyorsell:
  19068. description: 买卖方向 0-买 1-卖
  19069. type: integer
  19070. goodsid:
  19071. description: 交易合约ID
  19072. type: integer
  19073. lstitem:
  19074. description: 商品信息项
  19075. items:
  19076. $ref: '#/definitions/models.WrTypeItem'
  19077. type: array
  19078. lststep:
  19079. description: 履约规则
  19080. items:
  19081. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19082. type: array
  19083. type: object
  19084. models.WrBuybackDetail:
  19085. properties:
  19086. buybackamount:
  19087. description: 回购金额
  19088. type: number
  19089. buybackqty:
  19090. description: 回购数量
  19091. type: number
  19092. buybackreleasemargin:
  19093. description: 回购释放保证金
  19094. type: number
  19095. buybacktime:
  19096. description: 回购时间
  19097. type: string
  19098. errordesc:
  19099. description: 错误描述
  19100. type: string
  19101. handlestatus:
  19102. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  19103. type: integer
  19104. relatedwrid:
  19105. description: 关联仓单ID
  19106. type: integer
  19107. scfcontractid:
  19108. description: SCF合同ID
  19109. type: string
  19110. scfwrbuybackid:
  19111. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  19112. type: integer
  19113. tradedate:
  19114. description: 交易日(yyyyMMdd)
  19115. type: string
  19116. type: object
  19117. models.WrClientAdSpaceConfig:
  19118. properties:
  19119. adspaceid:
  19120. description: 广告位ID
  19121. type: integer
  19122. adspacename:
  19123. description: 广告位名称
  19124. type: string
  19125. adspacetype:
  19126. description: 广告位类型 - 1:固定广告位
  19127. type: integer
  19128. areauserid:
  19129. description: 所属机构ID
  19130. type: integer
  19131. createdate:
  19132. description: 创建时间
  19133. type: string
  19134. imagepath:
  19135. description: 图片
  19136. type: string
  19137. modifierid:
  19138. description: 操作人
  19139. type: integer
  19140. recsize:
  19141. description: 推荐尺寸
  19142. type: string
  19143. title:
  19144. description: 标题
  19145. type: string
  19146. updatedate:
  19147. description: 更新时间
  19148. type: string
  19149. urlcontent:
  19150. description: 链接(地址\商品ID\功能菜单Key\appid)
  19151. type: string
  19152. urltype:
  19153. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  19154. type: integer
  19155. type: object
  19156. models.WrDeliveryAvalidHoldLB:
  19157. properties:
  19158. accountid:
  19159. description: 资金账号
  19160. type: integer
  19161. avalidqty:
  19162. description: 数量(可点选数量)
  19163. type: number
  19164. deliverygoodsid:
  19165. description: 品种id
  19166. type: integer
  19167. enumdicname:
  19168. description: 单位名称
  19169. type: string
  19170. goodsid:
  19171. description: x合约商品id
  19172. type: integer
  19173. ladingbillid:
  19174. description: 提单id
  19175. type: string
  19176. pgoodscode:
  19177. description: p商品代码(点价合约)
  19178. type: string
  19179. pgoodsid:
  19180. description: p商品id(点价合约)
  19181. type: integer
  19182. pgoodsname:
  19183. description: p商品名称(点价合约)
  19184. type: string
  19185. pricemove:
  19186. description: 升贴水
  19187. type: number
  19188. subnum:
  19189. description: 提单子id
  19190. type: integer
  19191. userid:
  19192. description: 用户id
  19193. type: integer
  19194. username:
  19195. description: 仓单持有人
  19196. type: string
  19197. warehousecode:
  19198. description: 仓库代码
  19199. type: string
  19200. warehouseid:
  19201. description: 仓库id
  19202. type: integer
  19203. warehousename:
  19204. description: 仓库名称
  19205. type: string
  19206. wrfactortypeid:
  19207. description: 仓单要素id
  19208. type: string
  19209. wrstandardcode:
  19210. description: 品代码
  19211. type: string
  19212. wrstandardid:
  19213. description: 品类d
  19214. type: integer
  19215. wrstandardname:
  19216. description: 品类名称
  19217. type: string
  19218. wrtypename:
  19219. description: 商品
  19220. type: string
  19221. xgoodscode:
  19222. description: x合约代码
  19223. type: string
  19224. xgoodsname:
  19225. description: x合约名称
  19226. type: string
  19227. type: object
  19228. models.WrDeliveryDetail:
  19229. properties:
  19230. accountid:
  19231. description: 账号ID
  19232. type: integer
  19233. averageprice:
  19234. description: 期初均价
  19235. type: number
  19236. begindate:
  19237. description: 开始交易日(yyyymmdd)
  19238. type: string
  19239. buyorsell:
  19240. description: 方向 - 0:买 1:卖
  19241. type: integer
  19242. deliveryamount:
  19243. description: 货款金额(X总货款+P总货款)
  19244. type: number
  19245. deliveryid:
  19246. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  19247. type: string
  19248. deliveryorderid:
  19249. description: 申报单号
  19250. type: string
  19251. deliverypricemove:
  19252. description: 升贴水(升贴水总额)
  19253. type: number
  19254. deliveryqty:
  19255. description: 交收数量(点选数量)
  19256. type: number
  19257. deliverystatus:
  19258. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  19259. type: integer
  19260. deliverytime:
  19261. description: 交割时间
  19262. type: string
  19263. deliverytotalamount:
  19264. description: 交收金额
  19265. type: number
  19266. enddate:
  19267. description: 结束交易日(yyyymmdd)
  19268. type: string
  19269. enumdicname:
  19270. description: 单位名称
  19271. type: string
  19272. matchaccountid:
  19273. description: 对手账号ID
  19274. type: integer
  19275. matchusername:
  19276. description: 对手方名称(仓单持有人)
  19277. type: string
  19278. p1goodsremainamount:
  19279. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  19280. type: number
  19281. pdeliverycloseqty:
  19282. description: p合约平仓数量
  19283. type: number
  19284. pdeliveryprice:
  19285. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  19286. type: number
  19287. pgoodscode:
  19288. description: 商品代码
  19289. type: string
  19290. pgoodsid:
  19291. description: p点选合约id
  19292. type: integer
  19293. pgoodsname:
  19294. description: 商品名称
  19295. type: string
  19296. ppricemode:
  19297. description: 点价价格方式 - 1:商品价 2:固定值
  19298. type: integer
  19299. tradedate:
  19300. description: 交易日(yyyymmdd)
  19301. type: string
  19302. userid:
  19303. description: 用户id
  19304. type: integer
  19305. username:
  19306. description: 用户名称
  19307. type: string
  19308. warehousename:
  19309. description: 仓库名称
  19310. type: string
  19311. wrfactortypeid:
  19312. description: 仓单要素类型ID
  19313. type: string
  19314. wrtypename:
  19315. description: 商品
  19316. type: string
  19317. xdeliverycloseqty:
  19318. description: 合约数量
  19319. type: number
  19320. xgoodsamount:
  19321. description: 期初均价
  19322. type: number
  19323. xgoodscode:
  19324. description: 商品代码
  19325. type: string
  19326. xgoodsid:
  19327. description: x交易合约ID
  19328. type: integer
  19329. xgoodsname:
  19330. description: 商品名称
  19331. type: string
  19332. type: object
  19333. models.WrDeliveryGoodsSection:
  19334. properties:
  19335. dglst:
  19336. description: 板块商品列表
  19337. items:
  19338. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  19339. type: array
  19340. imagepath:
  19341. description: 图片地址
  19342. type: string
  19343. orderindex:
  19344. description: 排序
  19345. type: integer
  19346. sectionid:
  19347. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  19348. = 1的版块1 - 云融指数
  19349. type: integer
  19350. sectionname:
  19351. description: 版块名称
  19352. type: string
  19353. sectiontype:
  19354. description: 版块类型 - 1:指数版块 2:普通版块
  19355. type: integer
  19356. type: object
  19357. models.WrDeliveryGoodsSectionConfig:
  19358. properties:
  19359. deliverygoodscode:
  19360. description: 现货商品代码
  19361. type: string
  19362. deliverygoodsid:
  19363. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19364. type: integer
  19365. deliverygoodsname:
  19366. description: 现货商品名称
  19367. type: string
  19368. orderindex:
  19369. description: 排序
  19370. type: integer
  19371. type: object
  19372. models.WrDraftUserInfo:
  19373. properties:
  19374. address:
  19375. description: 地址
  19376. type: string
  19377. attachment1:
  19378. description: 附件1
  19379. type: string
  19380. attachment2:
  19381. description: 附件2
  19382. type: string
  19383. attachment3:
  19384. description: 附件3
  19385. type: string
  19386. attachment4:
  19387. description: 附件4
  19388. type: string
  19389. attachment5:
  19390. description: 附件5
  19391. type: string
  19392. bankaccount:
  19393. description: 银行帐号 (加密存储)
  19394. type: string
  19395. bankaccountname:
  19396. description: 收款人名称
  19397. type: string
  19398. bankcardfrontphotourl:
  19399. description: 银行卡正面照地址
  19400. type: string
  19401. bankid:
  19402. description: 银行编码
  19403. type: string
  19404. bankname:
  19405. description: 银行名称
  19406. type: string
  19407. birthday:
  19408. description: 生日(个人:年月日)
  19409. type: string
  19410. biznature:
  19411. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  19412. type: integer
  19413. bizscope:
  19414. description: 企业经营范围(企业)
  19415. type: string
  19416. biztype:
  19417. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  19418. type: integer
  19419. cardbackphotourl:
  19420. description: 证件背面图片地址
  19421. type: string
  19422. cardfrontphotourl:
  19423. description: 证件正面图片地址
  19424. type: string
  19425. cardnum:
  19426. description: 证件号码(加密存储)
  19427. type: string
  19428. cardtypeid:
  19429. description: 证件类型ID
  19430. type: integer
  19431. cityid:
  19432. description: 市
  19433. type: integer
  19434. company:
  19435. description: 公司(个人)
  19436. type: string
  19437. contactcardbackphotourl:
  19438. description: 联系人证件背面图片地址
  19439. type: string
  19440. contactcardfrontphotourl:
  19441. description: 联系人证件正面图片地址
  19442. type: string
  19443. contactname:
  19444. description: 联系人
  19445. type: string
  19446. countryid:
  19447. description: 国家
  19448. type: integer
  19449. createtime:
  19450. description: 创建时间
  19451. type: string
  19452. creatorid:
  19453. description: 创建人
  19454. type: integer
  19455. creditquota:
  19456. description: 授信额度(金瑞)
  19457. type: number
  19458. customername:
  19459. description: 客户名称(企业名称)
  19460. type: string
  19461. districtid:
  19462. description: 地区
  19463. type: integer
  19464. email:
  19465. description: 邮件(加密存储)
  19466. type: string
  19467. fax:
  19468. description: 传真(加密存储)
  19469. type: string
  19470. halfbodyphotourl:
  19471. description: 半身照地址
  19472. type: string
  19473. hasencrypt:
  19474. description: 数据是否已加密 - 0:未加密 1:已加密
  19475. type: integer
  19476. headurl:
  19477. description: 头像地址
  19478. type: string
  19479. legalcardbackphotourl:
  19480. description: 法人身份证背面照地址
  19481. type: string
  19482. legalcardfrontphotourl:
  19483. description: 法人身份证正面照地址
  19484. type: string
  19485. legalpersonname:
  19486. description: 法人姓名(企业)
  19487. type: string
  19488. mobile:
  19489. description: 手机号码(加密存储)
  19490. type: string
  19491. mobile2:
  19492. description: 手机号码[明文-尚志]
  19493. type: string
  19494. modifierid:
  19495. description: 修改人
  19496. type: integer
  19497. modifiertime:
  19498. description: 修改时间
  19499. type: string
  19500. needinvoice:
  19501. description: 是否需要发票 - 0:不需要 1:需要
  19502. type: integer
  19503. nickname:
  19504. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  19505. type: string
  19506. openmode:
  19507. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  19508. 6:苹果手机端注册 7:PC交易端注册"
  19509. type: integer
  19510. otherurl:
  19511. description: 其它图片地址[使用分号分隔]
  19512. type: string
  19513. postalcode:
  19514. description: 邮政编码
  19515. type: string
  19516. provinceid:
  19517. description: 省
  19518. type: integer
  19519. proxystatementurl:
  19520. description: 授权委托书
  19521. type: string
  19522. qq:
  19523. description: QQ(加密存储
  19524. type: string
  19525. remark:
  19526. description: 备注
  19527. type: string
  19528. sex:
  19529. description: '用户性别 0: 女 1: 男'
  19530. type: integer
  19531. signpdfurl:
  19532. description: 签约pdf文件
  19533. type: string
  19534. taxpayernum:
  19535. description: 纳税人识别号
  19536. type: string
  19537. telphone:
  19538. description: 联系电话(加密存储)
  19539. type: string
  19540. userid:
  19541. description: 用户ID
  19542. type: integer
  19543. userinfotype:
  19544. description: 用户信息类型 - 1:个人 2:企业
  19545. type: integer
  19546. userstatus:
  19547. description: 用户状态 - 1:正常 2:注销
  19548. type: integer
  19549. usertype:
  19550. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  19551. type: integer
  19552. wechat:
  19553. description: 微信(加密存储)
  19554. type: string
  19555. wskhinfo:
  19556. description: 开户申请信息(JSON)
  19557. type: string
  19558. type: object
  19559. models.WrFAProductDetail:
  19560. properties:
  19561. accountid:
  19562. description: 资金账号
  19563. type: integer
  19564. areauserid:
  19565. description: 金融机构ID
  19566. type: integer
  19567. financingdays:
  19568. description: 天数(天)
  19569. type: integer
  19570. interestminlen:
  19571. description: 最小起息天数
  19572. type: integer
  19573. interestrate:
  19574. description: 利率
  19575. type: number
  19576. interestratemode:
  19577. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19578. type: integer
  19579. interestsettlemode:
  19580. description: 结息方式 - 1:按日结息 3:按月结息
  19581. type: integer
  19582. interestsettlevalue:
  19583. description: 结息方式值
  19584. type: integer
  19585. isautoloan:
  19586. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  19587. type: integer
  19588. loantag:
  19589. description: '放款标识: "放款快" 或者为空'
  19590. type: string
  19591. marginratio:
  19592. description: 保证金比率质押率 - [仓单质押]
  19593. type: number
  19594. productdetailid:
  19595. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  19596. type: integer
  19597. productid:
  19598. description: 金融产品ID
  19599. type: integer
  19600. productname:
  19601. description: 产品名称
  19602. type: string
  19603. updatetime:
  19604. description: 更新时间
  19605. type: string
  19606. username:
  19607. description: 融出方
  19608. type: string
  19609. type: object
  19610. models.WrFactorTypeInfo:
  19611. properties:
  19612. deliverygoodscode:
  19613. description: 品种代码
  19614. type: string
  19615. deliverygoodsname:
  19616. description: 品种名称
  19617. type: string
  19618. dgfactoryitemid:
  19619. description: 选择项id
  19620. type: integer
  19621. dgfactoryitemtypeid:
  19622. description: 要素选择项ID (1-仓库 2-品牌)
  19623. type: integer
  19624. dgfactoryitemvalue:
  19625. description: 要素项值
  19626. type: string
  19627. itemtypename:
  19628. description: 要素项名称
  19629. type: string
  19630. optioncompare:
  19631. description: 选择比较串
  19632. type: string
  19633. warehouseid:
  19634. description: 仓库id
  19635. type: integer
  19636. wrfactortypeid:
  19637. description: 仓单要素ID
  19638. type: string
  19639. wrfactortypename:
  19640. description: 要素名称
  19641. type: string
  19642. wrfactortypename2:
  19643. description: 要素名称(不含仓库)
  19644. type: string
  19645. wrstandardcode:
  19646. description: 品类代码
  19647. type: string
  19648. wrstandardid:
  19649. description: 品类id
  19650. type: integer
  19651. wrstandardname:
  19652. description: 品类名称
  19653. type: string
  19654. type: object
  19655. models.WrFilterItem:
  19656. properties:
  19657. itemcode:
  19658. description: 代码
  19659. type: string
  19660. itemid:
  19661. description: 项id
  19662. type: integer
  19663. itemname:
  19664. description: 名称
  19665. type: string
  19666. itemtype:
  19667. description: 类型 1-品种 2-品类(商品) 3-仓库
  19668. type: integer
  19669. type: object
  19670. models.WrFinanceBuyApply:
  19671. properties:
  19672. applydate:
  19673. description: 申请时间
  19674. type: string
  19675. applystatus:
  19676. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  19677. type: integer
  19678. applyuserid:
  19679. description: 申请人
  19680. type: integer
  19681. auditdate:
  19682. description: 审核时间
  19683. type: string
  19684. auditremark:
  19685. description: 审核备注
  19686. type: string
  19687. audituserid:
  19688. description: 审核人
  19689. type: integer
  19690. buyaccountid:
  19691. description: 买方资金账号
  19692. type: integer
  19693. buyorsell:
  19694. description: 买卖 - 0:买 1:卖
  19695. type: integer
  19696. buyuserid:
  19697. description: 买方用户ID
  19698. type: integer
  19699. buyusername:
  19700. description: 买方名称
  19701. type: string
  19702. buywrtradeorderid:
  19703. description: 融资方买委托单ID
  19704. type: string
  19705. deliverygoodscode:
  19706. description: 品种代码
  19707. type: string
  19708. deliverygoodsid:
  19709. description: 品种ID
  19710. type: integer
  19711. deliverygoodsname:
  19712. description: 品种名称
  19713. type: string
  19714. deliverymonth:
  19715. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  19716. type: string
  19717. enumdicname:
  19718. description: 单位名称
  19719. type: string
  19720. financeaccountid:
  19721. description: 融资方资金帐户ID
  19722. type: integer
  19723. financeapplyid:
  19724. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19725. type: string
  19726. financeareauserid:
  19727. description: 融资方用户ID
  19728. type: string
  19729. financename:
  19730. description: 融出方名称
  19731. type: string
  19732. financetype:
  19733. description: 融资类型 1-融资回购
  19734. type: integer
  19735. financingdays:
  19736. description: 天数(天)
  19737. type: integer
  19738. freezebuymargin:
  19739. description: 冻结融资保证金(买方)
  19740. type: number
  19741. handleremark:
  19742. description: 处理备注
  19743. type: string
  19744. handlestatus:
  19745. description: 处理状态
  19746. type: integer
  19747. interestminlen:
  19748. description: 最小起息天数
  19749. type: integer
  19750. interestrate:
  19751. description: 利率
  19752. type: number
  19753. interestratemode:
  19754. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19755. type: integer
  19756. interestsettlemode:
  19757. description: 结息方式 - 1:按日结息 3:按月结息
  19758. type: integer
  19759. interestsettlevalue:
  19760. description: 结息方式值
  19761. type: integer
  19762. isautoloan:
  19763. description: 是否自动放款 - 0:手动 1:自动
  19764. type: integer
  19765. marginratio:
  19766. description: 保证金比率质押率 - [仓单质押]
  19767. type: number
  19768. marketid:
  19769. description: 市场ID
  19770. type: integer
  19771. minivalue:
  19772. description: 现货商品最小变动值
  19773. type: integer
  19774. optioncompare:
  19775. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19776. type: string
  19777. orderqty:
  19778. description: 委托数量(商品数量)
  19779. type: number
  19780. productdetailid:
  19781. description: 产品组合ID
  19782. type: integer
  19783. productid:
  19784. description: 金融产品ID
  19785. type: integer
  19786. productname:
  19787. description: 产品名称
  19788. type: string
  19789. remark:
  19790. description: 备注
  19791. type: string
  19792. scfcontractid:
  19793. description: 仓单回购合同ID
  19794. type: string
  19795. sellaccountid:
  19796. description: 卖方资金账号
  19797. type: integer
  19798. selluserid:
  19799. description: 卖方用户ID
  19800. type: integer
  19801. sellwrtradeorderid:
  19802. description: 卖方委托单ID
  19803. type: string
  19804. tradeamount:
  19805. description: 成交金额(借款金额)
  19806. type: number
  19807. tradedate:
  19808. description: 交易日(yyyyMMdd)
  19809. type: string
  19810. tradeprice:
  19811. description: 成交价格
  19812. type: number
  19813. warehouseid:
  19814. description: 仓库ID
  19815. type: integer
  19816. warehousename:
  19817. description: 仓库名称
  19818. type: string
  19819. wrfactortypeid:
  19820. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19821. type: string
  19822. wrfactortypename:
  19823. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19824. type: string
  19825. wrpricetype:
  19826. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  19827. type: integer
  19828. wrstandardcode:
  19829. description: 现货商品代码
  19830. type: string
  19831. wrstandardid:
  19832. description: 现货商品ID
  19833. type: integer
  19834. wrstandardname:
  19835. description: 商品名称
  19836. type: string
  19837. wrtypename:
  19838. description: 商品
  19839. type: string
  19840. type: object
  19841. models.WrFriendApply:
  19842. properties:
  19843. applicantid:
  19844. description: 申请人
  19845. type: integer
  19846. applyname:
  19847. description: 申请人名称
  19848. type: string
  19849. applysrc:
  19850. description: 申请来源 - 1:管理端 2:终端
  19851. type: integer
  19852. applystatus:
  19853. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19854. type: integer
  19855. applytime:
  19856. description: 申请时间
  19857. type: string
  19858. auditname:
  19859. description: 审核人名称
  19860. type: string
  19861. auditorid:
  19862. description: 审核人
  19863. type: integer
  19864. auditremark:
  19865. description: 审核备注
  19866. type: string
  19867. auditsrc:
  19868. description: 审核来源 - 1:管理端 2:终端
  19869. type: integer
  19870. audittime:
  19871. description: 审核时间
  19872. type: string
  19873. friendapplyid:
  19874. description: 申请ID(SEQ_FRIENDAPPLY)
  19875. type: string
  19876. friendname:
  19877. description: 好友名字(已脱敏)
  19878. type: string
  19879. frienduserid:
  19880. description: 好友用户ID
  19881. type: string
  19882. remark:
  19883. description: 备注
  19884. type: string
  19885. userid:
  19886. description: 申请人用户ID
  19887. type: integer
  19888. type: object
  19889. models.WrFtDeliveryGoods:
  19890. properties:
  19891. deliverygoodscode:
  19892. description: 品种代码
  19893. type: string
  19894. deliverygoodsid:
  19895. description: 品种ID
  19896. type: integer
  19897. deliverygoodsname:
  19898. description: 品种名称
  19899. type: string
  19900. wdlst:
  19901. description: 商品列表
  19902. items:
  19903. $ref: '#/definitions/models.WrFtWrstandard'
  19904. type: array
  19905. type: object
  19906. models.WrFtWrstandard:
  19907. properties:
  19908. enumdicname:
  19909. description: 单位名称
  19910. type: string
  19911. minivalue:
  19912. description: 最小变动值
  19913. type: integer
  19914. wrstandardcode:
  19915. description: 现货商品代码
  19916. type: string
  19917. wrstandardid:
  19918. description: 现货商品ID
  19919. type: integer
  19920. wrstandardname:
  19921. description: 商品名称
  19922. type: string
  19923. type: object
  19924. models.WrGoodsInfo:
  19925. properties:
  19926. haswr:
  19927. description: 0:仓单预售 1:仓单贸易
  19928. type: integer
  19929. lstitem:
  19930. description: 商品信息项
  19931. items:
  19932. $ref: '#/definitions/models.WrTypeItem'
  19933. type: array
  19934. lststep:
  19935. description: 履约规则
  19936. items:
  19937. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19938. type: array
  19939. marketid:
  19940. description: 市场id
  19941. type: integer
  19942. type: object
  19943. models.WrGoodsPerformanceStep:
  19944. properties:
  19945. autoid:
  19946. description: AutoID
  19947. type: integer
  19948. isauto:
  19949. description: 是否自动 - 0:不自动 1:自动
  19950. type: integer
  19951. remark:
  19952. description: 备注
  19953. type: string
  19954. stepdate:
  19955. description: 天数信息(T+N)
  19956. type: string
  19957. stepdays:
  19958. description: 距离上一步天数
  19959. type: integer
  19960. stepindex:
  19961. description: 步骤序号
  19962. type: integer
  19963. stepinfo:
  19964. description: 步骤信息(步骤名称+步骤值)
  19965. type: string
  19966. steptypeid:
  19967. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19968. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19969. type: integer
  19970. steptypename:
  19971. description: 步骤名称
  19972. type: string
  19973. stepvalue:
  19974. description: 期初均价
  19975. type: number
  19976. templateid:
  19977. description: 履约计划模板ID
  19978. type: integer
  19979. type: object
  19980. models.WrHoldLB:
  19981. properties:
  19982. accountid:
  19983. description: 持有人帐户ID
  19984. type: integer
  19985. bannerpicurl:
  19986. description: Banner图
  19987. type: string
  19988. createtime:
  19989. description: 创建时间(过户时间)
  19990. type: string
  19991. deliverygoodscode:
  19992. description: 品种代码
  19993. type: string
  19994. deliverygoodsid:
  19995. description: 品种ID
  19996. type: integer
  19997. deliverygoodsname:
  19998. description: 品种名称
  19999. type: string
  20000. enableqty:
  20001. description: 可用数量
  20002. type: number
  20003. enumdicname:
  20004. description: 单位名称
  20005. type: string
  20006. freezerqty:
  20007. description: 冻结数量
  20008. type: number
  20009. ladingbillid:
  20010. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  20011. type: string
  20012. minivalue:
  20013. description: 现货商品最小变动值
  20014. type: integer
  20015. optioncompare:
  20016. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20017. type: string
  20018. parentsubnum:
  20019. description: 拆分父子单号
  20020. type: integer
  20021. pledgeqty:
  20022. description: 质押数量
  20023. type: number
  20024. qty:
  20025. description: 数量
  20026. type: number
  20027. subnum:
  20028. description: 提单子单号
  20029. type: integer
  20030. thumurls:
  20031. description: 缩略图
  20032. type: string
  20033. tradedate:
  20034. description: 交易日(yyyyMMdd)
  20035. type: string
  20036. userid:
  20037. description: 持有人ID
  20038. type: integer
  20039. warehouseid:
  20040. description: 仓库ID
  20041. type: integer
  20042. warehousename:
  20043. description: 仓库名称
  20044. type: string
  20045. wrfactortypeid:
  20046. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20047. type: string
  20048. wrfactortypename:
  20049. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20050. type: string
  20051. wrholdeno:
  20052. description: 仓单编号
  20053. type: string
  20054. wrid:
  20055. description: 仓单变更ID
  20056. type: string
  20057. wrstandardcode:
  20058. description: 现货商品代码
  20059. type: string
  20060. wrstandardid:
  20061. description: 现货商品ID
  20062. type: integer
  20063. wrstandardname:
  20064. description: 商品名称
  20065. type: string
  20066. wrtypename:
  20067. description: 商品
  20068. type: string
  20069. type: object
  20070. models.WrMarketTradeConfig:
  20071. properties:
  20072. basisdownratio:
  20073. description: 浮动价基差下限比例(仓单贸易)
  20074. type: number
  20075. basisupratio:
  20076. description: 浮动价基差上限比例(仓单贸易)
  20077. type: number
  20078. buychargealgorithm:
  20079. description: 买方手续费收取方式 1:比率 2:固定
  20080. type: integer
  20081. buychargealgorithm2:
  20082. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  20083. type: integer
  20084. buychargealgorithmvalue:
  20085. description: 买方手续费设置值(交易所部分)
  20086. type: number
  20087. buychargealgorithmvalue2:
  20088. description: 买方手续费设置值(会员部分)
  20089. type: number
  20090. buychargealgorithmvalue3:
  20091. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  20092. type: number
  20093. buychargealgorithmvalue4:
  20094. description: 回购买方手续费设置值(会员部分) --77:现货商城
  20095. type: number
  20096. buyfirstmarginalgorithm:
  20097. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  20098. type: integer
  20099. buyfirstmarginvalue:
  20100. description: 买方出价保证金设置值 - [竞拍]
  20101. type: number
  20102. buymarginalgorithm:
  20103. description: 买方保证金方式 - 1:比率 2:固定
  20104. type: integer
  20105. buymarginvalue:
  20106. description: 买方保证金设置值
  20107. type: number
  20108. buyreleaseratio:
  20109. description: 买方释放比率[2:分步履约]
  20110. type: number
  20111. executemode:
  20112. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  20113. type: integer
  20114. executeside:
  20115. description: 执行方[2:分步履约] - 1:买方 2:卖方
  20116. type: integer
  20117. failedchargealgorithm:
  20118. description: 流拍手续费收取方式 1:比率 2:固定
  20119. type: integer
  20120. failedchargevalue:
  20121. description: 流拍手续费设置值
  20122. type: number
  20123. failedchargevalue2:
  20124. description: 流拍卖方手续费设置值
  20125. type: number
  20126. holddays:
  20127. description: 合同期限[2:分步履约]
  20128. type: integer
  20129. listingmode:
  20130. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  20131. type: integer
  20132. marketid:
  20133. description: 市场ID-仓单贸易、竞拍、预售
  20134. type: integer
  20135. minqty:
  20136. description: 最小执行量[2:分步履约]
  20137. type: number
  20138. modifierid:
  20139. description: 修改人
  20140. type: integer
  20141. nowrquotaflag:
  20142. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  20143. type: integer
  20144. performancetempid:
  20145. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  20146. 立即执行(-1)
  20147. type: integer
  20148. performancetempid2:
  20149. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  20150. 立即执行
  20151. type: integer
  20152. performancetempid2s:
  20153. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  20154. - 履约方式: 立即执行
  20155. type: string
  20156. performancetempids:
  20157. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  20158. - 履约方式: 立即执行(-1)
  20159. type: string
  20160. performanceway:
  20161. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  20162. type: integer
  20163. sellchargealgorithm:
  20164. description: 卖方手续费收取方式 1:比率 2:固定
  20165. type: integer
  20166. sellchargealgorithm2:
  20167. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  20168. type: integer
  20169. sellchargealgorithmvalue:
  20170. description: 卖方手续费设置值(交易所部分)
  20171. type: number
  20172. sellchargealgorithmvalue2:
  20173. description: 卖方手续费设置值(会员部分)
  20174. type: number
  20175. sellchargealgorithmvalue3:
  20176. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  20177. type: number
  20178. sellchargealgorithmvalue4:
  20179. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  20180. type: number
  20181. sellmarginalgorithm:
  20182. description: 卖方保证金方式 - 1:比率 2:固定
  20183. type: integer
  20184. sellmarginvalue:
  20185. description: 卖方保证金设置值
  20186. type: number
  20187. sellmarginvalue2:
  20188. description: 卖方保证金设置值(无仓单)
  20189. type: number
  20190. sellreleaseratio:
  20191. description: 卖方释放比率[2:分步履约]
  20192. type: number
  20193. updatetime:
  20194. description: 更新时间
  20195. type: string
  20196. type: object
  20197. models.WrOrderDetail:
  20198. properties:
  20199. accountid:
  20200. description: 交易账号(资金账号)
  20201. type: integer
  20202. allfriendsflag:
  20203. description: 是否全好友可见 - 0:否 1:是
  20204. type: integer
  20205. amount:
  20206. description: 期初均价
  20207. type: number
  20208. bannerpicurl:
  20209. description: Banner图
  20210. type: string
  20211. begindate:
  20212. description: 开始交易日(yyyymmdd)
  20213. type: string
  20214. buyorsell:
  20215. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  20216. type: integer
  20217. canbargain:
  20218. description: 是否可议价 - 0:不可 1:可
  20219. type: integer
  20220. cancelqty:
  20221. description: 撤销数量
  20222. type: number
  20223. canpart:
  20224. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  20225. type: integer
  20226. delistminqty:
  20227. description: 起摘数量
  20228. type: integer
  20229. deliverygoodscode:
  20230. description: 品种代码
  20231. type: string
  20232. deliverygoodsid:
  20233. description: 品种ID
  20234. type: integer
  20235. deliverygoodsname:
  20236. description: 品种名称
  20237. type: string
  20238. deliverymonth:
  20239. description: 交收月
  20240. type: string
  20241. enddate:
  20242. description: 结束交易日(yyyymmdd)
  20243. type: string
  20244. enumdicname:
  20245. description: 单位名称
  20246. type: string
  20247. fixedprice:
  20248. description: 固定价格 - [挂牌]
  20249. type: number
  20250. freezecharge:
  20251. description: 期初均价
  20252. type: number
  20253. freezemargin:
  20254. description: 期初均价
  20255. type: number
  20256. futupricemove:
  20257. description: 期货升贴水
  20258. type: number
  20259. futushow:
  20260. description: 期货合约/升贴水
  20261. type: string
  20262. goodscode:
  20263. description: 期货合约
  20264. type: string
  20265. goodsid:
  20266. description: 期货商品id
  20267. type: integer
  20268. goodsname:
  20269. description: 商品名称
  20270. type: string
  20271. haswr:
  20272. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20273. type: integer
  20274. isspecified:
  20275. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  20276. type: integer
  20277. ladingbillid:
  20278. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  20279. type: string
  20280. marginvalue:
  20281. description: 期初均价
  20282. type: number
  20283. marketid:
  20284. description: 市场ID
  20285. type: integer
  20286. matchusername:
  20287. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  20288. type: string
  20289. minivalue:
  20290. description: 现货商品最小变动值
  20291. type: integer
  20292. optioncompare:
  20293. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20294. type: string
  20295. orderqty:
  20296. description: 委托数量
  20297. type: number
  20298. ordertime:
  20299. description: 委托时间(挂牌时间)
  20300. type: string
  20301. performancetemplateid:
  20302. description: 履约模板id
  20303. type: integer
  20304. pricemove:
  20305. description: 升贴水(浮动价时填写) - [挂牌]
  20306. type: number
  20307. taname:
  20308. description: 交易用户名称(资金账号名称)
  20309. type: string
  20310. thumurls:
  20311. description: 缩略图
  20312. type: string
  20313. tradedate:
  20314. description: 交易日(yyyyMMdd)
  20315. type: string
  20316. tradeprice:
  20317. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  20318. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  20319. type: number
  20320. tradeqty:
  20321. description: 成交数量
  20322. type: number
  20323. userid:
  20324. description: 用户ID
  20325. type: integer
  20326. validtime:
  20327. description: 挂牌有效期
  20328. type: string
  20329. validtype:
  20330. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  20331. type: integer
  20332. warehouseid:
  20333. description: 仓库ID
  20334. type: integer
  20335. warehousename:
  20336. description: 仓库名称
  20337. type: string
  20338. wrfactortypeid:
  20339. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20340. type: string
  20341. wrfactortypename:
  20342. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20343. type: string
  20344. wrpricetype:
  20345. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  20346. type: integer
  20347. wrstandardcode:
  20348. description: 现货商品代码
  20349. type: string
  20350. wrstandardid:
  20351. description: 现货商品ID
  20352. type: integer
  20353. wrstandardname:
  20354. description: 商品名称
  20355. type: string
  20356. wrtradeorderid:
  20357. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20358. type: string
  20359. wrtradeorderstatus:
  20360. 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:撤单解冻贷款失败
  20361. type: integer
  20362. wrtradetype:
  20363. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  20364. type: integer
  20365. wrtypename:
  20366. description: 商品
  20367. type: string
  20368. type: object
  20369. models.WrOrderQuote:
  20370. properties:
  20371. bannerpicurl:
  20372. description: Banner图
  20373. type: string
  20374. buyprice:
  20375. description: 买价
  20376. type: number
  20377. buypricemove:
  20378. description: 买升贴水(基差)
  20379. type: number
  20380. buyqty:
  20381. description: 买量
  20382. type: number
  20383. deliverygoodscode:
  20384. description: 品种代码
  20385. type: string
  20386. deliverygoodsid:
  20387. description: 品种id
  20388. type: integer
  20389. deliverygoodsname:
  20390. description: 品种名称
  20391. type: string
  20392. deliverymonth:
  20393. description: 交收月
  20394. type: string
  20395. enumdicname:
  20396. description: 单位名称
  20397. type: string
  20398. goodscode:
  20399. description: 商品合约(浮动价列表才有)
  20400. type: string
  20401. goodsid:
  20402. description: 商品id(浮动价列表才有)
  20403. type: integer
  20404. minivalue:
  20405. description: 现货商品最小变动值
  20406. type: integer
  20407. pictureurls:
  20408. description: 详情图片(逗号分隔)
  20409. type: string
  20410. sellprice:
  20411. description: 卖价
  20412. type: number
  20413. sellpricemove:
  20414. description: 卖升贴水(基差)
  20415. type: number
  20416. sellqty:
  20417. description: 卖量
  20418. type: number
  20419. thumurls:
  20420. description: 缩略图片(1:1)(逗号分隔)
  20421. type: string
  20422. warehousecode:
  20423. description: 仓库代码
  20424. type: string
  20425. warehouseid:
  20426. description: 仓库id
  20427. type: integer
  20428. warehousename:
  20429. description: 仓库名称
  20430. type: string
  20431. wrfactortypeid:
  20432. description: 仓单要素id
  20433. type: string
  20434. wrfactortypename:
  20435. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20436. type: string
  20437. wrgoodsname:
  20438. description: 商品(商品名称+仓库要素名称 拼接)
  20439. type: string
  20440. wrstandardcode:
  20441. description: 商品代码
  20442. type: string
  20443. wrstandardid:
  20444. description: 商品id
  20445. type: integer
  20446. wrstandardname:
  20447. description: 商品名称
  20448. type: string
  20449. type: object
  20450. models.WrOrderQuoteDetail:
  20451. properties:
  20452. buyorsell:
  20453. description: 买卖 - 0:买 1:卖
  20454. type: integer
  20455. delistminqty:
  20456. description: 期初均价
  20457. type: number
  20458. deliverymonth:
  20459. description: 交收月
  20460. type: string
  20461. enumdicname:
  20462. description: 单位名称
  20463. type: string
  20464. fixedprice:
  20465. description: 买(卖)价
  20466. type: number
  20467. marketid:
  20468. description: 市场id
  20469. type: integer
  20470. minivalue:
  20471. description: 现货商品最小变动值
  20472. type: integer
  20473. orderqty:
  20474. description: 买(卖)量(=委托量-成交量)
  20475. type: number
  20476. ordertime:
  20477. description: 委托时间
  20478. type: string
  20479. pricemove:
  20480. description: 买(卖)升贴水- 基差
  20481. type: number
  20482. userid:
  20483. description: 购买方(销售方)用户ID
  20484. type: integer
  20485. username:
  20486. description: 购买方(销售方)
  20487. type: string
  20488. wrtradeorderid:
  20489. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20490. type: string
  20491. type: object
  20492. models.WrOutInApply:
  20493. properties:
  20494. applyid:
  20495. description: 申请单id
  20496. type: string
  20497. applystatus:
  20498. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  20499. 8:已撤销
  20500. type: integer
  20501. applytime:
  20502. description: 申请时间
  20503. type: string
  20504. applytype:
  20505. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  20506. type: integer
  20507. bannerpicurl:
  20508. description: Banner图
  20509. type: string
  20510. begindate:
  20511. description: 开始交易日(yyyymmdd)
  20512. type: string
  20513. deliverygoodscode:
  20514. description: 品种代码
  20515. type: string
  20516. deliverygoodsid:
  20517. description: 品种ID
  20518. type: integer
  20519. deliverygoodsname:
  20520. description: 品种名称
  20521. type: string
  20522. enddate:
  20523. description: 结束交易日(yyyymmdd)
  20524. type: string
  20525. enumdicname:
  20526. description: 单位名称
  20527. type: string
  20528. expresscompany:
  20529. description: 物流公司
  20530. type: string
  20531. expressnum:
  20532. description: 物流单号
  20533. type: string
  20534. minivalue:
  20535. description: 现货商品最小变动值
  20536. type: integer
  20537. optioncompare:
  20538. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20539. type: string
  20540. qty:
  20541. description: 数量
  20542. type: integer
  20543. userid:
  20544. description: 用户id
  20545. type: integer
  20546. warehouseid:
  20547. description: 仓库ID
  20548. type: integer
  20549. warehousename:
  20550. description: 仓库名称
  20551. type: string
  20552. wrfactortypeid:
  20553. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20554. type: string
  20555. wrfactortypename:
  20556. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20557. type: string
  20558. wrstandardcode:
  20559. description: 现货商品代码
  20560. type: string
  20561. wrstandardid:
  20562. description: 现货商品ID
  20563. type: integer
  20564. wrstandardname:
  20565. description: 商品名称
  20566. type: string
  20567. wrtypename:
  20568. description: 商品
  20569. type: string
  20570. type: object
  20571. models.WrPerformancePlan:
  20572. properties:
  20573. activatemonth:
  20574. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  20575. type: string
  20576. amount:
  20577. description: 履约金额(总金额)
  20578. type: number
  20579. begindate:
  20580. description: 开始交易日(yyyymmdd)
  20581. type: string
  20582. buyaccountid:
  20583. description: 买方账号
  20584. type: integer
  20585. buyerfreezeamount:
  20586. description: 履约冻结(买履约)
  20587. type: number
  20588. buyerfreezeamountremain:
  20589. description: 履约冻结剩余(买履约)
  20590. type: number
  20591. buyorsell:
  20592. description: 买卖方向 0-买 1-卖
  20593. type: integer
  20594. buypaidamount:
  20595. description: 买方已冻/已扣金额 (已付金额)
  20596. type: number
  20597. buyusername:
  20598. description: 买方名字
  20599. type: string
  20600. contractid:
  20601. description: 合同ID
  20602. type: integer
  20603. createtime:
  20604. description: 创建时间
  20605. type: string
  20606. creatorid:
  20607. description: 创建人
  20608. type: integer
  20609. curstepdeadline:
  20610. description: 当前步骤到期时间
  20611. type: string
  20612. curstepid:
  20613. description: 当前步骤ID
  20614. type: string
  20615. curstepname:
  20616. description: 当前步骤名称
  20617. type: string
  20618. deliverygoodscode:
  20619. description: 品种代码
  20620. type: string
  20621. deliverygoodsid:
  20622. description: 品种ID
  20623. type: integer
  20624. deliverygoodsname:
  20625. description: 品种名称
  20626. type: string
  20627. enddate:
  20628. description: 结束交易日(yyyymmdd)
  20629. type: string
  20630. enumdicname:
  20631. description: 单位名称
  20632. type: string
  20633. expressfee:
  20634. description: 运费
  20635. type: number
  20636. expressfeeconfirmed:
  20637. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  20638. type: integer
  20639. hasovershort:
  20640. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  20641. type: integer
  20642. haswr:
  20643. description: 类型 0-仓单预售 1-仓单贸易
  20644. type: integer
  20645. marketid:
  20646. description: 市场ID
  20647. type: integer
  20648. middleaccountid:
  20649. description: 中间商资金账号ID
  20650. type: integer
  20651. middleuserid:
  20652. description: 中间商用户ID
  20653. type: integer
  20654. minivalue:
  20655. description: 现货商品最小变动值
  20656. type: integer
  20657. optioncompare:
  20658. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20659. type: string
  20660. overshortamount:
  20661. description: 溢短金额
  20662. type: number
  20663. overshortqty:
  20664. description: 溢短数量
  20665. type: number
  20666. paymenttype:
  20667. description: 付款方式 - 1:冻结 2:扣款
  20668. type: integer
  20669. performanceplanid:
  20670. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  20671. type: string
  20672. performancestatus:
  20673. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  20674. 9:超时待处理 10:超时关闭
  20675. type: integer
  20676. performancetype:
  20677. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  20678. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  20679. type: integer
  20680. qty:
  20681. description: 履约数量
  20682. type: number
  20683. relatedorderid:
  20684. description: 关联单号(履约类型的关联单号)
  20685. type: string
  20686. remark:
  20687. description: 备注
  20688. type: string
  20689. sellaccountid:
  20690. description: 卖方账号
  20691. type: integer
  20692. sellerfreezeamount:
  20693. description: 履约冻结(卖履约)
  20694. type: number
  20695. sellerfreezeamountremain:
  20696. description: 履约冻结剩余(卖履约)
  20697. type: number
  20698. sellreceivedamount:
  20699. description: 卖方已收金额
  20700. type: number
  20701. sellusername:
  20702. description: 卖方名字
  20703. type: string
  20704. shipremark:
  20705. description: 发货备注[物流单号]
  20706. type: string
  20707. starttime:
  20708. description: 开始时间
  20709. type: string
  20710. steptypeid:
  20711. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  20712. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  20713. type: integer
  20714. typename:
  20715. description: 履约类型 名称
  20716. type: string
  20717. unpaidamount:
  20718. description: 期初均价
  20719. type: number
  20720. userid:
  20721. description: 用户id
  20722. type: integer
  20723. warehouseid:
  20724. description: 仓库ID
  20725. type: integer
  20726. warehousename:
  20727. description: 仓库名称
  20728. type: string
  20729. wrfactortypeid:
  20730. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20731. type: string
  20732. wrfactortypename:
  20733. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20734. type: string
  20735. wrstandardcode:
  20736. description: 现货商品代码
  20737. type: string
  20738. wrstandardid:
  20739. description: 现货商品ID
  20740. type: integer
  20741. wrstandardname:
  20742. description: 商品名称
  20743. type: string
  20744. wrtransferuserid:
  20745. description: 仓单受让用户
  20746. type: integer
  20747. wrtypename:
  20748. description: 商品
  20749. type: string
  20750. required:
  20751. - userid
  20752. type: object
  20753. models.WrPerformancePlanStep:
  20754. properties:
  20755. delaydays:
  20756. description: 延期申请天数
  20757. type: integer
  20758. deliverygoodscode:
  20759. description: 品种代码
  20760. type: string
  20761. deliverygoodsid:
  20762. description: 品种ID
  20763. type: integer
  20764. deliverygoodsname:
  20765. description: 品种名称
  20766. type: string
  20767. endtime:
  20768. description: 结束日期
  20769. type: string
  20770. enumdicname:
  20771. description: 单位名称
  20772. type: string
  20773. executeside:
  20774. description: 步骤执行方 - 1:买方 2:卖方
  20775. type: integer
  20776. handlestatus:
  20777. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  20778. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  20779. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  20780. type: integer
  20781. isauto:
  20782. description: 是否自动 - 0:不自动 1:自动
  20783. type: integer
  20784. islastreceivestep:
  20785. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  20786. type: integer
  20787. minivalue:
  20788. description: 现货商品最小变动值
  20789. type: integer
  20790. optioncompare:
  20791. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20792. type: string
  20793. overdays:
  20794. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  20795. type: integer
  20796. performancestepid:
  20797. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  20798. type: string
  20799. planid:
  20800. description: 所属履约计划ID
  20801. type: string
  20802. realamount:
  20803. description: 实际完成金额
  20804. type: number
  20805. relatedorderid:
  20806. description: 关联单号
  20807. type: string
  20808. remaindays:
  20809. description: 剩余天数
  20810. type: integer
  20811. remark:
  20812. description: 错误备注
  20813. type: string
  20814. starttime:
  20815. description: 开始日期
  20816. type: string
  20817. stepamount:
  20818. description: 步骤金额
  20819. type: number
  20820. stepdays:
  20821. description: 距离上一步天数(分钟)
  20822. type: integer
  20823. stepindex:
  20824. description: 步骤序号
  20825. type: integer
  20826. steplanchtype:
  20827. description: 步骤启动类型 - 1:系统自动 2:手动
  20828. type: integer
  20829. stepremark:
  20830. description: 步骤备注
  20831. type: string
  20832. stepstatus:
  20833. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  20834. type: integer
  20835. steptypeid:
  20836. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  20837. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  20838. type: integer
  20839. steptypename:
  20840. description: 步骤名称
  20841. type: string
  20842. stepvalue:
  20843. description: 步骤值
  20844. type: number
  20845. warehouseid:
  20846. description: 仓库ID
  20847. type: integer
  20848. warehousename:
  20849. description: 仓库名称
  20850. type: string
  20851. wrfactortypeid:
  20852. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20853. type: string
  20854. wrfactortypename:
  20855. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20856. type: string
  20857. wrstandardcode:
  20858. description: 现货商品代码
  20859. type: string
  20860. wrstandardid:
  20861. description: 现货商品ID
  20862. type: integer
  20863. wrstandardname:
  20864. description: 商品名称
  20865. type: string
  20866. wrtypename:
  20867. description: 商品
  20868. type: string
  20869. type: object
  20870. models.WrPerformanceStepType:
  20871. properties:
  20872. canauto:
  20873. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  20874. type: integer
  20875. steptypeid:
  20876. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  20877. type: integer
  20878. steptypename:
  20879. description: 步骤类型名称
  20880. type: string
  20881. type: object
  20882. models.WrPerformanceTemplateEx:
  20883. properties:
  20884. autoid:
  20885. description: AutoID 模板id
  20886. type: integer
  20887. createtime:
  20888. description: 创建时间
  20889. type: string
  20890. creatorid:
  20891. description: 创建人
  20892. type: integer
  20893. lstStep:
  20894. description: 步骤信息列表
  20895. items:
  20896. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  20897. type: array
  20898. paymenttype:
  20899. description: 支付方式 - 1:冻结 2:扣款
  20900. type: integer
  20901. takemode:
  20902. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  20903. type: integer
  20904. templatename:
  20905. description: 模板名称
  20906. type: string
  20907. templatetype:
  20908. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  20909. (无仓单) 5:挂牌期权 6:竞拍-降价式
  20910. type: integer
  20911. userid:
  20912. description: 所属用户
  20913. type: integer
  20914. type: object
  20915. models.WrPosition:
  20916. properties:
  20917. accountid:
  20918. description: 帐户ID
  20919. type: integer
  20920. buyexcuteqty:
  20921. description: 采购履约中数量
  20922. type: number
  20923. creditcurqty:
  20924. description: 授信当前数量(预售仓单:预售当前量)
  20925. type: number
  20926. creditenableqty:
  20927. description: '授信可用数量(预售仓单: 可用数量)'
  20928. type: number
  20929. creditfreezeqty:
  20930. description: '授信冻结数量(预售仓单: 当前数量)'
  20931. type: number
  20932. credittotalqty:
  20933. description: 授信总数量(预售仓单:预售总量)
  20934. type: number
  20935. credittradeqty:
  20936. description: 授信成交数量(预售仓单:成交总量)
  20937. type: number
  20938. deliverygoodscode:
  20939. description: 品种代码
  20940. type: string
  20941. deliverygoodsid:
  20942. description: 品种ID
  20943. type: integer
  20944. deliverygoodsname:
  20945. description: 品种名称
  20946. type: string
  20947. enalbeqty:
  20948. description: 可用数量
  20949. type: number
  20950. enumdicname:
  20951. description: 单位名称
  20952. type: string
  20953. freezeqty:
  20954. description: 总冻结数量
  20955. type: number
  20956. haswr:
  20957. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20958. type: integer
  20959. minivalue:
  20960. description: 现货商品最小变动值
  20961. type: integer
  20962. modifytime:
  20963. description: 修改时间(过户时间)
  20964. type: string
  20965. optioncompare:
  20966. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20967. type: string
  20968. pledgeqty:
  20969. description: 质押数量
  20970. type: number
  20971. querytype:
  20972. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  20973. type: integer
  20974. sellexcuteqty:
  20975. description: 销售履约中数量
  20976. type: number
  20977. totalqty:
  20978. description: 总数量(库存数量)
  20979. type: number
  20980. warehouseid:
  20981. description: 仓库ID
  20982. type: integer
  20983. warehousename:
  20984. description: 仓库名称
  20985. type: string
  20986. wrfactortypeid:
  20987. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20988. type: string
  20989. wrfactortypename:
  20990. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20991. type: string
  20992. wrpositionid:
  20993. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  20994. type: string
  20995. wrpositionno:
  20996. description: 仓单编号
  20997. type: string
  20998. wrstandardcode:
  20999. description: 现货商品代码
  21000. type: string
  21001. wrstandardid:
  21002. description: 现货商品ID
  21003. type: integer
  21004. wrstandardname:
  21005. description: 商品名称
  21006. type: string
  21007. wrtypename:
  21008. description: 商品
  21009. type: string
  21010. wruserid:
  21011. description: 持有人ID
  21012. type: integer
  21013. type: object
  21014. models.WrPreSaleInfo:
  21015. properties:
  21016. bannerpicurl:
  21017. description: Banner图
  21018. type: string
  21019. baseqty:
  21020. description: 中签基数
  21021. type: number
  21022. createtime:
  21023. description: 创建时间
  21024. type: string
  21025. deliverygoodsid:
  21026. description: 现货品种ID
  21027. type: integer
  21028. enddate:
  21029. description: 预售结束日期
  21030. type: string
  21031. enumdicname:
  21032. description: 单位名称
  21033. type: string
  21034. lotteryflag:
  21035. description: 摇号标识 - 0:未摇号 1:已摇号
  21036. type: integer
  21037. lotteryqty:
  21038. description: 摇号总量
  21039. type: number
  21040. luckyqty:
  21041. description: 已中签量
  21042. type: number
  21043. marketid:
  21044. description: 市场ID
  21045. type: integer
  21046. maxbuyqty:
  21047. description: 单人最大申购量
  21048. type: number
  21049. maxluckyqty:
  21050. description: 单人最大中签量
  21051. type: number
  21052. pictureurls:
  21053. description: 详情图片(逗号分隔)
  21054. type: string
  21055. placeqty:
  21056. description: 已配售量
  21057. type: number
  21058. presaleapplyid:
  21059. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  21060. example: "0"
  21061. type: string
  21062. presaleqty:
  21063. description: 预售总量
  21064. type: number
  21065. presalestatus:
  21066. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  21067. type: integer
  21068. sellaccountid:
  21069. description: 发行方资金账户ID
  21070. type: integer
  21071. selluserid:
  21072. description: 发行方用户ID
  21073. type: integer
  21074. sellwrtradeorderid:
  21075. description: 发行方卖委托单ID
  21076. type: string
  21077. startdate:
  21078. description: 预售开始日期
  21079. type: string
  21080. takestartdate:
  21081. description: 提货开始日期
  21082. type: string
  21083. thumurls:
  21084. description: 缩略图片(1:1)(逗号分隔)
  21085. type: string
  21086. tradedate:
  21087. description: 交易日
  21088. type: string
  21089. unitid:
  21090. description: 单位ID
  21091. type: integer
  21092. unitprice:
  21093. description: 商品单价
  21094. type: number
  21095. username:
  21096. description: 发行方用户名称
  21097. type: string
  21098. warehousecode:
  21099. description: 仓库代码(仓库简称)
  21100. type: string
  21101. warehouseid:
  21102. description: 仓库ID
  21103. type: integer
  21104. warehousename:
  21105. description: 仓库名称
  21106. type: string
  21107. wrfactortypeid:
  21108. description: 仓单要素类型ID - 根据现货商品\仓库生成
  21109. example: "0"
  21110. type: string
  21111. wrstandardid:
  21112. description: 现货商品ID
  21113. type: integer
  21114. wrstandardname:
  21115. description: 现货商品名称
  21116. type: string
  21117. type: object
  21118. models.WrQuoteOrderMyq:
  21119. properties:
  21120. buyorsell:
  21121. description: 买卖 - 0:买 1:卖
  21122. type: integer
  21123. canbargain:
  21124. description: 是否可议价 - 0:不可 1:可
  21125. type: integer
  21126. canpart:
  21127. description: 是否允许部份摘牌 - 0:不允许 1:允许
  21128. type: integer
  21129. delistminqty:
  21130. description: 期初均价
  21131. type: number
  21132. deliverygoodscode:
  21133. description: 品种代码
  21134. type: string
  21135. deliverygoodsid:
  21136. description: 品种ID
  21137. type: integer
  21138. deliverygoodsname:
  21139. description: 品种名称
  21140. type: string
  21141. deliverymonth:
  21142. description: 交收月
  21143. type: string
  21144. enumdicname:
  21145. description: 单位名称
  21146. type: string
  21147. fixedprice:
  21148. description: 买(卖)价
  21149. type: number
  21150. goodscode:
  21151. description: 商品合约代码
  21152. type: string
  21153. marginflag:
  21154. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  21155. type: integer
  21156. marginvalue:
  21157. description: 保证金设置值
  21158. type: number
  21159. minivalue:
  21160. description: 现货商品最小变动值
  21161. type: integer
  21162. orderqty:
  21163. description: 买(卖)量(=委托量-成交量)
  21164. type: number
  21165. ordertime:
  21166. description: 委托时间
  21167. type: string
  21168. performancetemplateid:
  21169. description: 履约模板id
  21170. type: integer
  21171. pricemove:
  21172. description: 买(卖)升贴水- 基差
  21173. type: number
  21174. templatename:
  21175. description: 履约模板名称
  21176. type: string
  21177. userid:
  21178. description: 购买方(销售方)用户ID
  21179. type: integer
  21180. username:
  21181. description: 购买方(销售方)
  21182. type: string
  21183. validtime:
  21184. description: 有效期限
  21185. type: string
  21186. validtype:
  21187. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  21188. type: integer
  21189. warehousename:
  21190. description: 仓库名称
  21191. type: string
  21192. wrfactortypeid:
  21193. description: 仓单要素id
  21194. type: string
  21195. wrstandardcode:
  21196. description: 现货商品代码
  21197. type: string
  21198. wrstandardid:
  21199. description: 现货商品ID
  21200. type: integer
  21201. wrstandardname:
  21202. description: 商品名称
  21203. type: string
  21204. wrtradeorderid:
  21205. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  21206. type: string
  21207. wrtypename:
  21208. description: 商品
  21209. type: string
  21210. type: object
  21211. models.WrReckonSpotGoodsTradeSum:
  21212. properties:
  21213. begindate:
  21214. description: 开始日期(结果含开始日期) yyyymmdd
  21215. type: string
  21216. enddate:
  21217. description: 结束日期(结果含结束日期) yyyymmdd
  21218. type: string
  21219. istoday:
  21220. description: 是否当日
  21221. type: boolean
  21222. marketid:
  21223. description: 市场ID
  21224. type: integer
  21225. price:
  21226. description: 价格 = 日成交金额 / 日成交数量
  21227. type: string
  21228. reckondate:
  21229. description: 日期 格式 yyyymmdd
  21230. type: string
  21231. tradeamount:
  21232. description: 期初均价
  21233. type: number
  21234. tradeqty:
  21235. description: 期初均价
  21236. type: number
  21237. wrstandardid:
  21238. description: 现货商品ID
  21239. type: integer
  21240. type: object
  21241. models.WrScfContract:
  21242. properties:
  21243. borroweruserid:
  21244. description: 借款用户ID
  21245. type: integer
  21246. buybackwrpositionqty:
  21247. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  21248. type: number
  21249. closeinterest:
  21250. description: 已结利息 -> 已结费用
  21251. type: number
  21252. currisklevel:
  21253. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  21254. type: integer
  21255. deadline:
  21256. description: 截止日期(yyyyMMdd) -> 借款到期时间
  21257. type: string
  21258. deliverygoodscode:
  21259. description: 品种代码
  21260. type: string
  21261. deliverygoodsid:
  21262. description: 品种ID
  21263. type: integer
  21264. deliverygoodsname:
  21265. description: 品种名称
  21266. type: string
  21267. enumdicname:
  21268. description: 单位名称
  21269. type: string
  21270. financingdays:
  21271. description: 天数(天)
  21272. type: integer
  21273. initmargin:
  21274. description: 保证金 - [仓单回购]
  21275. type: number
  21276. interestamount:
  21277. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  21278. type: number
  21279. interestdebt:
  21280. description: 利息欠款(记录负数) -> 费用欠款
  21281. type: number
  21282. interestminlen:
  21283. description: 最小起息天数
  21284. type: integer
  21285. interestrate:
  21286. description: 利率
  21287. type: number
  21288. interestratemode:
  21289. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  21290. type: integer
  21291. interestsettlemode:
  21292. description: 结息方式 - 1:按日结息 3:按月结息
  21293. type: integer
  21294. interestsettlevalue:
  21295. description: 结息方式值
  21296. type: integer
  21297. isautoloan:
  21298. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  21299. type: integer
  21300. lastcloseinterestday:
  21301. description: 最近结息日(yyyyMMdd)
  21302. type: string
  21303. lenderamount:
  21304. description: 贷款金额 -> 借款金额
  21305. type: number
  21306. lenderuserid:
  21307. description: 贷款方用户ID -> 融出方用户ID
  21308. type: integer
  21309. lenderusername:
  21310. description: 融出方
  21311. type: string
  21312. marginratio:
  21313. description: 保证金比率质押率 - [仓单质押]
  21314. type: number
  21315. marketid:
  21316. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  21317. type: integer
  21318. minivalue:
  21319. description: 现货商品最小变动值
  21320. type: integer
  21321. optioncompare:
  21322. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21323. type: string
  21324. pricemove:
  21325. description: 估值升贴水值
  21326. type: number
  21327. productdetailid:
  21328. description: 产品组合ID
  21329. type: integer
  21330. productid:
  21331. description: 金融产品ID
  21332. type: integer
  21333. productname:
  21334. description: 产品名称
  21335. type: string
  21336. remainamount:
  21337. description: 合同剩余金额 -> 剩余金额
  21338. type: number
  21339. remainwrpositionqty:
  21340. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  21341. type: number
  21342. remark:
  21343. description: 备注
  21344. type: string
  21345. scfcontractid:
  21346. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  21347. type: string
  21348. scfcontractstatus:
  21349. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  21350. 9:违约结束 10:已注销 11:已关闭 99:未提交
  21351. type: integer
  21352. scfcontracttype:
  21353. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  21354. type: integer
  21355. startinterestday:
  21356. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  21357. type: string
  21358. totalinterest:
  21359. description: 已计利息 -> 已计费用
  21360. type: number
  21361. unpaidinterest:
  21362. description: 期初均价
  21363. type: number
  21364. updatetime:
  21365. description: 更新时间
  21366. type: string
  21367. warehouseid:
  21368. description: 仓库ID
  21369. type: integer
  21370. warehousename:
  21371. description: 仓库名称
  21372. type: string
  21373. wrfactortypeid:
  21374. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21375. type: string
  21376. wrfactortypename:
  21377. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21378. type: string
  21379. wrqty:
  21380. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  21381. type: number
  21382. wrstandardcode:
  21383. description: 现货商品代码
  21384. type: string
  21385. wrstandardid:
  21386. description: 现货商品ID
  21387. type: integer
  21388. wrstandardname:
  21389. description: 商品名称
  21390. type: string
  21391. wrtypename:
  21392. description: 商品
  21393. type: string
  21394. type: object
  21395. models.WrScfContractInterest:
  21396. properties:
  21397. closeinterest:
  21398. description: 已结利息
  21399. type: number
  21400. closeintereststatus:
  21401. description: 结息状态 - 1:未结 2:已结
  21402. type: integer
  21403. closetime:
  21404. description: 结息时间
  21405. type: string
  21406. closetradedate:
  21407. description: 结息交易日
  21408. type: string
  21409. creatorid:
  21410. description: 操作人ID
  21411. type: integer
  21412. dayrate:
  21413. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  21414. type: number
  21415. interest:
  21416. description: 利息
  21417. type: number
  21418. interestamount:
  21419. description: 计息金额
  21420. type: number
  21421. interestday:
  21422. description: 计息日(yyyyMMdd)
  21423. type: string
  21424. scfcontractid:
  21425. description: SCF合同ID
  21426. type: string
  21427. scfcontractinterestid:
  21428. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  21429. type: integer
  21430. updatetime:
  21431. description: 更新时间
  21432. type: string
  21433. type: object
  21434. models.WrSearchUser:
  21435. properties:
  21436. userid:
  21437. description: 用户ID
  21438. type: integer
  21439. username:
  21440. description: 用户名称(已脱敏)
  21441. type: string
  21442. username2:
  21443. description: 用户名称(未脱敏)
  21444. type: string
  21445. usertype:
  21446. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  21447. type: integer
  21448. required:
  21449. - username
  21450. type: object
  21451. models.WrSiteColumnDetail:
  21452. properties:
  21453. author:
  21454. description: 作者
  21455. type: string
  21456. brief:
  21457. description: 简介
  21458. type: string
  21459. context:
  21460. description: 内容
  21461. type: string
  21462. coverimage:
  21463. description: 封面图片
  21464. type: string
  21465. creaedate:
  21466. description: 创建时间
  21467. type: string
  21468. id:
  21469. description: ID(SEQ_SITE_COLUMNDETAIL)
  21470. type: integer
  21471. istop:
  21472. description: 是否置顶 - 0:不置 1:置顶
  21473. type: integer
  21474. publishdate:
  21475. description: 发布日期
  21476. type: string
  21477. title:
  21478. description: 标题
  21479. type: string
  21480. updatedate:
  21481. description: 修改时间
  21482. type: string
  21483. type: object
  21484. models.WrSpecialMatchOrder:
  21485. properties:
  21486. amount:
  21487. description: 金额 = 数量 * 价格
  21488. type: number
  21489. buyorsell:
  21490. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  21491. type: integer
  21492. cancelqty:
  21493. description: 撤销数量
  21494. type: number
  21495. deliverygoodscode:
  21496. description: 品种代码
  21497. type: string
  21498. deliverygoodsid:
  21499. description: 品种ID
  21500. type: integer
  21501. deliverygoodsname:
  21502. description: 品种名称
  21503. type: string
  21504. enumdicname:
  21505. description: 单位名称
  21506. type: string
  21507. fixedprice:
  21508. description: 固定价格(价格)
  21509. type: number
  21510. haswr:
  21511. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  21512. type: integer
  21513. isspecified:
  21514. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  21515. type: integer
  21516. marketid:
  21517. description: 市场ID
  21518. type: integer
  21519. matchuserid:
  21520. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  21521. type: integer
  21522. matchusername:
  21523. description: 指定方
  21524. type: string
  21525. minivalue:
  21526. description: 现货商品最小变动值
  21527. type: integer
  21528. optioncompare:
  21529. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21530. type: string
  21531. orderqty:
  21532. description: 委托数量
  21533. type: number
  21534. ordertime:
  21535. description: 委托时间
  21536. type: string
  21537. pricemove:
  21538. description: 升贴水(浮动价时填写) - [挂牌]
  21539. type: number
  21540. tradedate:
  21541. description: 交易日(yyyyMMdd)
  21542. type: string
  21543. tradeprice:
  21544. description: 成交价格
  21545. type: number
  21546. tradeqty:
  21547. description: 成交数量
  21548. type: number
  21549. userid:
  21550. description: 用户ID
  21551. type: integer
  21552. username:
  21553. description: 发起方
  21554. type: string
  21555. warehouseid:
  21556. description: 仓库ID
  21557. type: integer
  21558. warehousename:
  21559. description: 仓库名称
  21560. type: string
  21561. wrfactortypeid:
  21562. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21563. type: string
  21564. wrfactortypename:
  21565. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21566. type: string
  21567. wrpricetype:
  21568. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  21569. type: integer
  21570. wrstandardcode:
  21571. description: 现货商品代码
  21572. type: string
  21573. wrstandardid:
  21574. description: 现货商品ID
  21575. type: integer
  21576. wrstandardname:
  21577. description: 商品名称
  21578. type: string
  21579. wrtradeorderid:
  21580. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  21581. type: string
  21582. wrtradeorderstatus:
  21583. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  21584. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  21585. type: integer
  21586. wrtradetype:
  21587. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  21588. type: integer
  21589. wrtypename:
  21590. description: 商品
  21591. type: string
  21592. type: object
  21593. models.WrSpotGroupTradeSum:
  21594. properties:
  21595. deliverygoodscode:
  21596. description: 现货品种代码
  21597. type: string
  21598. deliverygoodsid:
  21599. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21600. type: integer
  21601. deliverygoodsname:
  21602. description: 现货品种名称
  21603. type: string
  21604. lastavgprice:
  21605. description: 上上个交易日价格(前2天价格)
  21606. type: string
  21607. lastreckondate:
  21608. description: 上上个交易日(前2天交易日)
  21609. type: string
  21610. reckondate:
  21611. description: 上个交易日(前1天交易日)
  21612. type: string
  21613. todayavgprice:
  21614. description: 上个交易日价格(前1天价格)
  21615. type: string
  21616. updown:
  21617. description: 涨跌
  21618. type: string
  21619. updownratio:
  21620. description: 涨幅(已格式化, 直接显示即可)
  21621. type: string
  21622. type: object
  21623. models.WrSpotGroupTradeSumDetail:
  21624. properties:
  21625. deliverygoodsid:
  21626. description: 现货商品id
  21627. type: integer
  21628. price:
  21629. description: 价格
  21630. type: number
  21631. reckondate:
  21632. description: 日期(yyymmdd, 如:20211031)
  21633. type: string
  21634. type: object
  21635. models.WrSpotGroupTradeSumEx:
  21636. properties:
  21637. lst:
  21638. description: 指数列表
  21639. items:
  21640. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  21641. type: array
  21642. prereckondate:
  21643. description: 上上个交易日(yyymmdd)
  21644. type: string
  21645. reckondate:
  21646. description: 上个交易日(yyyymmdd)
  21647. type: string
  21648. type: object
  21649. models.WrStandardFactoryItem:
  21650. properties:
  21651. dgfactoryitemid:
  21652. description: 选择项id
  21653. type: integer
  21654. dgfactoryitemvalue:
  21655. description: 要素项值
  21656. type: string
  21657. warehouseid:
  21658. description: 仓库id
  21659. type: integer
  21660. type: object
  21661. models.WrStandardFactoryItemEx:
  21662. properties:
  21663. dgfactoryitemtypeid:
  21664. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  21665. type: integer
  21666. itemlst:
  21667. description: 要素项列表
  21668. items:
  21669. $ref: '#/definitions/models.WrStandardFactoryItem'
  21670. type: array
  21671. itemtypename:
  21672. description: 要素项类型名称
  21673. type: string
  21674. wrstandardid:
  21675. description: 品类
  21676. type: integer
  21677. type: object
  21678. models.WrTradeDetail:
  21679. properties:
  21680. accountid:
  21681. description: 资金账号
  21682. type: integer
  21683. bannerpicurl:
  21684. description: Banner图
  21685. type: string
  21686. begindate:
  21687. description: 开始交易日(yyyymmdd)
  21688. type: string
  21689. buyorsell:
  21690. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  21691. type: integer
  21692. chargevalue:
  21693. description: 手续费
  21694. type: number
  21695. deliverygoodscode:
  21696. description: 品种代码
  21697. type: string
  21698. deliverygoodsid:
  21699. description: 品种ID
  21700. type: integer
  21701. deliverygoodsname:
  21702. description: 品种名称
  21703. type: string
  21704. deliverymonth:
  21705. description: 交收月
  21706. type: string
  21707. enddate:
  21708. description: 结束交易日(yyyymmdd)
  21709. type: string
  21710. enumdicname:
  21711. description: 单位名称
  21712. type: string
  21713. haswr:
  21714. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  21715. type: integer
  21716. marketid:
  21717. description: 市场ID
  21718. type: integer
  21719. matchaccountid:
  21720. description: 对手账号
  21721. type: integer
  21722. matchusername:
  21723. description: 对手方
  21724. type: string
  21725. minivalue:
  21726. description: 现货商品最小变动值
  21727. type: integer
  21728. optioncompare:
  21729. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21730. type: string
  21731. thumurls:
  21732. description: 缩略图
  21733. type: string
  21734. tradedate:
  21735. description: 交易日(yyyyMMdd)
  21736. type: string
  21737. tradeprice:
  21738. description: 成交价格
  21739. type: number
  21740. tradeqty:
  21741. description: 成交数量
  21742. type: number
  21743. tradetime:
  21744. description: 成交时间
  21745. type: string
  21746. userid:
  21747. description: 用户ID
  21748. type: integer
  21749. warehouseid:
  21750. description: 仓库ID
  21751. type: integer
  21752. warehousename:
  21753. description: 仓库名称
  21754. type: string
  21755. wrfactortypeid:
  21756. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21757. type: string
  21758. wrfactortypename:
  21759. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21760. type: string
  21761. wrstandardcode:
  21762. description: 现货商品代码
  21763. type: string
  21764. wrstandardid:
  21765. description: 现货商品ID
  21766. type: integer
  21767. wrstandardname:
  21768. description: 商品名称
  21769. type: string
  21770. wrtradedetailid:
  21771. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  21772. type: string
  21773. wrtradetype:
  21774. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  21775. type: integer
  21776. wrtypename:
  21777. description: 商品
  21778. type: string
  21779. type: object
  21780. models.WrTradeOrderDetail:
  21781. properties:
  21782. buyorsell:
  21783. description: 买卖方向 0-买 1-卖
  21784. type: integer
  21785. goodsid:
  21786. description: 商品id
  21787. type: integer
  21788. orderid:
  21789. description: 委托单号
  21790. type: string
  21791. orderprice:
  21792. description: 期初均价
  21793. type: number
  21794. orderqty:
  21795. description: 委托数量
  21796. type: integer
  21797. userid:
  21798. description: 用户id
  21799. type: integer
  21800. username:
  21801. description: 用户名称(已脱敏)
  21802. type: string
  21803. type: object
  21804. models.WrTypeItem:
  21805. properties:
  21806. name:
  21807. description: 名称
  21808. type: string
  21809. value:
  21810. description: 值
  21811. type: string
  21812. type: object
  21813. models.WrUserFriend:
  21814. properties:
  21815. friendname:
  21816. description: 朋友名称(已脱敏)
  21817. type: string
  21818. frienduserid:
  21819. description: 朋友id
  21820. type: integer
  21821. isfriend:
  21822. description: 是否好友 0-不是 1-是
  21823. type: integer
  21824. userid:
  21825. description: 用户id
  21826. type: integer
  21827. type: object
  21828. models.WrUserReceiptInfo:
  21829. properties:
  21830. address:
  21831. description: 地址[发票类型:企业]
  21832. type: string
  21833. autoid:
  21834. description: AutoID
  21835. type: integer
  21836. contactinfo:
  21837. description: 联系方式
  21838. type: string
  21839. email:
  21840. description: 收件邮箱
  21841. type: string
  21842. idnum:
  21843. description: 身份证号码[发票类型:个人]
  21844. type: string
  21845. isdefault:
  21846. description: 是否默认地址 - 0:否 1:是
  21847. type: integer
  21848. receiptaccount:
  21849. description: 发票帐号[发票类型:企业]
  21850. type: string
  21851. receiptbank:
  21852. description: 发票开户行[发票类型:企业]
  21853. type: string
  21854. receipttype:
  21855. description: 发票类型 - 1:个人 2:企业
  21856. type: integer
  21857. taxpayerid:
  21858. description: 纳税人识别号
  21859. type: string
  21860. userid:
  21861. description: 用户ID
  21862. type: integer
  21863. username:
  21864. description: 户名(个人姓名或企业名称)
  21865. type: string
  21866. type: object
  21867. models.Wrtradetradequote:
  21868. properties:
  21869. buyaccountid:
  21870. description: 买方账号ID
  21871. type: integer
  21872. buychargevalue:
  21873. description: 买方手续费
  21874. type: number
  21875. buyuserid:
  21876. description: 买方用户ID
  21877. type: integer
  21878. deliverygoodsid:
  21879. description: 现货品种ID
  21880. type: integer
  21881. exchangerate:
  21882. description: 汇率
  21883. type: number
  21884. marketid:
  21885. description: 市场ID
  21886. type: integer
  21887. oritradeamount:
  21888. description: 成交金额[商品币种]
  21889. type: number
  21890. performanceplanid:
  21891. description: 履约计划ID/合同ID
  21892. type: integer
  21893. sellaccountid:
  21894. description: 卖方账号ID
  21895. type: integer
  21896. sellchargevalue:
  21897. description: 卖方手续费
  21898. type: number
  21899. selluserid:
  21900. description: 卖方用户ID
  21901. type: integer
  21902. tradeamount:
  21903. description: 成交金额
  21904. type: number
  21905. tradedate:
  21906. description: 交易日(yyyyMMdd)
  21907. type: string
  21908. tradeprice:
  21909. description: 成交价格
  21910. type: number
  21911. tradeqty:
  21912. description: 成交数量
  21913. type: integer
  21914. tradetime:
  21915. description: 成交时间
  21916. type: string
  21917. wrfactortypeid:
  21918. description: 仓单要素类型ID
  21919. type: integer
  21920. wrstandardid:
  21921. description: 现货商品ID
  21922. type: integer
  21923. wrtradedetailid:
  21924. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  21925. type: integer
  21926. type: object
  21927. models.XHBRAND:
  21928. properties:
  21929. brandid:
  21930. description: 品牌id
  21931. type: integer
  21932. brandname:
  21933. description: 品牌名称
  21934. type: string
  21935. isvalid:
  21936. description: 是否有效 0-无效 1-有效
  21937. type: integer
  21938. type: object
  21939. models.XHDeliveryGoods:
  21940. properties:
  21941. areauserid:
  21942. description: 所属机构
  21943. type: integer
  21944. bdlst:
  21945. description: 品牌列表
  21946. items:
  21947. $ref: '#/definitions/models.XHBRAND'
  21948. type: array
  21949. deliverygoodscode:
  21950. description: 现货品种代码
  21951. type: string
  21952. deliverygoodsid:
  21953. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21954. type: integer
  21955. deliverygoodsname:
  21956. description: 现货品种名称
  21957. type: string
  21958. dgstatus:
  21959. description: 品种状态 - 作废 - 0:未激活 1:正常
  21960. type: integer
  21961. filterSubEmpty:
  21962. description: 过滤下级为空的
  21963. type: integer
  21964. isvalid:
  21965. description: 是否有效 - 0:无效 1:有效
  21966. type: integer
  21967. remark:
  21968. description: 备注
  21969. type: string
  21970. unitid:
  21971. description: 单位id(目前看,数据库中是空值)
  21972. type: integer
  21973. wdlst:
  21974. description: 品类(现货商品)列表
  21975. items:
  21976. $ref: '#/definitions/models.XHWrstandard'
  21977. type: array
  21978. type: object
  21979. models.XHMiddleGoods:
  21980. properties:
  21981. GPLST:
  21982. description: 期货品种列表
  21983. items:
  21984. $ref: '#/definitions/models.TBGoodsGroup'
  21985. type: array
  21986. convertratio:
  21987. description: 拆算系数
  21988. type: number
  21989. costratio:
  21990. description: 成本权重
  21991. type: number
  21992. deliverygoodsid:
  21993. description: 现货商品id
  21994. type: integer
  21995. enumdicname:
  21996. description: 单位名称
  21997. type: string
  21998. middlegoodscode:
  21999. description: 套保品种代码
  22000. type: string
  22001. middlegoodsid:
  22002. description: 套保品种id
  22003. type: integer
  22004. middlegoodsname:
  22005. description: 套保品种名称
  22006. type: string
  22007. unitid:
  22008. description: 单位id
  22009. type: integer
  22010. type: object
  22011. models.XHWrstandard:
  22012. properties:
  22013. bannerpicurl:
  22014. description: banner图
  22015. type: string
  22016. deliverygoodsid:
  22017. description: 品种ID
  22018. type: integer
  22019. enumdicname:
  22020. description: 单位名称
  22021. type: string
  22022. mglst:
  22023. description: 套保品列表
  22024. items:
  22025. $ref: '#/definitions/models.XHMiddleGoods'
  22026. type: array
  22027. pictureurls:
  22028. description: 详情图片(逗号分隔)
  22029. type: string
  22030. thumurls:
  22031. description: 缩略图片(1:1)(逗号分隔)
  22032. type: string
  22033. unitid:
  22034. description: 单位id
  22035. type: integer
  22036. vatrate:
  22037. description: 增值税率
  22038. type: number
  22039. wrstandardcode:
  22040. description: 现货商品代码
  22041. type: string
  22042. wrstandardid:
  22043. description: 现货商品ID(SEQ_WRSTANDARD)
  22044. type: integer
  22045. wrstandardname:
  22046. description: 现货商品名称
  22047. type: string
  22048. type: object
  22049. models.XhcpSellBackApplyEx:
  22050. properties:
  22051. applyremark:
  22052. description: 申请备注
  22053. type: string
  22054. expirytype:
  22055. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  22056. type: integer
  22057. goodsspec:
  22058. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  22059. type: integer
  22060. holeflag:
  22061. description: 是否破洞[原封] - 1:无破洞 2:破洞
  22062. type: integer
  22063. isunopened:
  22064. description: 是否原封 - 1:否 2:是
  22065. type: integer
  22066. mpflag:
  22067. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  22068. type: integer
  22069. openflag:
  22070. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  22071. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  22072. type: integer
  22073. phonenum:
  22074. description: 联系电话
  22075. type: string
  22076. userid:
  22077. description: 所属用户ID
  22078. type: integer
  22079. zpflag:
  22080. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  22081. type: integer
  22082. required:
  22083. - userid
  22084. type: object
  22085. models.Xhcpsellbackapply:
  22086. properties:
  22087. applyid:
  22088. description: 申请人
  22089. type: integer
  22090. applyremark:
  22091. description: 申请备注
  22092. type: string
  22093. applysrc:
  22094. description: 申请来源 - 1:管理端 2:终端
  22095. type: integer
  22096. applystatus:
  22097. description: 申请状态 - 1:待确认 2:已处理
  22098. type: integer
  22099. applytime:
  22100. description: 申请时间
  22101. type: string
  22102. auditremark:
  22103. description: 审核备注
  22104. type: string
  22105. auditsrc:
  22106. description: 审核来源 - 1:管理端 2:终端
  22107. type: integer
  22108. expirytype:
  22109. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  22110. type: integer
  22111. goodsspec:
  22112. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  22113. type: integer
  22114. holeflag:
  22115. description: 是否破洞[原封] - 1:无破洞 2:破洞
  22116. type: integer
  22117. isunopened:
  22118. description: 是否原封 - 1:否 2:是
  22119. type: integer
  22120. mpflag:
  22121. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  22122. type: integer
  22123. openflag:
  22124. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  22125. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  22126. type: integer
  22127. phonenum:
  22128. description: 联系电话
  22129. type: string
  22130. sellbackapplyid:
  22131. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  22132. type: string
  22133. userid:
  22134. description: 所属用户ID
  22135. type: integer
  22136. zpflag:
  22137. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  22138. type: integer
  22139. required:
  22140. - userid
  22141. type: object
  22142. order.QueryHisTradeDetailRsp:
  22143. properties:
  22144. accountid:
  22145. description: 账户ID[报价币种]
  22146. type: integer
  22147. advanceratio:
  22148. description: 首付比率
  22149. type: number
  22150. buildtype:
  22151. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  22152. type: integer
  22153. buyorsell:
  22154. description: 方向 - 0:买 1:卖
  22155. type: integer
  22156. charge:
  22157. description: 手续费
  22158. type: number
  22159. closecharge:
  22160. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  22161. type: number
  22162. closeexchagechargevalue:
  22163. description: 平仓交易所手续费设置值
  22164. type: number
  22165. closefeealgorithm:
  22166. description: 平仓手续费收取方式 1:比率 2:固定
  22167. type: integer
  22168. closememberchargevalue:
  22169. description: 平仓会员手续费设置值
  22170. type: number
  22171. closepl:
  22172. description: 平仓盈亏
  22173. type: number
  22174. closepl2:
  22175. description: 平仓盈亏[逐笔]
  22176. type: number
  22177. closeqty:
  22178. description: 平仓数量(先建后平操作 需要记录)
  22179. type: number
  22180. creditamount:
  22181. description: 授信金额
  22182. type: number
  22183. decimalplace:
  22184. description: 商品报价小数位
  22185. type: integer
  22186. enumdicname:
  22187. description: 单位名称
  22188. type: string
  22189. gcaccountid:
  22190. description: 账户ID[合约币种]
  22191. type: integer
  22192. goodscode:
  22193. description: 商品代码
  22194. type: string
  22195. goodsid:
  22196. description: 商品ID
  22197. type: integer
  22198. goodsname:
  22199. description: 商品名称
  22200. type: string
  22201. goodunitid:
  22202. description: 商品单位id
  22203. type: integer
  22204. histradedate:
  22205. description: 历史交易日
  22206. type: string
  22207. intclosepl:
  22208. description: 整型盈亏(用于交易结算试算平衡-收益权)
  22209. type: integer
  22210. isconfirmexercise:
  22211. description: 是否确认行权- 0:否 1:是
  22212. type: integer
  22213. ismain:
  22214. description: 是否主单 - 0:不是 1:是
  22215. type: integer
  22216. ispreexercise:
  22217. description: 是否预申报- 0:否 1:是
  22218. type: integer
  22219. isreckoned:
  22220. description: 是否结算 - 0:未结算 1:已结算
  22221. type: integer
  22222. isvaliddata:
  22223. description: 是否有效 - 0:无效 1:有效
  22224. type: integer
  22225. listingselecttype:
  22226. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22227. type: integer
  22228. marketid:
  22229. description: 市场ID
  22230. type: integer
  22231. marketname:
  22232. description: 市场名称
  22233. type: string
  22234. matchaccountid:
  22235. description: 对手账号id
  22236. type: integer
  22237. memberuserid:
  22238. description: 会员id 个人投资者 需要填写
  22239. type: integer
  22240. opencharge:
  22241. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  22242. type: number
  22243. openexchagechargevalue:
  22244. description: 建仓交易所手续费设置值
  22245. type: number
  22246. openfeealgorithm:
  22247. description: 建仓手续费收取方式 1:比率 2:固定
  22248. type: integer
  22249. openmemberchargevalue:
  22250. description: 建仓会员手续费设置值
  22251. type: number
  22252. openqty:
  22253. description: 开仓数量(先建后平操作 需要记录)
  22254. type: number
  22255. optiontype:
  22256. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  22257. type: integer
  22258. orderid:
  22259. description: 委托单号
  22260. type: string
  22261. payamount:
  22262. description: 支付金额(付款金额)
  22263. type: number
  22264. performanceplanid:
  22265. description: 履约计划ID[期权]
  22266. type: integer
  22267. performancestatus:
  22268. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  22269. type: integer
  22270. preexerciseprice:
  22271. description: 预申报价格
  22272. type: number
  22273. premium:
  22274. description: 权利金 - [持仓单的权利金]
  22275. type: number
  22276. qtydecimalplace:
  22277. description: 商品报价小数位
  22278. type: integer
  22279. recvamount:
  22280. description: 到账金额 = 成交金额 - 手续费
  22281. type: number
  22282. relatedouttradeid:
  22283. description: 关联外部成交单ID
  22284. type: integer
  22285. status:
  22286. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  22287. type: integer
  22288. totalamount:
  22289. description: 订单总额 = 成交金额 + 手续费
  22290. type: number
  22291. tradeamount:
  22292. description: 成交金额[账户币种,用于所有权]
  22293. type: number
  22294. tradedate:
  22295. description: 交易日(yyyyMMdd)
  22296. type: string
  22297. tradeid:
  22298. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22299. type: string
  22300. trademode:
  22301. description: 交易模式
  22302. type: integer
  22303. tradeprice:
  22304. description: 成交价格
  22305. type: number
  22306. tradeproperty:
  22307. description: 交易属性
  22308. type: integer
  22309. tradeqty:
  22310. description: 成交数量
  22311. type: number
  22312. tradetime:
  22313. description: 成交时间
  22314. type: string
  22315. tradetype:
  22316. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  22317. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  22318. type: integer
  22319. required:
  22320. - accountid
  22321. - buyorsell
  22322. - goodsid
  22323. - histradedate
  22324. - marketid
  22325. - memberuserid
  22326. - orderid
  22327. - tradeamount
  22328. - tradedate
  22329. - tradeid
  22330. - tradeprice
  22331. - tradeqty
  22332. - tradetime
  22333. type: object
  22334. order.QueryHisTradeOrderDetailRsp:
  22335. properties:
  22336. accountid:
  22337. description: 账户ID[报价币种]
  22338. type: integer
  22339. buildtype:
  22340. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  22341. type: integer
  22342. buyorsell:
  22343. description: 买卖 - 0:买 1:卖
  22344. type: integer
  22345. cancelorderid:
  22346. description: 撤单单号(撤单时填写)
  22347. type: string
  22348. cancelqty:
  22349. description: 撤单数量
  22350. type: number
  22351. clientordertime:
  22352. description: 客户端委托时间
  22353. type: string
  22354. clientticket:
  22355. description: 客户端流水号
  22356. type: string
  22357. clienttype:
  22358. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  22359. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  22360. type: integer
  22361. closeexchagechargevalue:
  22362. description: 平仓交易所手续费设置值
  22363. type: number
  22364. closefeealgorithm:
  22365. description: 平仓手续费收取方式 1:比率 2:固定
  22366. type: integer
  22367. closefreezecharge:
  22368. description: 平仓冻结手续费(先建后平操作,需要记录)
  22369. type: number
  22370. closememberchargevalue:
  22371. description: 平仓会员手续费设置值
  22372. type: number
  22373. closeqty:
  22374. description: 平仓数量(先建后平操作 需要记录)
  22375. type: number
  22376. closetradeqty:
  22377. description: 平仓成交数量(先建后平操作,需要记录)
  22378. type: number
  22379. closeunfreezecharge:
  22380. description: 平仓解冻手续费(先建后平操作,需要记录)
  22381. type: number
  22382. decimalplace:
  22383. description: 商品报价小数位
  22384. type: integer
  22385. delistingtype:
  22386. description: 摘牌类型 - 1:价格最优 2:点选成交
  22387. type: integer
  22388. enumdicname:
  22389. description: 单位名称
  22390. type: string
  22391. freezecharge:
  22392. description: 冻结手续费
  22393. type: number
  22394. freezemargin:
  22395. description: 冻结保证金(冻结交易金额)
  22396. type: number
  22397. gcaccountid:
  22398. description: 账户ID[合约币种]
  22399. type: integer
  22400. goodscode:
  22401. description: 商品代码
  22402. type: string
  22403. goodsid:
  22404. description: 商品ID
  22405. type: integer
  22406. goodsname:
  22407. description: 商品名称
  22408. type: string
  22409. goodunitid:
  22410. description: 商品单位id
  22411. type: integer
  22412. histradedate:
  22413. description: 历史交易日
  22414. type: string
  22415. isconfirmexercise:
  22416. description: 是否确认行权- 0:否 1:是
  22417. type: integer
  22418. ispreexercise:
  22419. description: 是否预申报- 0:否 1:是
  22420. type: integer
  22421. isvaliddata:
  22422. description: 是否有效 - 0:无效 1:有效
  22423. type: integer
  22424. listingselecttype:
  22425. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22426. type: integer
  22427. marginalgorithm:
  22428. description: 保证金收取方式 1:比率 2:固定
  22429. type: integer
  22430. marginvalue:
  22431. description: 即市保证金设置值
  22432. type: number
  22433. marketid:
  22434. description: 市场ID
  22435. type: integer
  22436. marketmaxsub:
  22437. description: 市价最大偏移范围
  22438. type: number
  22439. marketname:
  22440. description: 市场名称
  22441. type: string
  22442. memberuserid:
  22443. description: 所属会员UserID
  22444. type: integer
  22445. openexchagechargevalue:
  22446. description: 建仓交易所手续费设置值
  22447. type: number
  22448. openfeealgorithm:
  22449. description: 建仓手续费收取方式 1:比率 2:固定
  22450. type: integer
  22451. openfreezecharge:
  22452. description: 开仓冻结手续费(先建后平操作,需要记录)
  22453. type: number
  22454. openmemberchargevalue:
  22455. description: 建仓会员手续费设置值
  22456. type: number
  22457. openqty:
  22458. description: 开仓数量(先建后平操作,需要记录)
  22459. type: number
  22460. opentradeqty:
  22461. description: 开仓成交数量(先建后平操作,需要记录)
  22462. type: number
  22463. openunfreezecharge:
  22464. description: 开仓解冻手续费(先建后平操作,需要记录)
  22465. type: number
  22466. operatetype:
  22467. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  22468. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  22469. 15:管理端协议转让
  22470. type: integer
  22471. operatorid:
  22472. description: 登录账号(LoginID)
  22473. type: integer
  22474. optiontype:
  22475. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  22476. type: integer
  22477. orderid:
  22478. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22479. type: string
  22480. orderprice:
  22481. description: 委托价格
  22482. type: number
  22483. orderqty:
  22484. description: 委托数量
  22485. type: number
  22486. ordersrc:
  22487. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  22488. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  22489. type: integer
  22490. orderstatus:
  22491. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  22492. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  22493. 16:成交失败违约(荷兰式竞拍专用)
  22494. type: integer
  22495. ordertime:
  22496. description: 委托时间
  22497. type: string
  22498. preexerciseprice:
  22499. description: 预申报价格
  22500. type: number
  22501. premium:
  22502. description: 权利金
  22503. type: number
  22504. preorderid:
  22505. description: 关联预埋单号(止盈止损单时填写)
  22506. type: string
  22507. pricemode:
  22508. description: '取价方式 - 1:市价 2: 限价'
  22509. type: integer
  22510. qtydecimalplace:
  22511. description: 成交量小数位
  22512. type: integer
  22513. quoteid:
  22514. description: 报价单ID
  22515. type: integer
  22516. relatedid:
  22517. description: 关联单号(交割单)
  22518. type: string
  22519. retcode:
  22520. description: 错误代码
  22521. type: integer
  22522. sessionid:
  22523. description: 会话ID
  22524. type: integer
  22525. tradedate:
  22526. description: 交易日(yyyyMMdd)
  22527. type: string
  22528. trademode:
  22529. description: 交易模式
  22530. type: integer
  22531. tradeproperty:
  22532. description: 交易属性
  22533. type: integer
  22534. tradeqty:
  22535. description: 成交数量
  22536. type: number
  22537. unfreezecharge:
  22538. description: 解冻手续费
  22539. type: number
  22540. unfreezemargin:
  22541. description: 解冻保证金
  22542. type: number
  22543. updatetime:
  22544. description: 更新时间
  22545. type: string
  22546. uuid:
  22547. description: 发起端唯一id
  22548. type: string
  22549. validtime:
  22550. description: 有效期限
  22551. type: string
  22552. validtype:
  22553. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  22554. type: integer
  22555. volumetype:
  22556. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  22557. type: integer
  22558. required:
  22559. - accountid
  22560. - buildtype
  22561. - buyorsell
  22562. - goodsid
  22563. - histradedate
  22564. - marketid
  22565. - memberuserid
  22566. - operatetype
  22567. - orderid
  22568. - orderqty
  22569. - ordertime
  22570. - pricemode
  22571. - tradedate
  22572. - validtype
  22573. type: object
  22574. order.QueryTradeDetailRsp:
  22575. properties:
  22576. accountid:
  22577. description: 账户ID[报价币种]
  22578. type: integer
  22579. advanceratio:
  22580. description: 首付比率
  22581. type: number
  22582. buildtype:
  22583. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  22584. type: integer
  22585. buyorsell:
  22586. description: 方向 - 0:买 1:卖
  22587. type: integer
  22588. charge:
  22589. description: 手续费
  22590. type: number
  22591. closecharge:
  22592. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  22593. type: number
  22594. closeexchagechargevalue:
  22595. description: 平仓交易所手续费设置值
  22596. type: number
  22597. closefeealgorithm:
  22598. description: 平仓手续费收取方式 1:比率 2:固定
  22599. type: integer
  22600. closememberchargevalue:
  22601. description: 平仓会员手续费设置值
  22602. type: number
  22603. closepl:
  22604. description: 平仓盈亏
  22605. type: number
  22606. closepl2:
  22607. description: 平仓盈亏[逐笔]
  22608. type: number
  22609. closeqty:
  22610. description: 平仓数量(先建后平操作 需要记录)
  22611. type: number
  22612. creditamount:
  22613. description: 授信金额
  22614. type: number
  22615. decimalplace:
  22616. description: 商品报价小数位
  22617. type: integer
  22618. enumdicname:
  22619. description: 单位名称
  22620. type: string
  22621. gcaccountid:
  22622. description: 账户ID[合约币种]
  22623. type: integer
  22624. goodscode:
  22625. description: 商品代码
  22626. type: string
  22627. goodsid:
  22628. description: 商品ID
  22629. type: integer
  22630. goodsname:
  22631. description: 商品名称
  22632. type: string
  22633. goodunitid:
  22634. description: 商品单位id
  22635. type: integer
  22636. intclosepl:
  22637. description: 整型盈亏(用于交易结算试算平衡-收益权)
  22638. type: integer
  22639. isconfirmexercise:
  22640. description: 是否确认行权- 0:否 1:是
  22641. type: integer
  22642. ismain:
  22643. description: 是否主单 - 0:不是 1:是
  22644. type: integer
  22645. ispreexercise:
  22646. description: 是否预申报- 0:否 1:是
  22647. type: integer
  22648. isreckoned:
  22649. description: 是否结算 - 0:未结算 1:已结算
  22650. type: integer
  22651. listingselecttype:
  22652. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22653. type: integer
  22654. marketid:
  22655. description: 市场ID
  22656. type: integer
  22657. marketname:
  22658. description: 市场名称
  22659. type: string
  22660. matchaccountid:
  22661. description: 对手账号id
  22662. type: integer
  22663. memberuserid:
  22664. description: 会员id 个人投资者 需要填写
  22665. type: integer
  22666. opencharge:
  22667. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  22668. type: number
  22669. openexchagechargevalue:
  22670. description: 建仓交易所手续费设置值
  22671. type: number
  22672. openfeealgorithm:
  22673. description: 建仓手续费收取方式 1:比率 2:固定
  22674. type: integer
  22675. openmemberchargevalue:
  22676. description: 建仓会员手续费设置值
  22677. type: number
  22678. openqty:
  22679. description: 开仓数量(先建后平操作 需要记录)
  22680. type: number
  22681. optiontype:
  22682. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  22683. type: integer
  22684. orderid:
  22685. description: 委托单号
  22686. type: string
  22687. payamount:
  22688. description: 支付金额(付款金额)
  22689. type: number
  22690. performanceplanid:
  22691. description: 履约计划ID[期权]
  22692. type: integer
  22693. performancestatus:
  22694. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  22695. type: integer
  22696. preexerciseprice:
  22697. description: 预申报价格
  22698. type: number
  22699. premium:
  22700. description: 权利金 - [持仓单的权利金]
  22701. type: number
  22702. qtydecimalplace:
  22703. description: 商品报价小数位
  22704. type: integer
  22705. recvamount:
  22706. description: 到账金额 = 成交金额 - 手续费
  22707. type: number
  22708. relatedouttradeid:
  22709. description: 关联外部成交单ID
  22710. type: integer
  22711. status:
  22712. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  22713. type: integer
  22714. totalamount:
  22715. description: 订单总额 = 成交金额 + 手续费
  22716. type: number
  22717. tradeamount:
  22718. description: 成交金额[账户币种,用于所有权]
  22719. type: number
  22720. tradedate:
  22721. description: 交易日(yyyyMMdd)
  22722. type: string
  22723. tradeid:
  22724. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22725. type: string
  22726. trademode:
  22727. description: 交易模式
  22728. type: integer
  22729. tradeprice:
  22730. description: 成交价格
  22731. type: number
  22732. tradeproperty:
  22733. description: 交易属性
  22734. type: integer
  22735. tradeqty:
  22736. description: 成交数量
  22737. type: number
  22738. tradetime:
  22739. description: 成交时间
  22740. type: string
  22741. tradetype:
  22742. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  22743. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  22744. type: integer
  22745. required:
  22746. - accountid
  22747. - buyorsell
  22748. - goodsid
  22749. - marketid
  22750. - memberuserid
  22751. - orderid
  22752. - tradeamount
  22753. - tradedate
  22754. - tradeid
  22755. - tradeprice
  22756. - tradeqty
  22757. - tradetime
  22758. type: object
  22759. order.QueryTradeOrderDetailRsp:
  22760. properties:
  22761. accountid:
  22762. description: 账户ID[报价币种]
  22763. type: integer
  22764. buildtype:
  22765. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  22766. type: integer
  22767. buyorsell:
  22768. description: 买卖 - 0:买 1:卖
  22769. type: integer
  22770. cancelorderid:
  22771. description: 撤单单号(撤单时填写)
  22772. type: string
  22773. cancelqty:
  22774. description: 撤单数量
  22775. type: number
  22776. clienttype:
  22777. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  22778. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  22779. type: integer
  22780. closefreezecharge:
  22781. description: 平仓冻结手续费(先建后平操作,需要记录)
  22782. type: number
  22783. closeqty:
  22784. description: 平仓数量(先建后平操作 需要记录)
  22785. type: number
  22786. closetradeqty:
  22787. description: 平仓成交数量(先建后平操作,需要记录)
  22788. type: number
  22789. closeunfreezecharge:
  22790. description: 平仓解冻手续费(先建后平操作,需要记录)
  22791. type: number
  22792. decimalplace:
  22793. description: 商品报价小数位
  22794. type: integer
  22795. delistingtype:
  22796. description: 摘牌类型 - 1:价格最优 2:点选成交
  22797. type: integer
  22798. enableqty:
  22799. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  22800. type: number
  22801. enumdicname:
  22802. description: 单位名称
  22803. type: string
  22804. freezecharge:
  22805. description: 冻结手续费
  22806. type: number
  22807. freezemargin:
  22808. description: 冻结保证金(冻结交易金额)
  22809. type: number
  22810. goodscode:
  22811. description: 商品代码
  22812. type: string
  22813. goodsid:
  22814. description: 商品ID
  22815. type: integer
  22816. goodsname:
  22817. description: 商品名称
  22818. type: string
  22819. goodunitid:
  22820. description: 商品单位id
  22821. type: integer
  22822. listingselecttype:
  22823. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22824. type: integer
  22825. marketid:
  22826. description: 市场ID
  22827. type: integer
  22828. marketname:
  22829. description: 市场名称
  22830. type: string
  22831. openfreezecharge:
  22832. description: 开仓冻结手续费(先建后平操作,需要记录)
  22833. type: number
  22834. openqty:
  22835. description: 开仓数量(先建后平操作,需要记录)
  22836. type: number
  22837. opentradeqty:
  22838. description: 开仓成交数量(先建后平操作,需要记录)
  22839. type: number
  22840. openunfreezecharge:
  22841. description: 开仓解冻手续费(先建后平操作,需要记录)
  22842. type: number
  22843. operatetype:
  22844. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  22845. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  22846. 15:管理端协议转让
  22847. type: integer
  22848. operatorid:
  22849. description: 登录账号(LoginID)
  22850. type: integer
  22851. orderid:
  22852. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22853. type: string
  22854. orderprice:
  22855. description: 委托价格
  22856. type: number
  22857. orderqty:
  22858. description: 委托数量
  22859. type: number
  22860. ordersrc:
  22861. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  22862. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  22863. type: integer
  22864. orderstatus:
  22865. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  22866. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  22867. 16:成交失败违约(荷兰式竞拍专用)
  22868. type: integer
  22869. ordertime:
  22870. description: 委托时间
  22871. type: string
  22872. preorderid:
  22873. description: 关联预埋单号(止盈止损单时填写)
  22874. type: string
  22875. pricemode:
  22876. description: '取价方式 - 1:市价 2: 限价'
  22877. type: integer
  22878. qtydecimalplace:
  22879. description: 商品报价小数位
  22880. type: integer
  22881. relatedid:
  22882. description: 关联单号(交割单)
  22883. type: string
  22884. tradedate:
  22885. description: 交易日(yyyyMMdd)
  22886. type: string
  22887. trademode:
  22888. description: 交易模式
  22889. type: integer
  22890. tradeqty:
  22891. description: 成交数量
  22892. type: number
  22893. unfreezecharge:
  22894. description: 解冻手续费
  22895. type: number
  22896. unfreezemargin:
  22897. description: 解冻保证金
  22898. type: number
  22899. validtime:
  22900. description: 有效期限
  22901. type: string
  22902. validtype:
  22903. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  22904. type: integer
  22905. volumetype:
  22906. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  22907. type: integer
  22908. required:
  22909. - accountid
  22910. - buildtype
  22911. - buyorsell
  22912. - goodsid
  22913. - marketid
  22914. - operatetype
  22915. - orderqty
  22916. - ordertime
  22917. - pricemode
  22918. - tradedate
  22919. - validtype
  22920. type: object
  22921. order.QueryTradePositionRsp:
  22922. properties:
  22923. accountid:
  22924. description: 资金账户
  22925. type: integer
  22926. agreeunit:
  22927. description: 合约单位
  22928. type: number
  22929. averageprice:
  22930. description: 持仓均价
  22931. type: number
  22932. buyorsell:
  22933. description: 方向 - 0:买 1:卖
  22934. type: integer
  22935. closetotalqty:
  22936. description: 平仓总数量
  22937. type: number
  22938. curholderamount:
  22939. description: 当前持仓总金额[商品币种]
  22940. type: number
  22941. curpositionqty:
  22942. description: 当前持仓总数量
  22943. type: number
  22944. currencyid:
  22945. description: 报价货币ID
  22946. type: integer
  22947. curtdposition:
  22948. description: 期末今日头寸
  22949. type: number
  22950. decimalplace:
  22951. description: 报价小数位
  22952. type: integer
  22953. enableqty:
  22954. description: 可用量
  22955. type: number
  22956. fretdposition:
  22957. description: 冻结今日头寸
  22958. type: number
  22959. frozenqty:
  22960. description: 持仓冻结数量
  22961. type: number
  22962. goodscode:
  22963. description: 商品代码
  22964. type: string
  22965. goodsid:
  22966. description: 商品Id
  22967. type: integer
  22968. goodsname:
  22969. description: 商品名称
  22970. type: string
  22971. goodunit:
  22972. description: 报价单位
  22973. type: string
  22974. goodunitid:
  22975. description: 报价单位ID
  22976. type: integer
  22977. holderamount:
  22978. description: 期初持仓总金额[商品币种]
  22979. type: number
  22980. lastprice:
  22981. description: 最新价
  22982. type: number
  22983. marketamount:
  22984. description: 市值
  22985. type: number
  22986. marketid:
  22987. description: 所属市场ID
  22988. type: integer
  22989. openreqqty:
  22990. description: 开仓申请数量(用于比较最大持仓数量)
  22991. type: number
  22992. opentotalqty:
  22993. description: 开仓总数量
  22994. type: number
  22995. otherfrozenqty:
  22996. description: 持仓其他冻结数量(交割冻结)
  22997. type: number
  22998. positionpl:
  22999. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  23000. * 合约单位
  23001. type: number
  23002. positionplrate:
  23003. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  23004. type: number
  23005. positionqty:
  23006. description: 期初持仓数量
  23007. type: number
  23008. qtydecimalplace:
  23009. description: 成交量小数位
  23010. type: integer
  23011. refgoodscode:
  23012. description: 参考商品代码
  23013. type: string
  23014. refgoodsid:
  23015. description: 参考商品ID
  23016. type: integer
  23017. tnqty:
  23018. description: T+N冻结总量
  23019. type: number
  23020. tnusedqty:
  23021. description: T+N使用量(可以使用T+N的冻结数量)
  23022. type: number
  23023. trademode:
  23024. description: 交易模式
  23025. type: integer
  23026. tradeproperty:
  23027. description: 交易属性
  23028. type: integer
  23029. usedmargin:
  23030. description: 占用保证金[商品币种]
  23031. type: number
  23032. required:
  23033. - goodsid
  23034. type: object
  23035. pb.GoodsMarginCfgStruct:
  23036. properties:
  23037. CustomerTypeID:
  23038. description: 投资者客户类型
  23039. type: integer
  23040. GoodsID:
  23041. description: 商品ID
  23042. type: integer
  23043. IsDefault:
  23044. description: 是否默认标志位
  23045. type: integer
  23046. LockMarginValue:
  23047. description: 锁仓保证金
  23048. type: number
  23049. MarginAlgorithm:
  23050. description: 保证金计算方式
  23051. type: integer
  23052. MarketMarginValue:
  23053. description: 即市保证金值
  23054. type: number
  23055. RealMarginAlgorithm:
  23056. description: 实付保证金计算方式
  23057. type: integer
  23058. RealMarginValue:
  23059. description: 实付比例
  23060. type: number
  23061. ReckonMarginValue:
  23062. description: 结算保证金值
  23063. type: number
  23064. type: object
  23065. quote.HistoryData:
  23066. properties:
  23067. c:
  23068. description: 收盘价
  23069. type: number
  23070. f:
  23071. description: 是否补充数据
  23072. type: boolean
  23073. h:
  23074. description: 最高价
  23075. type: number
  23076. hv:
  23077. description: 持仓量
  23078. type: integer
  23079. l:
  23080. description: 最低价
  23081. type: number
  23082. o:
  23083. description: 开盘价
  23084. type: number
  23085. s:
  23086. description: 结算价,日线周期(包括)以上才有
  23087. type: number
  23088. ts:
  23089. description: 时间
  23090. type: string
  23091. tt:
  23092. description: 总金额
  23093. type: number
  23094. tv:
  23095. description: 总量(成交量)
  23096. type: integer
  23097. type: object
  23098. quote.HistoryTikData:
  23099. properties:
  23100. AV:
  23101. description: 卖量
  23102. type: integer
  23103. Ask:
  23104. description: 卖价
  23105. type: number
  23106. BV:
  23107. description: 买量
  23108. type: integer
  23109. Bid:
  23110. description: 买价
  23111. type: number
  23112. HI:
  23113. description: 单笔持仓
  23114. type: integer
  23115. HV:
  23116. description: 持仓量
  23117. type: integer
  23118. PE:
  23119. description: 现价
  23120. type: number
  23121. TDR:
  23122. description: 交易方向,0:买 1:卖
  23123. type: integer
  23124. TK:
  23125. description: 交易类型
  23126. type: integer
  23127. TS:
  23128. description: 行情时间文本
  23129. type: string
  23130. TT:
  23131. description: 现金额
  23132. type: number
  23133. Vol:
  23134. description: 现量
  23135. type: integer
  23136. type: object
  23137. quote.QueryQuoteDayRsp:
  23138. properties:
  23139. ask:
  23140. description: 卖1
  23141. type: number
  23142. ask2:
  23143. description: 卖2
  23144. type: number
  23145. ask3:
  23146. description: 卖3
  23147. type: number
  23148. ask4:
  23149. description: 卖4
  23150. type: number
  23151. ask5:
  23152. description: 卖5
  23153. type: number
  23154. ask6:
  23155. description: 卖6
  23156. type: number
  23157. ask7:
  23158. description: 卖7
  23159. type: number
  23160. ask8:
  23161. description: 卖8
  23162. type: number
  23163. ask9:
  23164. description: 卖9
  23165. type: number
  23166. ask10:
  23167. description: 卖10
  23168. type: number
  23169. askorderid:
  23170. description: 卖单号1
  23171. type: integer
  23172. askorderid2:
  23173. description: 卖单号2
  23174. type: integer
  23175. askorderid3:
  23176. description: 卖单号3
  23177. type: integer
  23178. askorderid4:
  23179. description: 卖单号4
  23180. type: integer
  23181. askorderid5:
  23182. description: 卖单号5
  23183. type: integer
  23184. askordervolume:
  23185. description: 卖单量1
  23186. type: integer
  23187. askordervolume2:
  23188. description: 卖单量2
  23189. type: integer
  23190. askordervolume3:
  23191. description: 卖单量3
  23192. type: integer
  23193. askordervolume4:
  23194. description: 卖单量4
  23195. type: integer
  23196. askordervolume5:
  23197. description: 卖单量5
  23198. type: integer
  23199. askordervolume6:
  23200. description: 卖单量6
  23201. type: integer
  23202. askordervolume7:
  23203. description: 卖单量7
  23204. type: integer
  23205. askordervolume8:
  23206. description: 卖单量8
  23207. type: integer
  23208. askordervolume9:
  23209. description: 卖单量9
  23210. type: integer
  23211. askordervolume10:
  23212. description: 卖单量10
  23213. type: integer
  23214. askqueueinfo:
  23215. description: 大利市卖港股用
  23216. type: string
  23217. askvolume:
  23218. description: 卖量1
  23219. type: integer
  23220. askvolume2:
  23221. description: 卖量2
  23222. type: integer
  23223. askvolume3:
  23224. description: 卖量3
  23225. type: integer
  23226. askvolume4:
  23227. description: 卖量4
  23228. type: integer
  23229. askvolume5:
  23230. description: 卖量5
  23231. type: integer
  23232. askvolume6:
  23233. description: 卖量6
  23234. type: integer
  23235. askvolume7:
  23236. description: 卖量7
  23237. type: integer
  23238. askvolume8:
  23239. description: 卖量8
  23240. type: integer
  23241. askvolume9:
  23242. description: 卖量9
  23243. type: integer
  23244. askvolume10:
  23245. description: 卖量10
  23246. type: integer
  23247. averageprice:
  23248. description: 均价
  23249. type: number
  23250. bid:
  23251. description: 买1
  23252. type: number
  23253. bid2:
  23254. description: 买2
  23255. type: number
  23256. bid3:
  23257. description: 买3
  23258. type: number
  23259. bid4:
  23260. description: 买4
  23261. type: number
  23262. bid5:
  23263. description: 买5
  23264. type: number
  23265. bid6:
  23266. description: 买6
  23267. type: number
  23268. bid7:
  23269. description: 买7
  23270. type: number
  23271. bid8:
  23272. description: 买8
  23273. type: number
  23274. bid9:
  23275. description: 买9
  23276. type: number
  23277. bid10:
  23278. description: 买10
  23279. type: number
  23280. bidorderid:
  23281. description: 买单号1
  23282. type: integer
  23283. bidorderid2:
  23284. description: 买单号2
  23285. type: integer
  23286. bidorderid3:
  23287. description: 买单号3
  23288. type: integer
  23289. bidorderid4:
  23290. description: 买单号4
  23291. type: integer
  23292. bidorderid5:
  23293. description: 买单号5
  23294. type: integer
  23295. bidordervolume:
  23296. description: 买单量1
  23297. type: integer
  23298. bidordervolume2:
  23299. description: 买单量2
  23300. type: integer
  23301. bidordervolume3:
  23302. description: 买单量3
  23303. type: integer
  23304. bidordervolume4:
  23305. description: 买单量4
  23306. type: integer
  23307. bidordervolume5:
  23308. description: 买单量5
  23309. type: integer
  23310. bidordervolume6:
  23311. description: 买单量6
  23312. type: integer
  23313. bidordervolume7:
  23314. description: 买单量7
  23315. type: integer
  23316. bidordervolume8:
  23317. description: 买单量8
  23318. type: integer
  23319. bidordervolume9:
  23320. description: 买单量9
  23321. type: integer
  23322. bidordervolume10:
  23323. description: 买单量10
  23324. type: integer
  23325. bidqueueinfo:
  23326. description: 大利市买港股用
  23327. type: string
  23328. bidvolume:
  23329. description: 买量1
  23330. type: integer
  23331. bidvolume2:
  23332. description: 买量2
  23333. type: integer
  23334. bidvolume3:
  23335. description: 买量3
  23336. type: integer
  23337. bidvolume4:
  23338. description: 买量4
  23339. type: integer
  23340. bidvolume5:
  23341. description: 买量5
  23342. type: integer
  23343. bidvolume6:
  23344. description: 买量6
  23345. type: integer
  23346. bidvolume7:
  23347. description: 买量7
  23348. type: integer
  23349. bidvolume8:
  23350. description: 买量8
  23351. type: integer
  23352. bidvolume9:
  23353. description: 买量9
  23354. type: integer
  23355. bidvolume10:
  23356. description: 买量10
  23357. type: integer
  23358. calloptionpremiums:
  23359. description: 认购期权1
  23360. type: integer
  23361. calloptionpremiums2:
  23362. description: 认购期权2
  23363. type: integer
  23364. calloptionpremiums3:
  23365. description: 认购期权3
  23366. type: integer
  23367. calloptionpremiums4:
  23368. description: 认购期权4
  23369. type: integer
  23370. calloptionpremiums5:
  23371. description: 认购期权5
  23372. type: integer
  23373. cleartime:
  23374. description: 清盘时间
  23375. type: integer
  23376. exchangecode:
  23377. description: 交易所代码
  23378. type: integer
  23379. exchangedate:
  23380. description: 交易日
  23381. type: integer
  23382. goodscode:
  23383. description: 商品代码
  23384. type: string
  23385. grepmarketprice:
  23386. description: 暗盘价 港股专用
  23387. type: number
  23388. highest:
  23389. description: 最高价
  23390. type: number
  23391. holdincrement:
  23392. description: 单笔持仓
  23393. type: integer
  23394. holdvolume:
  23395. description: 持仓
  23396. type: integer
  23397. iep:
  23398. description: 平衡价 港股专用
  23399. type: number
  23400. iev:
  23401. description: 平衡量 港股专用
  23402. type: number
  23403. inventory:
  23404. description: 库存
  23405. type: integer
  23406. iscleared:
  23407. description: 是否清盘标志
  23408. type: integer
  23409. issettled:
  23410. description: 是否结算标志
  23411. type: integer
  23412. last:
  23413. description: 最新价
  23414. type: number
  23415. lastlot:
  23416. description: 最新成交手数
  23417. type: integer
  23418. lasttime:
  23419. description: 行情时间(只有现价变化行情时间才变化)
  23420. type: string
  23421. lastturnover:
  23422. description: 最新成交金额
  23423. type: number
  23424. lastvolume:
  23425. description: 最新成交量
  23426. type: integer
  23427. limitdown:
  23428. description: 跌停价
  23429. type: number
  23430. limitup:
  23431. description: 涨停价
  23432. type: number
  23433. lowest:
  23434. description: 最低价
  23435. type: number
  23436. nontotalholdervolume:
  23437. description: 非交易持仓量
  23438. type: integer
  23439. nontotallot:
  23440. description: 非交易总手数
  23441. type: integer
  23442. nontotalturnover:
  23443. description: 非交易总金额
  23444. type: integer
  23445. nontotalvolume:
  23446. description: 非交易总量
  23447. type: integer
  23448. opened:
  23449. description: 开盘价
  23450. type: number
  23451. opentime:
  23452. description: 开盘时间
  23453. type: string
  23454. orderid:
  23455. description: 序号
  23456. type: integer
  23457. preclose:
  23458. description: 昨收
  23459. type: number
  23460. preholdvolume:
  23461. description: 昨持仓
  23462. type: integer
  23463. presettle:
  23464. description: 昨结价
  23465. type: number
  23466. publictradetype:
  23467. description: 公共交易标志类型 港股专用
  23468. type: string
  23469. putoptionpremiums:
  23470. description: 认沽期权1
  23471. type: integer
  23472. putoptionpremiums2:
  23473. description: 认沽期权2
  23474. type: integer
  23475. putoptionpremiums3:
  23476. description: 认沽期权3
  23477. type: integer
  23478. putoptionpremiums4:
  23479. description: 认沽期权4
  23480. type: integer
  23481. putoptionpremiums5:
  23482. description: 认沽期权5
  23483. type: integer
  23484. settle:
  23485. description: 结算价
  23486. type: number
  23487. strikeprice:
  23488. description: 发行价
  23489. type: number
  23490. totalaskvolume:
  23491. description: 内盘
  23492. type: integer
  23493. totalbidvolume:
  23494. description: 外盘
  23495. type: integer
  23496. totallot:
  23497. description: 总手数
  23498. type: integer
  23499. totalturnover:
  23500. description: 总金额
  23501. type: number
  23502. totalvolume:
  23503. description: 总量
  23504. type: integer
  23505. utclasttime:
  23506. description: utc的行情时间
  23507. type: string
  23508. type: object
  23509. quote.QueryTSDataRsp:
  23510. properties:
  23511. Count:
  23512. description: 交易日应有数据个数
  23513. type: integer
  23514. decimalPlace:
  23515. description: 小数位
  23516. type: integer
  23517. endTime:
  23518. description: 结束时间
  23519. type: string
  23520. goodsCode:
  23521. description: 商品代码
  23522. type: string
  23523. historyDatas:
  23524. description: 历史数据
  23525. items:
  23526. $ref: '#/definitions/quote.HistoryData'
  23527. type: array
  23528. outGoodsCode:
  23529. description: 外部商品代码
  23530. type: string
  23531. preSettle:
  23532. description: 昨结价
  23533. type: number
  23534. runSteps:
  23535. description: 交易日开休市计划
  23536. items:
  23537. $ref: '#/definitions/quote.TSDataRunStep'
  23538. type: array
  23539. startTime:
  23540. description: 开始时间
  23541. type: string
  23542. tradeDate:
  23543. description: 交易日
  23544. type: string
  23545. type: object
  23546. quote.TSDataRunStep:
  23547. properties:
  23548. end:
  23549. description: 真实结束时间
  23550. type: string
  23551. endflag:
  23552. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  23553. type: integer
  23554. endtime:
  23555. description: 结束时间(HH:mm)
  23556. type: string
  23557. endweekday:
  23558. description: 结束周几
  23559. type: integer
  23560. groupid:
  23561. description: 分组ID
  23562. type: integer
  23563. runstep:
  23564. description: 运行阶段 - 2:连续交易
  23565. type: integer
  23566. sectionid:
  23567. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  23568. 结束时间=结算时间 结束周几=结算周几
  23569. type: integer
  23570. start:
  23571. description: 真实开始时间
  23572. type: string
  23573. startflag:
  23574. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  23575. type: integer
  23576. starttime:
  23577. description: 起始时间(HH:mm)
  23578. type: string
  23579. startweekday:
  23580. description: 起始周几
  23581. type: integer
  23582. tradeweekday:
  23583. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  23584. type: integer
  23585. type: object
  23586. szdz.QueryConvertLogRsp:
  23587. properties:
  23588. accountid:
  23589. description: 资金账户ID
  23590. type: integer
  23591. clientticket:
  23592. description: 客户端流水号
  23593. type: string
  23594. converttype:
  23595. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  23596. type: integer
  23597. createtime:
  23598. description: 记账时间
  23599. type: string
  23600. daymaxvalue:
  23601. description: 配置当日最大转入限制
  23602. type: number
  23603. daymaxvalue2:
  23604. description: 配置当日最大转入限制(转入)
  23605. type: number
  23606. goodscode:
  23607. description: 商品代码
  23608. type: string
  23609. goodsname:
  23610. description: 商品名称
  23611. type: string
  23612. handlestatus:
  23613. description: 处理状态
  23614. type: integer
  23615. innergoodsid:
  23616. description: 内部商品ID
  23617. type: integer
  23618. inratio:
  23619. description: 配置转入比值
  23620. type: integer
  23621. invalue:
  23622. description: 目标值
  23623. type: number
  23624. logid:
  23625. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  23626. type: integer
  23627. mobile:
  23628. description: 手机号码(加密存储)
  23629. type: string
  23630. outergoodscode:
  23631. description: 外部商品代码[JD\PD]
  23632. type: string
  23633. outratio:
  23634. description: 配置转出比值
  23635. type: integer
  23636. outvalue:
  23637. description: 源值
  23638. type: number
  23639. pddecimalplace:
  23640. description: PD小数位
  23641. type: integer
  23642. qty:
  23643. description: 数量
  23644. type: string
  23645. remark:
  23646. description: 备注
  23647. type: string
  23648. sessionid:
  23649. description: 会话ID
  23650. type: integer
  23651. timemaxvalue:
  23652. description: 配置单次最大转入限制
  23653. type: number
  23654. timemaxvalue2:
  23655. description: 配置单次最大转入限制(转入)
  23656. type: number
  23657. timeminvalue:
  23658. description: 配置单次最小数量限制
  23659. type: number
  23660. timeminvalue2:
  23661. description: 配置单次最小数量限制(转入)
  23662. type: number
  23663. tradedate:
  23664. description: 交易日(yyyyMMdd)
  23665. type: string
  23666. userid:
  23667. description: 用户ID
  23668. type: integer
  23669. required:
  23670. - logid
  23671. type: object
  23672. szdz.QueryGoodsPickupRsp:
  23673. properties:
  23674. accountid:
  23675. description: 账户ID
  23676. type: integer
  23677. address:
  23678. description: 提货人详细地址
  23679. type: string
  23680. auditer:
  23681. description: 审核人
  23682. type: integer
  23683. audittime:
  23684. description: 审核时间
  23685. type: string
  23686. cardnum:
  23687. description: 提货人证件号码
  23688. type: string
  23689. cardtypeid:
  23690. description: 提货人证件类型
  23691. type: integer
  23692. checkremark:
  23693. description: 审核备注
  23694. type: string
  23695. goodscode:
  23696. description: 商品代码
  23697. type: string
  23698. goodsid:
  23699. description: 商品ID
  23700. type: integer
  23701. goodsname:
  23702. description: 商品名称
  23703. type: string
  23704. handlestatus:
  23705. description: 处理状态
  23706. type: integer
  23707. marketid:
  23708. description: 市场ID
  23709. type: integer
  23710. phonenum:
  23711. description: 提货人联系方式
  23712. type: string
  23713. qty:
  23714. description: 提货数量
  23715. type: number
  23716. recivername:
  23717. description: 提货人姓名
  23718. type: string
  23719. reqtime:
  23720. description: 更新时间
  23721. type: string
  23722. takemode:
  23723. description: 提货方式 - 2:自提 3:配送
  23724. type: integer
  23725. takeorderid:
  23726. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  23727. type: string
  23728. takeorderstatus:
  23729. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23730. type: integer
  23731. takeremark:
  23732. description: 提货备注
  23733. type: string
  23734. tradedate:
  23735. description: 交易日(yyyyMMdd)
  23736. type: string
  23737. userid:
  23738. description: 用户ID
  23739. type: integer
  23740. required:
  23741. - takeorderid
  23742. type: object
  23743. szdz.QueryRecieptOrderRsp:
  23744. properties:
  23745. accountName:
  23746. description: 所属账号名称(已脱敏)
  23747. type: string
  23748. accountid:
  23749. description: 资金账号
  23750. type: integer
  23751. buyorsell:
  23752. description: 方向 - 0:买 1:卖
  23753. type: integer
  23754. enableqty:
  23755. description: 可摘数量
  23756. type: integer
  23757. goodscode:
  23758. description: 商品代码
  23759. type: string
  23760. goodsid:
  23761. description: 商品ID
  23762. type: integer
  23763. goodsname:
  23764. description: 商品名称
  23765. type: string
  23766. orderid:
  23767. description: 委托单号
  23768. type: string
  23769. orderprice:
  23770. description: 委托价格
  23771. type: number
  23772. ordertime:
  23773. description: 委托时间
  23774. type: string
  23775. tradedate:
  23776. description: 交易日(yyyyMMdd)
  23777. type: string
  23778. required:
  23779. - ordertime
  23780. type: object
  23781. szdz.QuerySZDZTradePositionRsp:
  23782. properties:
  23783. accountid:
  23784. description: 账号Id
  23785. type: integer
  23786. agreeunit:
  23787. description: 合约单位
  23788. type: number
  23789. averageprice:
  23790. description: 持仓均价
  23791. type: number
  23792. buyorsell:
  23793. description: 方向 - 0:买 1:卖
  23794. type: integer
  23795. closetotalqty:
  23796. description: 平仓总数量
  23797. type: integer
  23798. curholderamount:
  23799. description: 当前持仓总金额
  23800. type: number
  23801. curpositionqty:
  23802. description: 当前持仓总数量
  23803. type: integer
  23804. currencyid:
  23805. description: 报价货币ID
  23806. type: integer
  23807. curtdposition:
  23808. description: 期末今日头寸
  23809. type: integer
  23810. decimalplace:
  23811. description: 报价小数位
  23812. type: integer
  23813. enableqty:
  23814. description: 可用量
  23815. type: integer
  23816. fretdposition:
  23817. description: 冻结今日头寸
  23818. type: integer
  23819. frozenqty:
  23820. description: 持仓冻结数量
  23821. type: integer
  23822. goodscode:
  23823. description: 商品代码(内部)
  23824. type: string
  23825. goodsid:
  23826. description: 商品Id
  23827. type: integer
  23828. goodsname:
  23829. description: 商品名称
  23830. type: string
  23831. goodunit:
  23832. description: 报价单位
  23833. type: string
  23834. goodunitid:
  23835. description: 报价单位ID
  23836. type: integer
  23837. holderamount:
  23838. description: 期初持仓总金额
  23839. type: number
  23840. marketid:
  23841. description: 市场ID
  23842. type: integer
  23843. openreqqty:
  23844. description: 开仓申请数量
  23845. type: integer
  23846. opentotalqty:
  23847. description: 开仓总数量
  23848. type: integer
  23849. otherfrozenqty:
  23850. description: 持仓其他冻结数量(交割冻结)
  23851. type: integer
  23852. positionqty:
  23853. description: 期初持仓数量
  23854. type: integer
  23855. szdz3freezqty:
  23856. description: 尚志大宗转换冻结总数量
  23857. type: integer
  23858. tnqty:
  23859. description: T+N冻结总量
  23860. type: integer
  23861. tnusedqty:
  23862. description: T+N使用量
  23863. type: integer
  23864. trademode:
  23865. description: 交易模式
  23866. type: integer
  23867. usedmargin:
  23868. description: 占用保证金
  23869. type: number
  23870. type: object
  23871. taaccount.QueryAmountLogRsp:
  23872. properties:
  23873. accountid:
  23874. description: 资金账户ID
  23875. type: integer
  23876. agoodscode:
  23877. description: 竞拍商品代码
  23878. type: string
  23879. agoodsname:
  23880. description: 竞拍商品名称
  23881. type: string
  23882. amount:
  23883. description: 资金金额
  23884. type: number
  23885. amountadjusttype:
  23886. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  23887. type: integer
  23888. autoid:
  23889. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  23890. type: integer
  23891. balance:
  23892. description: 期初余额
  23893. type: number
  23894. businesscode:
  23895. description: 业务编号
  23896. type: integer
  23897. createtime:
  23898. description: 发生时间
  23899. type: string
  23900. currencyid:
  23901. description: 币种ID
  23902. type: integer
  23903. currentbalance:
  23904. description: 期末余额(变动后金额)
  23905. type: number
  23906. dgoodscode:
  23907. description: 交割商品代码
  23908. type: string
  23909. dgoodsname:
  23910. description: 交割商品名称
  23911. type: string
  23912. goodscode:
  23913. description: 商品代码
  23914. type: string
  23915. goodsid:
  23916. description: 商品ID
  23917. type: integer
  23918. goodsname:
  23919. description: 商品名称
  23920. type: string
  23921. marketid:
  23922. description: 市场ID
  23923. type: integer
  23924. marketname:
  23925. description: 市场名称
  23926. type: string
  23927. moneyticket:
  23928. description: 资金流水号:银行端流水号
  23929. type: integer
  23930. operatetype:
  23931. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  23932. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  23933. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  23934. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  23935. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  23936. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  23937. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  23938. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  23939. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  23940. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  23941. type: integer
  23942. relationorderid:
  23943. description: 关联单号
  23944. type: string
  23945. remark:
  23946. description: 备注
  23947. type: string
  23948. trademode:
  23949. description: 交易模式
  23950. type: integer
  23951. required:
  23952. - accountid
  23953. - amount
  23954. - amountadjusttype
  23955. - autoid
  23956. - balance
  23957. - createtime
  23958. - currentbalance
  23959. - operatetype
  23960. type: object
  23961. taaccount.QueryHisAmountLogRsp:
  23962. properties:
  23963. accountid:
  23964. description: 资金账户ID
  23965. type: integer
  23966. agoodscode:
  23967. description: 竞拍商品代码
  23968. type: string
  23969. agoodsname:
  23970. description: 竞拍商品名称
  23971. type: string
  23972. amount:
  23973. description: 资金金额
  23974. type: number
  23975. amountadjusttype:
  23976. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  23977. type: integer
  23978. autoid:
  23979. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  23980. type: integer
  23981. balance:
  23982. description: 期初余额
  23983. type: number
  23984. businesscode:
  23985. description: 业务编号
  23986. type: integer
  23987. createtime:
  23988. description: 发生时间
  23989. type: string
  23990. currencyid:
  23991. description: 币种ID
  23992. type: integer
  23993. currentbalance:
  23994. description: 期末余额(变动后金额)
  23995. type: number
  23996. dgoodscode:
  23997. description: 交割商品代码
  23998. type: string
  23999. dgoodsname:
  24000. description: 交割商品名称
  24001. type: string
  24002. goodscode:
  24003. description: 商品代码
  24004. type: string
  24005. goodsid:
  24006. description: 商品ID
  24007. type: integer
  24008. goodsname:
  24009. description: 商品名称
  24010. type: string
  24011. histradedate:
  24012. description: 历史交易日
  24013. type: string
  24014. isvaliddata:
  24015. description: 是否有效 - 0:无效 1:有效
  24016. type: integer
  24017. marketid:
  24018. description: 市场ID
  24019. type: integer
  24020. marketname:
  24021. description: 市场名称
  24022. type: string
  24023. moneyticket:
  24024. description: 资金流水号:银行端流水号
  24025. type: integer
  24026. operatetype:
  24027. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  24028. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  24029. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  24030. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  24031. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  24032. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  24033. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  24034. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  24035. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  24036. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  24037. type: integer
  24038. relationorderid:
  24039. description: 关联单号
  24040. type: string
  24041. remark:
  24042. description: 备注
  24043. type: string
  24044. trademode:
  24045. description: 交易模式
  24046. type: integer
  24047. required:
  24048. - accountid
  24049. - amount
  24050. - amountadjusttype
  24051. - autoid
  24052. - balance
  24053. - createtime
  24054. - currentbalance
  24055. - histradedate
  24056. - operatetype
  24057. type: object
  24058. trade.QueryRecieptOrderRsp:
  24059. properties:
  24060. accountName:
  24061. description: 所属账号名称(已脱敏)
  24062. type: string
  24063. accountid:
  24064. description: 资金账号
  24065. type: integer
  24066. buyorsell:
  24067. description: 方向 - 0:买 1:卖
  24068. type: integer
  24069. enableqty:
  24070. description: 可摘数量
  24071. type: integer
  24072. goodscode:
  24073. description: 商品代码
  24074. type: string
  24075. goodsid:
  24076. description: 商品ID
  24077. type: integer
  24078. goodsname:
  24079. description: 商品名称
  24080. type: string
  24081. orderid:
  24082. description: 委托单号
  24083. type: string
  24084. orderprice:
  24085. description: 委托价格
  24086. type: number
  24087. ordertime:
  24088. description: 委托时间
  24089. type: string
  24090. tradedate:
  24091. description: 交易日(yyyyMMdd)
  24092. type: string
  24093. required:
  24094. - ordertime
  24095. type: object
  24096. user.LoginQueryRsp:
  24097. properties:
  24098. areaRoles:
  24099. description: 所属角色信息
  24100. items:
  24101. $ref: '#/definitions/models.Arearole'
  24102. type: array
  24103. exchangeRateConfigs:
  24104. description: 汇率信息
  24105. items:
  24106. $ref: '#/definitions/models.Exchangerateconfig'
  24107. type: array
  24108. externalExchanges:
  24109. description: 外部交易所
  24110. items:
  24111. $ref: '#/definitions/models.Externalexchange'
  24112. type: array
  24113. goodsgroups:
  24114. description: 商品组
  24115. items:
  24116. $ref: '#/definitions/models.Goodsgroup'
  24117. type: array
  24118. loginAccount:
  24119. $ref: '#/definitions/models.Loginaccount'
  24120. description: 登录账号
  24121. markets:
  24122. description: 市场
  24123. items:
  24124. $ref: '#/definitions/models.Market'
  24125. type: array
  24126. systemParams:
  24127. description: 系统参数
  24128. items:
  24129. $ref: '#/definitions/models.Systemparam'
  24130. type: array
  24131. userAccount:
  24132. $ref: '#/definitions/models.Useraccount'
  24133. description: 用户账号
  24134. userInfo:
  24135. $ref: '#/definitions/models.Userinfo'
  24136. description: 用户信息
  24137. username:
  24138. description: 用户姓名
  24139. type: string
  24140. type: object
  24141. info:
  24142. contact: {}
  24143. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  24144. termsOfService: http://www.muchinfo.cn
  24145. title: MTP2.0 查询服务 API
  24146. version: "1.0"
  24147. paths:
  24148. /CPTrade/QueryCPTradeMyBidInfos:
  24149. get:
  24150. parameters:
  24151. - description: 资金账户
  24152. in: query
  24153. name: accountid
  24154. required: true
  24155. type: integer
  24156. - description: 预售市场ID
  24157. in: query
  24158. name: marketid
  24159. type: integer
  24160. - description: 预售商品ID
  24161. in: query
  24162. name: goodsid
  24163. type: integer
  24164. produces:
  24165. - application/json
  24166. responses:
  24167. "200":
  24168. description: OK
  24169. schema:
  24170. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  24171. "500":
  24172. description: Internal Server Error
  24173. schema:
  24174. $ref: '#/definitions/app.Response'
  24175. security:
  24176. - ApiKeyAuth: []
  24177. summary: 查询产能预售我的出价信息
  24178. tags:
  24179. - 产能预售
  24180. /CPTrade/QueryCPTradeOrderDetail:
  24181. get:
  24182. parameters:
  24183. - description: 预售商品ID
  24184. in: query
  24185. name: goodsid
  24186. type: integer
  24187. - description: 预售市场ID
  24188. in: query
  24189. name: marketid
  24190. type: integer
  24191. - description: 预售商品ID列表 - 格式:1,2,3
  24192. in: query
  24193. name: goodsids
  24194. type: string
  24195. produces:
  24196. - application/json
  24197. responses:
  24198. "200":
  24199. description: OK
  24200. schema:
  24201. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  24202. "500":
  24203. description: Internal Server Error
  24204. schema:
  24205. $ref: '#/definitions/app.Response'
  24206. security:
  24207. - ApiKeyAuth: []
  24208. summary: 查询产能预售委托单信息
  24209. tags:
  24210. - 产能预售
  24211. /CPTrade/QueryMyCPTradeGoods:
  24212. get:
  24213. parameters:
  24214. - description: 资金账户
  24215. in: query
  24216. name: accountid
  24217. required: true
  24218. type: integer
  24219. produces:
  24220. - application/json
  24221. responses:
  24222. "200":
  24223. description: OK
  24224. schema:
  24225. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  24226. "500":
  24227. description: Internal Server Error
  24228. schema:
  24229. $ref: '#/definitions/app.Response'
  24230. security:
  24231. - ApiKeyAuth: []
  24232. summary: 查询我的预售信息
  24233. tags:
  24234. - 产能预售
  24235. /CPTrade/QueryPositionCancel:
  24236. get:
  24237. parameters:
  24238. - description: 账户ID
  24239. in: query
  24240. name: userid
  24241. required: true
  24242. type: integer
  24243. - description: 注销ID
  24244. in: query
  24245. name: cancelid
  24246. type: integer
  24247. - description: 资金账户ID
  24248. in: query
  24249. name: accountid
  24250. type: integer
  24251. produces:
  24252. - application/json
  24253. responses:
  24254. "200":
  24255. description: OK
  24256. schema:
  24257. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  24258. "500":
  24259. description: Internal Server Error
  24260. schema:
  24261. $ref: '#/definitions/app.Response'
  24262. security:
  24263. - ApiKeyAuth: []
  24264. summary: 查询远期订单注销申请信息
  24265. tags:
  24266. - 产能预售
  24267. /CPTrade/QueryPreasleApply:
  24268. get:
  24269. parameters:
  24270. - description: 账户ID
  24271. in: query
  24272. name: userid
  24273. required: true
  24274. type: integer
  24275. - description: 申请ID
  24276. in: query
  24277. name: applyid
  24278. type: integer
  24279. - description: 资金账户ID
  24280. in: query
  24281. name: accountid
  24282. type: integer
  24283. produces:
  24284. - application/json
  24285. responses:
  24286. "200":
  24287. description: OK
  24288. schema:
  24289. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  24290. "500":
  24291. description: Internal Server Error
  24292. schema:
  24293. $ref: '#/definitions/app.Response'
  24294. security:
  24295. - ApiKeyAuth: []
  24296. summary: 查询产能预售申请信息
  24297. tags:
  24298. - 产能预售
  24299. /CPTrade/QueryPresaleGoodsEx:
  24300. get:
  24301. parameters:
  24302. - description: 预售商品ID
  24303. in: query
  24304. name: goodsid
  24305. type: integer
  24306. - description: 预售市场ID
  24307. in: query
  24308. name: marketid
  24309. type: integer
  24310. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  24311. in: query
  24312. name: presalemode
  24313. type: integer
  24314. - description: 预售商品ID列表 - 格式:1,2,3
  24315. in: query
  24316. name: goodsids
  24317. type: string
  24318. - description: 预售商品代码
  24319. in: query
  24320. name: goodscode
  24321. type: string
  24322. produces:
  24323. - application/json
  24324. responses:
  24325. "200":
  24326. description: OK
  24327. schema:
  24328. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  24329. "500":
  24330. description: Internal Server Error
  24331. schema:
  24332. $ref: '#/definitions/app.Response'
  24333. security:
  24334. - ApiKeyAuth: []
  24335. summary: 查询产能预售商品扩展信息
  24336. tags:
  24337. - 产能预售
  24338. /CPTrade/QueryUserGoodsData:
  24339. get:
  24340. parameters:
  24341. - description: 资金账户ID
  24342. in: query
  24343. name: accountid
  24344. required: true
  24345. type: integer
  24346. produces:
  24347. - application/json
  24348. responses:
  24349. "200":
  24350. description: OK
  24351. schema:
  24352. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  24353. "500":
  24354. description: Internal Server Error
  24355. schema:
  24356. $ref: '#/definitions/app.Response'
  24357. security:
  24358. - ApiKeyAuth: []
  24359. summary: 查询远期订单信息
  24360. tags:
  24361. - 产能预售
  24362. /Common/DeleteNewFuncmenu:
  24363. delete:
  24364. consumes:
  24365. - application/json
  24366. parameters:
  24367. - description: 菜单表数据,只需要resourcecode字段即可
  24368. in: body
  24369. name: data
  24370. required: true
  24371. schema:
  24372. $ref: '#/definitions/models.NewFuncmenulist'
  24373. produces:
  24374. - application/json
  24375. responses:
  24376. "200":
  24377. description: OK
  24378. schema:
  24379. $ref: '#/definitions/app.Response'
  24380. "500":
  24381. description: Internal Server Error
  24382. schema:
  24383. $ref: '#/definitions/app.Response'
  24384. security:
  24385. - ApiKeyAuth: []
  24386. summary: 删除菜单表数据
  24387. tags:
  24388. - 通用服务
  24389. /Common/FindNewFuncmenu:
  24390. get:
  24391. parameters:
  24392. - description: 资源代码
  24393. in: query
  24394. name: resourcecode
  24395. type: string
  24396. - description: 上级资源代码
  24397. in: query
  24398. name: parentcode
  24399. type: string
  24400. - description: 资源名(Title), 模糊查询
  24401. in: query
  24402. name: resourcename
  24403. type: string
  24404. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  24405. in: query
  24406. name: menutype
  24407. type: string
  24408. produces:
  24409. - application/json
  24410. responses:
  24411. "200":
  24412. description: OK
  24413. schema:
  24414. items:
  24415. $ref: '#/definitions/models.NewFuncmenulist'
  24416. type: array
  24417. "500":
  24418. description: Internal Server Error
  24419. schema:
  24420. $ref: '#/definitions/app.Response'
  24421. security:
  24422. - ApiKeyAuth: []
  24423. summary: 获取菜单表数据
  24424. tags:
  24425. - 通用服务
  24426. /Common/GetAllEnums:
  24427. get:
  24428. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  24429. parameters:
  24430. - description: 起始自增ID
  24431. in: query
  24432. name: autoid
  24433. type: integer
  24434. produces:
  24435. - application/json
  24436. responses:
  24437. "200":
  24438. description: OK
  24439. schema:
  24440. $ref: '#/definitions/models.Enumdicitem'
  24441. "500":
  24442. description: Internal Server Error
  24443. schema:
  24444. $ref: '#/definitions/app.Response'
  24445. summary: 获取所有枚举信息
  24446. tags:
  24447. - 通用服务
  24448. /Common/GetClientMenus:
  24449. get:
  24450. parameters:
  24451. - description: 登录账号
  24452. in: query
  24453. name: loginID
  24454. required: true
  24455. type: integer
  24456. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  24457. in: query
  24458. name: clientType
  24459. type: integer
  24460. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  24461. in: query
  24462. name: name
  24463. type: string
  24464. produces:
  24465. - application/json
  24466. responses:
  24467. "200":
  24468. description: OK
  24469. schema:
  24470. items:
  24471. $ref: '#/definitions/common.ClientMenu'
  24472. type: array
  24473. "500":
  24474. description: Internal Server Error
  24475. schema:
  24476. $ref: '#/definitions/app.Response'
  24477. security:
  24478. - ApiKeyAuth: []
  24479. summary: 获取交易端菜单
  24480. tags:
  24481. - 通用服务
  24482. /Common/GetClientNewFuncmenu:
  24483. get:
  24484. parameters:
  24485. - description: 登录账号
  24486. in: query
  24487. name: loginid
  24488. required: true
  24489. type: integer
  24490. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  24491. in: query
  24492. name: menutype
  24493. required: true
  24494. type: integer
  24495. produces:
  24496. - application/json
  24497. responses:
  24498. "200":
  24499. description: OK
  24500. schema:
  24501. items:
  24502. $ref: '#/definitions/models.NewFuncmenulist'
  24503. type: array
  24504. "500":
  24505. description: Internal Server Error
  24506. schema:
  24507. $ref: '#/definitions/app.Response'
  24508. security:
  24509. - ApiKeyAuth: []
  24510. summary: 获取终端菜单
  24511. tags:
  24512. - 通用服务
  24513. /Common/GetDivisions:
  24514. get:
  24515. produces:
  24516. - application/json
  24517. responses:
  24518. "200":
  24519. description: OK
  24520. schema:
  24521. $ref: '#/definitions/models.Division'
  24522. "500":
  24523. description: Internal Server Error
  24524. schema:
  24525. $ref: '#/definitions/app.Response'
  24526. summary: 查询区域信息
  24527. tags:
  24528. - 通用服务
  24529. /Common/GetPCWebMenus:
  24530. get:
  24531. parameters:
  24532. - description: 登录账号
  24533. in: query
  24534. name: loginID
  24535. required: true
  24536. type: integer
  24537. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  24538. in: query
  24539. name: name
  24540. type: string
  24541. produces:
  24542. - application/json
  24543. responses:
  24544. "200":
  24545. description: OK
  24546. schema:
  24547. items:
  24548. $ref: '#/definitions/common.PCWebMenu'
  24549. type: array
  24550. "500":
  24551. description: Internal Server Error
  24552. schema:
  24553. $ref: '#/definitions/app.Response'
  24554. security:
  24555. - ApiKeyAuth: []
  24556. summary: 获取PCWeb交易端菜单
  24557. tags:
  24558. - 通用服务
  24559. /Common/GetServerTime:
  24560. get:
  24561. produces:
  24562. - application/json
  24563. responses:
  24564. "200":
  24565. description: OK
  24566. schema:
  24567. $ref: '#/definitions/app.Response'
  24568. "500":
  24569. description: Internal Server Error
  24570. schema:
  24571. $ref: '#/definitions/app.Response'
  24572. summary: 获取服务器时间
  24573. tags:
  24574. - 通用服务
  24575. /Common/InsertNewFuncmenu:
  24576. post:
  24577. consumes:
  24578. - application/json
  24579. parameters:
  24580. - description: 菜单表数据
  24581. in: body
  24582. name: data
  24583. required: true
  24584. schema:
  24585. $ref: '#/definitions/models.NewFuncmenulist'
  24586. produces:
  24587. - application/json
  24588. responses:
  24589. "200":
  24590. description: OK
  24591. schema:
  24592. $ref: '#/definitions/app.Response'
  24593. "500":
  24594. description: Internal Server Error
  24595. schema:
  24596. $ref: '#/definitions/app.Response'
  24597. security:
  24598. - ApiKeyAuth: []
  24599. summary: 插入菜单表数据
  24600. tags:
  24601. - 通用服务
  24602. /Common/NoticeReaded:
  24603. post:
  24604. parameters:
  24605. - description: 登录账号
  24606. in: query
  24607. name: loginID
  24608. required: true
  24609. type: integer
  24610. - description: 通知公告ID
  24611. in: query
  24612. name: noticeID
  24613. required: true
  24614. type: integer
  24615. produces:
  24616. - application/json
  24617. responses:
  24618. "200":
  24619. description: OK
  24620. schema:
  24621. $ref: '#/definitions/app.Response'
  24622. "500":
  24623. description: Internal Server Error
  24624. schema:
  24625. $ref: '#/definitions/app.Response'
  24626. security:
  24627. - ApiKeyAuth: []
  24628. summary: 通知公告设置已读请求
  24629. tags:
  24630. - 通用服务
  24631. /Common/QueryErrorInfos:
  24632. get:
  24633. description: 如果传入rowNumber,则返回此rowNumber后的数据
  24634. parameters:
  24635. - description: 起始行号前索引
  24636. in: query
  24637. name: rowNumber
  24638. type: string
  24639. produces:
  24640. - application/json
  24641. responses:
  24642. "200":
  24643. description: OK
  24644. schema:
  24645. $ref: '#/definitions/models.QueryErrorInfosRsp'
  24646. "500":
  24647. description: Internal Server Error
  24648. schema:
  24649. $ref: '#/definitions/app.Response'
  24650. summary: 获取数据库错误信息
  24651. tags:
  24652. - 通用服务
  24653. /Common/QueryImageConfigs:
  24654. get:
  24655. parameters:
  24656. - description: 用户id
  24657. in: query
  24658. name: userId
  24659. type: integer
  24660. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  24661. in: query
  24662. name: imageType
  24663. type: integer
  24664. produces:
  24665. - application/json
  24666. responses:
  24667. "200":
  24668. description: OK
  24669. schema:
  24670. $ref: '#/definitions/common.QueryImageConfigsRsp'
  24671. "500":
  24672. description: Internal Server Error
  24673. schema:
  24674. $ref: '#/definitions/app.Response'
  24675. summary: 查询轮播图配置信息
  24676. tags:
  24677. - 通用服务
  24678. /Common/QueryNotice:
  24679. get:
  24680. parameters:
  24681. - description: 页码
  24682. in: query
  24683. name: page
  24684. type: integer
  24685. - description: 每页条数
  24686. in: query
  24687. name: pagesize
  24688. type: integer
  24689. - description: 分页标志 0-page从0开始 1-page从1开始
  24690. in: query
  24691. name: pageflag
  24692. type: integer
  24693. - description: 登录账号
  24694. in: query
  24695. name: loginID
  24696. required: true
  24697. type: integer
  24698. - description: 消息类型 - 1:公告通知 2:系统消息
  24699. in: query
  24700. name: msgType
  24701. type: integer
  24702. - description: 是否只获取未读信息
  24703. in: query
  24704. name: onlyUnRead
  24705. type: boolean
  24706. - description: 自增ID,传入后会返回这个ID后面的记录
  24707. in: query
  24708. name: lastID
  24709. type: integer
  24710. produces:
  24711. - application/json
  24712. responses:
  24713. "200":
  24714. description: OK
  24715. schema:
  24716. $ref: '#/definitions/common.QueryNoticeRsp'
  24717. "500":
  24718. description: Internal Server Error
  24719. schema:
  24720. $ref: '#/definitions/app.Response'
  24721. security:
  24722. - ApiKeyAuth: []
  24723. summary: 通知公告系统消息查询
  24724. tags:
  24725. - 通用服务
  24726. /Common/QueryProvincesAndCities:
  24727. get:
  24728. parameters:
  24729. - description: 省ID
  24730. in: query
  24731. name: provinceID
  24732. type: integer
  24733. produces:
  24734. - application/json
  24735. responses:
  24736. "200":
  24737. description: OK
  24738. schema:
  24739. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  24740. "500":
  24741. description: Internal Server Error
  24742. schema:
  24743. $ref: '#/definitions/app.Response'
  24744. summary: 查询省市信息(不包括区)
  24745. tags:
  24746. - 通用服务
  24747. /Common/QueryRates:
  24748. get:
  24749. parameters:
  24750. - description: 页码
  24751. in: query
  24752. name: page
  24753. type: integer
  24754. - description: 每页条数
  24755. in: query
  24756. name: pagesize
  24757. type: integer
  24758. - description: 源币种ID
  24759. in: query
  24760. name: oricurrencyid
  24761. type: integer
  24762. - description: 目标币种ID
  24763. in: query
  24764. name: descurrencyid
  24765. type: integer
  24766. produces:
  24767. - application/json
  24768. responses:
  24769. "200":
  24770. description: OK
  24771. schema:
  24772. items:
  24773. $ref: '#/definitions/models.Exchangerateconfig'
  24774. type: array
  24775. "500":
  24776. description: Internal Server Error
  24777. schema:
  24778. $ref: '#/definitions/app.Response'
  24779. security:
  24780. - ApiKeyAuth: []
  24781. - LoginID: []
  24782. - Group: []
  24783. summary: 查询汇率信息
  24784. tags:
  24785. - 通用服务
  24786. /Common/QueryTableDefine:
  24787. get:
  24788. parameters:
  24789. - description: 表key
  24790. in: query
  24791. name: tableKey
  24792. type: string
  24793. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  24794. in: query
  24795. name: tableType
  24796. type: integer
  24797. produces:
  24798. - application/json
  24799. responses:
  24800. "200":
  24801. description: OK
  24802. schema:
  24803. $ref: '#/definitions/common.QueryTableDefineRsp'
  24804. "500":
  24805. description: Internal Server Error
  24806. schema:
  24807. $ref: '#/definitions/app.Response'
  24808. summary: 查询交易端列表头信息
  24809. tags:
  24810. - 通用服务
  24811. /Common/QueryTraderMenu:
  24812. get:
  24813. parameters:
  24814. - description: 登录账号
  24815. in: query
  24816. name: loginid
  24817. required: true
  24818. type: integer
  24819. produces:
  24820. - application/json
  24821. responses:
  24822. "200":
  24823. description: OK
  24824. schema:
  24825. $ref: '#/definitions/common.QueryTraderMenuRsp'
  24826. "500":
  24827. description: Internal Server Error
  24828. schema:
  24829. $ref: '#/definitions/app.Response'
  24830. summary: 查询交易端菜单
  24831. tags:
  24832. - 通用服务
  24833. /Common/UpdateNewFuncmenu:
  24834. put:
  24835. consumes:
  24836. - application/json
  24837. parameters:
  24838. - description: 菜单表数据
  24839. in: body
  24840. name: data
  24841. required: true
  24842. schema:
  24843. $ref: '#/definitions/models.NewFuncmenulist'
  24844. produces:
  24845. - application/json
  24846. responses:
  24847. "200":
  24848. description: OK
  24849. schema:
  24850. $ref: '#/definitions/app.Response'
  24851. "500":
  24852. description: Internal Server Error
  24853. schema:
  24854. $ref: '#/definitions/app.Response'
  24855. security:
  24856. - ApiKeyAuth: []
  24857. summary: 更新菜单表数据
  24858. tags:
  24859. - 通用服务
  24860. /Delivery/QueryDeliveryRelation:
  24861. get:
  24862. parameters:
  24863. - description: 商品ID
  24864. in: query
  24865. name: goodsid
  24866. type: integer
  24867. - description: 品种ID
  24868. in: query
  24869. name: deliverygoodsid
  24870. type: integer
  24871. - description: 市场ID
  24872. in: query
  24873. name: marketid
  24874. type: integer
  24875. produces:
  24876. - application/json
  24877. responses:
  24878. "200":
  24879. description: OK
  24880. schema:
  24881. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  24882. "500":
  24883. description: Internal Server Error
  24884. schema:
  24885. $ref: '#/definitions/app.Response'
  24886. security:
  24887. - ApiKeyAuth: []
  24888. summary: 查询商品交割关系表
  24889. tags:
  24890. - 交割服务
  24891. /Ermcp/GetErmcpGoods:
  24892. get:
  24893. parameters:
  24894. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  24895. in: query
  24896. name: userid
  24897. type: integer
  24898. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24899. in: query
  24900. name: lastUpdateTime
  24901. type: string
  24902. produces:
  24903. - application/json
  24904. responses:
  24905. "200":
  24906. description: OK
  24907. schema:
  24908. $ref: '#/definitions/models.ErmcpGoods'
  24909. "500":
  24910. description: Internal Server Error
  24911. schema:
  24912. $ref: '#/definitions/app.Response'
  24913. security:
  24914. - ApiKeyAuth: []
  24915. summary: 查询企业风管期货商品信息
  24916. tags:
  24917. - 企业风险管理(app)
  24918. /Ermcp/GetErmcpGoodsSortByPosition:
  24919. get:
  24920. parameters:
  24921. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  24922. in: query
  24923. name: sortIndex
  24924. type: string
  24925. produces:
  24926. - application/json
  24927. responses:
  24928. "200":
  24929. description: OK
  24930. schema:
  24931. $ref: '#/definitions/models.Goodssortbypreposition'
  24932. "500":
  24933. description: Internal Server Error
  24934. schema:
  24935. $ref: '#/definitions/app.Response'
  24936. security:
  24937. - ApiKeyAuth: []
  24938. summary: 查询企业风管期货主力、次主力商品信息
  24939. tags:
  24940. - 企业风险管理(app)
  24941. /Ermcp/GetErmcpOutAccountStatus:
  24942. get:
  24943. parameters:
  24944. - description: 登录账号
  24945. in: query
  24946. name: loginID
  24947. required: true
  24948. type: integer
  24949. produces:
  24950. - application/json
  24951. responses:
  24952. "200":
  24953. description: OK
  24954. schema:
  24955. $ref: '#/definitions/models.Hedgemarketopenlog'
  24956. "500":
  24957. description: Internal Server Error
  24958. schema:
  24959. $ref: '#/definitions/app.Response'
  24960. security:
  24961. - ApiKeyAuth: []
  24962. summary: 获取目标登录账号当前对冲账号在线状态
  24963. tags:
  24964. - 企业风险管理(app)
  24965. /Ermcp/GetErmcpRoleFuncMenuLists:
  24966. get:
  24967. parameters:
  24968. - description: 登录账号
  24969. in: query
  24970. name: loginID
  24971. required: true
  24972. type: integer
  24973. produces:
  24974. - application/json
  24975. responses:
  24976. "200":
  24977. description: OK
  24978. schema:
  24979. $ref: '#/definitions/models.Funcmenulist'
  24980. "500":
  24981. description: Internal Server Error
  24982. schema:
  24983. $ref: '#/definitions/app.Response'
  24984. security:
  24985. - ApiKeyAuth: []
  24986. summary: 获取企业风管终端权限
  24987. tags:
  24988. - 企业风险管理(app)
  24989. /Ermcp/QueryAccMgrBizGroupSet:
  24990. get:
  24991. parameters:
  24992. - description: 用户ID
  24993. in: query
  24994. name: userid
  24995. required: true
  24996. type: integer
  24997. - description: 现货商品id
  24998. in: query
  24999. name: deliverygoodsid
  25000. type: integer
  25001. produces:
  25002. - application/json
  25003. responses:
  25004. "200":
  25005. description: OK
  25006. schema:
  25007. items:
  25008. $ref: '#/definitions/models.ErmcpBizGroupEx'
  25009. type: array
  25010. "500":
  25011. description: Internal Server Error
  25012. schema:
  25013. $ref: '#/definitions/app.Response'
  25014. security:
  25015. - ApiKeyAuth: []
  25016. summary: 查询业务类型分组(账户管理/账户设置)
  25017. tags:
  25018. - 企业风险管理(app)
  25019. /Ermcp/QueryAccMgrLoginUser:
  25020. get:
  25021. parameters:
  25022. - description: 用户ID
  25023. in: query
  25024. name: userid
  25025. required: true
  25026. type: integer
  25027. - description: 用户类型 2-机构 7-企业成员
  25028. in: query
  25029. name: usertype
  25030. type: integer
  25031. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  25032. in: query
  25033. name: querytype
  25034. required: true
  25035. type: integer
  25036. produces:
  25037. - application/json
  25038. responses:
  25039. "200":
  25040. description: OK
  25041. schema:
  25042. items:
  25043. $ref: '#/definitions/models.ErmcpLoginUserEx'
  25044. type: array
  25045. "500":
  25046. description: Internal Server Error
  25047. schema:
  25048. $ref: '#/definitions/app.Response'
  25049. security:
  25050. - ApiKeyAuth: []
  25051. summary: 查询账户管理登录账号(账户管理/登录账号)
  25052. tags:
  25053. - 企业风险管理(app)
  25054. /Ermcp/QueryAccMgrMainAccountInfo:
  25055. get:
  25056. parameters:
  25057. - description: 用户ID
  25058. in: query
  25059. name: userid
  25060. type: integer
  25061. - description: 主账号id
  25062. in: query
  25063. name: accountid
  25064. type: integer
  25065. produces:
  25066. - application/json
  25067. responses:
  25068. "200":
  25069. description: OK
  25070. schema:
  25071. items:
  25072. $ref: '#/definitions/models.MainAccountInfo'
  25073. type: array
  25074. "500":
  25075. description: Internal Server Error
  25076. schema:
  25077. $ref: '#/definitions/app.Response'
  25078. security:
  25079. - ApiKeyAuth: []
  25080. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  25081. tags:
  25082. - 企业风险管理(app)
  25083. /Ermcp/QueryAccMgrRole:
  25084. get:
  25085. parameters:
  25086. - description: 用户ID
  25087. in: query
  25088. name: userid
  25089. required: true
  25090. type: integer
  25091. produces:
  25092. - application/json
  25093. responses:
  25094. "200":
  25095. description: OK
  25096. schema:
  25097. items:
  25098. $ref: '#/definitions/models.ErmcpRole'
  25099. type: array
  25100. "500":
  25101. description: Internal Server Error
  25102. schema:
  25103. $ref: '#/definitions/app.Response'
  25104. security:
  25105. - ApiKeyAuth: []
  25106. summary: 查询账户管理角色设置(账户管理/角色设置)
  25107. tags:
  25108. - 企业风险管理(app)
  25109. /Ermcp/QueryAccMgrRoleMenu:
  25110. get:
  25111. parameters:
  25112. - description: 用户ID
  25113. in: query
  25114. name: userid
  25115. required: true
  25116. type: integer
  25117. - description: 角色id(可多个,逗号隔开)
  25118. in: query
  25119. name: roleid
  25120. type: string
  25121. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  25122. in: query
  25123. name: menutype
  25124. type: integer
  25125. produces:
  25126. - application/json
  25127. responses:
  25128. "200":
  25129. description: OK
  25130. schema:
  25131. items:
  25132. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  25133. type: array
  25134. "500":
  25135. description: Internal Server Error
  25136. schema:
  25137. $ref: '#/definitions/app.Response'
  25138. security:
  25139. - ApiKeyAuth: []
  25140. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  25141. tags:
  25142. - 企业风险管理(app)
  25143. /Ermcp/QueryAccMgrTaAccountInfo:
  25144. get:
  25145. parameters:
  25146. - description: 用户ID
  25147. in: query
  25148. name: userid
  25149. required: true
  25150. type: integer
  25151. - description: 账号id
  25152. in: query
  25153. name: accountid
  25154. type: integer
  25155. produces:
  25156. - application/json
  25157. responses:
  25158. "200":
  25159. description: OK
  25160. schema:
  25161. items:
  25162. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  25163. type: array
  25164. "500":
  25165. description: Internal Server Error
  25166. schema:
  25167. $ref: '#/definitions/app.Response'
  25168. security:
  25169. - ApiKeyAuth: []
  25170. summary: 查询账户管理授信(账户管理/账户设置/授信)
  25171. tags:
  25172. - 企业风险管理(app)
  25173. /Ermcp/QueryAccMgrTaaccount:
  25174. get:
  25175. parameters:
  25176. - description: 用户ID
  25177. in: query
  25178. name: userid
  25179. required: true
  25180. type: integer
  25181. produces:
  25182. - application/json
  25183. responses:
  25184. "200":
  25185. description: OK
  25186. schema:
  25187. items:
  25188. $ref: '#/definitions/models.ErmcpTaAccountEx'
  25189. type: array
  25190. "500":
  25191. description: Internal Server Error
  25192. schema:
  25193. $ref: '#/definitions/app.Response'
  25194. security:
  25195. - ApiKeyAuth: []
  25196. summary: 查询账户管理期货账号(账户管理/期货账号)
  25197. tags:
  25198. - 企业风险管理(app)
  25199. /Ermcp/QueryAvaildGoodsGroup:
  25200. get:
  25201. parameters:
  25202. - description: 所属机构ID
  25203. in: query
  25204. name: userid
  25205. required: true
  25206. type: integer
  25207. produces:
  25208. - application/json
  25209. responses:
  25210. "200":
  25211. description: OK
  25212. schema:
  25213. items:
  25214. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  25215. type: array
  25216. "500":
  25217. description: Internal Server Error
  25218. schema:
  25219. $ref: '#/definitions/app.Response'
  25220. security:
  25221. - ApiKeyAuth: []
  25222. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  25223. tags:
  25224. - 企业风险管理(app)
  25225. /Ermcp/QueryBusinessDj:
  25226. get:
  25227. parameters:
  25228. - description: 用户ID
  25229. in: query
  25230. name: UserId
  25231. required: true
  25232. type: integer
  25233. - description: 用户类型 2-机构 7-企业成员
  25234. in: query
  25235. name: usertype
  25236. type: integer
  25237. - description: 现货合同ID, 不填则查所有
  25238. in: query
  25239. name: relatedid
  25240. type: string
  25241. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25242. in: query
  25243. name: applystatus
  25244. type: string
  25245. produces:
  25246. - application/json
  25247. responses:
  25248. "200":
  25249. description: OK
  25250. schema:
  25251. items:
  25252. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  25253. type: array
  25254. "500":
  25255. description: Internal Server Error
  25256. schema:
  25257. $ref: '#/definitions/app.Response'
  25258. security:
  25259. - ApiKeyAuth: []
  25260. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  25261. tags:
  25262. - 企业风险管理(app)
  25263. /Ermcp/QueryBusinessFp:
  25264. get:
  25265. parameters:
  25266. - description: 用户ID
  25267. in: query
  25268. name: UserId
  25269. required: true
  25270. type: integer
  25271. - description: 用户类型 2-机构 7-企业成员
  25272. in: query
  25273. name: usertype
  25274. type: integer
  25275. - description: 现货合同ID, 不填则查所有
  25276. in: query
  25277. name: relatedid
  25278. type: string
  25279. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25280. in: query
  25281. name: applystatus
  25282. type: string
  25283. produces:
  25284. - application/json
  25285. responses:
  25286. "200":
  25287. description: OK
  25288. schema:
  25289. items:
  25290. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  25291. type: array
  25292. "500":
  25293. description: Internal Server Error
  25294. schema:
  25295. $ref: '#/definitions/app.Response'
  25296. security:
  25297. - ApiKeyAuth: []
  25298. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  25299. tags:
  25300. - 企业风险管理(app)
  25301. /Ermcp/QueryBusinessJs:
  25302. get:
  25303. parameters:
  25304. - description: 用户ID
  25305. in: query
  25306. name: UserId
  25307. required: true
  25308. type: integer
  25309. - description: 用户类型 2-机构 7-企业成员
  25310. in: query
  25311. name: usertype
  25312. type: integer
  25313. - description: 现货合同ID, 不填则查所有
  25314. in: query
  25315. name: relatedid
  25316. type: string
  25317. - description: 操作申请id
  25318. in: query
  25319. name: operateapplyid
  25320. type: string
  25321. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25322. in: query
  25323. name: applystatus
  25324. type: string
  25325. produces:
  25326. - application/json
  25327. responses:
  25328. "200":
  25329. description: OK
  25330. schema:
  25331. items:
  25332. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  25333. type: array
  25334. "500":
  25335. description: Internal Server Error
  25336. schema:
  25337. $ref: '#/definitions/app.Response'
  25338. security:
  25339. - ApiKeyAuth: []
  25340. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  25341. tags:
  25342. - 企业风险管理(app)
  25343. /Ermcp/QueryBusinessJsEx:
  25344. get:
  25345. parameters:
  25346. - description: 用户ID
  25347. in: query
  25348. name: UserId
  25349. required: true
  25350. type: integer
  25351. - description: 用户类型 2-机构 7-企业成员
  25352. in: query
  25353. name: usertype
  25354. type: integer
  25355. - description: 现货合同ID, 不填则查所有
  25356. in: query
  25357. name: relatedid
  25358. type: string
  25359. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25360. in: query
  25361. name: applystatus
  25362. type: string
  25363. produces:
  25364. - application/json
  25365. responses:
  25366. "200":
  25367. description: OK
  25368. schema:
  25369. items:
  25370. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  25371. type: array
  25372. "500":
  25373. description: Internal Server Error
  25374. schema:
  25375. $ref: '#/definitions/app.Response'
  25376. security:
  25377. - ApiKeyAuth: []
  25378. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  25379. tags:
  25380. - 企业风险管理(app)
  25381. /Ermcp/QueryBusinessKx:
  25382. get:
  25383. parameters:
  25384. - description: 用户ID
  25385. in: query
  25386. name: UserId
  25387. required: true
  25388. type: integer
  25389. - description: 用户类型 2-机构 7-企业成员
  25390. in: query
  25391. name: usertype
  25392. type: integer
  25393. - description: 现货合同ID, 不填则查所有
  25394. in: query
  25395. name: relatedid
  25396. type: string
  25397. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25398. in: query
  25399. name: applystatus
  25400. type: string
  25401. produces:
  25402. - application/json
  25403. responses:
  25404. "200":
  25405. description: OK
  25406. schema:
  25407. items:
  25408. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  25409. type: array
  25410. "500":
  25411. description: Internal Server Error
  25412. schema:
  25413. $ref: '#/definitions/app.Response'
  25414. security:
  25415. - ApiKeyAuth: []
  25416. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  25417. tags:
  25418. - 企业风险管理(app)
  25419. /Ermcp/QueryChangeLog:
  25420. get:
  25421. parameters:
  25422. - description: 合同ID
  25423. in: query
  25424. name: RelatedId
  25425. required: true
  25426. type: string
  25427. produces:
  25428. - application/json
  25429. responses:
  25430. "200":
  25431. description: OK
  25432. schema:
  25433. items:
  25434. $ref: '#/definitions/ermcp.QryOPLogRsp'
  25435. type: array
  25436. "500":
  25437. description: Internal Server Error
  25438. schema:
  25439. $ref: '#/definitions/app.Response'
  25440. security:
  25441. - ApiKeyAuth: []
  25442. summary: 查询变更记录
  25443. tags:
  25444. - 企业风险管理(app)
  25445. /Ermcp/QueryErmcpHisOrderDetails:
  25446. get:
  25447. parameters:
  25448. - description: 资金账户ID
  25449. in: query
  25450. name: accountID
  25451. required: true
  25452. type: integer
  25453. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25454. in: query
  25455. name: startDate
  25456. type: string
  25457. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25458. in: query
  25459. name: endDate
  25460. type: string
  25461. produces:
  25462. - application/json
  25463. responses:
  25464. "200":
  25465. description: OK
  25466. schema:
  25467. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  25468. "500":
  25469. description: Internal Server Error
  25470. schema:
  25471. $ref: '#/definitions/app.Response'
  25472. security:
  25473. - ApiKeyAuth: []
  25474. summary: 获取企业风管期货历史委托单信息
  25475. tags:
  25476. - 企业风险管理(app)
  25477. /Ermcp/QueryErmcpHisTradeDetails:
  25478. get:
  25479. parameters:
  25480. - description: 资金账户ID
  25481. in: query
  25482. name: accountID
  25483. required: true
  25484. type: integer
  25485. - description: 商品ID
  25486. in: query
  25487. name: goodsID
  25488. type: integer
  25489. - description: 买卖方向,0:买 1:卖
  25490. in: query
  25491. name: buyOrSell
  25492. type: integer
  25493. - description: 关联委托单号
  25494. in: query
  25495. name: orderID
  25496. type: integer
  25497. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25498. in: query
  25499. name: startDate
  25500. type: string
  25501. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25502. in: query
  25503. name: endDate
  25504. type: string
  25505. produces:
  25506. - application/json
  25507. responses:
  25508. "200":
  25509. description: OK
  25510. schema:
  25511. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  25512. "500":
  25513. description: Internal Server Error
  25514. schema:
  25515. $ref: '#/definitions/app.Response'
  25516. security:
  25517. - ApiKeyAuth: []
  25518. summary: 获取企业风管期货历史成交单信息
  25519. tags:
  25520. - 企业风险管理(app)
  25521. /Ermcp/QueryErmcpInnerHolderDetails:
  25522. get:
  25523. parameters:
  25524. - description: 资金账户ID
  25525. in: query
  25526. name: accountID
  25527. required: true
  25528. type: integer
  25529. - description: 商品ID
  25530. in: query
  25531. name: goodsID
  25532. type: integer
  25533. - description: 买卖方向,0:买 1:卖
  25534. in: query
  25535. name: buyOrSell
  25536. type: integer
  25537. produces:
  25538. - application/json
  25539. responses:
  25540. "200":
  25541. description: OK
  25542. schema:
  25543. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  25544. "500":
  25545. description: Internal Server Error
  25546. schema:
  25547. $ref: '#/definitions/app.Response'
  25548. security:
  25549. - ApiKeyAuth: []
  25550. summary: 获取企业风管期货内部持仓单信息
  25551. tags:
  25552. - 企业风险管理(app)
  25553. /Ermcp/QueryErmcpOrderDetails:
  25554. get:
  25555. parameters:
  25556. - description: 资金账户ID
  25557. in: query
  25558. name: accountID
  25559. required: true
  25560. type: integer
  25561. produces:
  25562. - application/json
  25563. responses:
  25564. "200":
  25565. description: OK
  25566. schema:
  25567. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  25568. "500":
  25569. description: Internal Server Error
  25570. schema:
  25571. $ref: '#/definitions/app.Response'
  25572. security:
  25573. - ApiKeyAuth: []
  25574. summary: 获取企业风管期货委托单信息
  25575. tags:
  25576. - 企业风险管理(app)
  25577. /Ermcp/QueryErmcpTradeDetails:
  25578. get:
  25579. parameters:
  25580. - description: 资金账户ID
  25581. in: query
  25582. name: accountID
  25583. required: true
  25584. type: integer
  25585. - description: 商品ID
  25586. in: query
  25587. name: goodsID
  25588. type: integer
  25589. - description: 买卖方向,0:买 1:卖
  25590. in: query
  25591. name: buyOrSell
  25592. type: integer
  25593. - description: 关联委托单号
  25594. in: query
  25595. name: orderID
  25596. type: integer
  25597. produces:
  25598. - application/json
  25599. responses:
  25600. "200":
  25601. description: OK
  25602. schema:
  25603. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  25604. "500":
  25605. description: Internal Server Error
  25606. schema:
  25607. $ref: '#/definitions/app.Response'
  25608. security:
  25609. - ApiKeyAuth: []
  25610. summary: 获取企业风管期货成交单信息
  25611. tags:
  25612. - 企业风险管理(app)
  25613. /Ermcp/QueryErmcpTradePosition:
  25614. get:
  25615. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  25616. parameters:
  25617. - description: 资金账户ID
  25618. in: query
  25619. name: accountID
  25620. required: true
  25621. type: integer
  25622. - description: 所属市场ID
  25623. in: query
  25624. name: marketID
  25625. type: integer
  25626. produces:
  25627. - application/json
  25628. responses:
  25629. "200":
  25630. description: OK
  25631. schema:
  25632. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  25633. "500":
  25634. description: Internal Server Error
  25635. schema:
  25636. $ref: '#/definitions/app.Response'
  25637. security:
  25638. - ApiKeyAuth: []
  25639. summary: 获取企业风管期货持仓头寸信息
  25640. tags:
  25641. - 企业风险管理(app)
  25642. /Ermcp/QueryExposureDetail:
  25643. get:
  25644. parameters:
  25645. - description: 所属机构ID
  25646. in: query
  25647. name: areaUserId
  25648. required: true
  25649. type: integer
  25650. - description: 套保商品
  25651. in: query
  25652. name: middleGoodsId
  25653. required: true
  25654. type: integer
  25655. produces:
  25656. - application/json
  25657. responses:
  25658. "200":
  25659. description: OK
  25660. schema:
  25661. items:
  25662. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  25663. type: array
  25664. "500":
  25665. description: Internal Server Error
  25666. schema:
  25667. $ref: '#/definitions/app.Response'
  25668. security:
  25669. - ApiKeyAuth: []
  25670. summary: 查询敞口现货明细
  25671. tags:
  25672. - 企业风险管理(app)
  25673. /Ermcp/QueryExposureGoods:
  25674. get:
  25675. parameters:
  25676. - description: 套保商品id
  25677. in: query
  25678. name: middlegoodsid
  25679. required: true
  25680. type: integer
  25681. produces:
  25682. - application/json
  25683. responses:
  25684. "200":
  25685. description: OK
  25686. schema:
  25687. items:
  25688. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  25689. type: array
  25690. "500":
  25691. description: Internal Server Error
  25692. schema:
  25693. $ref: '#/definitions/app.Response'
  25694. security:
  25695. - ApiKeyAuth: []
  25696. summary: 查询敞口主力合约
  25697. tags:
  25698. - 企业风险管理(app)
  25699. /Ermcp/QueryExposureHedgePosition:
  25700. get:
  25701. parameters:
  25702. - description: 用户id
  25703. in: query
  25704. name: userid
  25705. required: true
  25706. type: integer
  25707. produces:
  25708. - application/json
  25709. responses:
  25710. "200":
  25711. description: OK
  25712. schema:
  25713. items:
  25714. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  25715. type: array
  25716. "500":
  25717. description: Internal Server Error
  25718. schema:
  25719. $ref: '#/definitions/app.Response'
  25720. security:
  25721. - ApiKeyAuth: []
  25722. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  25723. tags:
  25724. - 企业风险管理(app)
  25725. /Ermcp/QueryExposureHedgePositionDetail:
  25726. get:
  25727. parameters:
  25728. - description: 所属机构ID
  25729. in: query
  25730. name: userid
  25731. required: true
  25732. type: integer
  25733. - description: 商品id
  25734. in: query
  25735. name: goodsId
  25736. required: true
  25737. type: integer
  25738. produces:
  25739. - application/json
  25740. responses:
  25741. "200":
  25742. description: OK
  25743. schema:
  25744. items:
  25745. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  25746. type: array
  25747. "500":
  25748. description: Internal Server Error
  25749. schema:
  25750. $ref: '#/definitions/app.Response'
  25751. security:
  25752. - ApiKeyAuth: []
  25753. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  25754. tags:
  25755. - 企业风险管理(app)
  25756. /Ermcp/QueryExposureSpot:
  25757. get:
  25758. parameters:
  25759. - description: 所属机构ID
  25760. in: query
  25761. name: areaUserId
  25762. required: true
  25763. type: integer
  25764. produces:
  25765. - application/json
  25766. responses:
  25767. "200":
  25768. description: OK
  25769. schema:
  25770. items:
  25771. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  25772. type: array
  25773. "500":
  25774. description: Internal Server Error
  25775. schema:
  25776. $ref: '#/definitions/app.Response'
  25777. security:
  25778. - ApiKeyAuth: []
  25779. summary: 查询敞口现货头寸(敞口/现货头寸)
  25780. tags:
  25781. - 企业风险管理(app)
  25782. /Ermcp/QueryExposureSpotDetail:
  25783. get:
  25784. parameters:
  25785. - description: 所属机构ID
  25786. in: query
  25787. name: areaUserId
  25788. required: true
  25789. type: integer
  25790. - description: 现货品种ID
  25791. in: query
  25792. name: wrstandardId
  25793. required: true
  25794. type: integer
  25795. produces:
  25796. - application/json
  25797. responses:
  25798. "200":
  25799. description: OK
  25800. schema:
  25801. items:
  25802. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  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/QueryFuturesCompany:
  25814. get:
  25815. produces:
  25816. - application/json
  25817. responses:
  25818. "200":
  25819. description: OK
  25820. schema:
  25821. items:
  25822. $ref: '#/definitions/models.ErmcpFuturesCompany'
  25823. type: array
  25824. "500":
  25825. description: Internal Server Error
  25826. schema:
  25827. $ref: '#/definitions/app.Response'
  25828. security:
  25829. - ApiKeyAuth: []
  25830. summary: 查询期货公司
  25831. tags:
  25832. - 企业风险管理(app)
  25833. /Ermcp/QueryGGConvertConfig:
  25834. get:
  25835. parameters:
  25836. - description: 品种id(不填则查所有)
  25837. in: query
  25838. name: goodsgroupid
  25839. type: integer
  25840. produces:
  25841. - application/json
  25842. responses:
  25843. "200":
  25844. description: OK
  25845. schema:
  25846. items:
  25847. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  25848. type: array
  25849. "500":
  25850. description: Internal Server Error
  25851. schema:
  25852. $ref: '#/definitions/app.Response'
  25853. security:
  25854. - ApiKeyAuth: []
  25855. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  25856. tags:
  25857. - 企业风险管理(app)
  25858. /Ermcp/QueryGoodsBrand:
  25859. get:
  25860. parameters:
  25861. - description: 用户ID
  25862. in: query
  25863. name: userid
  25864. required: true
  25865. type: integer
  25866. - description: 现货商品ID
  25867. in: query
  25868. name: wrstandardid
  25869. type: integer
  25870. produces:
  25871. - application/json
  25872. responses:
  25873. "200":
  25874. description: OK
  25875. schema:
  25876. items:
  25877. $ref: '#/definitions/models.ErmcpGoodsBrand'
  25878. type: array
  25879. "500":
  25880. description: Internal Server Error
  25881. schema:
  25882. $ref: '#/definitions/app.Response'
  25883. security:
  25884. - ApiKeyAuth: []
  25885. summary: 查询商品品牌
  25886. tags:
  25887. - 企业风险管理(app)
  25888. /Ermcp/QueryGoodsModel:
  25889. get:
  25890. parameters:
  25891. - description: 用户ID
  25892. in: query
  25893. name: userid
  25894. required: true
  25895. type: integer
  25896. produces:
  25897. - application/json
  25898. responses:
  25899. "200":
  25900. description: OK
  25901. schema:
  25902. items:
  25903. $ref: '#/definitions/models.ErmcpGoodsModel'
  25904. type: array
  25905. "500":
  25906. description: Internal Server Error
  25907. schema:
  25908. $ref: '#/definitions/app.Response'
  25909. security:
  25910. - ApiKeyAuth: []
  25911. summary: 查询商品型号
  25912. tags:
  25913. - 企业风险管理(app)
  25914. /Ermcp/QueryHisExposure:
  25915. get:
  25916. parameters:
  25917. - description: 用户id
  25918. in: query
  25919. name: userid
  25920. required: true
  25921. type: integer
  25922. - description: 每个品种记录数
  25923. in: query
  25924. name: lastNum
  25925. required: true
  25926. type: integer
  25927. produces:
  25928. - application/json
  25929. responses:
  25930. "200":
  25931. description: OK
  25932. schema:
  25933. items:
  25934. $ref: '#/definitions/ermcp.HisExposureRsp'
  25935. type: array
  25936. "500":
  25937. description: Internal Server Error
  25938. schema:
  25939. $ref: '#/definitions/app.Response'
  25940. security:
  25941. - ApiKeyAuth: []
  25942. summary: 查询历史敞口(菜单:敞口/历史敞口)
  25943. tags:
  25944. - 企业风险管理(app)
  25945. /Ermcp/QueryMiddleGoods:
  25946. get:
  25947. parameters:
  25948. - description: 所属机构ID
  25949. in: query
  25950. name: userid
  25951. required: true
  25952. type: integer
  25953. - description: 状态 0-停用 1-正常
  25954. in: query
  25955. name: status
  25956. required: true
  25957. type: integer
  25958. produces:
  25959. - application/json
  25960. responses:
  25961. "200":
  25962. description: OK
  25963. schema:
  25964. items:
  25965. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  25966. type: array
  25967. "500":
  25968. description: Internal Server Error
  25969. schema:
  25970. $ref: '#/definitions/app.Response'
  25971. security:
  25972. - ApiKeyAuth: []
  25973. summary: 查询套保品种(菜单:套保品种)
  25974. tags:
  25975. - 企业风险管理(app)
  25976. /Ermcp/QueryMiddleGoodsChangeLog:
  25977. get:
  25978. parameters:
  25979. - description: 所属机构ID
  25980. in: query
  25981. name: userid
  25982. required: true
  25983. type: integer
  25984. - description: 套保品种id
  25985. in: query
  25986. name: middlegoodsid
  25987. required: true
  25988. type: integer
  25989. produces:
  25990. - application/json
  25991. responses:
  25992. "200":
  25993. description: OK
  25994. schema:
  25995. items:
  25996. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  25997. type: array
  25998. "500":
  25999. description: Internal Server Error
  26000. schema:
  26001. $ref: '#/definitions/app.Response'
  26002. security:
  26003. - ApiKeyAuth: []
  26004. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  26005. tags:
  26006. - 企业风险管理(app)
  26007. /Ermcp/QueryMiddleGoodsDetail:
  26008. get:
  26009. parameters:
  26010. - description: 所属机构ID
  26011. in: query
  26012. name: userid
  26013. required: true
  26014. type: integer
  26015. - description: 套保品种id
  26016. in: query
  26017. name: middlegoodsid
  26018. type: integer
  26019. produces:
  26020. - application/json
  26021. responses:
  26022. "200":
  26023. description: OK
  26024. schema:
  26025. items:
  26026. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  26027. type: array
  26028. "500":
  26029. description: Internal Server Error
  26030. schema:
  26031. $ref: '#/definitions/app.Response'
  26032. security:
  26033. - ApiKeyAuth: []
  26034. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  26035. tags:
  26036. - 企业风险管理(app)
  26037. /Ermcp/QueryPendingAuditInfo:
  26038. get:
  26039. parameters:
  26040. - description: 用户ID
  26041. in: query
  26042. name: UserId
  26043. required: true
  26044. type: integer
  26045. produces:
  26046. - application/json
  26047. responses:
  26048. "200":
  26049. description: OK
  26050. schema:
  26051. items:
  26052. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  26053. type: array
  26054. "500":
  26055. description: Internal Server Error
  26056. schema:
  26057. $ref: '#/definitions/app.Response'
  26058. security:
  26059. - ApiKeyAuth: []
  26060. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  26061. tags:
  26062. - 企业风险管理(app)
  26063. /Ermcp/QueryRealtimeExposure:
  26064. get:
  26065. parameters:
  26066. - description: 所属机构ID
  26067. in: query
  26068. name: userid
  26069. required: true
  26070. type: integer
  26071. produces:
  26072. - application/json
  26073. responses:
  26074. "200":
  26075. description: OK
  26076. schema:
  26077. items:
  26078. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  26079. type: array
  26080. "500":
  26081. description: Internal Server Error
  26082. schema:
  26083. $ref: '#/definitions/app.Response'
  26084. security:
  26085. - ApiKeyAuth: []
  26086. summary: 查询实时敞口
  26087. tags:
  26088. - 企业风险管理(app)
  26089. /Ermcp/QueryRealtimeExposurePosition:
  26090. get:
  26091. parameters:
  26092. - description: 用户id
  26093. in: query
  26094. name: userid
  26095. required: true
  26096. type: integer
  26097. - description: 套保商品ID
  26098. in: query
  26099. name: middleGoodsId
  26100. required: true
  26101. type: integer
  26102. produces:
  26103. - application/json
  26104. responses:
  26105. "200":
  26106. description: OK
  26107. schema:
  26108. items:
  26109. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  26110. type: array
  26111. "500":
  26112. description: Internal Server Error
  26113. schema:
  26114. $ref: '#/definitions/app.Response'
  26115. security:
  26116. - ApiKeyAuth: []
  26117. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  26118. tags:
  26119. - 企业风险管理(app)
  26120. /Ermcp/QueryRoleMenu:
  26121. get:
  26122. parameters:
  26123. - description: 登录ID
  26124. in: query
  26125. name: loginid
  26126. required: true
  26127. type: integer
  26128. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  26129. in: query
  26130. name: menutype
  26131. type: integer
  26132. produces:
  26133. - application/json
  26134. responses:
  26135. "200":
  26136. description: OK
  26137. schema:
  26138. items:
  26139. $ref: '#/definitions/models.RoleMenu'
  26140. type: array
  26141. "500":
  26142. description: Internal Server Error
  26143. schema:
  26144. $ref: '#/definitions/app.Response'
  26145. security:
  26146. - ApiKeyAuth: []
  26147. summary: 查询角色菜单和权限
  26148. tags:
  26149. - 企业风险管理(app)
  26150. /Ermcp/QueryTradeConfigTMP:
  26151. get:
  26152. parameters:
  26153. - description: 所属机构id
  26154. in: query
  26155. name: areauserid
  26156. type: integer
  26157. produces:
  26158. - application/json
  26159. responses:
  26160. "200":
  26161. description: OK
  26162. schema:
  26163. items:
  26164. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  26165. type: array
  26166. "500":
  26167. description: Internal Server Error
  26168. schema:
  26169. $ref: '#/definitions/app.Response'
  26170. security:
  26171. - ApiKeyAuth: []
  26172. summary: 查询交易模板配置
  26173. tags:
  26174. - 企业风险管理(app)
  26175. /Ermcp/QueryUserInfo:
  26176. get:
  26177. parameters:
  26178. - description: 所属机构用户ID
  26179. in: query
  26180. name: MemberUserID
  26181. required: true
  26182. type: integer
  26183. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  26184. in: query
  26185. name: queryType
  26186. required: true
  26187. type: integer
  26188. produces:
  26189. - application/json
  26190. responses:
  26191. "200":
  26192. description: OK
  26193. schema:
  26194. items:
  26195. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  26196. type: array
  26197. "500":
  26198. description: Internal Server Error
  26199. schema:
  26200. $ref: '#/definitions/app.Response'
  26201. security:
  26202. - ApiKeyAuth: []
  26203. summary: 查询客户资料
  26204. tags:
  26205. - 企业风险管理(app)
  26206. /Ermcp/QueryWarehouseInfo:
  26207. get:
  26208. parameters:
  26209. - description: 用户ID
  26210. in: query
  26211. name: userid
  26212. required: true
  26213. type: integer
  26214. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  26215. in: query
  26216. name: status
  26217. type: string
  26218. produces:
  26219. - application/json
  26220. responses:
  26221. "200":
  26222. description: OK
  26223. schema:
  26224. items:
  26225. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  26226. type: array
  26227. "500":
  26228. description: Internal Server Error
  26229. schema:
  26230. $ref: '#/definitions/app.Response'
  26231. security:
  26232. - ApiKeyAuth: []
  26233. summary: 查询仓库信息
  26234. tags:
  26235. - 企业风险管理(app)
  26236. /Ermcp3/QryAreaExpourseContractDetail:
  26237. get:
  26238. parameters:
  26239. - description: 用户ID
  26240. in: query
  26241. name: userid
  26242. required: true
  26243. type: integer
  26244. - description: 套保商品id
  26245. in: query
  26246. name: middlegoodsid
  26247. required: true
  26248. type: integer
  26249. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26250. in: query
  26251. name: cycletype
  26252. required: true
  26253. type: integer
  26254. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26255. 全(0)【原值】
  26256. in: query
  26257. name: cycletime
  26258. required: true
  26259. type: string
  26260. produces:
  26261. - application/json
  26262. responses:
  26263. "200":
  26264. description: OK
  26265. schema:
  26266. items:
  26267. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  26268. type: array
  26269. "500":
  26270. description: Internal Server Error
  26271. schema:
  26272. $ref: '#/definitions/app.Response'
  26273. security:
  26274. - ApiKeyAuth: []
  26275. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  26276. tags:
  26277. - 企业风险管理v3(app)
  26278. /Ermcp3/QryAreaExpourseFutuDetail:
  26279. get:
  26280. parameters:
  26281. - description: 用户ID
  26282. in: query
  26283. name: userid
  26284. required: true
  26285. type: integer
  26286. - description: 套保商品id
  26287. in: query
  26288. name: middlegoodsid
  26289. required: true
  26290. type: integer
  26291. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26292. in: query
  26293. name: cycletype
  26294. required: true
  26295. type: integer
  26296. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26297. 全(0)【原值】
  26298. in: query
  26299. name: cycletime
  26300. required: true
  26301. type: string
  26302. produces:
  26303. - application/json
  26304. responses:
  26305. "200":
  26306. description: OK
  26307. schema:
  26308. items:
  26309. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  26310. type: array
  26311. "500":
  26312. description: Internal Server Error
  26313. schema:
  26314. $ref: '#/definitions/app.Response'
  26315. security:
  26316. - ApiKeyAuth: []
  26317. summary: 查询敞口期货明细(敞口报表/期货明细)
  26318. tags:
  26319. - 企业风险管理v3(app)
  26320. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  26321. get:
  26322. parameters:
  26323. - description: 用户ID
  26324. in: query
  26325. name: userid
  26326. required: true
  26327. type: integer
  26328. - description: 套保商品id
  26329. in: query
  26330. name: middlegoodsid
  26331. required: true
  26332. type: integer
  26333. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26334. in: query
  26335. name: cycletype
  26336. required: true
  26337. type: integer
  26338. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26339. 全(0)【原值】
  26340. in: query
  26341. name: cycletime
  26342. required: true
  26343. type: string
  26344. produces:
  26345. - application/json
  26346. responses:
  26347. "200":
  26348. description: OK
  26349. schema:
  26350. items:
  26351. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  26352. type: array
  26353. "500":
  26354. description: Internal Server Error
  26355. schema:
  26356. $ref: '#/definitions/app.Response'
  26357. security:
  26358. - ApiKeyAuth: []
  26359. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  26360. tags:
  26361. - 企业风险管理v3(app)
  26362. /Ermcp3/QryAreaExpourseParamChLogDetail:
  26363. get:
  26364. parameters:
  26365. - description: 用户ID
  26366. in: query
  26367. name: userid
  26368. required: true
  26369. type: integer
  26370. - description: 套保商品id
  26371. in: query
  26372. name: middlegoodsid
  26373. required: true
  26374. type: integer
  26375. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26376. in: query
  26377. name: cycletype
  26378. required: true
  26379. type: integer
  26380. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26381. 全(0)【原值】
  26382. in: query
  26383. name: cycletime
  26384. required: true
  26385. type: string
  26386. produces:
  26387. - application/json
  26388. responses:
  26389. "200":
  26390. description: OK
  26391. schema:
  26392. items:
  26393. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  26394. type: array
  26395. "500":
  26396. description: Internal Server Error
  26397. schema:
  26398. $ref: '#/definitions/app.Response'
  26399. security:
  26400. - ApiKeyAuth: []
  26401. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  26402. tags:
  26403. - 企业风险管理v3(app)
  26404. /Ermcp3/QryAreaExpourseReport:
  26405. get:
  26406. parameters:
  26407. - description: 用户ID
  26408. in: query
  26409. name: userid
  26410. required: true
  26411. type: integer
  26412. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  26413. in: query
  26414. name: querytype
  26415. required: true
  26416. type: integer
  26417. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26418. in: query
  26419. name: cycletype
  26420. required: true
  26421. type: integer
  26422. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26423. 全(0)【原值】
  26424. in: query
  26425. name: cycletime
  26426. required: true
  26427. type: string
  26428. produces:
  26429. - application/json
  26430. responses:
  26431. "200":
  26432. description: OK
  26433. schema:
  26434. items:
  26435. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  26436. type: array
  26437. "500":
  26438. description: Internal Server Error
  26439. schema:
  26440. $ref: '#/definitions/app.Response'
  26441. security:
  26442. - ApiKeyAuth: []
  26443. summary: 查询敞口报表
  26444. tags:
  26445. - 企业风险管理v3(app)
  26446. /Ermcp3/QryAreaSpotplReport:
  26447. get:
  26448. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  26449. parameters:
  26450. - description: 用户ID
  26451. in: query
  26452. name: userid
  26453. required: true
  26454. type: integer
  26455. - description: 查询类型 1-报表 2-报表明细
  26456. in: query
  26457. name: querytype
  26458. required: true
  26459. type: integer
  26460. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26461. in: query
  26462. name: cycletype
  26463. required: true
  26464. type: integer
  26465. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26466. 全(0)【原值】
  26467. in: query
  26468. name: cycletime
  26469. required: true
  26470. type: string
  26471. - description: 现货品种id(明细必填)
  26472. in: query
  26473. name: deliverygoodsid
  26474. type: integer
  26475. - description: 币种id(明细必填)
  26476. in: query
  26477. name: currencyid
  26478. type: integer
  26479. - description: 日/周/月报表汇总维度 1:品种+品类
  26480. in: query
  26481. name: sumflag
  26482. type: integer
  26483. produces:
  26484. - application/json
  26485. responses:
  26486. "200":
  26487. description: OK
  26488. schema:
  26489. items:
  26490. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  26491. type: array
  26492. "500":
  26493. description: Internal Server Error
  26494. schema:
  26495. $ref: '#/definitions/app.Response'
  26496. security:
  26497. - ApiKeyAuth: []
  26498. summary: 查询现货报表
  26499. tags:
  26500. - 企业风险管理v3(app)
  26501. /Ermcp3/QryAreaStockReport:
  26502. get:
  26503. parameters:
  26504. - description: 用户ID
  26505. in: query
  26506. name: userid
  26507. required: true
  26508. type: integer
  26509. - description: 查询类型 1-报表 2-报表明细
  26510. in: query
  26511. name: querytype
  26512. required: true
  26513. type: integer
  26514. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26515. in: query
  26516. name: cycletype
  26517. required: true
  26518. type: integer
  26519. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26520. 全(0)【原值】
  26521. in: query
  26522. name: cycletime
  26523. required: true
  26524. type: string
  26525. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  26526. in: query
  26527. name: sumfields
  26528. type: string
  26529. - description: 品种ID
  26530. in: query
  26531. name: deliverygoodsid
  26532. type: integer
  26533. - description: 品类ID
  26534. in: query
  26535. name: wrstandardid
  26536. type: integer
  26537. - description: 品牌ID
  26538. in: query
  26539. name: spotgoodsbrandid
  26540. type: integer
  26541. - description: 仓库ID
  26542. in: query
  26543. name: warehouseinfoid
  26544. type: integer
  26545. produces:
  26546. - application/json
  26547. responses:
  26548. "200":
  26549. description: OK
  26550. schema:
  26551. items:
  26552. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  26553. type: array
  26554. "500":
  26555. description: Internal Server Error
  26556. schema:
  26557. $ref: '#/definitions/app.Response'
  26558. security:
  26559. - ApiKeyAuth: []
  26560. summary: 查询库存报表
  26561. tags:
  26562. - 企业风险管理v3(app)
  26563. /Ermcp3/QryAreaSumPL:
  26564. get:
  26565. parameters:
  26566. - description: 用户ID
  26567. in: query
  26568. name: userid
  26569. required: true
  26570. type: integer
  26571. - description: 查询类型 1-报表 2-报表明细
  26572. in: query
  26573. name: querytype
  26574. required: true
  26575. type: integer
  26576. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26577. in: query
  26578. name: cycletype
  26579. required: true
  26580. type: integer
  26581. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26582. 全(0)【原值】
  26583. in: query
  26584. name: cycletime
  26585. required: true
  26586. type: string
  26587. - description: 币种id(明细必填)
  26588. in: query
  26589. name: currencyid
  26590. type: integer
  26591. - description: 套保品种ID, 查询类型为2时起效
  26592. in: query
  26593. name: middlegoodsid
  26594. type: integer
  26595. produces:
  26596. - application/json
  26597. responses:
  26598. "200":
  26599. description: OK
  26600. schema:
  26601. items:
  26602. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  26603. type: array
  26604. "500":
  26605. description: Internal Server Error
  26606. schema:
  26607. $ref: '#/definitions/app.Response'
  26608. security:
  26609. - ApiKeyAuth: []
  26610. summary: 查询汇总损益表
  26611. tags:
  26612. - 企业风险管理v3(app)
  26613. /Ermcp3/QryFinanceReport:
  26614. get:
  26615. parameters:
  26616. - description: 用户ID
  26617. in: query
  26618. name: userid
  26619. required: true
  26620. type: integer
  26621. - description: 查询类型 1-报表 2-报表明细
  26622. in: query
  26623. name: querytype
  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: currencyid
  26640. type: integer
  26641. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  26642. in: query
  26643. name: sumfields
  26644. type: string
  26645. produces:
  26646. - application/json
  26647. responses:
  26648. "200":
  26649. description: OK
  26650. schema:
  26651. items:
  26652. $ref: '#/definitions/models.Ermcp3FinanceReport'
  26653. type: array
  26654. "500":
  26655. description: Internal Server Error
  26656. schema:
  26657. $ref: '#/definitions/app.Response'
  26658. security:
  26659. - ApiKeyAuth: []
  26660. summary: 查询财务报表
  26661. tags:
  26662. - 企业风险管理v3(app)
  26663. /Ermcp3/QrySCMiddleGoodsReport:
  26664. get:
  26665. parameters:
  26666. - description: 用户ID
  26667. in: query
  26668. name: userid
  26669. required: true
  26670. type: integer
  26671. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26672. in: query
  26673. name: cycletype
  26674. required: true
  26675. type: integer
  26676. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26677. 全(0)【原值】
  26678. in: query
  26679. name: cycletime
  26680. required: true
  26681. type: string
  26682. - description: 合同id
  26683. in: query
  26684. name: spotcontractid
  26685. type: integer
  26686. - description: 套保品种id
  26687. in: query
  26688. name: middlegoodsid
  26689. type: integer
  26690. - description: 现货品种id
  26691. in: query
  26692. name: deliverygoodsid
  26693. type: integer
  26694. - description: 现货商品id
  26695. in: query
  26696. name: wrstandardid
  26697. type: integer
  26698. - description: 合同编号(模糊匹配)
  26699. in: query
  26700. name: contractno
  26701. type: string
  26702. produces:
  26703. - application/json
  26704. responses:
  26705. "200":
  26706. description: OK
  26707. schema:
  26708. items:
  26709. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  26710. type: array
  26711. "500":
  26712. description: Internal Server Error
  26713. schema:
  26714. $ref: '#/definitions/app.Response'
  26715. security:
  26716. - ApiKeyAuth: []
  26717. summary: 查询定价报表
  26718. tags:
  26719. - 企业风险管理v3(app)
  26720. /Ermcp3/QryTaFutureDataReport:
  26721. get:
  26722. parameters:
  26723. - description: 用户ID
  26724. in: query
  26725. name: userid
  26726. required: true
  26727. type: integer
  26728. - description: 查询类型 1-报表 2-报表明细
  26729. in: query
  26730. name: querytype
  26731. required: true
  26732. type: integer
  26733. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26734. in: query
  26735. name: cycletype
  26736. required: true
  26737. type: integer
  26738. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26739. 全(0)【原值】
  26740. in: query
  26741. name: cycletime
  26742. required: true
  26743. type: string
  26744. - description: 币种id(查明细必填)
  26745. in: query
  26746. name: currencyid
  26747. type: integer
  26748. - description: 品种id(查明细必填)
  26749. in: query
  26750. name: goodsgroupid
  26751. type: integer
  26752. - description: 商品id(查明细必填)
  26753. in: query
  26754. name: goodsid
  26755. type: integer
  26756. - description: 买卖方向(查明细必填)
  26757. in: query
  26758. name: buyorsell
  26759. type: integer
  26760. produces:
  26761. - application/json
  26762. responses:
  26763. "200":
  26764. description: OK
  26765. schema:
  26766. items:
  26767. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  26768. type: array
  26769. "500":
  26770. description: Internal Server Error
  26771. schema:
  26772. $ref: '#/definitions/app.Response'
  26773. security:
  26774. - ApiKeyAuth: []
  26775. summary: 查询期货报表
  26776. tags:
  26777. - 企业风险管理v3(app)
  26778. /Ermcp3/QueryAreaStock:
  26779. get:
  26780. parameters:
  26781. - description: 用户ID
  26782. in: query
  26783. name: userid
  26784. required: true
  26785. type: integer
  26786. produces:
  26787. - application/json
  26788. responses:
  26789. "200":
  26790. description: OK
  26791. schema:
  26792. items:
  26793. $ref: '#/definitions/models.Ermcp3AreaStock'
  26794. type: array
  26795. "500":
  26796. description: Internal Server Error
  26797. schema:
  26798. $ref: '#/definitions/app.Response'
  26799. security:
  26800. - ApiKeyAuth: []
  26801. summary: 查询机构库存(库存管理/当前库存)
  26802. tags:
  26803. - 企业风险管理v3(app)
  26804. /Ermcp3/QueryAreaStockApply:
  26805. get:
  26806. parameters:
  26807. - description: 用户ID
  26808. in: query
  26809. name: userid
  26810. required: true
  26811. type: integer
  26812. - description: 用户类型 2-机构 7-企业成员
  26813. in: query
  26814. name: usertype
  26815. type: integer
  26816. - description: 现货商品ID
  26817. in: query
  26818. name: deliverygoodsid
  26819. type: integer
  26820. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  26821. in: query
  26822. name: inouttype
  26823. type: string
  26824. - description: 合同ID
  26825. in: query
  26826. name: spotcontractid
  26827. type: integer
  26828. - description: 品类ID
  26829. in: query
  26830. name: wrstandardid
  26831. type: integer
  26832. - description: 品牌ID
  26833. in: query
  26834. name: spotgoodsbrandid
  26835. type: integer
  26836. - description: 仓库ID
  26837. in: query
  26838. name: warehouseinfoid
  26839. type: integer
  26840. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26841. in: query
  26842. name: applystatus
  26843. type: string
  26844. produces:
  26845. - application/json
  26846. responses:
  26847. "200":
  26848. description: OK
  26849. schema:
  26850. items:
  26851. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  26852. type: array
  26853. "500":
  26854. description: Internal Server Error
  26855. schema:
  26856. $ref: '#/definitions/app.Response'
  26857. security:
  26858. - ApiKeyAuth: []
  26859. summary: 查询库存申请(出入库记录|库存审核)
  26860. tags:
  26861. - 企业风险管理v3(app)
  26862. /Ermcp3/QueryAreaStockApplySum:
  26863. get:
  26864. parameters:
  26865. - description: 合同ID
  26866. in: query
  26867. name: spotcontractid
  26868. required: true
  26869. type: integer
  26870. produces:
  26871. - application/json
  26872. responses:
  26873. "200":
  26874. description: OK
  26875. schema:
  26876. items:
  26877. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  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/QueryDGFactoryItem:
  26889. get:
  26890. parameters:
  26891. - description: 用户id
  26892. in: query
  26893. name: userid
  26894. type: integer
  26895. - description: 用户类型 2-机构 7-企业成员
  26896. in: query
  26897. name: usertype
  26898. type: integer
  26899. - description: 选择项ID(SEQ_DGFACTORYITEM)
  26900. in: query
  26901. name: dgfactoryitemid
  26902. type: integer
  26903. - description: 现货品种ID
  26904. in: query
  26905. name: deliverygoodsid
  26906. type: integer
  26907. - description: 要素项类型
  26908. in: query
  26909. name: dgfactoryitemtypeid
  26910. type: integer
  26911. - description: 顺序
  26912. in: query
  26913. name: orderindex
  26914. type: integer
  26915. produces:
  26916. - application/json
  26917. responses:
  26918. "200":
  26919. description: OK
  26920. schema:
  26921. items:
  26922. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  26923. type: array
  26924. "500":
  26925. description: Internal Server Error
  26926. schema:
  26927. $ref: '#/definitions/app.Response'
  26928. security:
  26929. - ApiKeyAuth: []
  26930. summary: 查询品种要素定义项
  26931. tags:
  26932. - 企业风险管理v3(app)
  26933. /Ermcp3/QueryDeliveryGoods:
  26934. get:
  26935. parameters:
  26936. - description: 用户id
  26937. in: query
  26938. name: userid
  26939. required: true
  26940. type: integer
  26941. - description: 用户类型 2-机构 7-企业成员
  26942. in: query
  26943. name: usertype
  26944. type: integer
  26945. - description: 排除已配置的业务类型商品 1-套保 2-套利
  26946. in: query
  26947. name: excludecfg
  26948. type: integer
  26949. produces:
  26950. - application/json
  26951. responses:
  26952. "200":
  26953. description: OK
  26954. schema:
  26955. items:
  26956. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  26957. type: array
  26958. "500":
  26959. description: Internal Server Error
  26960. schema:
  26961. $ref: '#/definitions/app.Response'
  26962. security:
  26963. - ApiKeyAuth: []
  26964. summary: 查询现货商品
  26965. tags:
  26966. - 企业风险管理v3(app)
  26967. /Ermcp3/QueryDeliveryGoodsDetail:
  26968. get:
  26969. parameters:
  26970. - description: 用户id
  26971. in: query
  26972. name: userid
  26973. required: true
  26974. type: integer
  26975. - description: 用户类型 2-机构 7-企业成员
  26976. in: query
  26977. name: usertype
  26978. type: integer
  26979. - description: 现货商品id
  26980. in: query
  26981. name: deliverygoodsid
  26982. type: integer
  26983. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  26984. in: query
  26985. name: filtersubempty
  26986. type: integer
  26987. produces:
  26988. - application/json
  26989. responses:
  26990. "200":
  26991. description: OK
  26992. schema:
  26993. items:
  26994. $ref: '#/definitions/models.XHDeliveryGoods'
  26995. type: array
  26996. "500":
  26997. description: Internal Server Error
  26998. schema:
  26999. $ref: '#/definitions/app.Response'
  27000. security:
  27001. - ApiKeyAuth: []
  27002. summary: 查询现货商品详情
  27003. tags:
  27004. - 企业风险管理v3(app)
  27005. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  27006. get:
  27007. parameters:
  27008. - description: 合同id
  27009. in: query
  27010. name: spotcontractid
  27011. required: true
  27012. type: string
  27013. produces:
  27014. - application/json
  27015. responses:
  27016. "200":
  27017. description: OK
  27018. schema:
  27019. items:
  27020. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  27021. type: array
  27022. "500":
  27023. description: Internal Server Error
  27024. schema:
  27025. $ref: '#/definitions/app.Response'
  27026. security:
  27027. - ApiKeyAuth: []
  27028. summary: 查询现货合同期现配置信息
  27029. tags:
  27030. - 企业风险管理v3(app)
  27031. /Ermcp3/QueryExposureDetail:
  27032. get:
  27033. parameters:
  27034. - description: 用户id
  27035. in: query
  27036. name: userid
  27037. required: true
  27038. type: integer
  27039. - description: 用户类型 2-机构 7-企业成员
  27040. in: query
  27041. name: usertype
  27042. type: integer
  27043. - description: 套保商品
  27044. in: query
  27045. name: middlegoodsid
  27046. required: true
  27047. type: integer
  27048. produces:
  27049. - application/json
  27050. responses:
  27051. "200":
  27052. description: OK
  27053. schema:
  27054. items:
  27055. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  27056. type: array
  27057. "500":
  27058. description: Internal Server Error
  27059. schema:
  27060. $ref: '#/definitions/app.Response'
  27061. security:
  27062. - ApiKeyAuth: []
  27063. summary: 查询敞口现货明细
  27064. tags:
  27065. - 企业风险管理v3(app)
  27066. /Ermcp3/QueryExposureSpot:
  27067. get:
  27068. parameters:
  27069. - description: 用户id
  27070. in: query
  27071. name: userid
  27072. required: true
  27073. type: integer
  27074. - description: 用户类型 2-机构 7-企业成员
  27075. in: query
  27076. name: usertype
  27077. type: integer
  27078. produces:
  27079. - application/json
  27080. responses:
  27081. "200":
  27082. description: OK
  27083. schema:
  27084. items:
  27085. $ref: '#/definitions/models.Ermcp3AreaSpot'
  27086. type: array
  27087. "500":
  27088. description: Internal Server Error
  27089. schema:
  27090. $ref: '#/definitions/app.Response'
  27091. security:
  27092. - ApiKeyAuth: []
  27093. summary: 查询敞口现货头寸(敞口/现货头寸)
  27094. tags:
  27095. - 企业风险管理v3(app)
  27096. /Ermcp3/QueryExposureSpotDetail:
  27097. get:
  27098. parameters:
  27099. - description: 用户id
  27100. in: query
  27101. name: userid
  27102. required: true
  27103. type: integer
  27104. - description: 用户类型 2-机构 7-企业成员
  27105. in: query
  27106. name: usertype
  27107. type: integer
  27108. - description: 现货商品ID
  27109. in: query
  27110. name: wrstandardid
  27111. required: true
  27112. type: integer
  27113. produces:
  27114. - application/json
  27115. responses:
  27116. "200":
  27117. description: OK
  27118. schema:
  27119. items:
  27120. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  27121. type: array
  27122. "500":
  27123. description: Internal Server Error
  27124. schema:
  27125. $ref: '#/definitions/app.Response'
  27126. security:
  27127. - ApiKeyAuth: []
  27128. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  27129. tags:
  27130. - 企业风险管理v3(app)
  27131. /Ermcp3/QueryGoodsGroup:
  27132. get:
  27133. parameters:
  27134. - description: 用户id
  27135. in: query
  27136. name: userid
  27137. required: true
  27138. type: integer
  27139. - description: 用户类型 2-机构 7-企业成员
  27140. in: query
  27141. name: usertype
  27142. type: integer
  27143. - description: 排除套保品中已关联的商品组 1-排除
  27144. in: query
  27145. name: excludecfg
  27146. type: integer
  27147. produces:
  27148. - application/json
  27149. responses:
  27150. "200":
  27151. description: OK
  27152. schema:
  27153. items:
  27154. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  27155. type: array
  27156. "500":
  27157. description: Internal Server Error
  27158. schema:
  27159. $ref: '#/definitions/app.Response'
  27160. security:
  27161. - ApiKeyAuth: []
  27162. summary: 查询期货商品组
  27163. tags:
  27164. - 企业风险管理v3(app)
  27165. /Ermcp3/QueryGoodsWrstandard:
  27166. get:
  27167. parameters:
  27168. - description: 用户id
  27169. in: query
  27170. name: userid
  27171. required: true
  27172. type: integer
  27173. - description: 用户类型 2-机构 7-企业成员
  27174. in: query
  27175. name: usertype
  27176. type: integer
  27177. - description: 现货商品id
  27178. in: query
  27179. name: deliverygoodsid
  27180. type: integer
  27181. produces:
  27182. - application/json
  27183. responses:
  27184. "200":
  27185. description: OK
  27186. schema:
  27187. items:
  27188. $ref: '#/definitions/models.Ermcp3Wrstandard'
  27189. type: array
  27190. "500":
  27191. description: Internal Server Error
  27192. schema:
  27193. $ref: '#/definitions/app.Response'
  27194. security:
  27195. - ApiKeyAuth: []
  27196. summary: 查询商品品类
  27197. tags:
  27198. - 企业风险管理v3(app)
  27199. /Ermcp3/QueryGoodsbrand:
  27200. get:
  27201. parameters:
  27202. - description: 用户id
  27203. in: query
  27204. name: userid
  27205. required: true
  27206. type: integer
  27207. - description: 用户类型 2-机构 7-企业成员
  27208. in: query
  27209. name: usertype
  27210. type: integer
  27211. produces:
  27212. - application/json
  27213. responses:
  27214. "200":
  27215. description: OK
  27216. schema:
  27217. items:
  27218. $ref: '#/definitions/models.Ermcp3Brand'
  27219. type: array
  27220. "500":
  27221. description: Internal Server Error
  27222. schema:
  27223. $ref: '#/definitions/app.Response'
  27224. security:
  27225. - ApiKeyAuth: []
  27226. summary: 查询商品品牌
  27227. tags:
  27228. - 企业风险管理v3(app)
  27229. /Ermcp3/QueryHPMiddleGoods:
  27230. get:
  27231. parameters:
  27232. - description: 用户ID(填登录用户的userid)
  27233. in: query
  27234. name: userid
  27235. required: true
  27236. type: integer
  27237. - description: 买卖方向 0-买 1-卖
  27238. in: query
  27239. name: buyorsell
  27240. required: true
  27241. type: integer
  27242. - description: 商品组id
  27243. in: query
  27244. name: goodsgroupid
  27245. required: true
  27246. type: integer
  27247. - description: 套保计划编号(模糊匹配)
  27248. in: query
  27249. name: hedgeplanno
  27250. type: string
  27251. - description: 现货商品名称(模糊匹配)
  27252. in: query
  27253. name: wrstandardname
  27254. type: string
  27255. produces:
  27256. - application/json
  27257. responses:
  27258. "200":
  27259. description: OK
  27260. schema:
  27261. items:
  27262. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  27263. type: array
  27264. "500":
  27265. description: Internal Server Error
  27266. schema:
  27267. $ref: '#/definitions/app.Response'
  27268. security:
  27269. - ApiKeyAuth: []
  27270. summary: 查询可关联套保计划
  27271. tags:
  27272. - 企业风险管理v3(app)
  27273. /Ermcp3/QueryHedgePlan:
  27274. get:
  27275. parameters:
  27276. - description: 用户ID
  27277. in: query
  27278. name: userid
  27279. required: true
  27280. type: integer
  27281. - description: 用户类型 2-机构 7-企业成员
  27282. in: query
  27283. name: usertype
  27284. type: integer
  27285. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27286. in: query
  27287. name: hedgeplanstatus
  27288. required: true
  27289. type: string
  27290. produces:
  27291. - application/json
  27292. responses:
  27293. "200":
  27294. description: OK
  27295. schema:
  27296. items:
  27297. $ref: '#/definitions/models.Ermcp3HedgePlan'
  27298. type: array
  27299. "500":
  27300. description: Internal Server Error
  27301. schema:
  27302. $ref: '#/definitions/app.Response'
  27303. security:
  27304. - ApiKeyAuth: []
  27305. summary: 查询套保计划
  27306. tags:
  27307. - 企业风险管理v3(app)
  27308. /Ermcp3/QueryInnerTradeLink:
  27309. get:
  27310. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  27311. parameters:
  27312. - description: 外部成交单号
  27313. in: query
  27314. name: outtradeid
  27315. required: true
  27316. type: integer
  27317. produces:
  27318. - application/json
  27319. responses:
  27320. "200":
  27321. description: OK
  27322. schema:
  27323. items:
  27324. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  27325. type: array
  27326. "500":
  27327. description: Internal Server Error
  27328. schema:
  27329. $ref: '#/definitions/app.Response'
  27330. security:
  27331. - ApiKeyAuth: []
  27332. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  27333. tags:
  27334. - 企业风险管理v3(app)
  27335. /Ermcp3/QueryMiddleGoodsDetail:
  27336. get:
  27337. parameters:
  27338. - description: 用户id
  27339. in: query
  27340. name: userid
  27341. required: true
  27342. type: integer
  27343. - description: 用户类型 2-机构 7-企业成员
  27344. in: query
  27345. name: usertype
  27346. type: integer
  27347. - description: 套保品种id
  27348. in: query
  27349. name: middlegoodsid
  27350. type: integer
  27351. produces:
  27352. - application/json
  27353. responses:
  27354. "200":
  27355. description: OK
  27356. schema:
  27357. items:
  27358. $ref: '#/definitions/models.TBMiddleGoods'
  27359. type: array
  27360. "500":
  27361. description: Internal Server Error
  27362. schema:
  27363. $ref: '#/definitions/app.Response'
  27364. security:
  27365. - ApiKeyAuth: []
  27366. summary: 查询套保品种详情(套保品种/商品详情)
  27367. tags:
  27368. - 企业风险管理v3(app)
  27369. /Ermcp3/QueryOutTradeLink:
  27370. get:
  27371. description: 页面 app 现货->期现关联->外部成交单关联
  27372. parameters:
  27373. - description: 用户ID(填登录用户的userid)
  27374. in: query
  27375. name: userid
  27376. required: true
  27377. type: integer
  27378. - description: 外部订单号(模糊匹配)
  27379. in: query
  27380. name: outtradeid
  27381. type: string
  27382. - description: 合约名称/代码(模糊匹配)
  27383. in: query
  27384. name: goodsname
  27385. type: string
  27386. - description: 关联状态 0-未关联 1-已关联
  27387. in: query
  27388. name: hasinnerorder
  27389. type: integer
  27390. produces:
  27391. - application/json
  27392. responses:
  27393. "200":
  27394. description: OK
  27395. schema:
  27396. items:
  27397. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  27398. type: array
  27399. "500":
  27400. description: Internal Server Error
  27401. schema:
  27402. $ref: '#/definitions/app.Response'
  27403. security:
  27404. - ApiKeyAuth: []
  27405. summary: 查询外部成交单关联
  27406. tags:
  27407. - 企业风险管理v3(app)
  27408. /Ermcp3/QueryPaAreaAuditCfg:
  27409. get:
  27410. parameters:
  27411. - description: 用户id
  27412. in: query
  27413. name: userid
  27414. required: true
  27415. type: integer
  27416. produces:
  27417. - application/json
  27418. responses:
  27419. "200":
  27420. description: OK
  27421. schema:
  27422. items:
  27423. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  27424. type: array
  27425. "500":
  27426. description: Internal Server Error
  27427. schema:
  27428. $ref: '#/definitions/app.Response'
  27429. security:
  27430. - ApiKeyAuth: []
  27431. summary: 查询审核设置
  27432. tags:
  27433. - 企业风险管理v3(app)
  27434. /Ermcp3/QueryPaAreaSubject:
  27435. get:
  27436. parameters:
  27437. - description: 用户id
  27438. in: query
  27439. name: userid
  27440. required: true
  27441. type: integer
  27442. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  27443. in: query
  27444. name: subjectid
  27445. type: integer
  27446. - description: 主体类型 - 1:交易主体 2:业务部门
  27447. in: query
  27448. name: subjecttype
  27449. type: integer
  27450. - description: '主体状态 - 1:正常 2: 停用'
  27451. in: query
  27452. name: subjectstatus
  27453. type: integer
  27454. produces:
  27455. - application/json
  27456. responses:
  27457. "200":
  27458. description: OK
  27459. schema:
  27460. items:
  27461. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  27462. type: array
  27463. "500":
  27464. description: Internal Server Error
  27465. schema:
  27466. $ref: '#/definitions/app.Response'
  27467. security:
  27468. - ApiKeyAuth: []
  27469. summary: 查询交易主体
  27470. tags:
  27471. - 企业风险管理v3(app)
  27472. /Ermcp3/QueryPaTradeLink:
  27473. get:
  27474. description: 页面 app 现货->期现关联->期现单据关联
  27475. parameters:
  27476. - description: 用户ID
  27477. in: query
  27478. name: userid
  27479. required: true
  27480. type: integer
  27481. produces:
  27482. - application/json
  27483. responses:
  27484. "200":
  27485. description: OK
  27486. schema:
  27487. items:
  27488. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  27489. type: array
  27490. "500":
  27491. description: Internal Server Error
  27492. schema:
  27493. $ref: '#/definitions/app.Response'
  27494. security:
  27495. - ApiKeyAuth: []
  27496. summary: 查询期现单据关联
  27497. tags:
  27498. - 企业风险管理v3(app)
  27499. /Ermcp3/QueryPaTradeLinkDetail:
  27500. get:
  27501. description: 页面 app 现货->期现关联->关联记录
  27502. parameters:
  27503. - description: 用户ID(填登录用户的userid)
  27504. in: query
  27505. name: userid
  27506. required: true
  27507. type: integer
  27508. - description: 关联状态 1:成功 2:失败 3:解绑
  27509. in: query
  27510. name: linkstatus
  27511. type: integer
  27512. - description: 期货订单号(模糊匹配)
  27513. in: query
  27514. name: tradeid
  27515. type: string
  27516. - description: 现货编号(模糊匹配)
  27517. in: query
  27518. name: contractno
  27519. type: string
  27520. - description: 期货账户(模糊匹配)
  27521. in: query
  27522. name: taname
  27523. type: string
  27524. produces:
  27525. - application/json
  27526. responses:
  27527. "200":
  27528. description: OK
  27529. schema:
  27530. items:
  27531. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  27532. type: array
  27533. "500":
  27534. description: Internal Server Error
  27535. schema:
  27536. $ref: '#/definitions/app.Response'
  27537. security:
  27538. - ApiKeyAuth: []
  27539. summary: 查询期现关联记录
  27540. tags:
  27541. - 企业风险管理v3(app)
  27542. /Ermcp3/QueryParamChangeApp:
  27543. get:
  27544. description: |-
  27545. 原型页面:
  27546. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  27547. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  27548. parameters:
  27549. - description: 用户ID
  27550. in: query
  27551. name: userid
  27552. required: true
  27553. type: integer
  27554. - description: 现货品种id
  27555. in: query
  27556. name: deliverygoodsid
  27557. type: integer
  27558. - description: 现货商品id
  27559. in: query
  27560. name: wrstandardid
  27561. type: integer
  27562. - description: 套保商品id
  27563. in: query
  27564. name: middlegoodsid
  27565. type: integer
  27566. - description: 操作类型 1:新增 2:修改
  27567. in: query
  27568. name: operatetype
  27569. type: integer
  27570. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  27571. in: query
  27572. name: paramchangetype
  27573. type: integer
  27574. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27575. in: query
  27576. name: ftstatus
  27577. type: string
  27578. produces:
  27579. - application/json
  27580. responses:
  27581. "200":
  27582. description: OK
  27583. schema:
  27584. items:
  27585. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  27586. type: array
  27587. "500":
  27588. description: Internal Server Error
  27589. schema:
  27590. $ref: '#/definitions/app.Response'
  27591. security:
  27592. - ApiKeyAuth: []
  27593. summary: 查询现货商品参数变更申请(流水)
  27594. tags:
  27595. - 企业风险管理v3(app)
  27596. /Ermcp3/QueryRootUserAccount:
  27597. get:
  27598. parameters:
  27599. - description: 用户ID
  27600. in: query
  27601. name: userid
  27602. required: true
  27603. type: integer
  27604. produces:
  27605. - application/json
  27606. responses:
  27607. "200":
  27608. description: OK
  27609. schema:
  27610. items:
  27611. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  27612. type: array
  27613. "500":
  27614. description: Internal Server Error
  27615. schema:
  27616. $ref: '#/definitions/app.Response'
  27617. security:
  27618. - ApiKeyAuth: []
  27619. summary: 查询顶级用户信息
  27620. tags:
  27621. - 企业风险管理v3(app)
  27622. /Ermcp3/QuerySCMiddleGoods:
  27623. get:
  27624. description: |-
  27625. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  27626. 现货编号 即 合同编号
  27627. parameters:
  27628. - description: 用户ID(填登录用户的userid)
  27629. in: query
  27630. name: userid
  27631. required: true
  27632. type: integer
  27633. - description: 买卖方向 0-买 1-卖
  27634. in: query
  27635. name: buyorsell
  27636. required: true
  27637. type: integer
  27638. - description: 商品组id
  27639. in: query
  27640. name: goodsgroupid
  27641. required: true
  27642. type: integer
  27643. - description: 业务类型 1:套保 2:套利
  27644. in: query
  27645. name: biztype
  27646. type: integer
  27647. - description: 现货编号(模糊匹配)
  27648. in: query
  27649. name: contractno
  27650. type: string
  27651. - description: 对手方(模糊匹配)
  27652. in: query
  27653. name: customername
  27654. type: string
  27655. - description: 现货商品名称(模糊匹配)
  27656. in: query
  27657. name: wrstandardname
  27658. type: string
  27659. produces:
  27660. - application/json
  27661. responses:
  27662. "200":
  27663. description: OK
  27664. schema:
  27665. items:
  27666. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  27667. type: array
  27668. "500":
  27669. description: Internal Server Error
  27670. schema:
  27671. $ref: '#/definitions/app.Response'
  27672. security:
  27673. - ApiKeyAuth: []
  27674. summary: 查询现货订单
  27675. tags:
  27676. - 企业风险管理v3(app)
  27677. /Ermcp3/QuerySpotContract:
  27678. get:
  27679. parameters:
  27680. - description: 用户id(当指定contractid, userid可不填)
  27681. in: query
  27682. name: userid
  27683. required: true
  27684. type: integer
  27685. - description: 用户类型 2-机构 7-企业成员
  27686. in: query
  27687. name: usertype
  27688. type: integer
  27689. - description: 合同类型 1-采购, -1-销售
  27690. in: query
  27691. name: contracttype
  27692. type: integer
  27693. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  27694. in: query
  27695. name: querytype
  27696. type: string
  27697. - description: 合同ID(SpotContractId)
  27698. in: query
  27699. name: contractid
  27700. type: string
  27701. - description: 合同编号(模糊匹配)
  27702. in: query
  27703. name: contractno
  27704. type: string
  27705. - description: 商品名称(模糊匹配)
  27706. in: query
  27707. name: wrstandardname
  27708. type: string
  27709. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  27710. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27711. in: query
  27712. name: status
  27713. type: string
  27714. - description: 是否只查今日的合同 1-查今日合同
  27715. in: query
  27716. name: istoday
  27717. type: integer
  27718. produces:
  27719. - application/json
  27720. responses:
  27721. "200":
  27722. description: OK
  27723. schema:
  27724. items:
  27725. $ref: '#/definitions/models.Ermcp3Contract'
  27726. type: array
  27727. "500":
  27728. description: Internal Server Error
  27729. schema:
  27730. $ref: '#/definitions/app.Response'
  27731. security:
  27732. - ApiKeyAuth: []
  27733. summary: 查询现货合同
  27734. tags:
  27735. - 企业风险管理v3(app)
  27736. /Ermcp3/QuerySpotContractBS:
  27737. get:
  27738. parameters:
  27739. - description: 用户id
  27740. in: query
  27741. name: userid
  27742. required: true
  27743. type: integer
  27744. - description: 用户类型 2-机构 7-企业成员
  27745. in: query
  27746. name: usertype
  27747. type: integer
  27748. - description: 合同类型 1-采购, -1-销售
  27749. in: query
  27750. name: contracttype
  27751. required: true
  27752. type: integer
  27753. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  27754. in: query
  27755. name: querytype
  27756. type: integer
  27757. - description: 合同ID(SpotContractId)
  27758. in: query
  27759. name: contractid
  27760. type: string
  27761. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  27762. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27763. in: query
  27764. name: status
  27765. type: string
  27766. - description: 是否只查今日的合同 1-查今日合同
  27767. in: query
  27768. name: istoday
  27769. type: integer
  27770. produces:
  27771. - application/json
  27772. responses:
  27773. "200":
  27774. description: OK
  27775. schema:
  27776. items:
  27777. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  27778. type: array
  27779. "500":
  27780. description: Internal Server Error
  27781. schema:
  27782. $ref: '#/definitions/app.Response'
  27783. security:
  27784. - ApiKeyAuth: []
  27785. summary: 查询合同(采购/销售)
  27786. tags:
  27787. - 企业风险管理v3(app)
  27788. /Ermcp3/QuerySpotGoodsPrice:
  27789. get:
  27790. parameters:
  27791. - description: 用户ID
  27792. in: query
  27793. name: userid
  27794. required: true
  27795. type: integer
  27796. produces:
  27797. - application/json
  27798. responses:
  27799. "200":
  27800. description: OK
  27801. schema:
  27802. items:
  27803. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  27804. type: array
  27805. "500":
  27806. description: Internal Server Error
  27807. schema:
  27808. $ref: '#/definitions/app.Response'
  27809. security:
  27810. - ApiKeyAuth: []
  27811. summary: 查询现货市价(现货市价)
  27812. tags:
  27813. - 企业风险管理v3(app)
  27814. /Ermcp3/QuerySpotGoodsPriceLog:
  27815. get:
  27816. parameters:
  27817. - description: 用户ID
  27818. in: query
  27819. name: userid
  27820. required: true
  27821. type: integer
  27822. - description: 现货商品ID
  27823. in: query
  27824. name: deliverygoodsid
  27825. required: true
  27826. type: integer
  27827. - description: 品牌ID
  27828. in: query
  27829. name: brandid
  27830. type: integer
  27831. - description: 品类ID
  27832. in: query
  27833. name: wrstandardid
  27834. type: integer
  27835. produces:
  27836. - application/json
  27837. responses:
  27838. "200":
  27839. description: OK
  27840. schema:
  27841. items:
  27842. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  27843. type: array
  27844. "500":
  27845. description: Internal Server Error
  27846. schema:
  27847. $ref: '#/definitions/app.Response'
  27848. security:
  27849. - ApiKeyAuth: []
  27850. summary: 查询现货市价详情(现货市价/详情)
  27851. tags:
  27852. - 企业风险管理v3(app)
  27853. /Ermcp3/QuerySubTaaccount:
  27854. get:
  27855. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  27856. parameters:
  27857. - description: 母账号id
  27858. in: query
  27859. name: parentaccountid
  27860. type: integer
  27861. - description: 母账号代码
  27862. in: query
  27863. name: parentaccountcode
  27864. type: string
  27865. produces:
  27866. - application/json
  27867. responses:
  27868. "200":
  27869. description: OK
  27870. schema:
  27871. items:
  27872. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  27873. type: array
  27874. "500":
  27875. description: Internal Server Error
  27876. schema:
  27877. $ref: '#/definitions/app.Response'
  27878. security:
  27879. - ApiKeyAuth: []
  27880. summary: 查询期货子账户
  27881. tags:
  27882. - 企业风险管理v3(app)
  27883. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  27884. get:
  27885. parameters:
  27886. - description: 套期项目ID
  27887. in: query
  27888. name: hedgeditemid
  27889. required: true
  27890. type: integer
  27891. produces:
  27892. - application/json
  27893. responses:
  27894. "200":
  27895. description: OK
  27896. schema:
  27897. items:
  27898. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  27899. type: array
  27900. "500":
  27901. description: Internal Server Error
  27902. schema:
  27903. $ref: '#/definitions/app.Response'
  27904. security:
  27905. - ApiKeyAuth: []
  27906. summary: 现货成交明细查询
  27907. tags:
  27908. - 企业风险管理v8
  27909. /Ermcp8/QueryERMCP2HedgedItemspot:
  27910. get:
  27911. parameters:
  27912. - description: 套期项目ID
  27913. in: query
  27914. name: hedgeditemid
  27915. required: true
  27916. type: integer
  27917. produces:
  27918. - application/json
  27919. responses:
  27920. "200":
  27921. description: OK
  27922. schema:
  27923. items:
  27924. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  27925. type: array
  27926. "500":
  27927. description: Internal Server Error
  27928. schema:
  27929. $ref: '#/definitions/app.Response'
  27930. security:
  27931. - ApiKeyAuth: []
  27932. summary: 套期计划明细查询
  27933. tags:
  27934. - 企业风险管理v8
  27935. /Ermcp8/QueryERMCPJRLinkPos:
  27936. get:
  27937. parameters:
  27938. - description: 套期项目ID
  27939. in: query
  27940. name: hedgeditemid
  27941. required: true
  27942. type: integer
  27943. produces:
  27944. - application/json
  27945. responses:
  27946. "200":
  27947. description: OK
  27948. schema:
  27949. items:
  27950. $ref: '#/definitions/models.Ermcpjrlinkpos'
  27951. type: array
  27952. "500":
  27953. description: Internal Server Error
  27954. schema:
  27955. $ref: '#/definitions/app.Response'
  27956. security:
  27957. - ApiKeyAuth: []
  27958. summary: 期货持仓明细查询
  27959. tags:
  27960. - 企业风险管理v8
  27961. /Ermcp8/QueryERMCPPatradeLinkDetail:
  27962. get:
  27963. parameters:
  27964. - description: 套期项目ID
  27965. in: query
  27966. name: hedgeditemid
  27967. required: true
  27968. type: integer
  27969. produces:
  27970. - application/json
  27971. responses:
  27972. "200":
  27973. description: OK
  27974. schema:
  27975. items:
  27976. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  27977. type: array
  27978. "500":
  27979. description: Internal Server Error
  27980. schema:
  27981. $ref: '#/definitions/app.Response'
  27982. security:
  27983. - ApiKeyAuth: []
  27984. summary: 期货成交单明细查询
  27985. tags:
  27986. - 企业风险管理v8
  27987. /Ermcp8/QueryErmcp2AreaExposure:
  27988. get:
  27989. parameters:
  27990. - description: 用户ID
  27991. in: query
  27992. name: userid
  27993. required: true
  27994. type: string
  27995. produces:
  27996. - application/json
  27997. responses:
  27998. "200":
  27999. description: OK
  28000. schema:
  28001. items:
  28002. $ref: '#/definitions/models.Ermcp2AreaExposure'
  28003. type: array
  28004. "500":
  28005. description: Internal Server Error
  28006. schema:
  28007. $ref: '#/definitions/app.Response'
  28008. security:
  28009. - ApiKeyAuth: []
  28010. summary: 企业敞口查询
  28011. tags:
  28012. - 企业风险管理v8
  28013. /Ermcp8/QueryErmcp2HedgedItem:
  28014. get:
  28015. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  28016. parameters:
  28017. - description: 用户ID
  28018. in: query
  28019. name: userid
  28020. required: true
  28021. type: string
  28022. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  28023. in: query
  28024. name: hedgedtype
  28025. type: integer
  28026. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  28027. in: query
  28028. name: hedgeditemstatus
  28029. type: integer
  28030. produces:
  28031. - application/json
  28032. responses:
  28033. "200":
  28034. description: OK
  28035. schema:
  28036. items:
  28037. $ref: '#/definitions/models.Ermcp2hedgeditem'
  28038. type: array
  28039. "500":
  28040. description: Internal Server Error
  28041. schema:
  28042. $ref: '#/definitions/app.Response'
  28043. security:
  28044. - ApiKeyAuth: []
  28045. summary: 查询被套期项目信息
  28046. tags:
  28047. - 企业风险管理v8
  28048. /Ermcp8/QueryErmcp2HedgedItemLink:
  28049. get:
  28050. parameters:
  28051. - description: 现货合同ID
  28052. in: query
  28053. name: spotcontractid
  28054. required: true
  28055. type: integer
  28056. produces:
  28057. - application/json
  28058. responses:
  28059. "200":
  28060. description: OK
  28061. schema:
  28062. items:
  28063. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  28064. type: array
  28065. "500":
  28066. description: Internal Server Error
  28067. schema:
  28068. $ref: '#/definitions/app.Response'
  28069. security:
  28070. - ApiKeyAuth: []
  28071. summary: 现货合同关联被套期项目查询
  28072. tags:
  28073. - 企业风险管理v8
  28074. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  28075. get:
  28076. parameters:
  28077. - description: 用户ID
  28078. in: query
  28079. name: userid
  28080. required: true
  28081. type: integer
  28082. - description: 套保品种ID
  28083. in: query
  28084. name: middlegoodsid
  28085. required: true
  28086. type: integer
  28087. produces:
  28088. - application/json
  28089. responses:
  28090. "200":
  28091. description: OK
  28092. schema:
  28093. items:
  28094. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  28095. type: array
  28096. "500":
  28097. description: Internal Server Error
  28098. schema:
  28099. $ref: '#/definitions/app.Response'
  28100. security:
  28101. - ApiKeyAuth: []
  28102. summary: 敞口明细 - 计划变动明细
  28103. tags:
  28104. - 企业风险管理v8
  28105. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  28106. get:
  28107. parameters:
  28108. - description: 用户ID
  28109. in: query
  28110. name: userid
  28111. required: true
  28112. type: integer
  28113. - description: 套保品种ID
  28114. in: query
  28115. name: middlegoodsid
  28116. required: true
  28117. type: integer
  28118. produces:
  28119. - application/json
  28120. responses:
  28121. "200":
  28122. description: OK
  28123. schema:
  28124. items:
  28125. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  28126. type: array
  28127. "500":
  28128. description: Internal Server Error
  28129. schema:
  28130. $ref: '#/definitions/app.Response'
  28131. security:
  28132. - ApiKeyAuth: []
  28133. summary: 敞口明细 - 现货变动明细查询
  28134. tags:
  28135. - 企业风险管理v8
  28136. /Ermcp8/QueryErmcp8EnableHedgeditem:
  28137. get:
  28138. parameters:
  28139. - description: 用户ID
  28140. in: query
  28141. name: userid
  28142. required: true
  28143. type: integer
  28144. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  28145. in: query
  28146. name: spottype
  28147. required: true
  28148. type: integer
  28149. - description: 现货商品ID
  28150. in: query
  28151. name: wrstandardid
  28152. type: integer
  28153. produces:
  28154. - application/json
  28155. responses:
  28156. "200":
  28157. description: OK
  28158. schema:
  28159. items:
  28160. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  28161. type: array
  28162. "500":
  28163. description: Internal Server Error
  28164. schema:
  28165. $ref: '#/definitions/app.Response'
  28166. security:
  28167. - ApiKeyAuth: []
  28168. summary: 可关联项目查询
  28169. tags:
  28170. - 企业风险管理v8
  28171. /Ermcp8/QueryErmcp8HedgeditemReport:
  28172. get:
  28173. parameters:
  28174. - description: 用户ID
  28175. in: query
  28176. name: userid
  28177. required: true
  28178. type: integer
  28179. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28180. in: query
  28181. name: cycletype
  28182. type: integer
  28183. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28184. 全(0)【原值】
  28185. in: query
  28186. name: cycletime
  28187. required: true
  28188. type: string
  28189. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  28190. in: query
  28191. name: hedgedtype
  28192. type: integer
  28193. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  28194. in: query
  28195. name: hedgeditemstatus
  28196. type: integer
  28197. - description: 项目编号,模糊查询
  28198. in: query
  28199. name: hedgeditemnum
  28200. type: string
  28201. - description: 现货商品ID
  28202. in: query
  28203. name: wrstandardid
  28204. type: integer
  28205. produces:
  28206. - application/json
  28207. responses:
  28208. "200":
  28209. description: OK
  28210. schema:
  28211. items:
  28212. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  28213. type: array
  28214. "500":
  28215. description: Internal Server Error
  28216. schema:
  28217. $ref: '#/definitions/app.Response'
  28218. security:
  28219. - ApiKeyAuth: []
  28220. summary: 套期项目报表查询
  28221. tags:
  28222. - 企业风险管理v8
  28223. /Ermcp8/QueryErmcp8RunningHedgeditem:
  28224. get:
  28225. parameters:
  28226. - description: 用户ID
  28227. in: query
  28228. name: userid
  28229. required: true
  28230. type: string
  28231. produces:
  28232. - application/json
  28233. responses:
  28234. "200":
  28235. description: OK
  28236. schema:
  28237. items:
  28238. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  28239. type: array
  28240. "500":
  28241. description: Internal Server Error
  28242. schema:
  28243. $ref: '#/definitions/app.Response'
  28244. security:
  28245. - ApiKeyAuth: []
  28246. summary: 查询执行中项目查询信息
  28247. tags:
  28248. - 企业风险管理v8
  28249. /Ermcp8/QueryInternalEnableTradeDetail:
  28250. get:
  28251. parameters:
  28252. - description: 企业ID
  28253. in: query
  28254. name: areauserid
  28255. required: true
  28256. type: integer
  28257. - description: 期货合约ID
  28258. in: query
  28259. name: goodsid
  28260. required: true
  28261. type: integer
  28262. - description: 交易用户ID
  28263. in: query
  28264. name: tradeuserid
  28265. required: true
  28266. type: integer
  28267. produces:
  28268. - application/json
  28269. responses:
  28270. "200":
  28271. description: OK
  28272. schema:
  28273. items:
  28274. $ref: '#/definitions/models.InternalEnableTradeDetail'
  28275. type: array
  28276. "500":
  28277. description: Internal Server Error
  28278. schema:
  28279. $ref: '#/definitions/app.Response'
  28280. security:
  28281. - ApiKeyAuth: []
  28282. summary: 内部成交单可关联项目查询
  28283. tags:
  28284. - 企业风险管理v8
  28285. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  28286. get:
  28287. parameters:
  28288. - description: 用户编号
  28289. in: query
  28290. name: userid
  28291. required: true
  28292. type: integer
  28293. - description: 起始日期(格式yyyymmdd)
  28294. in: query
  28295. name: begindate
  28296. type: string
  28297. - description: 终止日期(格式yyyymmdd)
  28298. in: query
  28299. name: enddate
  28300. type: string
  28301. - description: 合约代码
  28302. in: query
  28303. name: goodscode
  28304. type: string
  28305. - description: 合约名称
  28306. in: query
  28307. name: goodsname
  28308. type: string
  28309. - description: 成交单号
  28310. in: query
  28311. name: tradeid
  28312. type: integer
  28313. - description: 方向 - 0:买 1:卖
  28314. in: query
  28315. name: buyorsell
  28316. type: integer
  28317. - description: 套期主体
  28318. in: query
  28319. name: accountname
  28320. type: string
  28321. produces:
  28322. - application/json
  28323. responses:
  28324. "200":
  28325. description: OK
  28326. schema:
  28327. items:
  28328. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  28329. type: array
  28330. "500":
  28331. description: Internal Server Error
  28332. schema:
  28333. $ref: '#/definitions/app.Response'
  28334. security:
  28335. - ApiKeyAuth: []
  28336. summary: 内部未关联成交单查询
  28337. tags:
  28338. - 企业风险管理v8
  28339. /Ermcp8/QueryMarketCalendar:
  28340. get:
  28341. parameters:
  28342. - description: 市场ID
  28343. in: query
  28344. name: marketid
  28345. type: integer
  28346. produces:
  28347. - application/json
  28348. responses:
  28349. "200":
  28350. description: OK
  28351. schema:
  28352. items:
  28353. $ref: '#/definitions/models.Marketcalendar'
  28354. type: array
  28355. "500":
  28356. description: Internal Server Error
  28357. schema:
  28358. $ref: '#/definitions/app.Response'
  28359. security:
  28360. - ApiKeyAuth: []
  28361. summary: 市场节假日查询
  28362. tags:
  28363. - 企业风险管理v8
  28364. /Ermcp8/QueryPatradeLinkDetail:
  28365. get:
  28366. parameters:
  28367. - description: 用户ID
  28368. in: query
  28369. name: userid
  28370. required: true
  28371. type: integer
  28372. - description: 套保品种ID
  28373. in: query
  28374. name: middlegoodsid
  28375. required: true
  28376. type: integer
  28377. produces:
  28378. - application/json
  28379. responses:
  28380. "200":
  28381. description: OK
  28382. schema:
  28383. items:
  28384. $ref: '#/definitions/models.Patradelinkdetail'
  28385. type: array
  28386. "500":
  28387. description: Internal Server Error
  28388. schema:
  28389. $ref: '#/definitions/app.Response'
  28390. security:
  28391. - ApiKeyAuth: []
  28392. summary: 敞口明细 - 期货变动明细
  28393. tags:
  28394. - 企业风险管理v8
  28395. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  28396. get:
  28397. parameters:
  28398. - description: 企业ID
  28399. in: query
  28400. name: areauserid
  28401. required: true
  28402. type: integer
  28403. - description: 计划类型 - 1:采购 -1:销售
  28404. in: query
  28405. name: contracttype
  28406. type: integer
  28407. - description: 计划编号,模糊查询
  28408. in: query
  28409. name: hedgeplanno
  28410. type: string
  28411. - description: 现货商品,模糊查询
  28412. in: query
  28413. name: wrstandardname
  28414. type: string
  28415. produces:
  28416. - application/json
  28417. responses:
  28418. "200":
  28419. description: OK
  28420. schema:
  28421. items:
  28422. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  28423. type: array
  28424. "500":
  28425. description: Internal Server Error
  28426. schema:
  28427. $ref: '#/definitions/app.Response'
  28428. security:
  28429. - ApiKeyAuth: []
  28430. summary: 未关联购销计划
  28431. tags:
  28432. - 企业风险管理v8
  28433. /Ermcp8/QueryUnLinkSpotContract:
  28434. get:
  28435. parameters:
  28436. - description: 用户ID
  28437. in: query
  28438. name: userid
  28439. required: true
  28440. type: integer
  28441. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  28442. in: query
  28443. name: pricetype
  28444. type: integer
  28445. - description: 合同编号, 模拟查询
  28446. in: query
  28447. name: contractno
  28448. type: string
  28449. - description: 对手方, 模拟查询
  28450. in: query
  28451. name: customername
  28452. type: string
  28453. - description: 项合同类型 - 1:采购 -1:销售
  28454. in: query
  28455. name: contracttype
  28456. type: integer
  28457. produces:
  28458. - application/json
  28459. responses:
  28460. "200":
  28461. description: OK
  28462. schema:
  28463. items:
  28464. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  28465. type: array
  28466. "500":
  28467. description: Internal Server Error
  28468. schema:
  28469. $ref: '#/definitions/app.Response'
  28470. security:
  28471. - ApiKeyAuth: []
  28472. summary: 未关联合同查询
  28473. tags:
  28474. - 企业风险管理v8
  28475. /Erms2/QueryArbitrageStrategy:
  28476. get:
  28477. parameters:
  28478. - description: 账户ID
  28479. in: query
  28480. name: userid
  28481. required: true
  28482. type: integer
  28483. - description: 商品组ID(品种ID)
  28484. in: query
  28485. name: goodsgroupid
  28486. type: string
  28487. produces:
  28488. - application/json
  28489. responses:
  28490. "200":
  28491. description: OK
  28492. schema:
  28493. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  28494. "500":
  28495. description: Internal Server Error
  28496. schema:
  28497. $ref: '#/definitions/app.Response'
  28498. security:
  28499. - ApiKeyAuth: []
  28500. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  28501. tags:
  28502. - 风险管理
  28503. /Erms2/QueryInnerTradeDetail:
  28504. get:
  28505. parameters:
  28506. - description: 资金账户
  28507. in: query
  28508. name: accountid
  28509. required: true
  28510. type: integer
  28511. produces:
  28512. - application/json
  28513. responses:
  28514. "200":
  28515. description: OK
  28516. schema:
  28517. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  28518. "500":
  28519. description: Internal Server Error
  28520. schema:
  28521. $ref: '#/definitions/app.Response'
  28522. security:
  28523. - ApiKeyAuth: []
  28524. summary: 查询内部成交单信息
  28525. tags:
  28526. - 风险管理
  28527. /Erms2/QuerySpotContract:
  28528. get:
  28529. parameters:
  28530. - description: 策略申请ID
  28531. in: query
  28532. name: asapplyid
  28533. required: true
  28534. type: integer
  28535. - description: 现货合同ID
  28536. in: query
  28537. name: spotcontractid
  28538. type: integer
  28539. produces:
  28540. - application/json
  28541. responses:
  28542. "200":
  28543. description: OK
  28544. schema:
  28545. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  28546. "500":
  28547. description: Internal Server Error
  28548. schema:
  28549. $ref: '#/definitions/app.Response'
  28550. security:
  28551. - ApiKeyAuth: []
  28552. summary: 查询现货合同表信息(指定策略ID、未结束的)
  28553. tags:
  28554. - 风险管理
  28555. /Erms3/AddErms2ASApply:
  28556. post:
  28557. parameters:
  28558. - description: 申请参数
  28559. in: body
  28560. name: jsonBody
  28561. required: true
  28562. schema:
  28563. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  28564. produces:
  28565. - application/json
  28566. responses:
  28567. "200":
  28568. description: OK
  28569. schema:
  28570. $ref: '#/definitions/app.Response'
  28571. "500":
  28572. description: Internal Server Error
  28573. schema:
  28574. $ref: '#/definitions/app.Response'
  28575. security:
  28576. - ApiKeyAuth: []
  28577. summary: 新增期现套利业务申请
  28578. tags:
  28579. - 风险管理v3
  28580. /Erms3/AddErms2SpotTradeApply:
  28581. post:
  28582. parameters:
  28583. - description: 申请参数
  28584. in: body
  28585. name: jsonBody
  28586. required: true
  28587. schema:
  28588. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  28589. produces:
  28590. - application/json
  28591. responses:
  28592. "200":
  28593. description: OK
  28594. schema:
  28595. $ref: '#/definitions/app.Response'
  28596. "500":
  28597. description: Internal Server Error
  28598. schema:
  28599. $ref: '#/definitions/app.Response'
  28600. security:
  28601. - ApiKeyAuth: []
  28602. summary: 新增现货贸易业务申请
  28603. tags:
  28604. - 风险管理v3
  28605. /Erms3/AddSpotContractApply:
  28606. post:
  28607. parameters:
  28608. - description: 申请参数
  28609. in: body
  28610. name: jsonBody
  28611. required: true
  28612. schema:
  28613. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  28614. produces:
  28615. - application/json
  28616. responses:
  28617. "200":
  28618. description: OK
  28619. schema:
  28620. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  28621. "500":
  28622. description: Internal Server Error
  28623. schema:
  28624. $ref: '#/definitions/app.Response'
  28625. security:
  28626. - ApiKeyAuth: []
  28627. summary: 新增现货合同申请
  28628. tags:
  28629. - 风险管理v3
  28630. /Erms3/AddUserInfoApply:
  28631. post:
  28632. parameters:
  28633. - description: 用户信息
  28634. in: body
  28635. name: jsonBody
  28636. required: true
  28637. schema:
  28638. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  28639. produces:
  28640. - application/json
  28641. responses:
  28642. "200":
  28643. description: OK
  28644. schema:
  28645. $ref: '#/definitions/app.Response'
  28646. "500":
  28647. description: Internal Server Error
  28648. schema:
  28649. $ref: '#/definitions/app.Response'
  28650. security:
  28651. - ApiKeyAuth: []
  28652. summary: 新增客户申请
  28653. tags:
  28654. - 风险管理v3
  28655. /Erms3/DeleteUserInfoApply:
  28656. get:
  28657. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  28658. parameters:
  28659. - description: 用户ID
  28660. in: query
  28661. name: userID
  28662. required: true
  28663. type: integer
  28664. produces:
  28665. - application/json
  28666. responses:
  28667. "200":
  28668. description: OK
  28669. schema:
  28670. $ref: '#/definitions/app.Response'
  28671. "500":
  28672. description: Internal Server Error
  28673. schema:
  28674. $ref: '#/definitions/app.Response'
  28675. security:
  28676. - ApiKeyAuth: []
  28677. summary: 删除客户申请
  28678. tags:
  28679. - 风险管理v3
  28680. /Erms3/ModifyUserInfoApply:
  28681. post:
  28682. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  28683. int, "userstate": 2 }'
  28684. parameters:
  28685. - description: 用户信息
  28686. in: body
  28687. name: jsonBody
  28688. required: true
  28689. schema:
  28690. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  28691. produces:
  28692. - application/json
  28693. responses:
  28694. "200":
  28695. description: OK
  28696. schema:
  28697. $ref: '#/definitions/app.Response'
  28698. "500":
  28699. description: Internal Server Error
  28700. schema:
  28701. $ref: '#/definitions/app.Response'
  28702. security:
  28703. - ApiKeyAuth: []
  28704. summary: 修改客户申请
  28705. tags:
  28706. - 风险管理v3
  28707. /Erms3/QueryBusinessInfo:
  28708. get:
  28709. parameters:
  28710. - description: 资金账号ID列表,用逗号分隔
  28711. in: query
  28712. name: accountids
  28713. required: true
  28714. type: string
  28715. - description: 状态,0为未结束 1为已结束
  28716. in: query
  28717. name: status
  28718. required: true
  28719. type: integer
  28720. produces:
  28721. - application/json
  28722. responses:
  28723. "200":
  28724. description: OK
  28725. schema:
  28726. items:
  28727. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  28728. type: array
  28729. "500":
  28730. description: Internal Server Error
  28731. schema:
  28732. $ref: '#/definitions/app.Response'
  28733. security:
  28734. - ApiKeyAuth: []
  28735. summary: 查询业务表单数据
  28736. tags:
  28737. - 风险管理v3
  28738. /Erms3/QueryPendingAuditContract:
  28739. get:
  28740. parameters:
  28741. - description: 资金账号ID列表,逗号隔开
  28742. in: query
  28743. name: accountids
  28744. required: true
  28745. type: string
  28746. - description: 合同类型 1-采购 -1-销售
  28747. in: query
  28748. name: contracttype
  28749. required: true
  28750. type: integer
  28751. - description: 合同模式 1-普通 2-回购
  28752. in: query
  28753. name: contractmode
  28754. required: true
  28755. type: integer
  28756. produces:
  28757. - application/json
  28758. responses:
  28759. "200":
  28760. description: OK
  28761. schema:
  28762. items:
  28763. $ref: '#/definitions/erms3.QryAuditContractRsp'
  28764. type: array
  28765. "500":
  28766. description: Internal Server Error
  28767. schema:
  28768. $ref: '#/definitions/app.Response'
  28769. security:
  28770. - ApiKeyAuth: []
  28771. summary: 查询待审核合同
  28772. tags:
  28773. - 风险管理v3
  28774. /Erms3/QueryPendingBusiness:
  28775. get:
  28776. parameters:
  28777. - description: 资金账号ID列表,逗号隔开
  28778. in: query
  28779. name: accountids
  28780. required: true
  28781. type: string
  28782. produces:
  28783. - application/json
  28784. responses:
  28785. "200":
  28786. description: OK
  28787. schema:
  28788. items:
  28789. $ref: '#/definitions/erms3.QryPendingBizRsp'
  28790. type: array
  28791. "500":
  28792. description: Internal Server Error
  28793. schema:
  28794. $ref: '#/definitions/app.Response'
  28795. security:
  28796. - ApiKeyAuth: []
  28797. summary: 查询待审核基差贸易业务
  28798. tags:
  28799. - 风险管理v3
  28800. /Erms3/QuerySpotContractAppleForm:
  28801. get:
  28802. parameters:
  28803. - description: 登录账号
  28804. in: query
  28805. name: loginID
  28806. required: true
  28807. type: integer
  28808. produces:
  28809. - application/json
  28810. responses:
  28811. "200":
  28812. description: OK
  28813. schema:
  28814. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  28815. "500":
  28816. description: Internal Server Error
  28817. schema:
  28818. $ref: '#/definitions/app.Response'
  28819. security:
  28820. - ApiKeyAuth: []
  28821. summary: 查询合同申请表单数据
  28822. tags:
  28823. - 风险管理v3
  28824. /Erms3/QuerySpotContractDetail:
  28825. get:
  28826. parameters:
  28827. - description: 资金账号ID列表,用逗号分隔
  28828. in: query
  28829. name: accountids
  28830. required: true
  28831. type: string
  28832. - description: 合同类型,1为采购合同 -1为销售合同
  28833. in: query
  28834. name: contracttype
  28835. required: true
  28836. type: integer
  28837. - description: 合同模式,1为普通合同 2为回购销售合同
  28838. in: query
  28839. name: contractmode
  28840. required: true
  28841. type: integer
  28842. - description: 状态,0为履约中 1为已完成
  28843. in: query
  28844. name: status
  28845. required: true
  28846. type: integer
  28847. produces:
  28848. - application/json
  28849. responses:
  28850. "200":
  28851. description: OK
  28852. schema:
  28853. items:
  28854. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  28855. type: array
  28856. "500":
  28857. description: Internal Server Error
  28858. schema:
  28859. $ref: '#/definitions/app.Response'
  28860. security:
  28861. - ApiKeyAuth: []
  28862. summary: 查询合同详细信息
  28863. tags:
  28864. - 风险管理v3
  28865. /Erms3/QueryUserInfoApplies:
  28866. get:
  28867. parameters:
  28868. - description: 页码
  28869. in: query
  28870. name: page
  28871. type: integer
  28872. - description: 每页条数
  28873. in: query
  28874. name: pagesize
  28875. type: integer
  28876. - description: 客户名称,支持模糊查询
  28877. in: query
  28878. name: userName
  28879. type: string
  28880. produces:
  28881. - application/json
  28882. responses:
  28883. "200":
  28884. description: OK
  28885. schema:
  28886. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  28887. "500":
  28888. description: Internal Server Error
  28889. schema:
  28890. $ref: '#/definitions/app.Response'
  28891. security:
  28892. - ApiKeyAuth: []
  28893. summary: 客户申请信息查询
  28894. tags:
  28895. - 风险管理v3
  28896. /Erms3/QueryUserInfos:
  28897. get:
  28898. parameters:
  28899. - description: 页码
  28900. in: query
  28901. name: page
  28902. type: integer
  28903. - description: 每页条数
  28904. in: query
  28905. name: pagesize
  28906. type: integer
  28907. - description: 客户名称,支持模糊查询
  28908. in: query
  28909. name: userName
  28910. type: string
  28911. produces:
  28912. - application/json
  28913. responses:
  28914. "200":
  28915. description: OK
  28916. schema:
  28917. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  28918. "500":
  28919. description: Internal Server Error
  28920. schema:
  28921. $ref: '#/definitions/app.Response'
  28922. security:
  28923. - ApiKeyAuth: []
  28924. summary: 客户信息查询
  28925. tags:
  28926. - 风险管理v3
  28927. /Ferroalloy/GetSpotGoodsPrice:
  28928. get:
  28929. parameters:
  28930. - description: 页码
  28931. in: query
  28932. name: page
  28933. type: integer
  28934. - description: 每页条数
  28935. in: query
  28936. name: pagesize
  28937. type: integer
  28938. produces:
  28939. - application/json
  28940. responses:
  28941. "200":
  28942. description: OK
  28943. schema:
  28944. items:
  28945. $ref: '#/definitions/models.GErmcpspotgoodsprice'
  28946. type: array
  28947. "500":
  28948. description: Internal Server Error
  28949. schema:
  28950. $ref: '#/definitions/app.Response'
  28951. security:
  28952. - ApiKeyAuth: []
  28953. summary: 获取现货行情
  28954. tags:
  28955. - 铁合金
  28956. /Ferroalloy/QueryMyRefer:
  28957. get:
  28958. parameters:
  28959. - description: 用户ID
  28960. in: query
  28961. name: userid
  28962. required: true
  28963. type: integer
  28964. - description: 页码
  28965. in: query
  28966. name: page
  28967. type: integer
  28968. - description: 每页条数
  28969. in: query
  28970. name: pagesize
  28971. type: integer
  28972. produces:
  28973. - application/json
  28974. responses:
  28975. "200":
  28976. description: OK
  28977. schema:
  28978. items:
  28979. $ref: '#/definitions/models.MyRefer'
  28980. type: array
  28981. "500":
  28982. description: Internal Server Error
  28983. schema:
  28984. $ref: '#/definitions/app.Response'
  28985. security:
  28986. - ApiKeyAuth: []
  28987. summary: 查询我的推荐列表
  28988. tags:
  28989. - 铁合金
  28990. /Ferroalloy/QueryMyRegisterMoney:
  28991. get:
  28992. parameters:
  28993. - description: 资金账户
  28994. in: query
  28995. name: accountid
  28996. required: true
  28997. type: integer
  28998. produces:
  28999. - application/json
  29000. responses:
  29001. "200":
  29002. description: OK
  29003. schema:
  29004. items:
  29005. $ref: '#/definitions/models.RegisterMoney'
  29006. type: array
  29007. "500":
  29008. description: Internal Server Error
  29009. schema:
  29010. $ref: '#/definitions/app.Response'
  29011. summary: 查询我的注册红包
  29012. tags:
  29013. - 铁合金
  29014. /Ferroalloy/QueryTHJGoodsDetail:
  29015. get:
  29016. parameters:
  29017. - description: 现货商品ID
  29018. in: query
  29019. name: wrstandardid
  29020. required: true
  29021. type: integer
  29022. produces:
  29023. - application/json
  29024. responses:
  29025. "200":
  29026. description: OK
  29027. schema:
  29028. items:
  29029. $ref: '#/definitions/models.THJGoodsDetailRsp'
  29030. type: array
  29031. "500":
  29032. description: Internal Server Error
  29033. schema:
  29034. $ref: '#/definitions/app.Response'
  29035. security:
  29036. - ApiKeyAuth: []
  29037. summary: 查询商品详情
  29038. tags:
  29039. - 铁合金
  29040. /Ferroalloy/QueryTHJProduct:
  29041. get:
  29042. parameters:
  29043. - description: 用户ID
  29044. in: query
  29045. name: userid
  29046. required: true
  29047. type: integer
  29048. - description: 关注标志 true-已关注 false-未关注
  29049. in: query
  29050. name: favoriteflag
  29051. type: boolean
  29052. - description: 页码
  29053. in: query
  29054. name: page
  29055. type: integer
  29056. - description: 每页条数
  29057. in: query
  29058. name: pagesize
  29059. type: integer
  29060. produces:
  29061. - application/json
  29062. responses:
  29063. "200":
  29064. description: OK
  29065. schema:
  29066. items:
  29067. $ref: '#/definitions/models.THJProduct'
  29068. type: array
  29069. "500":
  29070. description: Internal Server Error
  29071. schema:
  29072. $ref: '#/definitions/app.Response'
  29073. security:
  29074. - ApiKeyAuth: []
  29075. summary: 获取产品介绍列表
  29076. tags:
  29077. - 铁合金
  29078. /Ferroalloy/QueryTHJPromotionIncome:
  29079. get:
  29080. parameters:
  29081. - description: 用户ID
  29082. in: query
  29083. name: userid
  29084. required: true
  29085. type: integer
  29086. - description: 状态 - 0:全部 1:已支付 2:未支付
  29087. in: query
  29088. name: profitstatus
  29089. type: integer
  29090. - description: 页码
  29091. in: query
  29092. name: page
  29093. type: integer
  29094. - description: 每页条数
  29095. in: query
  29096. name: pagesize
  29097. type: integer
  29098. produces:
  29099. - application/json
  29100. responses:
  29101. "200":
  29102. description: OK
  29103. schema:
  29104. items:
  29105. $ref: '#/definitions/models.PromotionIncome'
  29106. type: array
  29107. "500":
  29108. description: Internal Server Error
  29109. schema:
  29110. $ref: '#/definitions/app.Response'
  29111. security:
  29112. - ApiKeyAuth: []
  29113. summary: 查询我的推广-推广收益
  29114. tags:
  29115. - 铁合金
  29116. /Ferroalloy/QueryTHJPromotionIncomeDetail:
  29117. get:
  29118. parameters:
  29119. - description: 用户ID
  29120. in: query
  29121. name: userid
  29122. required: true
  29123. type: integer
  29124. - description: 月份,格式:yyyymm
  29125. in: query
  29126. name: mouth
  29127. required: true
  29128. type: string
  29129. - description: 页码
  29130. in: query
  29131. name: page
  29132. type: integer
  29133. - description: 每页条数
  29134. in: query
  29135. name: pagesize
  29136. type: integer
  29137. produces:
  29138. - application/json
  29139. responses:
  29140. "200":
  29141. description: OK
  29142. schema:
  29143. items:
  29144. $ref: '#/definitions/models.PromotionIncomeDetail'
  29145. type: array
  29146. "500":
  29147. description: Internal Server Error
  29148. schema:
  29149. $ref: '#/definitions/app.Response'
  29150. security:
  29151. - ApiKeyAuth: []
  29152. summary: 查询我的推广-推广收益-明细
  29153. tags:
  29154. - 铁合金
  29155. /Ferroalloy/QueryTHJPurchaseTradeDetail:
  29156. get:
  29157. parameters:
  29158. - description: 用户ID
  29159. in: query
  29160. name: userid
  29161. required: true
  29162. type: integer
  29163. - description: 类型 - 0:未完成 1:已完成
  29164. in: query
  29165. name: type
  29166. type: integer
  29167. - description: 页码
  29168. in: query
  29169. name: page
  29170. type: integer
  29171. - description: 每页条数
  29172. in: query
  29173. name: pagesize
  29174. type: integer
  29175. produces:
  29176. - application/json
  29177. responses:
  29178. "200":
  29179. description: OK
  29180. schema:
  29181. items:
  29182. $ref: '#/definitions/models.Thjpurchasetradedetail'
  29183. type: array
  29184. "500":
  29185. description: Internal Server Error
  29186. schema:
  29187. $ref: '#/definitions/app.Response'
  29188. security:
  29189. - ApiKeyAuth: []
  29190. summary: 查询我的订单-采购订单
  29191. tags:
  29192. - 铁合金
  29193. /Ferroalloy/QueryTHJPurchaseTransfer:
  29194. get:
  29195. parameters:
  29196. - description: 现货商品名称(模糊查询)
  29197. in: query
  29198. name: wrstandardname
  29199. type: string
  29200. - description: 页码
  29201. in: query
  29202. name: page
  29203. type: integer
  29204. - description: 每页条数
  29205. in: query
  29206. name: pagesize
  29207. type: integer
  29208. produces:
  29209. - application/json
  29210. responses:
  29211. "200":
  29212. description: OK
  29213. schema:
  29214. items:
  29215. $ref: '#/definitions/models.PurchaseTransfer'
  29216. type: array
  29217. "500":
  29218. description: Internal Server Error
  29219. schema:
  29220. $ref: '#/definitions/app.Response'
  29221. security:
  29222. - ApiKeyAuth: []
  29223. summary: 查询合同转让列表
  29224. tags:
  29225. - 铁合金
  29226. /Ferroalloy/QueryTHJPurchaseTransferDetail:
  29227. get:
  29228. parameters:
  29229. - description: 现货商品ID
  29230. in: query
  29231. name: wrstandardid
  29232. required: true
  29233. type: integer
  29234. produces:
  29235. - application/json
  29236. responses:
  29237. "200":
  29238. description: OK
  29239. schema:
  29240. items:
  29241. $ref: '#/definitions/models.THJPurchaseTradeDetailRsp'
  29242. type: array
  29243. "500":
  29244. description: Internal Server Error
  29245. schema:
  29246. $ref: '#/definitions/app.Response'
  29247. security:
  29248. - ApiKeyAuth: []
  29249. summary: 查询合同转让详情
  29250. tags:
  29251. - 铁合金
  29252. /Ferroalloy/QueryTHJPurchaseTransferOrder:
  29253. get:
  29254. parameters:
  29255. - description: 用户ID
  29256. in: query
  29257. name: userid
  29258. required: true
  29259. type: integer
  29260. - description: 类型 - 1:转让 2:受让
  29261. in: query
  29262. name: ordertype
  29263. required: true
  29264. type: integer
  29265. - description: 页码
  29266. in: query
  29267. name: page
  29268. type: integer
  29269. - description: 每页条数
  29270. in: query
  29271. name: pagesize
  29272. type: integer
  29273. produces:
  29274. - application/json
  29275. responses:
  29276. "200":
  29277. description: OK
  29278. schema:
  29279. items:
  29280. $ref: '#/definitions/models.Thjpurchasetransfer'
  29281. type: array
  29282. "500":
  29283. description: Internal Server Error
  29284. schema:
  29285. $ref: '#/definitions/app.Response'
  29286. security:
  29287. - ApiKeyAuth: []
  29288. summary: 查询我的订单-转让/受让订单
  29289. tags:
  29290. - 铁合金
  29291. /Ferroalloy/QueryTHJPurchaseTransferOrderDetail:
  29292. get:
  29293. parameters:
  29294. - description: 采购成交单ID
  29295. in: query
  29296. name: wrtradedetailid
  29297. required: true
  29298. type: string
  29299. produces:
  29300. - application/json
  29301. responses:
  29302. "200":
  29303. description: OK
  29304. schema:
  29305. items:
  29306. $ref: '#/definitions/models.ThjpurchasetransferDetail'
  29307. type: array
  29308. "500":
  29309. description: Internal Server Error
  29310. schema:
  29311. $ref: '#/definitions/app.Response'
  29312. security:
  29313. - ApiKeyAuth: []
  29314. summary: 查询我的订单-转让/受让订单-详情
  29315. tags:
  29316. - 铁合金
  29317. /Ferroalloy/QueryTHJScoreConfig:
  29318. get:
  29319. parameters:
  29320. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  29321. 6:自己供求下单积分 7:抽奖配置'
  29322. in: query
  29323. name: stype
  29324. type: string
  29325. produces:
  29326. - application/json
  29327. responses:
  29328. "200":
  29329. description: OK
  29330. schema:
  29331. items:
  29332. $ref: '#/definitions/models.Thjscoreconfig'
  29333. type: array
  29334. "500":
  29335. description: Internal Server Error
  29336. schema:
  29337. $ref: '#/definitions/app.Response'
  29338. security:
  29339. - ApiKeyAuth: []
  29340. summary: 查询积分配置
  29341. tags:
  29342. - 铁合金
  29343. /Ferroalloy/QueryTHJTradeData:
  29344. get:
  29345. parameters:
  29346. - description: 用户ID
  29347. in: query
  29348. name: userid
  29349. required: true
  29350. type: integer
  29351. - description: 市场ID 采购-64201 供求-65201
  29352. in: query
  29353. name: marketid
  29354. required: true
  29355. type: integer
  29356. - description: 页码
  29357. in: query
  29358. name: page
  29359. type: integer
  29360. - description: 每页条数
  29361. in: query
  29362. name: pagesize
  29363. type: integer
  29364. produces:
  29365. - application/json
  29366. responses:
  29367. "200":
  29368. description: OK
  29369. schema:
  29370. items:
  29371. $ref: '#/definitions/models.THJTradeData'
  29372. type: array
  29373. "500":
  29374. description: Internal Server Error
  29375. schema:
  29376. $ref: '#/definitions/app.Response'
  29377. security:
  29378. - ApiKeyAuth: []
  29379. summary: 获取我的推广-交易数据
  29380. tags:
  29381. - 铁合金
  29382. /Ferroalloy/QueryTHJWrstandard:
  29383. get:
  29384. parameters:
  29385. - description: 现货商品名称(模糊查询)
  29386. in: query
  29387. name: wrstandardname
  29388. type: string
  29389. - description: 页码
  29390. in: query
  29391. name: page
  29392. type: integer
  29393. - description: 每页条数
  29394. in: query
  29395. name: pagesize
  29396. type: integer
  29397. produces:
  29398. - application/json
  29399. responses:
  29400. "200":
  29401. description: OK
  29402. schema:
  29403. items:
  29404. $ref: '#/definitions/models.THJWrstandard'
  29405. type: array
  29406. "500":
  29407. description: Internal Server Error
  29408. schema:
  29409. $ref: '#/definitions/app.Response'
  29410. security:
  29411. - ApiKeyAuth: []
  29412. summary: 查询采购列表
  29413. tags:
  29414. - 铁合金
  29415. /Ferroalloy/QueryTHJWrstandardDetail:
  29416. get:
  29417. parameters:
  29418. - description: 现货商品ID
  29419. in: query
  29420. name: wrstandardid
  29421. required: true
  29422. type: integer
  29423. produces:
  29424. - application/json
  29425. responses:
  29426. "200":
  29427. description: OK
  29428. schema:
  29429. items:
  29430. $ref: '#/definitions/models.THJWrstandardDetailRsp'
  29431. type: array
  29432. "500":
  29433. description: Internal Server Error
  29434. schema:
  29435. $ref: '#/definitions/app.Response'
  29436. security:
  29437. - ApiKeyAuth: []
  29438. summary: 查询采购详情
  29439. tags:
  29440. - 铁合金
  29441. /Ferroalloy/QueryUserScoreLog:
  29442. get:
  29443. parameters:
  29444. - description: 用户ID
  29445. in: query
  29446. name: userid
  29447. required: true
  29448. type: integer
  29449. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  29450. 6:自己供求下单积分 7:抽奖配置'
  29451. in: query
  29452. name: stype
  29453. type: string
  29454. - description: 页码
  29455. in: query
  29456. name: page
  29457. type: integer
  29458. - description: 每页条数
  29459. in: query
  29460. name: pagesize
  29461. type: integer
  29462. produces:
  29463. - application/json
  29464. responses:
  29465. "200":
  29466. description: OK
  29467. schema:
  29468. items:
  29469. $ref: '#/definitions/models.GThjuserscorelog'
  29470. type: array
  29471. "500":
  29472. description: Internal Server Error
  29473. schema:
  29474. $ref: '#/definitions/app.Response'
  29475. security:
  29476. - ApiKeyAuth: []
  29477. summary: 查询我的积分流水
  29478. tags:
  29479. - 铁合金
  29480. /Ferroalloy/Signin:
  29481. post:
  29482. parameters:
  29483. - description: 用户签到请求
  29484. in: body
  29485. name: jsonBody
  29486. required: true
  29487. schema:
  29488. $ref: '#/definitions/models.THJSigninReq'
  29489. produces:
  29490. - application/json
  29491. responses:
  29492. "200":
  29493. description: OK
  29494. schema:
  29495. $ref: '#/definitions/models.THJSigninRsp'
  29496. "500":
  29497. description: Internal Server Error
  29498. schema:
  29499. $ref: '#/definitions/app.Response'
  29500. security:
  29501. - ApiKeyAuth: []
  29502. summary: 用户签到
  29503. tags:
  29504. - 铁合金
  29505. /Guangzuan/GZBSFWOrderOperate:
  29506. get:
  29507. parameters:
  29508. - description: 单据ID
  29509. in: query
  29510. name: orderid
  29511. required: true
  29512. type: integer
  29513. produces:
  29514. - application/json
  29515. responses:
  29516. "200":
  29517. description: OK
  29518. schema:
  29519. items:
  29520. $ref: '#/definitions/models.Gzbsfworderoperate'
  29521. type: array
  29522. "500":
  29523. description: Internal Server Error
  29524. schema:
  29525. $ref: '#/definitions/app.Response'
  29526. security:
  29527. - ApiKeyAuth: []
  29528. - LoginID: []
  29529. - Group: []
  29530. summary: 保税服务单据操作信息
  29531. tags:
  29532. - 广钻
  29533. /Guangzuan/GetGoods:
  29534. get:
  29535. parameters:
  29536. - description: 商品编号
  29537. in: query
  29538. name: goodsno
  29539. required: true
  29540. type: string
  29541. produces:
  29542. - application/json
  29543. responses:
  29544. "200":
  29545. description: OK
  29546. schema:
  29547. $ref: '#/definitions/models.GZGoods'
  29548. "500":
  29549. description: Internal Server Error
  29550. schema:
  29551. $ref: '#/definitions/app.Response'
  29552. security:
  29553. - ApiKeyAuth: []
  29554. - LoginID: []
  29555. - Group: []
  29556. summary: 获取钻石详情
  29557. tags:
  29558. - 广钻
  29559. /Guangzuan/GzCertAddressConfig:
  29560. get:
  29561. produces:
  29562. - application/json
  29563. responses:
  29564. "200":
  29565. description: OK
  29566. schema:
  29567. items:
  29568. $ref: '#/definitions/models.Gzcertaddressconfig'
  29569. type: array
  29570. "500":
  29571. description: Internal Server Error
  29572. schema:
  29573. $ref: '#/definitions/app.Response'
  29574. security:
  29575. - ApiKeyAuth: []
  29576. - LoginID: []
  29577. - Group: []
  29578. summary: Rapaport最新报价表(广钻)
  29579. tags:
  29580. - 广钻
  29581. /Guangzuan/GzCertAddressParam:
  29582. get:
  29583. produces:
  29584. - application/json
  29585. responses:
  29586. "200":
  29587. description: OK
  29588. schema:
  29589. items:
  29590. $ref: '#/definitions/models.Gzcertaddressparam'
  29591. type: array
  29592. "500":
  29593. description: Internal Server Error
  29594. schema:
  29595. $ref: '#/definitions/app.Response'
  29596. security:
  29597. - ApiKeyAuth: []
  29598. - LoginID: []
  29599. - Group: []
  29600. summary: 钻石证书地址参数
  29601. tags:
  29602. - 广钻
  29603. /Guangzuan/HomeData:
  29604. get:
  29605. parameters:
  29606. - description: 用户ID
  29607. in: query
  29608. name: userid
  29609. required: true
  29610. type: integer
  29611. produces:
  29612. - application/json
  29613. responses:
  29614. "200":
  29615. description: OK
  29616. schema:
  29617. $ref: '#/definitions/models.GZHomeData'
  29618. "500":
  29619. description: Internal Server Error
  29620. schema:
  29621. $ref: '#/definitions/app.Response'
  29622. security:
  29623. - ApiKeyAuth: []
  29624. - LoginID: []
  29625. - Group: []
  29626. summary: 首页统计数据
  29627. tags:
  29628. - 广钻
  29629. /Guangzuan/PriceCalc:
  29630. get:
  29631. parameters:
  29632. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  29633. in: query
  29634. name: zsshape
  29635. required: true
  29636. type: integer
  29637. - description: 颜色(D-M)
  29638. in: query
  29639. name: zscolor
  29640. required: true
  29641. type: string
  29642. - description: 净度
  29643. in: query
  29644. name: zsclarity
  29645. required: true
  29646. type: string
  29647. - description: 重量
  29648. in: query
  29649. name: weight
  29650. required: true
  29651. type: number
  29652. - description: 汇率
  29653. in: query
  29654. name: rate
  29655. required: true
  29656. type: number
  29657. - description: 折扣(%), 方向(加:10, 减:-10 )
  29658. in: query
  29659. name: discount
  29660. type: number
  29661. produces:
  29662. - application/json
  29663. responses:
  29664. "200":
  29665. description: OK
  29666. schema:
  29667. items:
  29668. $ref: '#/definitions/models.Gzrapaportprice'
  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/QueryBuyOrder:
  29682. get:
  29683. parameters:
  29684. - description: 页码
  29685. in: query
  29686. name: page
  29687. type: integer
  29688. - description: 每页条数
  29689. in: query
  29690. name: pagesize
  29691. type: integer
  29692. - description: 商品(查询字段-模糊查询)
  29693. in: query
  29694. name: zsallproperties
  29695. type: string
  29696. - description: 钻石分类, 格式:1,2,3
  29697. in: query
  29698. name: zscategorys
  29699. type: string
  29700. - description: 委托单号
  29701. in: query
  29702. name: wrtradeorderid
  29703. type: integer
  29704. - description: 买方(查询字段-模糊查询)
  29705. in: query
  29706. name: buyusername
  29707. type: string
  29708. produces:
  29709. - application/json
  29710. responses:
  29711. "200":
  29712. description: OK
  29713. schema:
  29714. items:
  29715. $ref: '#/definitions/models.BuyOrder'
  29716. type: array
  29717. "500":
  29718. description: Internal Server Error
  29719. schema:
  29720. $ref: '#/definitions/app.Response'
  29721. security:
  29722. - ApiKeyAuth: []
  29723. - LoginID: []
  29724. - Group: []
  29725. summary: 查询求购大厅委托单
  29726. tags:
  29727. - 广钻
  29728. /Guangzuan/QueryDiamond:
  29729. post:
  29730. parameters:
  29731. - description: 钻石搜索入参
  29732. in: body
  29733. name: data
  29734. required: true
  29735. schema:
  29736. $ref: '#/definitions/models.SellOrderQueryReq'
  29737. produces:
  29738. - application/json
  29739. responses:
  29740. "200":
  29741. description: OK
  29742. schema:
  29743. items:
  29744. $ref: '#/definitions/models.SellOrder'
  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/QueryGZBSFWOrder:
  29758. get:
  29759. parameters:
  29760. - description: 用户ID
  29761. in: query
  29762. name: userid
  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.GzbsfworderM'
  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/QueryGZBSFWOrderDetail:
  29794. get:
  29795. parameters:
  29796. - description: 用户ID
  29797. in: query
  29798. name: userid
  29799. required: true
  29800. type: integer
  29801. - description: 单据ID
  29802. in: query
  29803. name: orderid
  29804. type: integer
  29805. - description: 页码
  29806. in: query
  29807. name: page
  29808. type: integer
  29809. - description: 每页条数
  29810. in: query
  29811. name: pagesize
  29812. type: integer
  29813. produces:
  29814. - application/json
  29815. responses:
  29816. "200":
  29817. description: OK
  29818. schema:
  29819. items:
  29820. $ref: '#/definitions/models.GzbsfworderdetailM'
  29821. type: array
  29822. "500":
  29823. description: Internal Server Error
  29824. schema:
  29825. $ref: '#/definitions/app.Response'
  29826. security:
  29827. - ApiKeyAuth: []
  29828. - LoginID: []
  29829. - Group: []
  29830. summary: 查询保税服务单据明细
  29831. tags:
  29832. - 广钻
  29833. /Guangzuan/QueryGZCJBSOrderFile:
  29834. get:
  29835. parameters:
  29836. - description: 单据ID
  29837. in: query
  29838. name: orderid
  29839. required: true
  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.GzcjbsorderfileM'
  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/QueryGZCJJCOrder:
  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. produces:
  29886. - application/json
  29887. responses:
  29888. "200":
  29889. description: OK
  29890. schema:
  29891. items:
  29892. $ref: '#/definitions/models.GzcjjcorderM'
  29893. type: array
  29894. "500":
  29895. description: Internal Server Error
  29896. schema:
  29897. $ref: '#/definitions/app.Response'
  29898. security:
  29899. - ApiKeyAuth: []
  29900. - LoginID: []
  29901. - Group: []
  29902. summary: 查询出境检测单据
  29903. tags:
  29904. - 广钻
  29905. /Guangzuan/QueryGZCJJCOrderDetail:
  29906. get:
  29907. parameters:
  29908. - description: 用户ID
  29909. in: query
  29910. name: userid
  29911. required: true
  29912. type: integer
  29913. - description: 单据ID
  29914. in: query
  29915. name: orderid
  29916. type: integer
  29917. - description: 页码
  29918. in: query
  29919. name: page
  29920. type: integer
  29921. - description: 每页条数
  29922. in: query
  29923. name: pagesize
  29924. type: integer
  29925. produces:
  29926. - application/json
  29927. responses:
  29928. "200":
  29929. description: OK
  29930. schema:
  29931. items:
  29932. $ref: '#/definitions/models.GzcjjcorderdetailM'
  29933. type: array
  29934. "500":
  29935. description: Internal Server Error
  29936. schema:
  29937. $ref: '#/definitions/app.Response'
  29938. security:
  29939. - ApiKeyAuth: []
  29940. - LoginID: []
  29941. - Group: []
  29942. summary: 查询出境检测单据明细(批次信息)
  29943. tags:
  29944. - 广钻
  29945. /Guangzuan/QueryMemberReport:
  29946. get:
  29947. parameters:
  29948. - description: 用户ID
  29949. in: query
  29950. name: userid
  29951. required: true
  29952. type: integer
  29953. - description: 页码
  29954. in: query
  29955. name: page
  29956. type: integer
  29957. - description: 每页条数
  29958. in: query
  29959. name: pagesize
  29960. type: integer
  29961. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  29962. in: query
  29963. name: cycletype
  29964. type: string
  29965. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29966. in: query
  29967. name: begindate
  29968. required: true
  29969. type: string
  29970. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29971. in: query
  29972. name: enddate
  29973. required: true
  29974. type: string
  29975. produces:
  29976. - application/json
  29977. responses:
  29978. "200":
  29979. description: OK
  29980. schema:
  29981. items:
  29982. $ref: '#/definitions/models.Reckondaytaaccount'
  29983. type: array
  29984. "500":
  29985. description: Internal Server Error
  29986. schema:
  29987. $ref: '#/definitions/app.Response'
  29988. security:
  29989. - ApiKeyAuth: []
  29990. - LoginID: []
  29991. - Group: []
  29992. summary: 查询会员报表
  29993. tags:
  29994. - 广钻
  29995. /Guangzuan/QueryMyBargainApply:
  29996. get:
  29997. parameters:
  29998. - description: 用户ID
  29999. in: query
  30000. name: userid
  30001. required: true
  30002. type: integer
  30003. - description: 页码
  30004. in: query
  30005. name: page
  30006. type: integer
  30007. - description: 每页条数
  30008. in: query
  30009. name: pagesize
  30010. type: integer
  30011. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  30012. in: query
  30013. name: applystatus
  30014. type: integer
  30015. - description: 查询类型 - 0:我的询价 1:我订单的询价
  30016. in: query
  30017. name: type
  30018. type: integer
  30019. - description: 关联委托单ID
  30020. in: query
  30021. name: wrtradeorderid
  30022. type: string
  30023. produces:
  30024. - application/json
  30025. responses:
  30026. "200":
  30027. description: OK
  30028. schema:
  30029. items:
  30030. $ref: '#/definitions/models.MyBargainApply'
  30031. type: array
  30032. "500":
  30033. description: Internal Server Error
  30034. schema:
  30035. $ref: '#/definitions/app.Response'
  30036. security:
  30037. - ApiKeyAuth: []
  30038. - LoginID: []
  30039. - Group: []
  30040. summary: 查询询价-求购
  30041. tags:
  30042. - 广钻
  30043. /Guangzuan/QueryMyBuyOrder:
  30044. get:
  30045. parameters:
  30046. - description: 用户ID
  30047. in: query
  30048. name: userid
  30049. required: true
  30050. type: integer
  30051. - description: 页码
  30052. in: query
  30053. name: page
  30054. type: integer
  30055. - description: 每页条数
  30056. in: query
  30057. name: pagesize
  30058. type: integer
  30059. - description: 商品(查询字段-模糊查询)
  30060. in: query
  30061. name: zsallproperties
  30062. type: string
  30063. - description: 钻石分类, 格式:1,2,3
  30064. in: query
  30065. name: zscategorys
  30066. type: string
  30067. - description: 委托单号
  30068. in: query
  30069. name: wrtradeorderid
  30070. type: integer
  30071. - description: 是否历史查询
  30072. in: query
  30073. name: ishis
  30074. type: boolean
  30075. - description: 开始交易日(yyyymmdd)
  30076. in: query
  30077. name: begindate
  30078. type: string
  30079. - description: 结束交易日(yyyymmdd)
  30080. in: query
  30081. name: enddate
  30082. type: string
  30083. produces:
  30084. - application/json
  30085. responses:
  30086. "200":
  30087. description: OK
  30088. schema:
  30089. items:
  30090. $ref: '#/definitions/models.MyBuyOrder'
  30091. type: array
  30092. "500":
  30093. description: Internal Server Error
  30094. schema:
  30095. $ref: '#/definitions/app.Response'
  30096. security:
  30097. - ApiKeyAuth: []
  30098. - LoginID: []
  30099. - Group: []
  30100. summary: 查询我的求购
  30101. tags:
  30102. - 广钻
  30103. /Guangzuan/QueryMyDeListing:
  30104. get:
  30105. parameters:
  30106. - description: 用户ID
  30107. in: query
  30108. name: userid
  30109. required: true
  30110. type: integer
  30111. - description: 页码
  30112. in: query
  30113. name: page
  30114. type: integer
  30115. - description: 每页条数
  30116. in: query
  30117. name: pagesize
  30118. type: integer
  30119. - description: 商品(查询字段-模糊查询)
  30120. in: query
  30121. name: zsallproperties
  30122. type: string
  30123. - description: 钻石分类, 格式:1,2,3
  30124. in: query
  30125. name: zscategorys
  30126. type: string
  30127. - description: 成交单号
  30128. in: query
  30129. name: wrtradedetailid
  30130. type: integer
  30131. - description: 方向,0-购买 1-出售
  30132. in: query
  30133. name: buyorsell
  30134. type: integer
  30135. - description: 对手方(模糊匹配)
  30136. in: query
  30137. name: matchusername
  30138. type: string
  30139. - description: 开始交易日(yyyymmdd)
  30140. in: query
  30141. name: begindate
  30142. type: string
  30143. - description: 结束交易日(yyyymmdd)
  30144. in: query
  30145. name: enddate
  30146. type: string
  30147. produces:
  30148. - application/json
  30149. responses:
  30150. "200":
  30151. description: OK
  30152. schema:
  30153. items:
  30154. $ref: '#/definitions/models.MyDeListing'
  30155. type: array
  30156. "500":
  30157. description: Internal Server Error
  30158. schema:
  30159. $ref: '#/definitions/app.Response'
  30160. security:
  30161. - ApiKeyAuth: []
  30162. - LoginID: []
  30163. - Group: []
  30164. summary: 查询我的摘牌
  30165. tags:
  30166. - 广钻
  30167. /Guangzuan/QueryMyDelistingApply:
  30168. get:
  30169. parameters:
  30170. - description: 用户ID
  30171. in: query
  30172. name: userid
  30173. required: true
  30174. type: integer
  30175. - description: 页码
  30176. in: query
  30177. name: page
  30178. type: integer
  30179. - description: 每页条数
  30180. in: query
  30181. name: pagesize
  30182. type: integer
  30183. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  30184. in: query
  30185. name: applystatus
  30186. type: integer
  30187. - description: 查询类型 - 0:我的询价 1:我订单的询价
  30188. in: query
  30189. name: type
  30190. type: integer
  30191. - description: 买委托单ID
  30192. in: query
  30193. name: buywrtradeorderid
  30194. type: string
  30195. produces:
  30196. - application/json
  30197. responses:
  30198. "200":
  30199. description: OK
  30200. schema:
  30201. items:
  30202. $ref: '#/definitions/models.MyDelistingApply'
  30203. type: array
  30204. "500":
  30205. description: Internal Server Error
  30206. schema:
  30207. $ref: '#/definitions/app.Response'
  30208. security:
  30209. - ApiKeyAuth: []
  30210. - LoginID: []
  30211. - Group: []
  30212. summary: 查询询价-出售
  30213. tags:
  30214. - 广钻
  30215. /Guangzuan/QueryMyFavorite:
  30216. get:
  30217. parameters:
  30218. - description: 用户ID
  30219. in: query
  30220. name: userid
  30221. required: true
  30222. type: integer
  30223. - description: 页码
  30224. in: query
  30225. name: page
  30226. type: integer
  30227. - description: 每页条数
  30228. in: query
  30229. name: pagesize
  30230. type: integer
  30231. - description: 钻石分类, 格式:1,2,3
  30232. in: query
  30233. name: zscategorys
  30234. type: string
  30235. produces:
  30236. - application/json
  30237. responses:
  30238. "200":
  30239. description: OK
  30240. schema:
  30241. items:
  30242. $ref: '#/definitions/models.MyFavorite'
  30243. type: array
  30244. "500":
  30245. description: Internal Server Error
  30246. schema:
  30247. $ref: '#/definitions/app.Response'
  30248. security:
  30249. - ApiKeyAuth: []
  30250. - LoginID: []
  30251. - Group: []
  30252. summary: 查询我的收藏
  30253. tags:
  30254. - 广钻
  30255. /Guangzuan/QueryMyPerformanc:
  30256. get:
  30257. parameters:
  30258. - description: 用户ID
  30259. in: query
  30260. name: userid
  30261. required: true
  30262. type: integer
  30263. - description: 页码
  30264. in: query
  30265. name: page
  30266. type: integer
  30267. - description: 每页条数
  30268. in: query
  30269. name: pagesize
  30270. type: integer
  30271. - description: 商品(查询字段-模糊查询)
  30272. in: query
  30273. name: zsallproperties
  30274. type: string
  30275. - description: 方向,0-买 1-卖
  30276. in: query
  30277. name: buyorsell
  30278. type: integer
  30279. - description: 是否历史查询
  30280. in: query
  30281. name: ishis
  30282. type: boolean
  30283. - description: 开始交易日(yyyymmdd)
  30284. in: query
  30285. name: begindate
  30286. type: string
  30287. - description: 结束交易日(yyyymmdd)
  30288. in: query
  30289. name: enddate
  30290. type: string
  30291. produces:
  30292. - application/json
  30293. responses:
  30294. "200":
  30295. description: OK
  30296. schema:
  30297. items:
  30298. $ref: '#/definitions/models.MyPerformanc'
  30299. type: array
  30300. "500":
  30301. description: Internal Server Error
  30302. schema:
  30303. $ref: '#/definitions/app.Response'
  30304. security:
  30305. - ApiKeyAuth: []
  30306. - LoginID: []
  30307. - Group: []
  30308. summary: 查询我的履约
  30309. tags:
  30310. - 广钻
  30311. /Guangzuan/QueryMySellOrder:
  30312. get:
  30313. parameters:
  30314. - description: 用户ID
  30315. in: query
  30316. name: userid
  30317. required: true
  30318. type: integer
  30319. - description: 页码
  30320. in: query
  30321. name: page
  30322. type: integer
  30323. - description: 每页条数
  30324. in: query
  30325. name: pagesize
  30326. type: integer
  30327. - description: 商品(查询字段-模糊查询)
  30328. in: query
  30329. name: zsallproperties
  30330. type: string
  30331. - description: 钻石分类, 格式:1,2,3
  30332. in: query
  30333. name: zscategorys
  30334. type: string
  30335. - description: 委托单号
  30336. in: query
  30337. name: wrtradeorderid
  30338. type: integer
  30339. - description: 是否历史查询
  30340. in: query
  30341. name: ishis
  30342. type: boolean
  30343. - description: 开始交易日(yyyymmdd)
  30344. in: query
  30345. name: begindate
  30346. type: string
  30347. - description: 结束交易日(yyyymmdd)
  30348. in: query
  30349. name: enddate
  30350. type: string
  30351. produces:
  30352. - application/json
  30353. responses:
  30354. "200":
  30355. description: OK
  30356. schema:
  30357. items:
  30358. $ref: '#/definitions/models.MySellOrder'
  30359. type: array
  30360. "500":
  30361. description: Internal Server Error
  30362. schema:
  30363. $ref: '#/definitions/app.Response'
  30364. security:
  30365. - ApiKeyAuth: []
  30366. - LoginID: []
  30367. - Group: []
  30368. summary: 查询我的出售
  30369. tags:
  30370. - 广钻
  30371. /Guangzuan/QueryMyWRPosition:
  30372. get:
  30373. parameters:
  30374. - description: 页码
  30375. in: query
  30376. name: page
  30377. type: integer
  30378. - description: 每页条数
  30379. in: query
  30380. name: pagesize
  30381. type: integer
  30382. - description: 登录用户ID
  30383. in: query
  30384. name: wruserid
  30385. required: true
  30386. type: integer
  30387. - description: 商品(查询字段-模糊查询)
  30388. in: query
  30389. name: zsallproperties
  30390. type: string
  30391. - description: 钻石分类, 格式:1,2,3
  30392. in: query
  30393. name: zscategorys
  30394. type: string
  30395. - description: 仓库ID
  30396. in: query
  30397. name: warehouseid
  30398. type: integer
  30399. - description: 是否上架,0-全部 1-是 2-否
  30400. in: query
  30401. name: marketflag
  30402. type: integer
  30403. produces:
  30404. - application/json
  30405. responses:
  30406. "200":
  30407. description: OK
  30408. schema:
  30409. items:
  30410. $ref: '#/definitions/models.MyWRPosition'
  30411. type: array
  30412. "500":
  30413. description: Internal Server Error
  30414. schema:
  30415. $ref: '#/definitions/app.Response'
  30416. security:
  30417. - ApiKeyAuth: []
  30418. - LoginID: []
  30419. - Group: []
  30420. summary: 查询我的库存
  30421. tags:
  30422. - 广钻
  30423. /Guangzuan/QuerySellOrder:
  30424. get:
  30425. parameters:
  30426. - description: 页码
  30427. in: query
  30428. name: page
  30429. type: integer
  30430. - description: 每页条数
  30431. in: query
  30432. name: pagesize
  30433. type: integer
  30434. - description: 商品(查询字段-模糊查询)
  30435. in: query
  30436. name: zsallproperties
  30437. type: string
  30438. - description: 钻石分类, 格式:1,2,3
  30439. in: query
  30440. name: zscategorys
  30441. type: string
  30442. - description: 委托单号
  30443. in: query
  30444. name: wrtradeorderid
  30445. type: integer
  30446. - description: 卖方(查询字段-模糊查询)
  30447. in: query
  30448. name: buyusername
  30449. type: string
  30450. produces:
  30451. - application/json
  30452. responses:
  30453. "200":
  30454. description: OK
  30455. schema:
  30456. items:
  30457. $ref: '#/definitions/models.SellOrder'
  30458. type: array
  30459. "500":
  30460. description: Internal Server Error
  30461. schema:
  30462. $ref: '#/definitions/app.Response'
  30463. security:
  30464. - ApiKeyAuth: []
  30465. - LoginID: []
  30466. - Group: []
  30467. summary: 查询出售大厅委托单
  30468. tags:
  30469. - 广钻
  30470. /Guangzuan/QueryTradeReport:
  30471. get:
  30472. parameters:
  30473. - description: 用户ID
  30474. in: query
  30475. name: userid
  30476. required: true
  30477. type: integer
  30478. - description: 页码
  30479. in: query
  30480. name: page
  30481. type: integer
  30482. - description: 每页条数
  30483. in: query
  30484. name: pagesize
  30485. type: integer
  30486. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  30487. in: query
  30488. name: cycletype
  30489. type: string
  30490. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  30491. in: query
  30492. name: begindate
  30493. required: true
  30494. type: string
  30495. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  30496. in: query
  30497. name: enddate
  30498. required: true
  30499. type: string
  30500. - description: 商品分类
  30501. in: query
  30502. name: zscategory
  30503. type: integer
  30504. - description: 商品币种
  30505. in: query
  30506. name: zscurrencytype
  30507. type: integer
  30508. produces:
  30509. - application/json
  30510. responses:
  30511. "200":
  30512. description: OK
  30513. schema:
  30514. items:
  30515. $ref: '#/definitions/models.Reckongzmemtradesum'
  30516. type: array
  30517. "500":
  30518. description: Internal Server Error
  30519. schema:
  30520. $ref: '#/definitions/app.Response'
  30521. security:
  30522. - ApiKeyAuth: []
  30523. - LoginID: []
  30524. - Group: []
  30525. summary: 查询交易报表
  30526. tags:
  30527. - 广钻
  30528. /Guangzuan/QueryWRPositionReport:
  30529. get:
  30530. parameters:
  30531. - description: 用户ID
  30532. in: query
  30533. name: userid
  30534. required: true
  30535. type: integer
  30536. - description: 页码
  30537. in: query
  30538. name: page
  30539. type: integer
  30540. - description: 每页条数
  30541. in: query
  30542. name: pagesize
  30543. type: integer
  30544. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  30545. in: query
  30546. name: cycletype
  30547. type: string
  30548. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  30549. in: query
  30550. name: begindate
  30551. required: true
  30552. type: string
  30553. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  30554. in: query
  30555. name: enddate
  30556. required: true
  30557. type: string
  30558. - description: 商品分类
  30559. in: query
  30560. name: zscategory
  30561. type: integer
  30562. - description: 商品币种
  30563. in: query
  30564. name: zscurrencytype
  30565. type: integer
  30566. produces:
  30567. - application/json
  30568. responses:
  30569. "200":
  30570. description: OK
  30571. schema:
  30572. items:
  30573. $ref: '#/definitions/models.WRPositionReport'
  30574. type: array
  30575. "500":
  30576. description: Internal Server Error
  30577. schema:
  30578. $ref: '#/definitions/app.Response'
  30579. security:
  30580. - ApiKeyAuth: []
  30581. - LoginID: []
  30582. - Group: []
  30583. summary: 查询仓储报表
  30584. tags:
  30585. - 广钻
  30586. /Guangzuan/QueryWarehouseInfo:
  30587. get:
  30588. parameters:
  30589. - description: 页码
  30590. in: query
  30591. name: page
  30592. type: integer
  30593. - description: 每页条数
  30594. in: query
  30595. name: pagesize
  30596. type: integer
  30597. - description: 用户ID
  30598. in: query
  30599. name: userid
  30600. required: true
  30601. type: integer
  30602. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  30603. in: query
  30604. name: status
  30605. type: string
  30606. - description: 是返回交易所仓库
  30607. in: query
  30608. name: isincludeexchange
  30609. type: boolean
  30610. produces:
  30611. - application/json
  30612. responses:
  30613. "200":
  30614. description: OK
  30615. schema:
  30616. items:
  30617. $ref: '#/definitions/models.GZWarehouseinfo'
  30618. type: array
  30619. "500":
  30620. description: Internal Server Error
  30621. schema:
  30622. $ref: '#/definitions/app.Response'
  30623. security:
  30624. - ApiKeyAuth: []
  30625. - LoginID: []
  30626. - Group: []
  30627. summary: 查询仓库信息
  30628. tags:
  30629. - 广钻
  30630. /Market/GetAllExExchanges:
  30631. get:
  30632. produces:
  30633. - application/json
  30634. responses:
  30635. "200":
  30636. description: OK
  30637. schema:
  30638. $ref: '#/definitions/models.Goods'
  30639. "500":
  30640. description: Internal Server Error
  30641. schema:
  30642. $ref: '#/definitions/app.Response'
  30643. security:
  30644. - ApiKeyAuth: []
  30645. summary: 获取所有外部交易所信息
  30646. tags:
  30647. - 通用市场
  30648. /Market/QueryGoodsesByLoginID:
  30649. get:
  30650. parameters:
  30651. - description: 登录账号
  30652. in: query
  30653. name: loginID
  30654. required: true
  30655. type: integer
  30656. - description: 市场ID列表,格式:1,2,3
  30657. in: query
  30658. name: marketIDs
  30659. type: string
  30660. produces:
  30661. - application/json
  30662. responses:
  30663. "200":
  30664. description: OK
  30665. schema:
  30666. $ref: '#/definitions/models.Goods'
  30667. "500":
  30668. description: Internal Server Error
  30669. schema:
  30670. $ref: '#/definitions/app.Response'
  30671. security:
  30672. - ApiKeyAuth: []
  30673. summary: 获取登录账号有权限的商品信息
  30674. tags:
  30675. - 通用市场
  30676. /Market/QueryMarketRun:
  30677. get:
  30678. parameters:
  30679. - description: 市场ID,不传返回所有
  30680. in: query
  30681. name: marketID
  30682. type: integer
  30683. produces:
  30684. - application/json
  30685. responses:
  30686. "200":
  30687. description: OK
  30688. schema:
  30689. $ref: '#/definitions/models.Marketrun'
  30690. "500":
  30691. description: Internal Server Error
  30692. schema:
  30693. $ref: '#/definitions/app.Response'
  30694. security:
  30695. - ApiKeyAuth: []
  30696. summary: 查询市场运行信息
  30697. tags:
  30698. - 通用市场
  30699. /Market/QueryMarketsByLoginID:
  30700. get:
  30701. parameters:
  30702. - description: 登录账号
  30703. in: query
  30704. name: loginID
  30705. required: true
  30706. type: integer
  30707. produces:
  30708. - application/json
  30709. responses:
  30710. "200":
  30711. description: OK
  30712. schema:
  30713. $ref: '#/definitions/models.Market'
  30714. "500":
  30715. description: Internal Server Error
  30716. schema:
  30717. $ref: '#/definitions/app.Response'
  30718. security:
  30719. - ApiKeyAuth: []
  30720. summary: 获取登录账号有权限的市场信息
  30721. tags:
  30722. - 通用市场
  30723. /Order/QueryHisTradeDetail:
  30724. get:
  30725. parameters:
  30726. - description: 资金账户 - 格式:1,2,3
  30727. in: query
  30728. name: accountID
  30729. required: true
  30730. type: string
  30731. - description: 成交单号
  30732. in: query
  30733. name: tradeID
  30734. type: integer
  30735. - description: 委托单号
  30736. in: query
  30737. name: orderID
  30738. type: integer
  30739. - description: 商品ID
  30740. in: query
  30741. name: goodsID
  30742. type: integer
  30743. - description: 交易模式 - 格式:1,2,3
  30744. in: query
  30745. name: tradeMode
  30746. type: string
  30747. - description: 委托单据类型
  30748. in: query
  30749. name: buildType
  30750. type: integer
  30751. - description: 成交类别 - 格式:1,2,3
  30752. in: query
  30753. name: tradeType
  30754. type: string
  30755. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30756. in: query
  30757. name: startDate
  30758. type: string
  30759. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30760. in: query
  30761. name: endDate
  30762. type: string
  30763. produces:
  30764. - application/json
  30765. responses:
  30766. "200":
  30767. description: OK
  30768. schema:
  30769. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  30770. "500":
  30771. description: Internal Server Error
  30772. schema:
  30773. $ref: '#/definitions/app.Response'
  30774. security:
  30775. - ApiKeyAuth: []
  30776. summary: 历史成交单查询(合约市场)
  30777. tags:
  30778. - 通用单据
  30779. /Order/QueryHisTradeOrderDetail:
  30780. get:
  30781. parameters:
  30782. - description: 资金账户 - 格式:1,2,3
  30783. in: query
  30784. name: accountID
  30785. required: true
  30786. type: string
  30787. - description: 交易模式 - 格式:1,2,3
  30788. in: query
  30789. name: tradeMode
  30790. type: string
  30791. - description: 委托状态 - 格式:1,2,3
  30792. in: query
  30793. name: orderStatus
  30794. type: string
  30795. - description: 委托单号
  30796. in: query
  30797. name: orderID
  30798. type: integer
  30799. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30800. in: query
  30801. name: startDate
  30802. type: string
  30803. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30804. in: query
  30805. name: endDate
  30806. type: string
  30807. produces:
  30808. - application/json
  30809. responses:
  30810. "200":
  30811. description: OK
  30812. schema:
  30813. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  30814. "500":
  30815. description: Internal Server Error
  30816. schema:
  30817. $ref: '#/definitions/app.Response'
  30818. security:
  30819. - ApiKeyAuth: []
  30820. summary: 历史委托单查询请求(合约市场)
  30821. tags:
  30822. - 通用单据
  30823. /Order/QueryTradeDetail:
  30824. get:
  30825. parameters:
  30826. - description: 资金账户 - 格式:1,2,3
  30827. in: query
  30828. name: accountID
  30829. required: true
  30830. type: string
  30831. - description: 成交单号
  30832. in: query
  30833. name: tradeID
  30834. type: integer
  30835. - description: 委托单号
  30836. in: query
  30837. name: orderID
  30838. type: integer
  30839. - description: 交易模式 - 格式:1,2,3
  30840. in: query
  30841. name: tradeMode
  30842. type: string
  30843. - description: 委托单据类型
  30844. in: query
  30845. name: buildType
  30846. type: integer
  30847. - description: 成交类别 - 格式:1,2,3
  30848. in: query
  30849. name: tradeType
  30850. type: string
  30851. - description: 商品ID
  30852. in: query
  30853. name: goodsID
  30854. type: integer
  30855. produces:
  30856. - application/json
  30857. responses:
  30858. "200":
  30859. description: OK
  30860. schema:
  30861. $ref: '#/definitions/order.QueryTradeDetailRsp'
  30862. "500":
  30863. description: Internal Server Error
  30864. schema:
  30865. $ref: '#/definitions/app.Response'
  30866. security:
  30867. - ApiKeyAuth: []
  30868. summary: 成交单查询(合约市场)
  30869. tags:
  30870. - 通用单据
  30871. /Order/QueryTradeHolderDetail:
  30872. get:
  30873. parameters:
  30874. - description: 用户id
  30875. in: query
  30876. name: userid
  30877. type: integer
  30878. - description: 资金账号, 格式 1,2,3
  30879. in: query
  30880. name: accids
  30881. type: string
  30882. - description: 交易模式, 格式 1,2,3
  30883. in: query
  30884. name: trademodes
  30885. type: string
  30886. - description: 市场id, 格式 1,2,3
  30887. in: query
  30888. name: marketids
  30889. type: string
  30890. - description: 商品id
  30891. in: query
  30892. name: goodsid
  30893. type: integer
  30894. - description: 买卖方向 0-买 1-卖
  30895. in: query
  30896. name: buyorsell
  30897. type: integer
  30898. produces:
  30899. - application/json
  30900. responses:
  30901. "200":
  30902. description: OK
  30903. schema:
  30904. items:
  30905. $ref: '#/definitions/models.TradeHolderDetail'
  30906. type: array
  30907. "500":
  30908. description: Internal Server Error
  30909. schema:
  30910. $ref: '#/definitions/app.Response'
  30911. security:
  30912. - ApiKeyAuth: []
  30913. summary: 查询持仓明细
  30914. tags:
  30915. - 通用单据
  30916. /Order/QueryTradeOrderDetail:
  30917. get:
  30918. parameters:
  30919. - description: 资金账户 - 格式:1,2,3
  30920. in: query
  30921. name: accountID
  30922. required: true
  30923. type: string
  30924. - description: 交易模式 - 格式:1,2,3
  30925. in: query
  30926. name: tradeMode
  30927. type: string
  30928. - description: 委托状态 - 格式:1,2,3
  30929. in: query
  30930. name: orderStatus
  30931. type: string
  30932. - description: 委托单号
  30933. in: query
  30934. name: orderID
  30935. type: integer
  30936. produces:
  30937. - application/json
  30938. responses:
  30939. "200":
  30940. description: OK
  30941. schema:
  30942. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  30943. "500":
  30944. description: Internal Server Error
  30945. schema:
  30946. $ref: '#/definitions/app.Response'
  30947. security:
  30948. - ApiKeyAuth: []
  30949. summary: 委托单查询请求(合约市场)
  30950. tags:
  30951. - 通用单据
  30952. /Order/QueryTradePosition:
  30953. get:
  30954. parameters:
  30955. - description: 资金账户 - 格式:1,2,3
  30956. in: query
  30957. name: accountID
  30958. required: true
  30959. type: string
  30960. - description: 交易模式 - 格式:1,2,3
  30961. in: query
  30962. name: tradeMode
  30963. type: string
  30964. produces:
  30965. - application/json
  30966. responses:
  30967. "200":
  30968. description: OK
  30969. schema:
  30970. $ref: '#/definitions/order.QueryTradePositionRsp'
  30971. "500":
  30972. description: Internal Server Error
  30973. schema:
  30974. $ref: '#/definitions/app.Response'
  30975. security:
  30976. - ApiKeyAuth: []
  30977. summary: 持仓汇总查询(合约市场)
  30978. tags:
  30979. - 通用单据
  30980. /Qhj/QueryAccountInOutApply:
  30981. get:
  30982. parameters:
  30983. - description: 用户ID
  30984. in: query
  30985. name: userid
  30986. required: true
  30987. type: integer
  30988. - description: 申请起始日期(格式yyyymmdd)
  30989. in: query
  30990. name: begindate
  30991. type: string
  30992. - description: 申请截止日期(格式yyyymmdd)
  30993. in: query
  30994. name: enddate
  30995. type: string
  30996. - description: 模糊搜索名称
  30997. in: query
  30998. name: likename
  30999. type: string
  31000. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  31001. in: query
  31002. name: applystatus
  31003. type: integer
  31004. - description: 查询类型 1-提现(出金) 2-充值(入金)
  31005. in: query
  31006. name: querytype
  31007. type: integer
  31008. produces:
  31009. - application/json
  31010. responses:
  31011. "200":
  31012. description: OK
  31013. schema:
  31014. items:
  31015. $ref: '#/definitions/models.QhjAccountOutInApply'
  31016. type: array
  31017. "500":
  31018. description: Internal Server Error
  31019. schema:
  31020. $ref: '#/definitions/app.Response'
  31021. security:
  31022. - ApiKeyAuth: []
  31023. summary: 查询充值提现
  31024. tags:
  31025. - 大连千海金
  31026. /Qhj/QueryAreaFinanceConfig:
  31027. get:
  31028. parameters:
  31029. - description: 机构用户ID 其他做市关系,都设置为 1
  31030. in: query
  31031. name: userid
  31032. type: integer
  31033. produces:
  31034. - application/json
  31035. responses:
  31036. "200":
  31037. description: OK
  31038. schema:
  31039. items:
  31040. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  31041. type: array
  31042. "500":
  31043. description: Internal Server Error
  31044. schema:
  31045. $ref: '#/definitions/app.Response'
  31046. security:
  31047. - ApiKeyAuth: []
  31048. summary: 查询企业配置表
  31049. tags:
  31050. - 大连千海金
  31051. /Qhj/QueryBankAccountSign:
  31052. get:
  31053. parameters:
  31054. - description: 用户ID
  31055. in: query
  31056. name: userid
  31057. required: true
  31058. type: integer
  31059. produces:
  31060. - application/json
  31061. responses:
  31062. "200":
  31063. description: OK
  31064. schema:
  31065. items:
  31066. $ref: '#/definitions/models.QhjBankAccountSign'
  31067. type: array
  31068. "500":
  31069. description: Internal Server Error
  31070. schema:
  31071. $ref: '#/definitions/app.Response'
  31072. security:
  31073. - ApiKeyAuth: []
  31074. summary: 查询签约银行信息(提现账户管理)
  31075. tags:
  31076. - 大连千海金
  31077. /Qhj/QueryBankInfo:
  31078. get:
  31079. produces:
  31080. - application/json
  31081. responses:
  31082. "200":
  31083. description: OK
  31084. schema:
  31085. items:
  31086. $ref: '#/definitions/models.QhjBankInfo'
  31087. type: array
  31088. "500":
  31089. description: Internal Server Error
  31090. schema:
  31091. $ref: '#/definitions/app.Response'
  31092. security:
  31093. - ApiKeyAuth: []
  31094. summary: 查询开户行
  31095. tags:
  31096. - 大连千海金
  31097. /Qhj/QueryBrokerApply:
  31098. get:
  31099. parameters:
  31100. - description: 所属机构ID
  31101. in: query
  31102. name: userid
  31103. type: integer
  31104. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  31105. in: query
  31106. name: filterstatus
  31107. type: string
  31108. produces:
  31109. - application/json
  31110. responses:
  31111. "200":
  31112. description: OK
  31113. schema:
  31114. items:
  31115. $ref: '#/definitions/models.QhjBrokerApply'
  31116. type: array
  31117. "500":
  31118. description: Internal Server Error
  31119. schema:
  31120. $ref: '#/definitions/app.Response'
  31121. security:
  31122. - ApiKeyAuth: []
  31123. summary: 查询经纪人申请
  31124. tags:
  31125. - 大连千海金
  31126. /Qhj/QueryBrokerApplyEx:
  31127. get:
  31128. parameters:
  31129. - description: 所属机构ID
  31130. in: query
  31131. name: userid
  31132. type: integer
  31133. produces:
  31134. - application/json
  31135. responses:
  31136. "200":
  31137. description: OK
  31138. schema:
  31139. items:
  31140. $ref: '#/definitions/models.QhjBrokerApplyEx'
  31141. type: array
  31142. "500":
  31143. description: Internal Server Error
  31144. schema:
  31145. $ref: '#/definitions/app.Response'
  31146. security:
  31147. - ApiKeyAuth: []
  31148. summary: 查询经纪人信息和申请记录
  31149. tags:
  31150. - 大连千海金
  31151. /Qhj/QueryBrokerRewardLog:
  31152. get:
  31153. parameters:
  31154. - description: 用户ID
  31155. in: query
  31156. name: userid
  31157. required: true
  31158. type: integer
  31159. - description: 开始交易日(yyyymmdd)
  31160. in: query
  31161. name: begindate
  31162. type: string
  31163. - description: 结束交易日(yyyymmdd)
  31164. in: query
  31165. name: enddate
  31166. type: string
  31167. produces:
  31168. - application/json
  31169. responses:
  31170. "200":
  31171. description: OK
  31172. schema:
  31173. items:
  31174. $ref: '#/definitions/models.QhjBrokerRewardLog'
  31175. type: array
  31176. "500":
  31177. description: Internal Server Error
  31178. schema:
  31179. $ref: '#/definitions/app.Response'
  31180. security:
  31181. - ApiKeyAuth: []
  31182. summary: 查询奖励流水(我的奖励)
  31183. tags:
  31184. - 大连千海金
  31185. /Qhj/QueryContract:
  31186. get:
  31187. parameters:
  31188. - description: 用户ID
  31189. in: query
  31190. name: userid
  31191. type: integer
  31192. - description: scf合同id
  31193. in: query
  31194. name: scfcontractid
  31195. type: integer
  31196. produces:
  31197. - application/json
  31198. responses:
  31199. "200":
  31200. description: OK
  31201. schema:
  31202. items:
  31203. $ref: '#/definitions/models.QhjContract'
  31204. type: array
  31205. "500":
  31206. description: Internal Server Error
  31207. schema:
  31208. $ref: '#/definitions/app.Response'
  31209. security:
  31210. - ApiKeyAuth: []
  31211. summary: 查询融资明细(合同)
  31212. tags:
  31213. - 大连千海金
  31214. /Qhj/QueryContractLog:
  31215. get:
  31216. parameters:
  31217. - description: scf合同id
  31218. in: query
  31219. name: scfcontractid
  31220. required: true
  31221. type: integer
  31222. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  31223. in: query
  31224. name: amounttype
  31225. type: string
  31226. produces:
  31227. - application/json
  31228. responses:
  31229. "200":
  31230. description: OK
  31231. schema:
  31232. items:
  31233. $ref: '#/definitions/models.QhjContractLog'
  31234. type: array
  31235. "500":
  31236. description: Internal Server Error
  31237. schema:
  31238. $ref: '#/definitions/app.Response'
  31239. security:
  31240. - ApiKeyAuth: []
  31241. summary: 查询融资明细流水(融资明细详情页中的流水)
  31242. tags:
  31243. - 大连千海金
  31244. /Qhj/QueryCusBankSignBank:
  31245. get:
  31246. produces:
  31247. - application/json
  31248. responses:
  31249. "200":
  31250. description: OK
  31251. schema:
  31252. items:
  31253. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  31254. type: array
  31255. "500":
  31256. description: Internal Server Error
  31257. schema:
  31258. $ref: '#/definitions/app.Response'
  31259. security:
  31260. - ApiKeyAuth: []
  31261. summary: 查询托管银行
  31262. tags:
  31263. - 大连千海金
  31264. /Qhj/QueryCustomerInfo:
  31265. get:
  31266. parameters:
  31267. - description: 用户ID
  31268. in: query
  31269. name: userid
  31270. required: true
  31271. type: integer
  31272. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  31273. in: query
  31274. name: querytype
  31275. required: true
  31276. type: integer
  31277. - description: 客户类型 1-个人 2-企业
  31278. in: query
  31279. name: userinfotype
  31280. type: integer
  31281. - description: 客户名称(模糊匹配)
  31282. in: query
  31283. name: customername
  31284. type: string
  31285. - description: 昵称(模糊匹配)
  31286. in: query
  31287. name: nickname
  31288. type: string
  31289. - description: 是否包含子级 1-包含
  31290. in: query
  31291. name: includesub
  31292. type: integer
  31293. produces:
  31294. - application/json
  31295. responses:
  31296. "200":
  31297. description: OK
  31298. schema:
  31299. items:
  31300. $ref: '#/definitions/models.QhjCustomer'
  31301. type: array
  31302. "500":
  31303. description: Internal Server Error
  31304. schema:
  31305. $ref: '#/definitions/app.Response'
  31306. security:
  31307. - ApiKeyAuth: []
  31308. summary: 查询客户资料
  31309. tags:
  31310. - 大连千海金
  31311. /Qhj/QueryGoodsEx:
  31312. get:
  31313. parameters:
  31314. - description: 商品id
  31315. in: query
  31316. name: goodsid
  31317. type: integer
  31318. produces:
  31319. - application/json
  31320. responses:
  31321. "200":
  31322. description: OK
  31323. schema:
  31324. items:
  31325. $ref: '#/definitions/models.Qhjgoodsex'
  31326. type: array
  31327. "500":
  31328. description: Internal Server Error
  31329. schema:
  31330. $ref: '#/definitions/app.Response'
  31331. security:
  31332. - ApiKeyAuth: []
  31333. summary: 交易商品扩展表
  31334. tags:
  31335. - 大连千海金
  31336. /Qhj/QueryMyTeam:
  31337. get:
  31338. parameters:
  31339. - description: 用户ID
  31340. in: query
  31341. name: userid
  31342. required: true
  31343. type: integer
  31344. produces:
  31345. - application/json
  31346. responses:
  31347. "200":
  31348. description: OK
  31349. schema:
  31350. items:
  31351. $ref: '#/definitions/models.QhjMyTeamEx'
  31352. type: array
  31353. "500":
  31354. description: Internal Server Error
  31355. schema:
  31356. $ref: '#/definitions/app.Response'
  31357. security:
  31358. - ApiKeyAuth: []
  31359. summary: 查询我的团队
  31360. tags:
  31361. - 大连千海金
  31362. /Qhj/QueryMyTeamOrder:
  31363. get:
  31364. parameters:
  31365. - description: 页码
  31366. in: query
  31367. name: page
  31368. type: integer
  31369. - description: 每页条数
  31370. in: query
  31371. name: pagesize
  31372. type: integer
  31373. - description: 用户ID
  31374. in: query
  31375. name: userid
  31376. required: true
  31377. type: integer
  31378. - description: 交易模式
  31379. in: query
  31380. name: trademode
  31381. type: integer
  31382. - description: 名称(模糊搜索账户)
  31383. in: query
  31384. name: filtername
  31385. type: string
  31386. produces:
  31387. - application/json
  31388. responses:
  31389. "200":
  31390. description: OK
  31391. schema:
  31392. items:
  31393. $ref: '#/definitions/models.QhjTeamOrder'
  31394. type: array
  31395. "500":
  31396. description: Internal Server Error
  31397. schema:
  31398. $ref: '#/definitions/app.Response'
  31399. security:
  31400. - ApiKeyAuth: []
  31401. summary: 查询团队订单(我的团队/团队订单)
  31402. tags:
  31403. - 大连千海金
  31404. /Qhj/QueryParentAreaList:
  31405. get:
  31406. parameters:
  31407. - description: 用户ID
  31408. in: query
  31409. name: userid
  31410. required: true
  31411. type: integer
  31412. produces:
  31413. - application/json
  31414. responses:
  31415. "200":
  31416. description: OK
  31417. schema:
  31418. items:
  31419. $ref: '#/definitions/models.QhjParentAreaList'
  31420. type: array
  31421. "500":
  31422. description: Internal Server Error
  31423. schema:
  31424. $ref: '#/definitions/app.Response'
  31425. security:
  31426. - ApiKeyAuth: []
  31427. summary: 查询所属机构列表
  31428. tags:
  31429. - 大连千海金
  31430. /Qhj/QueryPayOrder:
  31431. get:
  31432. parameters:
  31433. - description: 资金账号id
  31434. in: query
  31435. name: accountid
  31436. required: true
  31437. type: integer
  31438. - description: 成交单号
  31439. in: query
  31440. name: tradeid
  31441. type: integer
  31442. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  31443. in: query
  31444. name: payflag
  31445. type: string
  31446. produces:
  31447. - application/json
  31448. responses:
  31449. "200":
  31450. description: OK
  31451. schema:
  31452. items:
  31453. $ref: '#/definitions/models.QhjPayOrder'
  31454. type: array
  31455. "500":
  31456. description: Internal Server Error
  31457. schema:
  31458. $ref: '#/definitions/app.Response'
  31459. security:
  31460. - ApiKeyAuth: []
  31461. summary: 查询待付款单据
  31462. tags:
  31463. - 大连千海金
  31464. /Qhj/QueryPickArea:
  31465. get:
  31466. parameters:
  31467. - description: 用户ID
  31468. in: query
  31469. name: userid
  31470. type: integer
  31471. produces:
  31472. - application/json
  31473. responses:
  31474. "200":
  31475. description: OK
  31476. schema:
  31477. items:
  31478. $ref: '#/definitions/models.QhjPickArea'
  31479. type: array
  31480. "500":
  31481. description: Internal Server Error
  31482. schema:
  31483. $ref: '#/definitions/app.Response'
  31484. security:
  31485. - ApiKeyAuth: []
  31486. summary: 查询提货门店
  31487. tags:
  31488. - 大连千海金
  31489. /Qhj/QueryPickGoods:
  31490. get:
  31491. parameters:
  31492. - description: 交易商品id
  31493. in: query
  31494. name: goodsid
  31495. required: true
  31496. type: integer
  31497. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  31498. in: query
  31499. name: status
  31500. type: string
  31501. produces:
  31502. - application/json
  31503. responses:
  31504. "200":
  31505. description: OK
  31506. schema:
  31507. items:
  31508. $ref: '#/definitions/models.QhjPickGoods'
  31509. type: array
  31510. "500":
  31511. description: Internal Server Error
  31512. schema:
  31513. $ref: '#/definitions/app.Response'
  31514. security:
  31515. - ApiKeyAuth: []
  31516. summary: 查询提货商品
  31517. tags:
  31518. - 大连千海金
  31519. /Qhj/QueryRSTriggerLog:
  31520. get:
  31521. parameters:
  31522. - description: 用户ID
  31523. in: query
  31524. name: userid
  31525. type: integer
  31526. - description: 定投策略id
  31527. in: query
  31528. name: regularlystrategyid
  31529. type: integer
  31530. - description: 商品id
  31531. in: query
  31532. name: goodsid
  31533. type: integer
  31534. - description: 开始交易日(yyyymmdd)
  31535. in: query
  31536. name: begindate
  31537. type: string
  31538. - description: 结束交易日(yyyymmdd)
  31539. in: query
  31540. name: enddate
  31541. type: string
  31542. - description: 名称(模糊搜索账户)
  31543. in: query
  31544. name: filtername
  31545. type: string
  31546. produces:
  31547. - application/json
  31548. responses:
  31549. "200":
  31550. description: OK
  31551. schema:
  31552. items:
  31553. $ref: '#/definitions/models.QhjRSTriggerLog'
  31554. type: array
  31555. "500":
  31556. description: Internal Server Error
  31557. schema:
  31558. $ref: '#/definitions/app.Response'
  31559. security:
  31560. - ApiKeyAuth: []
  31561. summary: 查询定投记录(定投管理/详情/定投记录)
  31562. tags:
  31563. - 大连千海金
  31564. /Qhj/QueryRStrategy:
  31565. get:
  31566. parameters:
  31567. - description: 用户ID
  31568. in: query
  31569. name: userid
  31570. type: integer
  31571. - description: 商品id
  31572. in: query
  31573. name: goodsid
  31574. type: integer
  31575. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  31576. in: query
  31577. name: status
  31578. type: string
  31579. - description: 名称(模糊搜索账户)
  31580. in: query
  31581. name: filtername
  31582. type: string
  31583. produces:
  31584. - application/json
  31585. responses:
  31586. "200":
  31587. description: OK
  31588. schema:
  31589. items:
  31590. $ref: '#/definitions/models.QhjRStrategy'
  31591. type: array
  31592. "500":
  31593. description: Internal Server Error
  31594. schema:
  31595. $ref: '#/definitions/app.Response'
  31596. security:
  31597. - ApiKeyAuth: []
  31598. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  31599. tags:
  31600. - 大连千海金
  31601. /Qhj/QueryReckonPriceLog:
  31602. get:
  31603. parameters:
  31604. - description: 商品ID
  31605. in: query
  31606. name: goodsid
  31607. type: integer
  31608. - description: 交易日 格式(yyyymmdd)
  31609. in: query
  31610. name: tradedate
  31611. type: string
  31612. produces:
  31613. - application/json
  31614. responses:
  31615. "200":
  31616. description: OK
  31617. schema:
  31618. items:
  31619. $ref: '#/definitions/models.QhjReckonPriceLog'
  31620. type: array
  31621. "500":
  31622. description: Internal Server Error
  31623. schema:
  31624. $ref: '#/definitions/app.Response'
  31625. security:
  31626. - ApiKeyAuth: []
  31627. summary: 查询定投价(结算价)
  31628. tags:
  31629. - 大连千海金
  31630. /Qhj/QueryScoreLog:
  31631. get:
  31632. parameters:
  31633. - description: 用户ID
  31634. in: query
  31635. name: userid
  31636. required: true
  31637. type: integer
  31638. - description: 开始交易日(yyyymmdd)
  31639. in: query
  31640. name: begindate
  31641. type: string
  31642. - description: 结束交易日(yyyymmdd)
  31643. in: query
  31644. name: enddate
  31645. type: string
  31646. - description: 最近多少条
  31647. in: query
  31648. name: lastnum
  31649. type: integer
  31650. produces:
  31651. - application/json
  31652. responses:
  31653. "200":
  31654. description: OK
  31655. schema:
  31656. items:
  31657. $ref: '#/definitions/models.QhjScoreLog'
  31658. type: array
  31659. "500":
  31660. description: Internal Server Error
  31661. schema:
  31662. $ref: '#/definitions/app.Response'
  31663. security:
  31664. - ApiKeyAuth: []
  31665. summary: 查询积分流水(我的积分)
  31666. tags:
  31667. - 大连千海金
  31668. /Qhj/QuerySiteColumnDetail:
  31669. get:
  31670. parameters:
  31671. - description: 用户ID
  31672. in: query
  31673. name: userid
  31674. required: true
  31675. type: integer
  31676. produces:
  31677. - application/json
  31678. responses:
  31679. "200":
  31680. description: OK
  31681. schema:
  31682. items:
  31683. $ref: '#/definitions/models.QhjSiteColumnDetail'
  31684. type: array
  31685. "500":
  31686. description: Internal Server Error
  31687. schema:
  31688. $ref: '#/definitions/app.Response'
  31689. security:
  31690. - ApiKeyAuth: []
  31691. summary: 查询资讯
  31692. tags:
  31693. - 大连千海金
  31694. /Qhj/QueryTradeGoodsPickup:
  31695. get:
  31696. parameters:
  31697. - description: 用户ID
  31698. in: query
  31699. name: userid
  31700. required: true
  31701. type: integer
  31702. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  31703. 7:已拒绝 8:已撤销
  31704. in: query
  31705. name: takeorderstatus
  31706. type: integer
  31707. produces:
  31708. - application/json
  31709. responses:
  31710. "200":
  31711. description: OK
  31712. schema:
  31713. items:
  31714. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  31715. type: array
  31716. "500":
  31717. description: Internal Server Error
  31718. schema:
  31719. $ref: '#/definitions/app.Response'
  31720. security:
  31721. - ApiKeyAuth: []
  31722. summary: 查询提货
  31723. tags:
  31724. - 大连千海金
  31725. /Qhj/QueryUserCollectConfig:
  31726. get:
  31727. parameters:
  31728. - description: 用户ID
  31729. in: query
  31730. name: userid
  31731. required: true
  31732. type: integer
  31733. produces:
  31734. - application/json
  31735. responses:
  31736. "200":
  31737. description: OK
  31738. schema:
  31739. items:
  31740. $ref: '#/definitions/models.UserCollectConfig'
  31741. type: array
  31742. "500":
  31743. description: Internal Server Error
  31744. schema:
  31745. $ref: '#/definitions/app.Response'
  31746. security:
  31747. - ApiKeyAuth: []
  31748. summary: 查询提现账户设置
  31749. tags:
  31750. - 大连千海金
  31751. /Qhj/QueryUserReceiveInfo:
  31752. get:
  31753. parameters:
  31754. - description: 用户ID
  31755. in: query
  31756. name: userid
  31757. required: true
  31758. type: integer
  31759. produces:
  31760. - application/json
  31761. responses:
  31762. "200":
  31763. description: OK
  31764. schema:
  31765. items:
  31766. $ref: '#/definitions/models.UserReceiveInfo'
  31767. type: array
  31768. "500":
  31769. description: Internal Server Error
  31770. schema:
  31771. $ref: '#/definitions/app.Response'
  31772. security:
  31773. - ApiKeyAuth: []
  31774. summary: 查询收货地址信息
  31775. tags:
  31776. - 大连千海金
  31777. /QhjMgr/QueryAccountInOutApply:
  31778. get:
  31779. parameters:
  31780. - description: 查询类型 1-提现(出金) 2-充值(出金)
  31781. in: query
  31782. name: querytype
  31783. required: true
  31784. type: integer
  31785. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  31786. in: query
  31787. name: applystatus
  31788. type: integer
  31789. - description: 申请起始日期(格式yyyymmdd)
  31790. in: query
  31791. name: begindate
  31792. type: string
  31793. - description: 申请截止日期(格式yyyymmdd)
  31794. in: query
  31795. name: enddate
  31796. type: string
  31797. - description: 模糊搜索名称
  31798. in: query
  31799. name: likename
  31800. type: string
  31801. produces:
  31802. - application/json
  31803. responses:
  31804. "200":
  31805. description: OK
  31806. schema:
  31807. items:
  31808. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  31809. type: array
  31810. "500":
  31811. description: Internal Server Error
  31812. schema:
  31813. $ref: '#/definitions/app.Response'
  31814. security:
  31815. - ApiKeyAuth: []
  31816. summary: 查询充值提现
  31817. tags:
  31818. - 大连千海金(PCWeb)
  31819. /QhjMgr/QueryBrokerApply:
  31820. get:
  31821. parameters:
  31822. - description: 所属机构ID
  31823. in: query
  31824. name: userid
  31825. type: integer
  31826. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  31827. in: query
  31828. name: filterstatus
  31829. type: string
  31830. - description: 名称(模糊匹配)
  31831. in: query
  31832. name: filtername
  31833. type: string
  31834. - description: 是否包含子级 1-包含
  31835. in: query
  31836. name: includesub
  31837. type: integer
  31838. produces:
  31839. - application/json
  31840. responses:
  31841. "200":
  31842. description: OK
  31843. schema:
  31844. items:
  31845. $ref: '#/definitions/models.QhjMgrBrokerApply'
  31846. type: array
  31847. "500":
  31848. description: Internal Server Error
  31849. schema:
  31850. $ref: '#/definitions/app.Response'
  31851. security:
  31852. - ApiKeyAuth: []
  31853. summary: 查询经纪人申请
  31854. tags:
  31855. - 大连千海金(PCWeb)
  31856. /QhjMgr/QueryBrokerRewardReport:
  31857. get:
  31858. parameters:
  31859. - description: 所属机构ID
  31860. in: query
  31861. name: userid
  31862. required: true
  31863. type: integer
  31864. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  31865. in: query
  31866. name: cycletype
  31867. required: true
  31868. type: integer
  31869. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  31870. in: query
  31871. name: cycletime
  31872. required: true
  31873. type: string
  31874. - description: 名称(模糊匹配)
  31875. in: query
  31876. name: filtername
  31877. type: string
  31878. - description: 是否包含子级 1-包含
  31879. in: query
  31880. name: includesub
  31881. type: integer
  31882. produces:
  31883. - application/json
  31884. responses:
  31885. "200":
  31886. description: OK
  31887. schema:
  31888. items:
  31889. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  31890. type: array
  31891. "500":
  31892. description: Internal Server Error
  31893. schema:
  31894. $ref: '#/definitions/app.Response'
  31895. security:
  31896. - ApiKeyAuth: []
  31897. summary: 查询经纪人奖励报表(废弃)
  31898. tags:
  31899. - 大连千海金(PCWeb)
  31900. /QhjMgr/QueryContract:
  31901. get:
  31902. parameters:
  31903. - description: 用户ID
  31904. in: query
  31905. name: userid
  31906. type: integer
  31907. - description: 商品id
  31908. in: query
  31909. name: goodsid
  31910. type: integer
  31911. - description: 名称(模糊搜索账户)
  31912. in: query
  31913. name: filtername
  31914. type: string
  31915. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  31916. in: query
  31917. name: risklevel
  31918. type: string
  31919. - description: 开始交易日(yyyymmdd)
  31920. in: query
  31921. name: begindate
  31922. type: string
  31923. - description: 结束交易日(yyyymmdd)
  31924. in: query
  31925. name: enddate
  31926. type: string
  31927. produces:
  31928. - application/json
  31929. responses:
  31930. "200":
  31931. description: OK
  31932. schema:
  31933. items:
  31934. $ref: '#/definitions/models.QhjMgrContract'
  31935. type: array
  31936. "500":
  31937. description: Internal Server Error
  31938. schema:
  31939. $ref: '#/definitions/app.Response'
  31940. security:
  31941. - ApiKeyAuth: []
  31942. summary: 查询融资信息(合同)
  31943. tags:
  31944. - 大连千海金(PCWeb)
  31945. /QhjMgr/QueryCustomerInfo:
  31946. get:
  31947. parameters:
  31948. - description: 用户ID
  31949. in: query
  31950. name: userid
  31951. required: true
  31952. type: integer
  31953. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  31954. in: query
  31955. name: querytype
  31956. required: true
  31957. type: integer
  31958. - description: 客户类型 1-个人 2-企业
  31959. in: query
  31960. name: userinfotype
  31961. type: integer
  31962. - description: 客户名称(模糊匹配)
  31963. in: query
  31964. name: customername
  31965. type: string
  31966. - description: 昵称(模糊匹配)
  31967. in: query
  31968. name: nickname
  31969. type: string
  31970. - description: 所属客户经理(模糊匹配)
  31971. in: query
  31972. name: brokername
  31973. type: string
  31974. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  31975. 如0503 -5月3日)
  31976. in: query
  31977. name: birthday
  31978. type: string
  31979. - description: 是否包含子级 1-包含
  31980. in: query
  31981. name: includesub
  31982. type: integer
  31983. produces:
  31984. - application/json
  31985. responses:
  31986. "200":
  31987. description: OK
  31988. schema:
  31989. items:
  31990. $ref: '#/definitions/models.QhjMgrCustomer'
  31991. type: array
  31992. "500":
  31993. description: Internal Server Error
  31994. schema:
  31995. $ref: '#/definitions/app.Response'
  31996. security:
  31997. - ApiKeyAuth: []
  31998. summary: 查询客户资料
  31999. tags:
  32000. - 大连千海金(PCWeb)
  32001. /QhjMgr/QueryPickGoods:
  32002. get:
  32003. parameters:
  32004. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  32005. in: query
  32006. name: status
  32007. type: string
  32008. produces:
  32009. - application/json
  32010. responses:
  32011. "200":
  32012. description: OK
  32013. schema:
  32014. items:
  32015. $ref: '#/definitions/models.QhjMgrPickGoods'
  32016. type: array
  32017. "500":
  32018. description: Internal Server Error
  32019. schema:
  32020. $ref: '#/definitions/app.Response'
  32021. security:
  32022. - ApiKeyAuth: []
  32023. summary: 查询提货商品
  32024. tags:
  32025. - 大连千海金(PCWeb)
  32026. /QhjMgr/QuerySubArea:
  32027. get:
  32028. parameters:
  32029. - description: 用户ID
  32030. in: query
  32031. name: userid
  32032. required: true
  32033. type: integer
  32034. produces:
  32035. - application/json
  32036. responses:
  32037. "200":
  32038. description: OK
  32039. schema:
  32040. items:
  32041. $ref: '#/definitions/models.QhjMgrSubArea'
  32042. type: array
  32043. "500":
  32044. description: Internal Server Error
  32045. schema:
  32046. $ref: '#/definitions/app.Response'
  32047. security:
  32048. - ApiKeyAuth: []
  32049. summary: 查询子机构列表
  32050. tags:
  32051. - 大连千海金(PCWeb)
  32052. /QhjMgr/QueryTradeDetail:
  32053. get:
  32054. parameters:
  32055. - description: 用户ID
  32056. in: query
  32057. name: userid
  32058. required: true
  32059. type: integer
  32060. - description: 用户类型 1-个人 2-企业
  32061. in: query
  32062. name: userinfotype
  32063. type: integer
  32064. - description: 交易模式
  32065. in: query
  32066. name: trademode
  32067. type: integer
  32068. - description: 商品id
  32069. in: query
  32070. name: goodsid
  32071. type: integer
  32072. - description: 名称(模糊搜索账户)
  32073. in: query
  32074. name: filtername
  32075. type: string
  32076. - description: 开始交易日(yyyymmdd)
  32077. in: query
  32078. name: begindate
  32079. type: string
  32080. - description: 结束交易日(yyyymmdd)
  32081. in: query
  32082. name: enddate
  32083. type: string
  32084. - description: 是否包含子级 1-包含
  32085. in: query
  32086. name: includesub
  32087. type: integer
  32088. produces:
  32089. - application/json
  32090. responses:
  32091. "200":
  32092. description: OK
  32093. schema:
  32094. items:
  32095. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  32096. type: array
  32097. "500":
  32098. description: Internal Server Error
  32099. schema:
  32100. $ref: '#/definitions/app.Response'
  32101. security:
  32102. - ApiKeyAuth: []
  32103. summary: 查询成交明细
  32104. tags:
  32105. - 大连千海金(PCWeb)
  32106. /QhjMgr/QueryTradeOrderDetail:
  32107. get:
  32108. parameters:
  32109. - description: 用户ID
  32110. in: query
  32111. name: userid
  32112. required: true
  32113. type: integer
  32114. - description: 用户类型 1-个人 2-企业
  32115. in: query
  32116. name: userinfotype
  32117. type: integer
  32118. - description: 交易模式
  32119. in: query
  32120. name: trademode
  32121. type: integer
  32122. - description: 商品id
  32123. in: query
  32124. name: goodsid
  32125. type: integer
  32126. - description: 名称(模糊搜索账户)
  32127. in: query
  32128. name: filtername
  32129. type: string
  32130. - description: 开始交易日(yyyymmdd)
  32131. in: query
  32132. name: begindate
  32133. type: string
  32134. - description: 结束交易日(yyyymmdd)
  32135. in: query
  32136. name: enddate
  32137. type: string
  32138. - description: 是否包含子级 1-包含
  32139. in: query
  32140. name: includesub
  32141. type: integer
  32142. produces:
  32143. - application/json
  32144. responses:
  32145. "200":
  32146. description: OK
  32147. schema:
  32148. items:
  32149. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  32150. type: array
  32151. "500":
  32152. description: Internal Server Error
  32153. schema:
  32154. $ref: '#/definitions/app.Response'
  32155. security:
  32156. - ApiKeyAuth: []
  32157. summary: 查询委托明细
  32158. tags:
  32159. - 大连千海金(PCWeb)
  32160. /QhjMgr/QueryTradePayOrder:
  32161. get:
  32162. parameters:
  32163. - description: 用户ID
  32164. in: query
  32165. name: userid
  32166. required: true
  32167. type: integer
  32168. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  32169. in: query
  32170. name: payflag
  32171. type: string
  32172. - description: 用户类型 1-个人 2-企业
  32173. in: query
  32174. name: userinfotype
  32175. type: integer
  32176. - description: 交易模式
  32177. in: query
  32178. name: trademode
  32179. type: integer
  32180. - description: 商品id
  32181. in: query
  32182. name: goodsid
  32183. type: integer
  32184. - description: 名称(模糊搜索账户)
  32185. in: query
  32186. name: filtername
  32187. type: string
  32188. - description: 开始交易日(yyyymmdd)
  32189. in: query
  32190. name: begindate
  32191. type: string
  32192. - description: 结束交易日(yyyymmdd)
  32193. in: query
  32194. name: enddate
  32195. type: string
  32196. - description: 是否包含子级 1-包含
  32197. in: query
  32198. name: includesub
  32199. type: integer
  32200. produces:
  32201. - application/json
  32202. responses:
  32203. "200":
  32204. description: OK
  32205. schema:
  32206. items:
  32207. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  32208. type: array
  32209. "500":
  32210. description: Internal Server Error
  32211. schema:
  32212. $ref: '#/definitions/app.Response'
  32213. security:
  32214. - ApiKeyAuth: []
  32215. summary: 查询待付款单
  32216. tags:
  32217. - 大连千海金(PCWeb)
  32218. /QhjMgr/QueryTradePosition:
  32219. get:
  32220. parameters:
  32221. - description: 用户ID
  32222. in: query
  32223. name: userid
  32224. required: true
  32225. type: integer
  32226. - description: 用户类型 1-个人 2-企业
  32227. in: query
  32228. name: userinfotype
  32229. type: integer
  32230. - description: 交易模式
  32231. in: query
  32232. name: trademode
  32233. type: integer
  32234. - description: 商品id
  32235. in: query
  32236. name: goodsid
  32237. type: integer
  32238. - description: 名称(模糊搜索账户)
  32239. in: query
  32240. name: filtername
  32241. type: string
  32242. - description: 是否包含子级 1-包含
  32243. in: query
  32244. name: includesub
  32245. type: integer
  32246. produces:
  32247. - application/json
  32248. responses:
  32249. "200":
  32250. description: OK
  32251. schema:
  32252. items:
  32253. $ref: '#/definitions/models.QhjMgrPositionRsp'
  32254. type: array
  32255. "500":
  32256. description: Internal Server Error
  32257. schema:
  32258. $ref: '#/definitions/app.Response'
  32259. security:
  32260. - ApiKeyAuth: []
  32261. summary: 查询持仓汇总
  32262. tags:
  32263. - 大连千海金(PCWeb)
  32264. /QhjSys/QueryAgreementChangeLog:
  32265. get:
  32266. parameters:
  32267. - description: 协议ID
  32268. in: query
  32269. name: agreementid
  32270. type: integer
  32271. - description: 协议版本号
  32272. in: query
  32273. name: agreementversion
  32274. type: integer
  32275. - description: 协议类型 - 1:注册 2:登录 3:交易
  32276. in: query
  32277. name: agreementtype
  32278. type: integer
  32279. - description: 协议编号(模糊匹配)
  32280. in: query
  32281. name: agreementno
  32282. type: string
  32283. - description: 协议名称(模糊匹配)
  32284. in: query
  32285. name: agreementname
  32286. type: string
  32287. produces:
  32288. - application/json
  32289. responses:
  32290. "200":
  32291. description: OK
  32292. schema:
  32293. items:
  32294. $ref: '#/definitions/models.QhjAgreementChangeLog'
  32295. type: array
  32296. "500":
  32297. description: Internal Server Error
  32298. schema:
  32299. $ref: '#/definitions/app.Response'
  32300. security:
  32301. - ApiKeyAuth: []
  32302. summary: 查询协议配置变更流水
  32303. tags:
  32304. - 大连千海金(协议和签约信息)
  32305. /QhjSys/QueryAgreementConfig:
  32306. get:
  32307. parameters:
  32308. - description: 协议ID
  32309. in: query
  32310. name: agreementid
  32311. type: integer
  32312. - description: 协议版本号
  32313. in: query
  32314. name: agreementversion
  32315. type: integer
  32316. - description: 协议类型 - 1:注册 2:登录 3:交易
  32317. in: query
  32318. name: agreementtype
  32319. type: integer
  32320. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  32321. in: query
  32322. name: isvalid
  32323. type: integer
  32324. - description: 协议编号(模糊匹配)
  32325. in: query
  32326. name: agreementno
  32327. type: string
  32328. - description: 协议名称(模糊匹配)
  32329. in: query
  32330. name: agreementname
  32331. type: string
  32332. produces:
  32333. - application/json
  32334. responses:
  32335. "200":
  32336. description: OK
  32337. schema:
  32338. items:
  32339. $ref: '#/definitions/models.QhjAgreementConfig'
  32340. type: array
  32341. "500":
  32342. description: Internal Server Error
  32343. schema:
  32344. $ref: '#/definitions/app.Response'
  32345. security:
  32346. - ApiKeyAuth: []
  32347. summary: 查询协议配置
  32348. tags:
  32349. - 大连千海金(协议和签约信息)
  32350. /QhjSys/QueryCustomerSignStatus:
  32351. get:
  32352. parameters:
  32353. - description: 客户ID
  32354. in: query
  32355. name: userid
  32356. type: integer
  32357. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  32358. in: query
  32359. name: nodetype
  32360. type: integer
  32361. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  32362. in: query
  32363. name: goodsid
  32364. type: integer
  32365. - description: 创建交易日(yyyyMMdd)
  32366. in: query
  32367. name: tradedate
  32368. type: string
  32369. - description: 用户名称(模糊匹配)
  32370. in: query
  32371. name: username
  32372. type: string
  32373. produces:
  32374. - application/json
  32375. responses:
  32376. "200":
  32377. description: OK
  32378. schema:
  32379. items:
  32380. $ref: '#/definitions/models.QhjCustomerSignStatus'
  32381. type: array
  32382. "500":
  32383. description: Internal Server Error
  32384. schema:
  32385. $ref: '#/definitions/app.Response'
  32386. security:
  32387. - ApiKeyAuth: []
  32388. summary: 查询客户协议签约状态
  32389. tags:
  32390. - 大连千海金(协议和签约信息)
  32391. /QhjSys/QueryNodeAgreementConfig:
  32392. get:
  32393. parameters:
  32394. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  32395. in: query
  32396. name: configid
  32397. type: integer
  32398. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  32399. in: query
  32400. name: nodetype
  32401. type: integer
  32402. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  32403. in: query
  32404. name: goodsid
  32405. type: integer
  32406. - description: 协议ID
  32407. in: query
  32408. name: agreementid
  32409. type: integer
  32410. - description: 协议类型 - 1:注册 2:登录 3:交易
  32411. in: query
  32412. name: agreementtype
  32413. type: integer
  32414. - description: 协议版本号
  32415. in: query
  32416. name: agreementversion
  32417. type: integer
  32418. - description: 协议编号(模糊匹配)
  32419. in: query
  32420. name: agreementno
  32421. type: string
  32422. - description: 协议名称(模糊匹配)
  32423. in: query
  32424. name: agreementname
  32425. type: string
  32426. produces:
  32427. - application/json
  32428. responses:
  32429. "200":
  32430. description: OK
  32431. schema:
  32432. items:
  32433. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  32434. type: array
  32435. "500":
  32436. description: Internal Server Error
  32437. schema:
  32438. $ref: '#/definitions/app.Response'
  32439. security:
  32440. - ApiKeyAuth: []
  32441. summary: 查询协议节点配置
  32442. tags:
  32443. - 大连千海金(协议和签约信息)
  32444. /QhjSys/QueryQhjCustomerSignLog:
  32445. get:
  32446. parameters:
  32447. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  32448. in: query
  32449. name: logid
  32450. type: integer
  32451. - description: 客户ID
  32452. in: query
  32453. name: userid
  32454. type: integer
  32455. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  32456. in: query
  32457. name: nodetype
  32458. type: integer
  32459. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  32460. in: query
  32461. name: goodsid
  32462. type: integer
  32463. - description: 协议ID
  32464. in: query
  32465. name: agreementid
  32466. type: integer
  32467. - description: 用户名称(模糊匹配)
  32468. in: query
  32469. name: username
  32470. type: string
  32471. - description: 协议编号(模糊匹配)
  32472. in: query
  32473. name: agreementno
  32474. type: string
  32475. - description: 协议名称(模糊匹配)
  32476. in: query
  32477. name: agreementname
  32478. type: string
  32479. produces:
  32480. - application/json
  32481. responses:
  32482. "200":
  32483. description: OK
  32484. schema:
  32485. items:
  32486. $ref: '#/definitions/models.QhjCustomerSignLog'
  32487. type: array
  32488. "500":
  32489. description: Internal Server Error
  32490. schema:
  32491. $ref: '#/definitions/app.Response'
  32492. security:
  32493. - ApiKeyAuth: []
  32494. summary: 查询客户协议签约流水
  32495. tags:
  32496. - 大连千海金(协议和签约信息)
  32497. /QhjSys/QueryUserNodeCfgAndStatus:
  32498. get:
  32499. parameters:
  32500. - description: 客户ID
  32501. in: query
  32502. name: userid
  32503. type: integer
  32504. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  32505. in: query
  32506. name: configid
  32507. type: integer
  32508. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  32509. in: query
  32510. name: nodetype
  32511. type: string
  32512. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  32513. in: query
  32514. name: goodsid
  32515. type: integer
  32516. - description: 协议ID
  32517. in: query
  32518. name: agreementid
  32519. type: integer
  32520. - description: 协议类型 - 1:注册 2:登录 3:交易
  32521. in: query
  32522. name: agreementtype
  32523. type: integer
  32524. - description: 协议版本号
  32525. in: query
  32526. name: agreementversion
  32527. type: integer
  32528. - description: 协议编号(模糊匹配)
  32529. in: query
  32530. name: agreementno
  32531. type: string
  32532. - description: 协议名称(模糊匹配)
  32533. in: query
  32534. name: agreementname
  32535. type: string
  32536. produces:
  32537. - application/json
  32538. responses:
  32539. "200":
  32540. description: OK
  32541. schema:
  32542. items:
  32543. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  32544. type: array
  32545. "500":
  32546. description: Internal Server Error
  32547. schema:
  32548. $ref: '#/definitions/app.Response'
  32549. security:
  32550. - ApiKeyAuth: []
  32551. summary: 查询用户协议节点配置和状态
  32552. tags:
  32553. - 大连千海金(协议和签约信息)
  32554. /Quote/QueryHistoryDatas:
  32555. get:
  32556. parameters:
  32557. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  32558. 日线 12:周线 13:月线 14:年线'
  32559. in: query
  32560. name: cycleType
  32561. required: true
  32562. type: integer
  32563. - description: 商品代码
  32564. in: query
  32565. name: goodsCode
  32566. required: true
  32567. type: string
  32568. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  32569. in: query
  32570. name: startTime
  32571. type: string
  32572. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  32573. in: query
  32574. name: endTime
  32575. type: string
  32576. - description: 条数
  32577. in: query
  32578. name: count
  32579. type: integer
  32580. - description: 是否按时间顺序排序(默认为时间倒序排序)
  32581. in: query
  32582. name: isAsc
  32583. type: boolean
  32584. produces:
  32585. - application/json
  32586. responses:
  32587. "200":
  32588. description: OK
  32589. schema:
  32590. $ref: '#/definitions/quote.HistoryData'
  32591. "500":
  32592. description: Internal Server Error
  32593. schema:
  32594. $ref: '#/definitions/app.Response'
  32595. security:
  32596. - ApiKeyAuth: []
  32597. summary: 查询行情历史数据
  32598. tags:
  32599. - 行情服务
  32600. /Quote/QueryHistoryTikDatas:
  32601. get:
  32602. parameters:
  32603. - description: 商品代码
  32604. in: query
  32605. name: goodsCode
  32606. required: true
  32607. type: string
  32608. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  32609. in: query
  32610. name: startTime
  32611. type: string
  32612. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  32613. in: query
  32614. name: endTime
  32615. type: string
  32616. - description: 条数
  32617. in: query
  32618. name: count
  32619. type: integer
  32620. - description: 是否按时间顺序排序(默认为时间倒序排序)
  32621. in: query
  32622. name: isAsc
  32623. type: boolean
  32624. produces:
  32625. - application/json
  32626. responses:
  32627. "200":
  32628. description: OK
  32629. schema:
  32630. $ref: '#/definitions/quote.HistoryTikData'
  32631. "500":
  32632. description: Internal Server Error
  32633. schema:
  32634. $ref: '#/definitions/app.Response'
  32635. security:
  32636. - ApiKeyAuth: []
  32637. summary: 查询行情Tik数据
  32638. tags:
  32639. - 行情服务
  32640. /Quote/QueryQuoteDay:
  32641. get:
  32642. parameters:
  32643. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  32644. in: query
  32645. name: goodsCodes
  32646. type: string
  32647. produces:
  32648. - application/json
  32649. responses:
  32650. "200":
  32651. description: OK
  32652. schema:
  32653. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  32654. "500":
  32655. description: Internal Server Error
  32656. schema:
  32657. $ref: '#/definitions/app.Response'
  32658. security:
  32659. - ApiKeyAuth: []
  32660. summary: 获取商品盘面信息
  32661. tags:
  32662. - 行情服务
  32663. /Quote/QueryTSData:
  32664. get:
  32665. parameters:
  32666. - description: 商品代码
  32667. in: query
  32668. name: goodsCode
  32669. required: true
  32670. type: string
  32671. produces:
  32672. - application/json
  32673. responses:
  32674. "200":
  32675. description: OK
  32676. schema:
  32677. $ref: '#/definitions/quote.QueryTSDataRsp'
  32678. "500":
  32679. description: Internal Server Error
  32680. schema:
  32681. $ref: '#/definitions/app.Response'
  32682. security:
  32683. - ApiKeyAuth: []
  32684. summary: 分时图数据查询
  32685. tags:
  32686. - 行情服务
  32687. /SZDZ/QueryConvertConfig:
  32688. get:
  32689. parameters:
  32690. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  32691. 6:交易转花生米(不设置)
  32692. in: query
  32693. name: convertType
  32694. type: integer
  32695. - description: 外部商品代码[JD\PD]
  32696. in: query
  32697. name: outerGoodsCode
  32698. type: string
  32699. - description: 内部商品ID列表[交易],格式:1,2,3
  32700. in: query
  32701. name: innerGoodsIDs
  32702. type: string
  32703. produces:
  32704. - application/json
  32705. responses:
  32706. "200":
  32707. description: OK
  32708. schema:
  32709. $ref: '#/definitions/models.Szdz3convertconfig'
  32710. "500":
  32711. description: Internal Server Error
  32712. schema:
  32713. $ref: '#/definitions/app.Response'
  32714. security:
  32715. - ApiKeyAuth: []
  32716. summary: 查询交易系统转换设置
  32717. tags:
  32718. - 定制【尚志大宗】
  32719. /SZDZ/QueryConvertLog:
  32720. get:
  32721. parameters:
  32722. - description: 资金账户 - 格式:1,2,3
  32723. in: query
  32724. name: accountID
  32725. required: true
  32726. type: string
  32727. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  32728. in: query
  32729. name: startDate
  32730. type: string
  32731. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  32732. in: query
  32733. name: endDate
  32734. type: string
  32735. produces:
  32736. - application/json
  32737. responses:
  32738. "200":
  32739. description: OK
  32740. schema:
  32741. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  32742. "500":
  32743. description: Internal Server Error
  32744. schema:
  32745. $ref: '#/definitions/app.Response'
  32746. security:
  32747. - ApiKeyAuth: []
  32748. summary: 交易系统转换流水查询
  32749. tags:
  32750. - 定制【尚志大宗】
  32751. /SZDZ/QueryGoodsPickup:
  32752. get:
  32753. parameters:
  32754. - description: 资金账户 - 格式:1,2,3
  32755. in: query
  32756. name: accountID
  32757. required: true
  32758. type: string
  32759. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  32760. in: query
  32761. name: takeOrderStatus
  32762. type: integer
  32763. produces:
  32764. - application/json
  32765. responses:
  32766. "200":
  32767. description: OK
  32768. schema:
  32769. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  32770. "500":
  32771. description: Internal Server Error
  32772. schema:
  32773. $ref: '#/definitions/app.Response'
  32774. security:
  32775. - ApiKeyAuth: []
  32776. summary: 商品提货单查询
  32777. tags:
  32778. - 定制【尚志大宗】
  32779. /SZDZ/QueryRecieptOrder:
  32780. get:
  32781. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  32782. parameters:
  32783. - description: 页码
  32784. in: query
  32785. name: page
  32786. type: integer
  32787. - description: 每页条数
  32788. in: query
  32789. name: pagesize
  32790. type: integer
  32791. - description: 商品ID
  32792. in: query
  32793. name: goodsID
  32794. required: true
  32795. type: integer
  32796. - description: 所属账户名称
  32797. in: query
  32798. name: accountName
  32799. type: string
  32800. - description: 市场ID
  32801. in: query
  32802. name: marketID
  32803. type: integer
  32804. - description: 方向 - 0:买 1:卖
  32805. in: query
  32806. name: buyorsell
  32807. required: true
  32808. type: integer
  32809. produces:
  32810. - application/json
  32811. responses:
  32812. "200":
  32813. description: OK
  32814. schema:
  32815. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  32816. "500":
  32817. description: Internal Server Error
  32818. schema:
  32819. $ref: '#/definitions/app.Response'
  32820. security:
  32821. - ApiKeyAuth: []
  32822. summary: 点选挂牌委托单据查询(摘牌大厅)
  32823. tags:
  32824. - 定制【尚志大宗】
  32825. /SZDZ/QuerySZDZTradePosition:
  32826. get:
  32827. parameters:
  32828. - description: 资金账户
  32829. in: query
  32830. name: accountID
  32831. required: true
  32832. type: integer
  32833. produces:
  32834. - application/json
  32835. responses:
  32836. "200":
  32837. description: OK
  32838. schema:
  32839. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  32840. "500":
  32841. description: Internal Server Error
  32842. schema:
  32843. $ref: '#/definitions/app.Response'
  32844. security:
  32845. - ApiKeyAuth: []
  32846. summary: 持仓汇总查询(尚志大宗)
  32847. tags:
  32848. - 定制【尚志大宗】
  32849. /SZDZ/SearchWhite:
  32850. get:
  32851. parameters:
  32852. - description: 用户ID
  32853. in: query
  32854. name: userID
  32855. required: true
  32856. type: integer
  32857. produces:
  32858. - application/json
  32859. responses:
  32860. "200":
  32861. description: OK
  32862. schema:
  32863. $ref: '#/definitions/models.Szdz3searchwhitelist'
  32864. "500":
  32865. description: Internal Server Error
  32866. schema:
  32867. $ref: '#/definitions/app.Response'
  32868. security:
  32869. - ApiKeyAuth: []
  32870. summary: 搜索白名单
  32871. tags:
  32872. - 定制【尚志大宗】
  32873. /Search/SearchGoodses:
  32874. get:
  32875. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  32876. parameters:
  32877. - description: 检索内容
  32878. in: query
  32879. name: content
  32880. required: true
  32881. type: string
  32882. - description: 交易模式,格式:1,2,3
  32883. in: query
  32884. name: tradeModes
  32885. type: string
  32886. produces:
  32887. - application/json
  32888. responses:
  32889. "200":
  32890. description: OK
  32891. schema:
  32892. $ref: '#/definitions/models.SearchGoods'
  32893. "500":
  32894. description: Internal Server Error
  32895. schema:
  32896. $ref: '#/definitions/app.Response'
  32897. summary: 检索商品信息
  32898. tags:
  32899. - 检索服务
  32900. /TaAccount/GetTaAccounts:
  32901. get:
  32902. parameters:
  32903. - description: 登录账户
  32904. in: query
  32905. name: loginID
  32906. required: true
  32907. type: integer
  32908. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  32909. in: query
  32910. name: taAccountType
  32911. type: integer
  32912. produces:
  32913. - application/json
  32914. responses:
  32915. "200":
  32916. description: OK
  32917. schema:
  32918. $ref: '#/definitions/models.Taaccount'
  32919. "500":
  32920. description: Internal Server Error
  32921. schema:
  32922. $ref: '#/definitions/app.Response'
  32923. security:
  32924. - ApiKeyAuth: []
  32925. summary: 获取资金账户信息
  32926. tags:
  32927. - 资金账户
  32928. /TaAccount/QueryAmountLog:
  32929. get:
  32930. parameters:
  32931. - description: 页码
  32932. in: query
  32933. name: page
  32934. type: integer
  32935. - description: 每页条数
  32936. in: query
  32937. name: pagesize
  32938. type: integer
  32939. - description: 分页标志 0-page从0开始 1-page从1开始
  32940. in: query
  32941. name: pageflag
  32942. type: integer
  32943. - description: 资金账户 - 格式:1,2,3
  32944. in: query
  32945. name: accountID
  32946. required: true
  32947. type: string
  32948. - description: 资金操作类型 - 格式:1,2,3
  32949. in: query
  32950. name: OperateType
  32951. type: string
  32952. produces:
  32953. - application/json
  32954. responses:
  32955. "200":
  32956. description: OK
  32957. schema:
  32958. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  32959. "500":
  32960. description: Internal Server Error
  32961. schema:
  32962. $ref: '#/definitions/app.Response'
  32963. security:
  32964. - ApiKeyAuth: []
  32965. summary: 资金流水查询(当前)
  32966. tags:
  32967. - 资金账户
  32968. /TaAccount/QueryHisAmountLog:
  32969. get:
  32970. parameters:
  32971. - description: 页码
  32972. in: query
  32973. name: page
  32974. type: integer
  32975. - description: 每页条数
  32976. in: query
  32977. name: pagesize
  32978. type: integer
  32979. - description: 分页标志 0-page从0开始 1-page从1开始
  32980. in: query
  32981. name: pageflag
  32982. type: integer
  32983. - description: 资金账户 - 格式:1,2,3
  32984. in: query
  32985. name: accountID
  32986. required: true
  32987. type: string
  32988. - description: 资金操作类型 - 格式:1,2,3
  32989. in: query
  32990. name: OperateType
  32991. type: string
  32992. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  32993. in: query
  32994. name: startDate
  32995. type: string
  32996. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  32997. in: query
  32998. name: endDate
  32999. type: string
  33000. produces:
  33001. - application/json
  33002. responses:
  33003. "200":
  33004. description: OK
  33005. schema:
  33006. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  33007. "500":
  33008. description: Internal Server Error
  33009. schema:
  33010. $ref: '#/definitions/app.Response'
  33011. security:
  33012. - ApiKeyAuth: []
  33013. summary: 资金流水查询(历史)
  33014. tags:
  33015. - 资金账户
  33016. /TaAccount/QueryRelatedTaAccount:
  33017. get:
  33018. parameters:
  33019. - description: 关联UserID
  33020. in: query
  33021. name: relateduserid
  33022. required: true
  33023. type: integer
  33024. produces:
  33025. - application/json
  33026. responses:
  33027. "200":
  33028. description: OK
  33029. schema:
  33030. items:
  33031. $ref: '#/definitions/models.RelatedTaAccount'
  33032. type: array
  33033. "500":
  33034. description: Internal Server Error
  33035. schema:
  33036. $ref: '#/definitions/app.Response'
  33037. security:
  33038. - ApiKeyAuth: []
  33039. summary: 查询关联资金账户信息
  33040. tags:
  33041. - 资金账户
  33042. /Tjmd/QueryQuoteGoodsList:
  33043. get:
  33044. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  33045. parameters:
  33046. - description: 用户类型
  33047. in: query
  33048. name: usertype
  33049. required: true
  33050. type: integer
  33051. - description: 市场id, 格式 1,2,3
  33052. in: query
  33053. name: marketids
  33054. type: string
  33055. - description: 商品组id
  33056. in: query
  33057. name: goodsgroupid
  33058. type: integer
  33059. - description: 商品id
  33060. in: query
  33061. name: goodsid
  33062. type: integer
  33063. produces:
  33064. - application/json
  33065. responses:
  33066. "200":
  33067. description: OK
  33068. schema:
  33069. items:
  33070. $ref: '#/definitions/models.TjmdQuoteGoods'
  33071. type: array
  33072. "500":
  33073. description: Internal Server Error
  33074. schema:
  33075. $ref: '#/definitions/app.Response'
  33076. security:
  33077. - ApiKeyAuth: []
  33078. summary: 查询掉期报价列表
  33079. tags:
  33080. - 天津麦顿
  33081. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  33082. get:
  33083. parameters:
  33084. - description: 成交单号
  33085. in: query
  33086. name: tradeid
  33087. required: true
  33088. type: string
  33089. produces:
  33090. - application/json
  33091. responses:
  33092. "200":
  33093. description: OK
  33094. schema:
  33095. items:
  33096. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  33097. type: array
  33098. "500":
  33099. description: Internal Server Error
  33100. schema:
  33101. $ref: '#/definitions/app.Response'
  33102. security:
  33103. - ApiKeyAuth: []
  33104. summary: 掉期商品订单详情(交易确认书)
  33105. tags:
  33106. - 天津麦顿
  33107. /Tjmd/QueryTjmdMarketSection:
  33108. get:
  33109. produces:
  33110. - application/json
  33111. responses:
  33112. "200":
  33113. description: OK
  33114. schema:
  33115. items:
  33116. $ref: '#/definitions/models.TjmdMarketSection'
  33117. type: array
  33118. "500":
  33119. description: Internal Server Error
  33120. schema:
  33121. $ref: '#/definitions/app.Response'
  33122. security:
  33123. - ApiKeyAuth: []
  33124. summary: 查询市场板块
  33125. tags:
  33126. - 天津麦顿
  33127. /Tjmd/QueryTjmdTodayAccountMargin:
  33128. get:
  33129. parameters:
  33130. - description: 市场id
  33131. in: query
  33132. name: marketid
  33133. type: string
  33134. - description: 商品id
  33135. in: query
  33136. name: goodsid
  33137. type: string
  33138. - description: 资金账号
  33139. in: query
  33140. name: accountid
  33141. type: string
  33142. produces:
  33143. - application/json
  33144. responses:
  33145. "200":
  33146. description: OK
  33147. schema:
  33148. items:
  33149. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  33150. type: array
  33151. "500":
  33152. description: Internal Server Error
  33153. schema:
  33154. $ref: '#/definitions/app.Response'
  33155. security:
  33156. - ApiKeyAuth: []
  33157. summary: 查询今日账户保证金配置
  33158. tags:
  33159. - 天津麦顿
  33160. /Tjmd/QueryTjmdTradeOrderDetail:
  33161. get:
  33162. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  33163. parameters:
  33164. - description: 页码
  33165. in: query
  33166. name: page
  33167. type: integer
  33168. - description: 每页条数
  33169. in: query
  33170. name: pagesize
  33171. type: integer
  33172. - description: 用户id
  33173. in: query
  33174. name: userid
  33175. required: true
  33176. type: integer
  33177. - description: 用户类型
  33178. in: query
  33179. name: usertype
  33180. required: true
  33181. type: integer
  33182. - description: 市场id, 格式 1,2,3
  33183. in: query
  33184. name: marketids
  33185. type: string
  33186. - description: 商品id
  33187. in: query
  33188. name: goodsid
  33189. required: true
  33190. type: integer
  33191. - description: 买卖方向 0-买 1-卖
  33192. in: query
  33193. name: buyorsell
  33194. required: true
  33195. type: integer
  33196. produces:
  33197. - application/json
  33198. responses:
  33199. "200":
  33200. description: OK
  33201. schema:
  33202. items:
  33203. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  33204. type: array
  33205. "500":
  33206. description: Internal Server Error
  33207. schema:
  33208. $ref: '#/definitions/app.Response'
  33209. security:
  33210. - ApiKeyAuth: []
  33211. summary: 查询掉期买卖大厅
  33212. tags:
  33213. - 天津麦顿
  33214. /Tjmd/QueryTjmdTransferApply:
  33215. get:
  33216. parameters:
  33217. - description: 类型 1-我的申请 2-对方申请
  33218. in: query
  33219. name: applytype
  33220. required: true
  33221. type: integer
  33222. - description: 市场id, 格式 1,2,3
  33223. in: query
  33224. name: marketids
  33225. type: string
  33226. - description: 资金账号, 格式 25000000001,25000000003
  33227. in: query
  33228. name: accountids
  33229. type: string
  33230. - description: 开始交易日(yyyymmdd)
  33231. in: query
  33232. name: begindate
  33233. type: string
  33234. - description: 结束交易日(yyyymmdd)
  33235. in: query
  33236. name: enddate
  33237. type: string
  33238. produces:
  33239. - application/json
  33240. responses:
  33241. "200":
  33242. description: OK
  33243. schema:
  33244. items:
  33245. $ref: '#/definitions/models.TjmdTransferApply'
  33246. type: array
  33247. "500":
  33248. description: Internal Server Error
  33249. schema:
  33250. $ref: '#/definitions/app.Response'
  33251. security:
  33252. - ApiKeyAuth: []
  33253. summary: 查询掉期协议单
  33254. tags:
  33255. - 天津麦顿
  33256. /Trade/QueryRecieptOrder:
  33257. get:
  33258. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  33259. parameters:
  33260. - description: 页码
  33261. in: query
  33262. name: page
  33263. type: integer
  33264. - description: 每页条数
  33265. in: query
  33266. name: pagesize
  33267. type: integer
  33268. - description: 商品ID
  33269. in: query
  33270. name: goodsID
  33271. required: true
  33272. type: integer
  33273. - description: 所属账户名称
  33274. in: query
  33275. name: accountName
  33276. type: string
  33277. - description: 市场ID
  33278. in: query
  33279. name: marketID
  33280. type: integer
  33281. - description: 方向 - 0:买 1:卖
  33282. in: query
  33283. name: buyorsell
  33284. required: true
  33285. type: integer
  33286. produces:
  33287. - application/json
  33288. responses:
  33289. "200":
  33290. description: OK
  33291. schema:
  33292. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  33293. "500":
  33294. description: Internal Server Error
  33295. schema:
  33296. $ref: '#/definitions/app.Response'
  33297. security:
  33298. - ApiKeyAuth: []
  33299. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  33300. tags:
  33301. - 通用交易
  33302. /User/AddMessageBoard:
  33303. post:
  33304. parameters:
  33305. - description: 用户ID
  33306. in: query
  33307. name: userID
  33308. required: true
  33309. type: integer
  33310. - description: 留言信息
  33311. in: query
  33312. name: message
  33313. required: true
  33314. type: string
  33315. - description: 联系电话
  33316. in: query
  33317. name: contactNum
  33318. required: true
  33319. type: string
  33320. produces:
  33321. - application/json
  33322. responses:
  33323. "200":
  33324. description: OK
  33325. schema:
  33326. $ref: '#/definitions/app.Response'
  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/AddUserFavoriteGoods:
  33337. post:
  33338. parameters:
  33339. - description: 用户ID
  33340. in: query
  33341. name: userID
  33342. required: true
  33343. type: integer
  33344. - description: 商品ID
  33345. in: query
  33346. name: goodsID
  33347. required: true
  33348. type: integer
  33349. produces:
  33350. - application/json
  33351. responses:
  33352. "200":
  33353. description: OK
  33354. schema:
  33355. $ref: '#/definitions/app.Response'
  33356. "500":
  33357. description: Internal Server Error
  33358. schema:
  33359. $ref: '#/definitions/app.Response'
  33360. security:
  33361. - ApiKeyAuth: []
  33362. summary: 添加用户商品收藏信息
  33363. tags:
  33364. - 用户信息
  33365. /User/GetLoginID:
  33366. get:
  33367. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  33368. parameters:
  33369. - description: 登录代码
  33370. in: query
  33371. name: username
  33372. required: true
  33373. type: string
  33374. produces:
  33375. - application/json
  33376. responses:
  33377. "200":
  33378. description: OK
  33379. schema:
  33380. $ref: '#/definitions/app.Response'
  33381. "500":
  33382. description: Internal Server Error
  33383. schema:
  33384. $ref: '#/definitions/app.Response'
  33385. summary: 获取登录ID
  33386. tags:
  33387. - 用户信息
  33388. /User/GetUserAccount:
  33389. get:
  33390. parameters:
  33391. - description: 用户ID
  33392. in: query
  33393. name: userID
  33394. required: true
  33395. type: integer
  33396. produces:
  33397. - application/json
  33398. responses:
  33399. "200":
  33400. description: OK
  33401. schema:
  33402. $ref: '#/definitions/models.Useraccount'
  33403. "500":
  33404. description: Internal Server Error
  33405. schema:
  33406. $ref: '#/definitions/app.Response'
  33407. security:
  33408. - ApiKeyAuth: []
  33409. summary: 获取用户账号信息
  33410. tags:
  33411. - 用户信息
  33412. /User/GetUserAuthStatus:
  33413. get:
  33414. parameters:
  33415. - description: 用户ID
  33416. in: query
  33417. name: userID
  33418. required: true
  33419. type: integer
  33420. produces:
  33421. - application/json
  33422. responses:
  33423. "200":
  33424. description: OK
  33425. schema:
  33426. $ref: '#/definitions/app.Response'
  33427. "500":
  33428. description: Internal Server Error
  33429. schema:
  33430. $ref: '#/definitions/app.Response'
  33431. security:
  33432. - ApiKeyAuth: []
  33433. summary: 获取用户实名认证状态
  33434. tags:
  33435. - 用户信息
  33436. /User/LoginQuery:
  33437. get:
  33438. parameters:
  33439. - description: 登录账号
  33440. in: query
  33441. name: loginID
  33442. required: true
  33443. type: integer
  33444. produces:
  33445. - application/json
  33446. responses:
  33447. "200":
  33448. description: OK
  33449. schema:
  33450. $ref: '#/definitions/user.LoginQueryRsp'
  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/QueryMessageBoard:
  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/models.Messageboard'
  33475. "500":
  33476. description: Internal Server Error
  33477. schema:
  33478. $ref: '#/definitions/app.Response'
  33479. security:
  33480. - ApiKeyAuth: []
  33481. summary: 获取用户留言板信息
  33482. tags:
  33483. - 用户信息
  33484. /User/QueryUserFavoriteGoodses:
  33485. get:
  33486. parameters:
  33487. - description: 用户ID
  33488. in: query
  33489. name: userID
  33490. required: true
  33491. type: integer
  33492. produces:
  33493. - application/json
  33494. responses:
  33495. "200":
  33496. description: OK
  33497. schema:
  33498. $ref: '#/definitions/models.Userfavoritegoods'
  33499. "500":
  33500. description: Internal Server Error
  33501. schema:
  33502. $ref: '#/definitions/app.Response'
  33503. security:
  33504. - ApiKeyAuth: []
  33505. summary: 获取用户商品收藏信息
  33506. tags:
  33507. - 用户信息
  33508. /User/QueryUserInfo:
  33509. get:
  33510. parameters:
  33511. - description: 用户ID
  33512. in: query
  33513. name: userID
  33514. required: true
  33515. type: integer
  33516. - description: 是否解密
  33517. in: query
  33518. name: isDecrypt
  33519. type: boolean
  33520. produces:
  33521. - application/json
  33522. responses:
  33523. "200":
  33524. description: OK
  33525. schema:
  33526. $ref: '#/definitions/models.Userinfo'
  33527. "500":
  33528. description: Internal Server Error
  33529. schema:
  33530. $ref: '#/definitions/app.Response'
  33531. security:
  33532. - ApiKeyAuth: []
  33533. summary: 获取用户信息
  33534. tags:
  33535. - 用户信息
  33536. /User/QueryUserReferNum:
  33537. get:
  33538. parameters:
  33539. - description: 用户ID
  33540. in: query
  33541. name: userID
  33542. required: true
  33543. type: integer
  33544. produces:
  33545. - application/json
  33546. responses:
  33547. "200":
  33548. description: OK
  33549. schema:
  33550. $ref: '#/definitions/app.Response'
  33551. "500":
  33552. description: Internal Server Error
  33553. schema:
  33554. $ref: '#/definitions/app.Response'
  33555. summary: 获取用户邀请码
  33556. tags:
  33557. - 用户信息
  33558. /User/RemoveUserFavoriteGoods:
  33559. post:
  33560. parameters:
  33561. - description: 用户ID
  33562. in: query
  33563. name: userID
  33564. required: true
  33565. type: integer
  33566. - description: 商品ID
  33567. in: query
  33568. name: goodsID
  33569. required: true
  33570. type: integer
  33571. produces:
  33572. - application/json
  33573. responses:
  33574. "200":
  33575. description: OK
  33576. schema:
  33577. $ref: '#/definitions/app.Response'
  33578. "500":
  33579. description: Internal Server Error
  33580. schema:
  33581. $ref: '#/definitions/app.Response'
  33582. security:
  33583. - ApiKeyAuth: []
  33584. summary: 移除用户商品收藏信息
  33585. tags:
  33586. - 用户信息
  33587. /User/UpdateUserAccountStatus:
  33588. post:
  33589. parameters:
  33590. - description: 用户ID
  33591. in: query
  33592. name: userID
  33593. required: true
  33594. type: integer
  33595. - description: 账户状态 - 4:正常 6:注销(停用)
  33596. in: query
  33597. name: accountStatus
  33598. required: true
  33599. type: integer
  33600. produces:
  33601. - application/json
  33602. responses:
  33603. "200":
  33604. description: OK
  33605. schema:
  33606. $ref: '#/definitions/app.Response'
  33607. "500":
  33608. description: Internal Server Error
  33609. schema:
  33610. $ref: '#/definitions/app.Response'
  33611. security:
  33612. - ApiKeyAuth: []
  33613. summary: 更新用户状态
  33614. tags:
  33615. - 用户信息
  33616. /WRTrade/GetAllDeliveryGoods:
  33617. get:
  33618. produces:
  33619. - application/json
  33620. responses:
  33621. "200":
  33622. description: OK
  33623. schema:
  33624. $ref: '#/definitions/app.Response'
  33625. "500":
  33626. description: Internal Server Error
  33627. schema:
  33628. $ref: '#/definitions/app.Response'
  33629. security:
  33630. - ApiKeyAuth: []
  33631. summary: 获取带仓单分类的种类信息
  33632. tags:
  33633. - 仓单贸易
  33634. - 仓单贸易
  33635. /WrTrade2/InsertXhcpSellBackApply:
  33636. post:
  33637. parameters:
  33638. - description: 回收申请
  33639. in: body
  33640. name: jsonBody
  33641. required: true
  33642. schema:
  33643. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  33644. produces:
  33645. - application/json
  33646. responses:
  33647. "200":
  33648. description: OK
  33649. schema:
  33650. $ref: '#/definitions/app.Response'
  33651. "500":
  33652. description: Internal Server Error
  33653. schema:
  33654. $ref: '#/definitions/app.Response'
  33655. security:
  33656. - ApiKeyAuth: []
  33657. summary: 新增回收申请(新会陈皮)
  33658. tags:
  33659. - 仓单贸易v2
  33660. /WrTrade2/QueryDeliveryGoodsSection:
  33661. get:
  33662. produces:
  33663. - application/json
  33664. responses:
  33665. "200":
  33666. description: OK
  33667. schema:
  33668. items:
  33669. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  33670. type: array
  33671. "500":
  33672. description: Internal Server Error
  33673. schema:
  33674. $ref: '#/definitions/app.Response'
  33675. security:
  33676. - ApiKeyAuth: []
  33677. summary: 查询板块(分类)
  33678. tags:
  33679. - 仓单贸易v2
  33680. /WrTrade2/QueryFaProductDetail:
  33681. get:
  33682. description: 页面 买卖大厅 -> 选择融资方案
  33683. parameters:
  33684. - description: 仓单要素id
  33685. in: query
  33686. name: wrfactortypeid
  33687. required: true
  33688. type: integer
  33689. produces:
  33690. - application/json
  33691. responses:
  33692. "200":
  33693. description: OK
  33694. schema:
  33695. items:
  33696. $ref: '#/definitions/models.WrFAProductDetail'
  33697. type: array
  33698. "500":
  33699. description: Internal Server Error
  33700. schema:
  33701. $ref: '#/definitions/app.Response'
  33702. security:
  33703. - ApiKeyAuth: []
  33704. summary: 查询融资产品列表
  33705. tags:
  33706. - 仓单贸易v2
  33707. /WrTrade2/QueryFilterItem:
  33708. get:
  33709. parameters:
  33710. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  33711. in: query
  33712. name: itype
  33713. required: true
  33714. type: string
  33715. produces:
  33716. - application/json
  33717. responses:
  33718. "200":
  33719. description: OK
  33720. schema:
  33721. items:
  33722. $ref: '#/definitions/models.WrFilterItem'
  33723. type: array
  33724. "500":
  33725. description: Internal Server Error
  33726. schema:
  33727. $ref: '#/definitions/app.Response'
  33728. security:
  33729. - ApiKeyAuth: []
  33730. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  33731. tags:
  33732. - 仓单贸易v2
  33733. /WrTrade2/QueryFtDeliveryGoods:
  33734. get:
  33735. produces:
  33736. - application/json
  33737. responses:
  33738. "200":
  33739. description: OK
  33740. schema:
  33741. items:
  33742. $ref: '#/definitions/models.WrFtDeliveryGoods'
  33743. type: array
  33744. "500":
  33745. description: Internal Server Error
  33746. schema:
  33747. $ref: '#/definitions/app.Response'
  33748. security:
  33749. - ApiKeyAuth: []
  33750. summary: 查询品种品类筛选框列表
  33751. tags:
  33752. - 仓单贸易v2
  33753. /WrTrade2/QueryHoldLB:
  33754. get:
  33755. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  33756. parameters:
  33757. - description: 资金账号
  33758. in: query
  33759. name: accountid
  33760. required: true
  33761. type: integer
  33762. - description: 仓库id
  33763. in: query
  33764. name: warehouseid
  33765. type: integer
  33766. - description: 品种id
  33767. in: query
  33768. name: deliverygoodsid
  33769. type: integer
  33770. - description: 品类id
  33771. in: query
  33772. name: wrstandardid
  33773. type: integer
  33774. - description: 仓单要素id
  33775. in: query
  33776. name: wrfactortypeid
  33777. type: integer
  33778. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  33779. in: query
  33780. name: dgitemname
  33781. type: string
  33782. produces:
  33783. - application/json
  33784. responses:
  33785. "200":
  33786. description: OK
  33787. schema:
  33788. items:
  33789. $ref: '#/definitions/models.WrHoldLB'
  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/QueryOrderQuote:
  33801. get:
  33802. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  33803. 唯一确定1条记录
  33804. parameters:
  33805. - description: 页码
  33806. in: query
  33807. name: page
  33808. type: integer
  33809. - description: 每页条数
  33810. in: query
  33811. name: pagesize
  33812. type: integer
  33813. - description: 仓单贸易市场id
  33814. in: query
  33815. name: marketid
  33816. type: integer
  33817. - description: 价格方式 - 1:固定价 2-浮动价
  33818. in: query
  33819. name: wrpricetype
  33820. required: true
  33821. type: integer
  33822. - description: 0:仓单预售 1:仓单贸易
  33823. in: query
  33824. name: haswr
  33825. type: integer
  33826. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  33827. in: query
  33828. name: dgitemname
  33829. type: string
  33830. - description: 仓库id(筛选条件)
  33831. in: query
  33832. name: warehouseid
  33833. type: integer
  33834. - description: 品种id
  33835. in: query
  33836. name: deliverygoodsid
  33837. type: integer
  33838. - description: 品类id
  33839. in: query
  33840. name: wrstandardid
  33841. type: integer
  33842. - description: 品牌id(dgfactoryitemid)
  33843. in: query
  33844. name: brandid
  33845. type: integer
  33846. - description: 年份id(dgfactoryitemid)
  33847. in: query
  33848. name: yearsid
  33849. type: integer
  33850. - description: 仓单要素id
  33851. in: query
  33852. name: wrfactortypeid
  33853. type: integer
  33854. - description: 交收月(yyyy-mm) 仓单预售填写
  33855. in: query
  33856. name: deliverymonth
  33857. type: string
  33858. produces:
  33859. - application/json
  33860. responses:
  33861. "200":
  33862. description: OK
  33863. schema:
  33864. items:
  33865. $ref: '#/definitions/models.WrOrderQuote'
  33866. type: array
  33867. "500":
  33868. description: Internal Server Error
  33869. schema:
  33870. $ref: '#/definitions/app.Response'
  33871. security:
  33872. - ApiKeyAuth: []
  33873. summary: 查询大厅行情列表
  33874. tags:
  33875. - 仓单贸易v2
  33876. /WrTrade2/QueryOrderQuoteDetail:
  33877. get:
  33878. parameters:
  33879. - description: 页码
  33880. in: query
  33881. name: page
  33882. type: integer
  33883. - description: 每页条数
  33884. in: query
  33885. name: pagesize
  33886. type: integer
  33887. - description: 仓单贸易市场id
  33888. in: query
  33889. name: marketid
  33890. type: integer
  33891. - description: 价格方式 - 1:固定价 2-浮动价
  33892. in: query
  33893. name: wrpricetype
  33894. required: true
  33895. type: integer
  33896. - description: 0:仓单预售 1:仓单贸易
  33897. in: query
  33898. name: haswr
  33899. type: integer
  33900. - description: 仓单要素id
  33901. in: query
  33902. name: wrfactortypeid
  33903. required: true
  33904. type: integer
  33905. - description: 期货商品id(浮动价方式时填)
  33906. in: query
  33907. name: goodsid
  33908. type: integer
  33909. - description: 买卖方向 0-买 1-卖
  33910. in: query
  33911. name: buyorsell
  33912. required: true
  33913. type: integer
  33914. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  33915. in: query
  33916. name: deliverymonth
  33917. type: string
  33918. produces:
  33919. - application/json
  33920. responses:
  33921. "200":
  33922. description: OK
  33923. schema:
  33924. items:
  33925. $ref: '#/definitions/models.WrOrderQuoteDetail'
  33926. type: array
  33927. "500":
  33928. description: Internal Server Error
  33929. schema:
  33930. $ref: '#/definitions/app.Response'
  33931. security:
  33932. - ApiKeyAuth: []
  33933. summary: 查询买卖大厅
  33934. tags:
  33935. - 仓单贸易v2
  33936. /WrTrade2/QueryOrderQuoteMyq:
  33937. get:
  33938. parameters:
  33939. - description: 页码
  33940. in: query
  33941. name: page
  33942. type: integer
  33943. - description: 每页条数
  33944. in: query
  33945. name: pagesize
  33946. type: integer
  33947. - description: 用户id
  33948. in: query
  33949. name: userid
  33950. required: true
  33951. type: integer
  33952. - description: 仓单贸易市场id
  33953. in: query
  33954. name: marketid
  33955. type: integer
  33956. - description: 0:仓单预售 1:仓单贸易
  33957. in: query
  33958. name: haswr
  33959. type: integer
  33960. - description: 买卖方向 0-买 1-卖
  33961. in: query
  33962. name: buyorsell
  33963. required: true
  33964. type: integer
  33965. - description: 品种id
  33966. in: query
  33967. name: deliverygoodsid
  33968. type: integer
  33969. - description: 品类id
  33970. in: query
  33971. name: wrstandardid
  33972. type: integer
  33973. - description: 交收月(yyyy-mm) 仓单预售填写
  33974. in: query
  33975. name: deliverymonth
  33976. type: string
  33977. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  33978. in: query
  33979. name: dgitemname
  33980. type: string
  33981. produces:
  33982. - application/json
  33983. responses:
  33984. "200":
  33985. description: OK
  33986. schema:
  33987. items:
  33988. $ref: '#/definitions/models.WrQuoteOrderMyq'
  33989. type: array
  33990. "500":
  33991. description: Internal Server Error
  33992. schema:
  33993. $ref: '#/definitions/app.Response'
  33994. security:
  33995. - ApiKeyAuth: []
  33996. summary: 查询贸易圈挂牌大厅
  33997. tags:
  33998. - 仓单贸易v2
  33999. /WrTrade2/QueryPerformancePlan:
  34000. get:
  34001. parameters:
  34002. - description: 用户id
  34003. in: query
  34004. name: userid
  34005. required: true
  34006. type: integer
  34007. - description: 买卖方向 0-买 1-卖
  34008. in: query
  34009. name: buyorsell
  34010. required: true
  34011. type: integer
  34012. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  34013. 8:释放冻结失败 9:超时待处理 10:超时关闭
  34014. in: query
  34015. name: status
  34016. type: string
  34017. - description: 开始交易日(yyyymmdd)
  34018. in: query
  34019. name: begindate
  34020. type: string
  34021. - description: 结束交易日(yyyymmdd)
  34022. in: query
  34023. name: enddate
  34024. type: string
  34025. produces:
  34026. - application/json
  34027. responses:
  34028. "200":
  34029. description: OK
  34030. schema:
  34031. items:
  34032. $ref: '#/definitions/models.WrPerformancePlan'
  34033. type: array
  34034. "500":
  34035. description: Internal Server Error
  34036. schema:
  34037. $ref: '#/definitions/app.Response'
  34038. security:
  34039. - ApiKeyAuth: []
  34040. summary: 查询履约信息
  34041. tags:
  34042. - 仓单贸易v2
  34043. /WrTrade2/QueryPermancePlanTmp:
  34044. get:
  34045. description: |-
  34046. 返回指定用户的模板和公共模板(用户id为空)
  34047. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  34048. parameters:
  34049. - description: 用户id
  34050. in: query
  34051. name: userid
  34052. type: integer
  34053. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  34054. (无仓单) 5:挂牌期权 6:竞拍-降价式
  34055. in: query
  34056. name: tmptype
  34057. type: string
  34058. - description: 是否包含公共模板(用户id为空的) 1-包含
  34059. in: query
  34060. name: includepub
  34061. type: integer
  34062. - description: 市场id(天津麦顿指定此参数,其它不用)
  34063. in: query
  34064. name: marketid
  34065. type: integer
  34066. produces:
  34067. - application/json
  34068. responses:
  34069. "200":
  34070. description: OK
  34071. schema:
  34072. items:
  34073. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  34074. type: array
  34075. "500":
  34076. description: Internal Server Error
  34077. schema:
  34078. $ref: '#/definitions/app.Response'
  34079. security:
  34080. - ApiKeyAuth: []
  34081. summary: 查询履约模板
  34082. tags:
  34083. - 仓单贸易v2
  34084. /WrTrade2/QuerySiteColumnConfig:
  34085. get:
  34086. parameters:
  34087. - description: 页码
  34088. in: query
  34089. name: page
  34090. type: integer
  34091. - description: 每页条数
  34092. in: query
  34093. name: pagesize
  34094. type: integer
  34095. - description: 栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色
  34096. in: query
  34097. name: columntype
  34098. type: integer
  34099. produces:
  34100. - application/json
  34101. responses:
  34102. "200":
  34103. description: OK
  34104. schema:
  34105. items:
  34106. $ref: '#/definitions/models.Sitecolumnconfig'
  34107. type: array
  34108. "500":
  34109. description: Internal Server Error
  34110. schema:
  34111. $ref: '#/definitions/app.Response'
  34112. security:
  34113. - ApiKeyAuth: []
  34114. summary: 查询资讯栏目配置
  34115. tags:
  34116. - 仓单贸易v2
  34117. /WrTrade2/QuerySiteColumnDetail:
  34118. get:
  34119. parameters:
  34120. - description: 页码
  34121. in: query
  34122. name: page
  34123. type: integer
  34124. - description: 每页条数
  34125. in: query
  34126. name: pagesize
  34127. type: integer
  34128. - description: 所属栏目id
  34129. in: query
  34130. name: columnid
  34131. type: integer
  34132. produces:
  34133. - application/json
  34134. responses:
  34135. "200":
  34136. description: OK
  34137. schema:
  34138. items:
  34139. $ref: '#/definitions/models.WrSiteColumnDetail'
  34140. type: array
  34141. "500":
  34142. description: Internal Server Error
  34143. schema:
  34144. $ref: '#/definitions/app.Response'
  34145. security:
  34146. - ApiKeyAuth: []
  34147. summary: 查询资讯
  34148. tags:
  34149. - 仓单贸易v2
  34150. /WrTrade2/QuerySpotGroupTradeSum:
  34151. get:
  34152. produces:
  34153. - application/json
  34154. responses:
  34155. "200":
  34156. description: OK
  34157. schema:
  34158. items:
  34159. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  34160. type: array
  34161. "500":
  34162. description: Internal Server Error
  34163. schema:
  34164. $ref: '#/definitions/app.Response'
  34165. security:
  34166. - ApiKeyAuth: []
  34167. summary: 查询指数
  34168. tags:
  34169. - 仓单贸易v2
  34170. /WrTrade2/QuerySpotGroupTradeSumDetail:
  34171. get:
  34172. description: 查询的结果将会按日期 从小到大 排序
  34173. parameters:
  34174. - description: 现货商品id
  34175. in: query
  34176. name: deliverygoodsid
  34177. required: true
  34178. type: integer
  34179. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  34180. in: query
  34181. name: lastnum
  34182. type: integer
  34183. produces:
  34184. - application/json
  34185. responses:
  34186. "200":
  34187. description: OK
  34188. schema:
  34189. items:
  34190. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  34191. type: array
  34192. "500":
  34193. description: Internal Server Error
  34194. schema:
  34195. $ref: '#/definitions/app.Response'
  34196. security:
  34197. - ApiKeyAuth: []
  34198. summary: 查询指数详细(价格走势图)
  34199. tags:
  34200. - 仓单贸易v2
  34201. /WrTrade2/QueryWrAverageTradePrice:
  34202. get:
  34203. parameters:
  34204. - description: 页码
  34205. in: query
  34206. name: page
  34207. type: integer
  34208. - description: 每页条数
  34209. in: query
  34210. name: pagesize
  34211. type: integer
  34212. - description: 0:仓单预售 1:仓单贸易
  34213. in: query
  34214. name: haswr
  34215. required: true
  34216. type: integer
  34217. - description: 仓单要素id
  34218. in: query
  34219. name: wrfactortypeid
  34220. required: true
  34221. type: integer
  34222. produces:
  34223. - application/json
  34224. responses:
  34225. "200":
  34226. description: OK
  34227. schema:
  34228. items:
  34229. $ref: '#/definitions/models.WrAverageTradePrice'
  34230. type: array
  34231. "500":
  34232. description: Internal Server Error
  34233. schema:
  34234. $ref: '#/definitions/app.Response'
  34235. security:
  34236. - ApiKeyAuth: []
  34237. summary: 查询成交价(历史走势)
  34238. tags:
  34239. - 仓单贸易v2
  34240. /WrTrade2/QueryWrBrandAndYears:
  34241. get:
  34242. produces:
  34243. - application/json
  34244. responses:
  34245. "200":
  34246. description: OK
  34247. schema:
  34248. items:
  34249. $ref: '#/definitions/models.WrBrandAndYears'
  34250. type: array
  34251. "500":
  34252. description: Internal Server Error
  34253. schema:
  34254. $ref: '#/definitions/app.Response'
  34255. security:
  34256. - ApiKeyAuth: []
  34257. summary: 查询品牌和年份
  34258. tags:
  34259. - 仓单贸易v2
  34260. /WrTrade2/QueryWrBsGoodsInfo:
  34261. get:
  34262. description: 合约交易/买卖大厅/详情
  34263. parameters:
  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.WrBsGoodsInfo'
  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/QueryWrBuybackDetail:
  34288. get:
  34289. parameters:
  34290. - description: 融资合同id
  34291. in: query
  34292. name: scfcontractid
  34293. type: integer
  34294. produces:
  34295. - application/json
  34296. responses:
  34297. "200":
  34298. description: OK
  34299. schema:
  34300. items:
  34301. $ref: '#/definitions/models.WrBuybackDetail'
  34302. type: array
  34303. "500":
  34304. description: Internal Server Error
  34305. schema:
  34306. $ref: '#/definitions/app.Response'
  34307. security:
  34308. - ApiKeyAuth: []
  34309. summary: 查询仓单回购明细
  34310. tags:
  34311. - 仓单贸易v2
  34312. /WrTrade2/QueryWrClientAdSpaceConfig:
  34313. get:
  34314. produces:
  34315. - application/json
  34316. responses:
  34317. "200":
  34318. description: OK
  34319. schema:
  34320. items:
  34321. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  34322. type: array
  34323. "500":
  34324. description: Internal Server Error
  34325. schema:
  34326. $ref: '#/definitions/app.Response'
  34327. security:
  34328. - ApiKeyAuth: []
  34329. summary: 查询固定广告配置
  34330. tags:
  34331. - 仓单贸易v2
  34332. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  34333. get:
  34334. parameters:
  34335. - description: 资金账号
  34336. in: query
  34337. name: accountid
  34338. required: true
  34339. type: integer
  34340. - description: 商品id
  34341. in: query
  34342. name: goodsid
  34343. required: true
  34344. type: integer
  34345. produces:
  34346. - application/json
  34347. responses:
  34348. "200":
  34349. description: OK
  34350. schema:
  34351. items:
  34352. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  34353. type: array
  34354. "500":
  34355. description: Internal Server Error
  34356. schema:
  34357. $ref: '#/definitions/app.Response'
  34358. security:
  34359. - ApiKeyAuth: []
  34360. summary: 查询合约交收可点选仓单
  34361. tags:
  34362. - 仓单贸易v2
  34363. /WrTrade2/QueryWrDeliveryDetail:
  34364. get:
  34365. parameters:
  34366. - description: 用户id
  34367. in: query
  34368. name: userid
  34369. required: true
  34370. type: integer
  34371. - description: 资金账号id
  34372. in: query
  34373. name: accountid
  34374. type: integer
  34375. - description: 开始交易日(yyyymmdd)
  34376. in: query
  34377. name: begindate
  34378. type: string
  34379. - description: 结束交易日(yyyymmdd)
  34380. in: query
  34381. name: enddate
  34382. type: string
  34383. produces:
  34384. - application/json
  34385. responses:
  34386. "200":
  34387. description: OK
  34388. schema:
  34389. items:
  34390. $ref: '#/definitions/models.WrDeliveryDetail'
  34391. type: array
  34392. "500":
  34393. description: Internal Server Error
  34394. schema:
  34395. $ref: '#/definitions/app.Response'
  34396. security:
  34397. - ApiKeyAuth: []
  34398. summary: 查询交收
  34399. tags:
  34400. - 仓单贸易v2
  34401. /WrTrade2/QueryWrDraftUserInfo:
  34402. get:
  34403. parameters:
  34404. - description: 用户ID
  34405. in: query
  34406. name: userid
  34407. required: true
  34408. type: integer
  34409. - description: 用户状态 1:正常 2:注销
  34410. in: query
  34411. name: userstatus
  34412. type: integer
  34413. produces:
  34414. - application/json
  34415. responses:
  34416. "200":
  34417. description: OK
  34418. schema:
  34419. items:
  34420. $ref: '#/definitions/models.WrDraftUserInfo'
  34421. type: array
  34422. "500":
  34423. description: Internal Server Error
  34424. schema:
  34425. $ref: '#/definitions/app.Response'
  34426. security:
  34427. - ApiKeyAuth: []
  34428. summary: 查询实名认证信息
  34429. tags:
  34430. - 仓单贸易v2
  34431. /WrTrade2/QueryWrFactorTypeInfo:
  34432. get:
  34433. parameters:
  34434. - description: 仓单要素id
  34435. in: query
  34436. name: wrfactortypeid
  34437. required: true
  34438. type: integer
  34439. produces:
  34440. - application/json
  34441. responses:
  34442. "200":
  34443. description: OK
  34444. schema:
  34445. items:
  34446. $ref: '#/definitions/models.WrFactorTypeInfo'
  34447. type: array
  34448. "500":
  34449. description: Internal Server Error
  34450. schema:
  34451. $ref: '#/definitions/app.Response'
  34452. security:
  34453. - ApiKeyAuth: []
  34454. summary: 查询仓单要素详细信息
  34455. tags:
  34456. - 仓单贸易v2
  34457. /WrTrade2/QueryWrFactorTypeInfoEx:
  34458. get:
  34459. parameters:
  34460. - description: 仓单要素id
  34461. in: query
  34462. name: wrfactortypeid
  34463. required: true
  34464. type: integer
  34465. produces:
  34466. - application/json
  34467. responses:
  34468. "200":
  34469. description: OK
  34470. schema:
  34471. items:
  34472. $ref: '#/definitions/models.WrTypeItem'
  34473. type: array
  34474. "500":
  34475. description: Internal Server Error
  34476. schema:
  34477. $ref: '#/definitions/app.Response'
  34478. security:
  34479. - ApiKeyAuth: []
  34480. summary: 查询仓单要素详细信息列表项
  34481. tags:
  34482. - 仓单贸易v2
  34483. /WrTrade2/QueryWrFinanceBuyApply:
  34484. get:
  34485. description: 页面 融资信息+ / 申请单
  34486. parameters:
  34487. - description: 用户id
  34488. in: query
  34489. name: userid
  34490. required: true
  34491. type: integer
  34492. produces:
  34493. - application/json
  34494. responses:
  34495. "200":
  34496. description: OK
  34497. schema:
  34498. items:
  34499. $ref: '#/definitions/models.WrFinanceBuyApply'
  34500. type: array
  34501. "500":
  34502. description: Internal Server Error
  34503. schema:
  34504. $ref: '#/definitions/app.Response'
  34505. security:
  34506. - ApiKeyAuth: []
  34507. summary: 查询融资购买申请
  34508. tags:
  34509. - 仓单贸易v2
  34510. /WrTrade2/QueryWrFriendApply:
  34511. get:
  34512. parameters:
  34513. - description: 用户id
  34514. in: query
  34515. name: userid
  34516. required: true
  34517. type: integer
  34518. produces:
  34519. - application/json
  34520. responses:
  34521. "200":
  34522. description: OK
  34523. schema:
  34524. items:
  34525. $ref: '#/definitions/models.WrFriendApply'
  34526. type: array
  34527. "500":
  34528. description: Internal Server Error
  34529. schema:
  34530. $ref: '#/definitions/app.Response'
  34531. security:
  34532. - ApiKeyAuth: []
  34533. summary: 查询好友申请记录
  34534. tags:
  34535. - 仓单贸易v2
  34536. /WrTrade2/QueryWrGoodsInfo:
  34537. get:
  34538. parameters:
  34539. - description: 仓单贸易市场id
  34540. in: query
  34541. name: marketid
  34542. type: integer
  34543. - description: 0:仓单预售 1:仓单贸易
  34544. in: query
  34545. name: haswr
  34546. required: true
  34547. type: integer
  34548. - description: 仓单要素id
  34549. in: query
  34550. name: wrfactortypeid
  34551. required: true
  34552. type: integer
  34553. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  34554. in: query
  34555. name: tmplateid
  34556. type: integer
  34557. produces:
  34558. - application/json
  34559. responses:
  34560. "200":
  34561. description: OK
  34562. schema:
  34563. items:
  34564. $ref: '#/definitions/models.WrGoodsInfo'
  34565. type: array
  34566. "500":
  34567. description: Internal Server Error
  34568. schema:
  34569. $ref: '#/definitions/app.Response'
  34570. security:
  34571. - ApiKeyAuth: []
  34572. summary: 查询仓单商品信息
  34573. tags:
  34574. - 仓单贸易v2
  34575. /WrTrade2/QueryWrMarketTradeConfig:
  34576. get:
  34577. parameters:
  34578. - description: 市场id
  34579. in: query
  34580. name: marketid
  34581. type: integer
  34582. produces:
  34583. - application/json
  34584. responses:
  34585. "200":
  34586. description: OK
  34587. schema:
  34588. items:
  34589. $ref: '#/definitions/models.WrMarketTradeConfig'
  34590. type: array
  34591. "500":
  34592. description: Internal Server Error
  34593. schema:
  34594. $ref: '#/definitions/app.Response'
  34595. security:
  34596. - ApiKeyAuth: []
  34597. summary: 查询市场交易参数配置
  34598. tags:
  34599. - 仓单贸易v2
  34600. /WrTrade2/QueryWrOrderDetail:
  34601. get:
  34602. description: 页面 现货仓单 | 预售仓单 -> 委托单
  34603. parameters:
  34604. - description: 页码
  34605. in: query
  34606. name: page
  34607. type: integer
  34608. - description: 每页条数
  34609. in: query
  34610. name: pagesize
  34611. type: integer
  34612. - description: 用户id
  34613. in: query
  34614. name: userid
  34615. required: true
  34616. type: integer
  34617. - description: 仓单贸易市场id
  34618. in: query
  34619. name: marketid
  34620. type: integer
  34621. - description: 0:仓单预售 1:仓单贸易
  34622. in: query
  34623. name: haswr
  34624. required: true
  34625. type: integer
  34626. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  34627. in: query
  34628. name: bcancel
  34629. type: integer
  34630. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  34631. in: query
  34632. name: wrtradetype
  34633. type: integer
  34634. - description: 开始交易日(yyyymmdd)
  34635. in: query
  34636. name: begindate
  34637. type: string
  34638. - description: 结束交易日(yyyymmdd)
  34639. in: query
  34640. name: enddate
  34641. type: string
  34642. produces:
  34643. - application/json
  34644. responses:
  34645. "200":
  34646. description: OK
  34647. schema:
  34648. items:
  34649. $ref: '#/definitions/models.WrOrderDetail'
  34650. type: array
  34651. "500":
  34652. description: Internal Server Error
  34653. schema:
  34654. $ref: '#/definitions/app.Response'
  34655. security:
  34656. - ApiKeyAuth: []
  34657. summary: 查询仓单委托单
  34658. tags:
  34659. - 仓单贸易v2
  34660. /WrTrade2/QueryWrOutInApply:
  34661. get:
  34662. parameters:
  34663. - description: 页码
  34664. in: query
  34665. name: page
  34666. type: integer
  34667. - description: 每页条数
  34668. in: query
  34669. name: pagesize
  34670. type: integer
  34671. - description: 用户id
  34672. in: query
  34673. name: userid
  34674. required: true
  34675. type: integer
  34676. - description: 开始交易日(yyyymmdd)
  34677. in: query
  34678. name: begindate
  34679. type: string
  34680. - description: 结束交易日(yyyymmdd)
  34681. in: query
  34682. name: enddate
  34683. type: string
  34684. produces:
  34685. - application/json
  34686. responses:
  34687. "200":
  34688. description: OK
  34689. schema:
  34690. items:
  34691. $ref: '#/definitions/models.WrOutInApply'
  34692. type: array
  34693. "500":
  34694. description: Internal Server Error
  34695. schema:
  34696. $ref: '#/definitions/app.Response'
  34697. security:
  34698. - ApiKeyAuth: []
  34699. summary: 查询提货申请
  34700. tags:
  34701. - 仓单贸易v2
  34702. /WrTrade2/QueryWrPerformancePlanStep:
  34703. get:
  34704. parameters:
  34705. - description: 履约计划id(performanceplanid)
  34706. in: query
  34707. name: planid
  34708. required: true
  34709. type: integer
  34710. - description: 当前步骤id
  34711. in: query
  34712. name: curstepid
  34713. type: integer
  34714. produces:
  34715. - application/json
  34716. responses:
  34717. "200":
  34718. description: OK
  34719. schema:
  34720. items:
  34721. $ref: '#/definitions/models.WrPerformancePlanStep'
  34722. type: array
  34723. "500":
  34724. description: Internal Server Error
  34725. schema:
  34726. $ref: '#/definitions/app.Response'
  34727. security:
  34728. - ApiKeyAuth: []
  34729. summary: 查询履约信息详情
  34730. tags:
  34731. - 仓单贸易v2
  34732. /WrTrade2/QueryWrPerformanceStepType:
  34733. get:
  34734. produces:
  34735. - application/json
  34736. responses:
  34737. "200":
  34738. description: OK
  34739. schema:
  34740. items:
  34741. $ref: '#/definitions/models.WrPerformanceStepType'
  34742. type: array
  34743. "500":
  34744. description: Internal Server Error
  34745. schema:
  34746. $ref: '#/definitions/app.Response'
  34747. security:
  34748. - ApiKeyAuth: []
  34749. summary: 查询履约步骤枚举
  34750. tags:
  34751. - 仓单贸易v2
  34752. /WrTrade2/QueryWrPosition:
  34753. get:
  34754. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  34755. parameters:
  34756. - description: 用户id
  34757. in: query
  34758. name: userid
  34759. required: true
  34760. type: integer
  34761. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  34762. in: query
  34763. name: querytype
  34764. required: true
  34765. type: integer
  34766. - description: 0:仓单预售 1:仓单贸易
  34767. in: query
  34768. name: haswr
  34769. required: true
  34770. type: integer
  34771. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  34772. in: query
  34773. name: dgitemname
  34774. type: string
  34775. - description: 仓库id(筛选条件)
  34776. in: query
  34777. name: warehouseid
  34778. type: integer
  34779. - description: 品种id
  34780. in: query
  34781. name: deliverygoodsid
  34782. type: integer
  34783. - description: 品类id
  34784. in: query
  34785. name: wrstandardid
  34786. type: integer
  34787. produces:
  34788. - application/json
  34789. responses:
  34790. "200":
  34791. description: OK
  34792. schema:
  34793. items:
  34794. $ref: '#/definitions/models.WrPosition'
  34795. type: array
  34796. "500":
  34797. description: Internal Server Error
  34798. schema:
  34799. $ref: '#/definitions/app.Response'
  34800. security:
  34801. - ApiKeyAuth: []
  34802. summary: 查询现货(预售)仓单持仓
  34803. tags:
  34804. - 仓单贸易v2
  34805. /WrTrade2/QueryWrPreSaleInfo:
  34806. get:
  34807. parameters:
  34808. - description: 市场id
  34809. in: query
  34810. name: marketid
  34811. type: integer
  34812. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  34813. in: query
  34814. name: presalestatus
  34815. type: string
  34816. - description: 摇号标识 - 0:未摇号 1:已摇号
  34817. in: query
  34818. name: lotteryflag
  34819. type: integer
  34820. - description: 最近多少条记录(按创建时间倒序)
  34821. in: query
  34822. name: lastnum
  34823. type: integer
  34824. produces:
  34825. - application/json
  34826. responses:
  34827. "200":
  34828. description: OK
  34829. schema:
  34830. items:
  34831. $ref: '#/definitions/models.WrPreSaleInfo'
  34832. type: array
  34833. "500":
  34834. description: Internal Server Error
  34835. schema:
  34836. $ref: '#/definitions/app.Response'
  34837. security:
  34838. - ApiKeyAuth: []
  34839. summary: 查询新品发布
  34840. tags:
  34841. - 仓单贸易v2
  34842. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  34843. get:
  34844. parameters:
  34845. - description: 市场id
  34846. in: query
  34847. name: marketid
  34848. required: true
  34849. type: integer
  34850. - description: 现货商品id
  34851. in: query
  34852. name: wrstandardid
  34853. required: true
  34854. type: integer
  34855. - description: 开始交易日(yyyymmdd)
  34856. in: query
  34857. name: begindate
  34858. type: string
  34859. - description: 结束交易日(yyyymmdd)
  34860. in: query
  34861. name: enddate
  34862. type: string
  34863. - description: 最近多少条记录(按交易日倒序)
  34864. in: query
  34865. name: lastnum
  34866. type: integer
  34867. - description: 是否今日
  34868. in: query
  34869. name: istoday
  34870. type: boolean
  34871. produces:
  34872. - application/json
  34873. responses:
  34874. "200":
  34875. description: OK
  34876. schema:
  34877. items:
  34878. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  34879. type: array
  34880. "500":
  34881. description: Internal Server Error
  34882. schema:
  34883. $ref: '#/definitions/app.Response'
  34884. security:
  34885. - ApiKeyAuth: []
  34886. summary: 查询价格走势
  34887. tags:
  34888. - 仓单贸易v2
  34889. /WrTrade2/QueryWrScfContract:
  34890. get:
  34891. parameters:
  34892. - description: 用户id
  34893. in: query
  34894. name: userid
  34895. required: true
  34896. type: integer
  34897. - description: 融资合同id
  34898. in: query
  34899. name: scfcontractid
  34900. type: integer
  34901. produces:
  34902. - application/json
  34903. responses:
  34904. "200":
  34905. description: OK
  34906. schema:
  34907. items:
  34908. $ref: '#/definitions/models.WrScfContract'
  34909. type: array
  34910. "500":
  34911. description: Internal Server Error
  34912. schema:
  34913. $ref: '#/definitions/app.Response'
  34914. security:
  34915. - ApiKeyAuth: []
  34916. summary: 查询仓单贸易融资合同
  34917. tags:
  34918. - 仓单贸易v2
  34919. /WrTrade2/QueryWrScfContractInterest:
  34920. get:
  34921. parameters:
  34922. - description: 融资合同id
  34923. in: query
  34924. name: scfcontractid
  34925. type: integer
  34926. produces:
  34927. - application/json
  34928. responses:
  34929. "200":
  34930. description: OK
  34931. schema:
  34932. items:
  34933. $ref: '#/definitions/models.WrScfContractInterest'
  34934. type: array
  34935. "500":
  34936. description: Internal Server Error
  34937. schema:
  34938. $ref: '#/definitions/app.Response'
  34939. security:
  34940. - ApiKeyAuth: []
  34941. summary: 查询融资合同费用明细
  34942. tags:
  34943. - 仓单贸易v2
  34944. /WrTrade2/QueryWrSearchUser:
  34945. get:
  34946. parameters:
  34947. - description: 用户名称(模糊匹配)
  34948. in: query
  34949. name: username
  34950. required: true
  34951. type: string
  34952. produces:
  34953. - application/json
  34954. responses:
  34955. "200":
  34956. description: OK
  34957. schema:
  34958. items:
  34959. $ref: '#/definitions/models.WrSearchUser'
  34960. type: array
  34961. "500":
  34962. description: Internal Server Error
  34963. schema:
  34964. $ref: '#/definitions/app.Response'
  34965. security:
  34966. - ApiKeyAuth: []
  34967. summary: 查询用户
  34968. tags:
  34969. - 仓单贸易v2
  34970. /WrTrade2/QueryWrSpecialMatchOrder:
  34971. get:
  34972. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  34973. parameters:
  34974. - description: 页码
  34975. in: query
  34976. name: page
  34977. type: integer
  34978. - description: 每页条数
  34979. in: query
  34980. name: pagesize
  34981. type: integer
  34982. - description: 用户id
  34983. in: query
  34984. name: userid
  34985. required: true
  34986. type: integer
  34987. - description: 仓单贸易市场id
  34988. in: query
  34989. name: marketid
  34990. type: integer
  34991. - description: 0:仓单预售 1:仓单贸易
  34992. in: query
  34993. name: haswr
  34994. required: true
  34995. type: integer
  34996. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  34997. in: query
  34998. name: isspecified
  34999. type: integer
  35000. produces:
  35001. - application/json
  35002. responses:
  35003. "200":
  35004. description: OK
  35005. schema:
  35006. items:
  35007. $ref: '#/definitions/models.WrSpecialMatchOrder'
  35008. type: array
  35009. "500":
  35010. description: Internal Server Error
  35011. schema:
  35012. $ref: '#/definitions/app.Response'
  35013. security:
  35014. - ApiKeyAuth: []
  35015. summary: 查询指定成交
  35016. tags:
  35017. - 仓单贸易v2
  35018. /WrTrade2/QueryWrStandardFactoryItem:
  35019. get:
  35020. parameters:
  35021. - description: 品类id
  35022. in: query
  35023. name: wrstandardid
  35024. required: true
  35025. type: integer
  35026. produces:
  35027. - application/json
  35028. responses:
  35029. "200":
  35030. description: OK
  35031. schema:
  35032. items:
  35033. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  35034. type: array
  35035. "500":
  35036. description: Internal Server Error
  35037. schema:
  35038. $ref: '#/definitions/app.Response'
  35039. security:
  35040. - ApiKeyAuth: []
  35041. summary: 查询品类要素定义项
  35042. tags:
  35043. - 仓单贸易v2
  35044. /WrTrade2/QueryWrTradeBargainApply:
  35045. get:
  35046. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  35047. 议价->对方议价 填写matchuserid=登录用户id
  35048. parameters:
  35049. - description: 议价人id(摘牌方)
  35050. in: query
  35051. name: userid
  35052. type: integer
  35053. - description: 挂牌方id(查对方议价时,填写此项)
  35054. in: query
  35055. name: matchuserid
  35056. type: integer
  35057. - description: 关联委托单id
  35058. in: query
  35059. name: wrtradeorderid
  35060. type: integer
  35061. - description: 0:仓单预售 1:仓单贸易
  35062. in: query
  35063. name: haswr
  35064. required: true
  35065. type: integer
  35066. - description: 开始交易日(yyyymmdd)
  35067. in: query
  35068. name: begindate
  35069. type: string
  35070. - description: 结束交易日(yyyymmdd)
  35071. in: query
  35072. name: enddate
  35073. type: string
  35074. produces:
  35075. - application/json
  35076. responses:
  35077. "200":
  35078. description: OK
  35079. schema:
  35080. items:
  35081. $ref: '#/definitions/models.WRTradeBargainApply'
  35082. type: array
  35083. "500":
  35084. description: Internal Server Error
  35085. schema:
  35086. $ref: '#/definitions/app.Response'
  35087. security:
  35088. - ApiKeyAuth: []
  35089. summary: 查询议价单
  35090. tags:
  35091. - 仓单贸易v2
  35092. /WrTrade2/QueryWrTradeDetail:
  35093. get:
  35094. parameters:
  35095. - description: 页码
  35096. in: query
  35097. name: page
  35098. type: integer
  35099. - description: 每页条数
  35100. in: query
  35101. name: pagesize
  35102. type: integer
  35103. - description: 用户id
  35104. in: query
  35105. name: userid
  35106. required: true
  35107. type: integer
  35108. - description: 仓单贸易市场id
  35109. in: query
  35110. name: marketid
  35111. type: integer
  35112. - description: 0:仓单预售 1:仓单贸易
  35113. in: query
  35114. name: haswr
  35115. required: true
  35116. type: integer
  35117. - description: 开始交易日(yyyymmdd)
  35118. in: query
  35119. name: begindate
  35120. type: string
  35121. - description: 结束交易日(yyyymmdd)
  35122. in: query
  35123. name: enddate
  35124. type: string
  35125. produces:
  35126. - application/json
  35127. responses:
  35128. "200":
  35129. description: OK
  35130. schema:
  35131. items:
  35132. $ref: '#/definitions/models.WrTradeDetail'
  35133. type: array
  35134. "500":
  35135. description: Internal Server Error
  35136. schema:
  35137. $ref: '#/definitions/app.Response'
  35138. security:
  35139. - ApiKeyAuth: []
  35140. summary: 查询仓单成交明细
  35141. tags:
  35142. - 仓单贸易v2
  35143. /WrTrade2/QueryWrTradeOrderDetail:
  35144. get:
  35145. parameters:
  35146. - description: 页码
  35147. in: query
  35148. name: page
  35149. type: integer
  35150. - description: 每页条数
  35151. in: query
  35152. name: pagesize
  35153. type: integer
  35154. - description: 商品id
  35155. in: query
  35156. name: goodsid
  35157. required: true
  35158. type: integer
  35159. - description: 买卖方向 0-买 1-卖
  35160. in: query
  35161. name: buyorsell
  35162. required: true
  35163. type: integer
  35164. produces:
  35165. - application/json
  35166. responses:
  35167. "200":
  35168. description: OK
  35169. schema:
  35170. items:
  35171. $ref: '#/definitions/models.WrTradeOrderDetail'
  35172. type: array
  35173. "500":
  35174. description: Internal Server Error
  35175. schema:
  35176. $ref: '#/definitions/app.Response'
  35177. security:
  35178. - ApiKeyAuth: []
  35179. summary: 查询合约交易买卖大厅
  35180. tags:
  35181. - 仓单贸易v2
  35182. /WrTrade2/QueryWrTradeQuote:
  35183. get:
  35184. parameters:
  35185. - description: 现货商品id
  35186. in: query
  35187. name: wrstandardid
  35188. required: true
  35189. type: integer
  35190. - description: 开始日期(yyyymmdd)
  35191. in: query
  35192. name: begindate
  35193. required: true
  35194. type: string
  35195. - description: 结束日期(yyyymmdd)
  35196. in: query
  35197. name: enddate
  35198. required: true
  35199. type: string
  35200. - description: 市场id
  35201. in: query
  35202. name: marketid
  35203. type: integer
  35204. produces:
  35205. - application/json
  35206. responses:
  35207. "200":
  35208. description: OK
  35209. schema:
  35210. items:
  35211. $ref: '#/definitions/models.Wrtradetradequote'
  35212. type: array
  35213. "500":
  35214. description: Internal Server Error
  35215. schema:
  35216. $ref: '#/definitions/app.Response'
  35217. security:
  35218. - ApiKeyAuth: []
  35219. summary: 查询仓单贸易成交行情
  35220. tags:
  35221. - 仓单贸易v2
  35222. /WrTrade2/QueryWrUserFriend:
  35223. get:
  35224. parameters:
  35225. - description: 用户id
  35226. in: query
  35227. name: userid
  35228. required: true
  35229. type: integer
  35230. - description: 新朋友userid, 如果填写了此项则查找新朋友
  35231. in: query
  35232. name: newuserid
  35233. type: integer
  35234. produces:
  35235. - application/json
  35236. responses:
  35237. "200":
  35238. description: OK
  35239. schema:
  35240. items:
  35241. $ref: '#/definitions/models.WrUserFriend'
  35242. type: array
  35243. "500":
  35244. description: Internal Server Error
  35245. schema:
  35246. $ref: '#/definitions/app.Response'
  35247. security:
  35248. - ApiKeyAuth: []
  35249. summary: 查询我的朋友
  35250. tags:
  35251. - 仓单贸易v2
  35252. /WrTrade2/QueryWrUserReceiptInfo:
  35253. get:
  35254. parameters:
  35255. - description: 用户id
  35256. in: query
  35257. name: userid
  35258. type: integer
  35259. - description: 发票类型 - 1:个人 2:企业
  35260. in: query
  35261. name: receipttype
  35262. type: integer
  35263. produces:
  35264. - application/json
  35265. responses:
  35266. "200":
  35267. description: OK
  35268. schema:
  35269. items:
  35270. $ref: '#/definitions/models.WrUserReceiptInfo'
  35271. type: array
  35272. "500":
  35273. description: Internal Server Error
  35274. schema:
  35275. $ref: '#/definitions/app.Response'
  35276. security:
  35277. - ApiKeyAuth: []
  35278. summary: 查询发票信息
  35279. tags:
  35280. - 仓单贸易v2
  35281. /WrTrade2/QueryXhcpSellBackApply:
  35282. get:
  35283. parameters:
  35284. - description: 用户ID
  35285. in: query
  35286. name: userid
  35287. required: true
  35288. type: integer
  35289. produces:
  35290. - application/json
  35291. responses:
  35292. "200":
  35293. description: OK
  35294. schema:
  35295. items:
  35296. $ref: '#/definitions/models.Xhcpsellbackapply'
  35297. type: array
  35298. "500":
  35299. description: Internal Server Error
  35300. schema:
  35301. $ref: '#/definitions/app.Response'
  35302. security:
  35303. - ApiKeyAuth: []
  35304. summary: 查询我的回收申请(新会陈皮)
  35305. tags:
  35306. - 仓单贸易v2
  35307. /ZJ/GetBankTip:
  35308. get:
  35309. produces:
  35310. - application/json
  35311. responses:
  35312. "200":
  35313. description: OK
  35314. schema:
  35315. type: string
  35316. "500":
  35317. description: Internal Server Error
  35318. schema:
  35319. $ref: '#/definitions/app.Response'
  35320. summary: 获取中江网银端出入金提示信息
  35321. tags:
  35322. - 中江
  35323. /ZJ/GetCusBankChannels:
  35324. get:
  35325. produces:
  35326. - application/json
  35327. responses:
  35328. "200":
  35329. description: OK
  35330. schema:
  35331. items:
  35332. type: string
  35333. type: array
  35334. "500":
  35335. description: Internal Server Error
  35336. schema:
  35337. $ref: '#/definitions/app.Response'
  35338. summary: 获取中江出入金渠道显示列表
  35339. tags:
  35340. - 中江
  35341. securityDefinitions:
  35342. ApiKeyAuth:
  35343. in: header
  35344. name: Authorization
  35345. type: apiKey
  35346. Group:
  35347. in: header
  35348. name: Group
  35349. type: apiKey
  35350. LoginID:
  35351. in: header
  35352. name: LoginID
  35353. type: apiKey
  35354. swagger: "2.0"