swagger.yaml 983 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489
  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: number
  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: string
  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. areauserid:
  17079. description: 所属机构
  17080. type: integer
  17081. bannerpicurl:
  17082. description: Banner图(逗号分隔)
  17083. type: string
  17084. convertfactor:
  17085. description: 标仓系数
  17086. type: number
  17087. deliverygoodsid:
  17088. description: 现货品种ID
  17089. type: integer
  17090. isvalid:
  17091. description: 是否有效 - 0:无效 1:有效
  17092. type: integer
  17093. minivalue:
  17094. description: 最小变动值
  17095. type: integer
  17096. minivaluedp:
  17097. description: 最小变动值小数位
  17098. type: integer
  17099. pictureurls:
  17100. description: 详情图片(逗号分隔)
  17101. type: string
  17102. realminivalue:
  17103. description: 实际最小变动值
  17104. type: integer
  17105. realminivaluedp:
  17106. description: 实际最小变动值小数位
  17107. type: integer
  17108. storagefee:
  17109. description: '仓储费(固定: 111)'
  17110. type: number
  17111. thumurls:
  17112. description: 缩略图片(1:1)(逗号分隔)
  17113. type: string
  17114. unitid:
  17115. description: 现货商品单位ID
  17116. type: integer
  17117. vatrate:
  17118. description: 现货增值税率
  17119. type: number
  17120. wrsstatus:
  17121. description: 状态 - 作废 - 0:未激活 1:正常
  17122. type: integer
  17123. wrstandardcode:
  17124. description: 现货商品代码
  17125. type: string
  17126. wrstandardid:
  17127. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  17128. type: integer
  17129. wrstandardname:
  17130. description: 现货商品名称(模糊查询)
  17131. type: string
  17132. type: object
  17133. models.THJWrstandardDetail_GoodsInfo:
  17134. properties:
  17135. bannerpicurl:
  17136. description: Banner图(逗号分隔)
  17137. type: string
  17138. pictureurls:
  17139. description: 详情图片(逗号分隔)
  17140. type: string
  17141. spotgoodsprice:
  17142. description: 现货价格
  17143. type: number
  17144. unitid:
  17145. description: 现货商品单位ID
  17146. type: integer
  17147. wrstandardcode:
  17148. description: 现货商品代码
  17149. type: string
  17150. wrstandardid:
  17151. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  17152. type: integer
  17153. wrstandardname:
  17154. description: 现货商品名称
  17155. type: string
  17156. type: object
  17157. models.THJWrstandardDetailRsp:
  17158. properties:
  17159. deliverymodes:
  17160. description: 交割方式
  17161. items:
  17162. $ref: '#/definitions/models.THJDeliveryMode'
  17163. type: array
  17164. deliverymonth:
  17165. description: 交割月份
  17166. items:
  17167. $ref: '#/definitions/models.THJDeliveryMonth'
  17168. type: array
  17169. goodsinfo:
  17170. $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  17171. description: 商品信息
  17172. presaleapplydeposits:
  17173. description: 支付方式
  17174. items:
  17175. $ref: '#/definitions/models.THJPresaleApplyDeposit'
  17176. type: array
  17177. spotgoodspricelogs:
  17178. description: 历史价格走势
  17179. items:
  17180. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  17181. type: array
  17182. type: object
  17183. models.Taaccount:
  17184. properties:
  17185. accountflag:
  17186. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  17187. type: integer
  17188. accountid:
  17189. description: 资金账户ID
  17190. type: integer
  17191. accountname:
  17192. description: 账户名称
  17193. type: string
  17194. balance:
  17195. description: 期初余额
  17196. type: number
  17197. capitalbalance:
  17198. description: 本金余额[外部子账户实际出入金余额]
  17199. type: number
  17200. changeflag:
  17201. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  17202. type: integer
  17203. changetime:
  17204. description: 账户状态变更时间
  17205. type: string
  17206. closepl:
  17207. description: 今日平仓盈亏
  17208. type: number
  17209. creditdecrease:
  17210. description: 今日授信减少
  17211. type: number
  17212. creditincrease:
  17213. description: 今日授信增加
  17214. type: number
  17215. curamount:
  17216. description: 总市值(从持仓中统计)
  17217. type: number
  17218. currencyid:
  17219. description: 货币ID
  17220. type: integer
  17221. currentbalance:
  17222. description: 期末余额
  17223. type: number
  17224. freezecharge:
  17225. description: 手续费冻结
  17226. type: number
  17227. freezemargin:
  17228. description: 冻结保证金
  17229. type: number
  17230. fromaccountid:
  17231. description: 所属上级账户
  17232. type: integer
  17233. inamount:
  17234. description: 今日入金金额(包括三方入金)
  17235. type: number
  17236. ismain:
  17237. description: 是否母账号 0:不是母账户 1:是母账户
  17238. type: integer
  17239. ismarketaccount:
  17240. description: 是否机构接单账号 0:不是 1:是
  17241. type: integer
  17242. isreckonaccount:
  17243. description: 是否机构分润账号 0:不是 1:是
  17244. type: integer
  17245. mortgagecredit:
  17246. description: 授信金额
  17247. type: number
  17248. orifreezecharge:
  17249. description: 期初手续费冻结
  17250. type: number
  17251. orifreezemargin:
  17252. description: 期初冻结保证金
  17253. type: number
  17254. orimortgagecredit:
  17255. description: 期初授信金额
  17256. type: number
  17257. oriothercredit:
  17258. description: 期初其它授信金额
  17259. type: number
  17260. oriotherfreezemargin:
  17261. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  17262. type: number
  17263. orioutamountfreeze:
  17264. description: 期初出金冻结
  17265. type: number
  17266. oriusedmargin:
  17267. description: 期初占用保证金
  17268. type: number
  17269. othercredit:
  17270. description: 其它授信金额
  17271. type: number
  17272. othercreditdecrease:
  17273. description: 今日其它授信减少
  17274. type: number
  17275. othercreditincrease:
  17276. description: 今日其它授信增加
  17277. type: number
  17278. otherfreezemargin:
  17279. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  17280. type: number
  17281. otherincome:
  17282. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  17283. type: number
  17284. otherpay:
  17285. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  17286. type: number
  17287. outamount:
  17288. description: 今日出金金额(包括三方出金)
  17289. type: number
  17290. outamountfreeze:
  17291. description: 出金冻结
  17292. type: number
  17293. outthreshold:
  17294. description: 出金阈值
  17295. type: number
  17296. parentaccountid:
  17297. description: 所属根账号
  17298. type: integer
  17299. paycharge:
  17300. description: 今日手续费支出
  17301. type: number
  17302. relatedaccountstatus:
  17303. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  17304. type: integer
  17305. relateduserid:
  17306. description: 关联用户
  17307. type: integer
  17308. remainamount:
  17309. description: 融资额(从融资合同中统计)
  17310. type: number
  17311. serivcegroup:
  17312. description: 服务分组
  17313. type: integer
  17314. signstatus:
  17315. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  17316. type: integer
  17317. sublevelpath:
  17318. description: 账号层级路径(逗号分隔,首尾加逗号)
  17319. type: string
  17320. taaccounttype:
  17321. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  17322. type: integer
  17323. thirdinamount:
  17324. description: 今日三方入金
  17325. type: number
  17326. thirdoutamount:
  17327. description: 今日三方出金
  17328. type: number
  17329. tradestatus:
  17330. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  17331. type: integer
  17332. tradestatuschangetime:
  17333. description: 激活时间
  17334. type: string
  17335. transferamount:
  17336. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  17337. type: number
  17338. usedmargin:
  17339. description: 占用保证金
  17340. type: number
  17341. userid:
  17342. description: 用户ID
  17343. type: integer
  17344. required:
  17345. - accountid
  17346. - userid
  17347. type: object
  17348. models.Tablecolumnconfig:
  17349. properties:
  17350. aligntype:
  17351. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  17352. type: integer
  17353. autoid:
  17354. description: AutoID
  17355. type: integer
  17356. columnfield:
  17357. description: 列字段
  17358. type: string
  17359. columntitle:
  17360. description: 列Title
  17361. type: string
  17362. columnwidth:
  17363. description: 列宽
  17364. type: string
  17365. fixed:
  17366. description: 固定类型 - 空 | left | right
  17367. type: string
  17368. formatterstring:
  17369. description: 格式化字符
  17370. type: string
  17371. formattertype:
  17372. description: 格式化类型
  17373. type: string
  17374. groupname:
  17375. description: 表头分组名称
  17376. type: string
  17377. ismerge:
  17378. description: 是否合并显示 - 0:不合并 1:合并
  17379. type: integer
  17380. isshow:
  17381. description: 是否显示 - 0:不显示 1:显示
  17382. type: integer
  17383. needsummary:
  17384. description: 是否需要汇总 - 0:不需要 1:需要
  17385. type: integer
  17386. orderindex:
  17387. description: 顺序
  17388. type: integer
  17389. remark:
  17390. description: 备注
  17391. type: string
  17392. summarytype:
  17393. description: 汇总类型 - 1:加总 2:最后一个
  17394. type: integer
  17395. tablekey:
  17396. description: 列表Key
  17397. type: string
  17398. required:
  17399. - autoid
  17400. type: object
  17401. models.Thjpurchasetradedetail:
  17402. properties:
  17403. buyaccountid:
  17404. description: 买方账号ID
  17405. type: integer
  17406. buychargevalue:
  17407. description: 买方到期手续费
  17408. type: number
  17409. buyconfirmremark:
  17410. description: 买方确认备注
  17411. type: string
  17412. buyconfirmtime:
  17413. description: 买方确认时间
  17414. type: string
  17415. buyfreezecharge:
  17416. description: 买方摘牌冻结手续费
  17417. type: number
  17418. buyuserid:
  17419. description: 买方用户ID
  17420. type: integer
  17421. contactinfo:
  17422. description: 联系方式
  17423. type: string
  17424. contactname:
  17425. description: 联系人姓名
  17426. type: string
  17427. contractaddrbuy:
  17428. description: 贸易合同地址(买家)
  17429. type: string
  17430. contractaddrsell:
  17431. description: 贸易合同地址(卖家)
  17432. type: string
  17433. deliverygoodsid:
  17434. description: 现货品种ID
  17435. type: integer
  17436. depositrate:
  17437. description: 定金比例
  17438. type: number
  17439. desaddress:
  17440. description: 目的地地址
  17441. type: string
  17442. discountamount:
  17443. description: 优惠总金额(优惠金额*TradeQty)
  17444. type: number
  17445. enddate:
  17446. description: 到期日期
  17447. type: string
  17448. enddatemonth:
  17449. description: 到期月份
  17450. type: string
  17451. handlestatus:
  17452. description: 处理状态
  17453. type: integer
  17454. lastamount:
  17455. description: 到期总货款 = 到期价格 * 摘牌数量
  17456. type: number
  17457. lastprice:
  17458. description: '[实际价]到期价格'
  17459. type: number
  17460. lastpricedate:
  17461. description: 到期价格日期 - 暂不使用
  17462. type: string
  17463. marketid:
  17464. description: 市场ID
  17465. type: integer
  17466. orderstatus:
  17467. description: 单据状态 - 1:待付尾款 2:支付尾款成功 3:支付尾款失败 4:已违约 5:卖方已确认 6:买方已确认 7:系统自动确认
  17468. (枚举:THJOrderStatus)
  17469. type: integer
  17470. payeddeposit:
  17471. description: '[定金]买方已付定金'
  17472. type: number
  17473. payedtradedate:
  17474. description: 支付尾款成功交易日
  17475. type: string
  17476. presaleapplyid:
  17477. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  17478. type: string
  17479. receiptinfo:
  17480. description: 发票信息
  17481. type: string
  17482. remainamount:
  17483. description: '[尾款]剩余货款 = 到期总货款 - 已付定金 - 优惠金额'
  17484. type: number
  17485. sellaccountid:
  17486. description: 卖方账号ID
  17487. type: integer
  17488. sellchargevalue:
  17489. description: 卖方到期手续费
  17490. type: number
  17491. sellconfirmattach:
  17492. description: 卖方确认附件
  17493. type: string
  17494. sellconfirmremark:
  17495. description: 卖方确认备注
  17496. type: string
  17497. sellconfirmtime:
  17498. description: 卖方确认时间
  17499. type: string
  17500. sellconfirmtradedate:
  17501. description: 卖方确认交易日
  17502. type: string
  17503. selluserid:
  17504. description: 卖方用户ID
  17505. type: integer
  17506. thjdeliverymode:
  17507. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  17508. type: integer
  17509. thjdeliverymodedisplay:
  17510. description: 提货方式
  17511. type: string
  17512. thjorderstatusdisplay:
  17513. description: 状态
  17514. type: string
  17515. tradeamount:
  17516. description: 摘牌总货款
  17517. type: number
  17518. tradedate:
  17519. description: 交易日(yyyyMMdd)
  17520. type: string
  17521. tradeprice:
  17522. description: 摘牌价格 - 参考价
  17523. type: number
  17524. tradeqty:
  17525. description: '[预售价]摘牌数量'
  17526. type: integer
  17527. tradetime:
  17528. description: 摘牌时间
  17529. type: string
  17530. transferprice:
  17531. description: 转让价格 - 购买价
  17532. type: number
  17533. unitid:
  17534. description: 商品单位
  17535. type: integer
  17536. warehouseid:
  17537. description: 仓库ID
  17538. type: integer
  17539. warehousename:
  17540. description: 仓库名称
  17541. type: string
  17542. wrfactortypeid:
  17543. description: 仓单要素类型ID
  17544. type: string
  17545. wrstandardid:
  17546. description: 现货商品ID
  17547. type: integer
  17548. wrstandardname:
  17549. description: 现货商品名称
  17550. type: string
  17551. wrtradedetailid:
  17552. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17553. type: string
  17554. required:
  17555. - buyuserid
  17556. type: object
  17557. models.Thjpurchasetransfer:
  17558. properties:
  17559. buyaccountid:
  17560. description: 买方账号ID
  17561. type: integer
  17562. buyuserid:
  17563. description: 买方用户ID
  17564. type: integer
  17565. contractaddr:
  17566. description: 协议转让合同地址
  17567. type: string
  17568. deliverygoodsid:
  17569. description: 现货品种ID
  17570. type: integer
  17571. handlestatus:
  17572. description: 处理状态
  17573. type: integer
  17574. marketid:
  17575. description: 市场ID(固定为(64202)
  17576. type: integer
  17577. ordertype:
  17578. description: 类型 - 1:转让委托 - 挂牌中(卖方) 2:转让成交(卖方) 3:转让委托 - 已完成(卖方)
  17579. type: integer
  17580. payeddeposit:
  17581. description: 买方已付定金
  17582. type: number
  17583. presaleapplyid:
  17584. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  17585. type: string
  17586. remark:
  17587. description: 备注
  17588. type: string
  17589. sellaccountid:
  17590. description: 卖方账号ID
  17591. type: integer
  17592. sellcharge:
  17593. description: 卖方手续费值
  17594. type: number
  17595. sellchargealgorithm:
  17596. description: 卖方手续费收取方式 1:比率 2:固定
  17597. type: integer
  17598. sellchargealgorithmvalue:
  17599. description: 手续费设置值(交易所部分)
  17600. type: number
  17601. selluserid:
  17602. description: 卖方用户ID
  17603. type: integer
  17604. tradedate:
  17605. description: 交易日(yyyyMMdd)
  17606. type: string
  17607. tradeprice:
  17608. description: 预售价格
  17609. type: number
  17610. transferamount:
  17611. description: 转让金额
  17612. type: number
  17613. transferid:
  17614. description: 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
  17615. type: string
  17616. transferprice:
  17617. description: 转让价格
  17618. type: number
  17619. transferqty:
  17620. description: 数量
  17621. type: integer
  17622. transferstatus:
  17623. description: 转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让
  17624. type: integer
  17625. transfertradedate:
  17626. description: 转让交易日
  17627. type: string
  17628. unitid:
  17629. description: 现货商品单位ID
  17630. type: integer
  17631. warehouseid:
  17632. description: 仓库ID
  17633. type: integer
  17634. wrfactortypeid:
  17635. description: 仓单要素类型ID
  17636. type: string
  17637. wrstandardid:
  17638. description: 现货商品ID
  17639. type: integer
  17640. wrstandardname:
  17641. description: 现货商品名称
  17642. type: string
  17643. wrtradedetailid:
  17644. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17645. type: string
  17646. required:
  17647. - ordertype
  17648. type: object
  17649. models.ThjpurchasetransferDetail:
  17650. properties:
  17651. buyusername:
  17652. description: 受让人
  17653. type: string
  17654. contractaddrbuy:
  17655. description: 贸易合同地址(买家)
  17656. type: string
  17657. contractaddrsell:
  17658. description: 贸易合同地址(卖家)
  17659. type: string
  17660. payeddeposit:
  17661. description: 买方已付定金
  17662. type: number
  17663. sellusername:
  17664. description: 转让人
  17665. type: string
  17666. tradeprice:
  17667. description: 预售价格
  17668. type: number
  17669. transferamount:
  17670. description: 转让金额
  17671. type: number
  17672. transferid:
  17673. description: 转让单号
  17674. type: string
  17675. transferprice:
  17676. description: 转让价格
  17677. type: number
  17678. transferqty:
  17679. description: 转让数量
  17680. type: integer
  17681. transferstatus:
  17682. description: 转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让
  17683. type: integer
  17684. warehousename:
  17685. description: 仓库名称
  17686. type: string
  17687. wrstandardcode:
  17688. description: 现货商品代码
  17689. type: string
  17690. wrstandardid:
  17691. description: 现货商品ID
  17692. type: integer
  17693. wrstandardname:
  17694. description: 现货商品名称
  17695. type: string
  17696. type: object
  17697. models.Thjscoreconfig:
  17698. properties:
  17699. parma1:
  17700. description: 参数1
  17701. type: integer
  17702. parma2:
  17703. description: 参数2
  17704. type: integer
  17705. parma3:
  17706. description: 参数3
  17707. type: integer
  17708. parma4:
  17709. description: 参数4
  17710. type: integer
  17711. parma5:
  17712. description: 参数5
  17713. type: integer
  17714. parma6:
  17715. description: 参数6
  17716. type: integer
  17717. parma7:
  17718. description: 参数6
  17719. type: integer
  17720. scoreconfigtype:
  17721. description: 积分配置类型 - 1:注册送红包 2:签到送积分 3:推广送积分 4:下级用户下单送积分 5:自己采购下单送积分 6:自己供求下单送积分
  17722. 7:抽奖得红包
  17723. type: integer
  17724. type: object
  17725. models.TjmdHolderDetailTradeInfo:
  17726. properties:
  17727. agreeunit:
  17728. description: 合约乘数
  17729. type: number
  17730. buyaccountid:
  17731. description: 买方账户
  17732. type: string
  17733. buyusername:
  17734. description: 买方
  17735. type: string
  17736. delistingdate:
  17737. description: 最后结算日
  17738. type: string
  17739. expiredate:
  17740. description: 到期结算价定价日
  17741. type: string
  17742. exprieprice:
  17743. description: 到期清算价格
  17744. type: string
  17745. goodscode:
  17746. description: 商品代码
  17747. type: string
  17748. goodsid:
  17749. description: 商品ID
  17750. type: integer
  17751. goodsname:
  17752. description: 商品名称(交易标的)
  17753. type: string
  17754. lasttradedate:
  17755. description: 最后交易日
  17756. type: string
  17757. listingdate:
  17758. description: 开始交易日
  17759. type: string
  17760. openprice:
  17761. description: 成交价
  17762. type: number
  17763. openqty:
  17764. description: 交易数量
  17765. type: integer
  17766. sellaccountid:
  17767. description: 卖方账户
  17768. type: string
  17769. sellusername:
  17770. description: 卖方
  17771. type: string
  17772. tradeamount:
  17773. description: 初始名义价值
  17774. type: number
  17775. tradedate:
  17776. description: 成交日期
  17777. type: string
  17778. tradeid:
  17779. description: 成交编号
  17780. type: string
  17781. type: object
  17782. models.TjmdMarketSection:
  17783. properties:
  17784. marketsectionid:
  17785. description: 市场版块ID(SEQ_MARKETSECTION)
  17786. type: integer
  17787. marketsectionname:
  17788. description: 市场版块名称
  17789. type: string
  17790. mlist:
  17791. description: 市场列表(板块下面有多少个市场)
  17792. items:
  17793. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  17794. type: array
  17795. orderindex:
  17796. description: 排序
  17797. type: integer
  17798. pictureurl:
  17799. description: 图片url, 规格(90*90)
  17800. type: string
  17801. remark:
  17802. description: 备注
  17803. type: string
  17804. type: object
  17805. models.TjmdMarketSectionConfig:
  17806. properties:
  17807. auctionwrtype:
  17808. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  17809. type: integer
  17810. canacceptquote:
  17811. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  17812. type: integer
  17813. cangoodsexercise:
  17814. description: '[期权]是否可现货行权- 0:否 1:是'
  17815. type: integer
  17816. cangoodsexercisetype:
  17817. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  17818. type: integer
  17819. canmanualquotestrike:
  17820. description: 是否可手动报行权价- 0:否 1:是 [期权]
  17821. type: integer
  17822. canmutistage:
  17823. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  17824. type: integer
  17825. canpreexercise:
  17826. description: '[期权]是否可预申报- 0:否 1:是'
  17827. type: integer
  17828. clearinterval:
  17829. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  17830. type: integer
  17831. contracttmp:
  17832. description: 合同模板[荷兰式][竞价式][仓单贸易]
  17833. type: string
  17834. exchareaid:
  17835. description: 所属交易所,可以没有
  17836. type: integer
  17837. financemarketid:
  17838. description: 融资回购市场ID [仓单贸易]
  17839. type: integer
  17840. goodstype:
  17841. description: 商品类型 - 1:交易商品 2:仓单商品
  17842. type: integer
  17843. hasrebate:
  17844. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  17845. type: integer
  17846. hastradecredit:
  17847. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  17848. type: integer
  17849. haswr:
  17850. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  17851. type: integer
  17852. isdeductmargin:
  17853. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  17854. type: integer
  17855. isrecordsource:
  17856. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  17857. type: integer
  17858. isreleasemargin:
  17859. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  17860. type: integer
  17861. isupdatereckonprice:
  17862. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  17863. type: integer
  17864. listingmode:
  17865. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  17866. type: integer
  17867. marginformula:
  17868. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  17869. type: integer
  17870. marginformula2:
  17871. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  17872. type: integer
  17873. marketid:
  17874. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  17875. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  17876. type: integer
  17877. marketname:
  17878. description: 市场名称
  17879. type: string
  17880. marketsectionid:
  17881. description: 市场版块ID(SEQ_MARKETSECTION)
  17882. type: integer
  17883. marketserviceid:
  17884. description: 市场服务ID
  17885. type: integer
  17886. marketstatus:
  17887. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  17888. type: integer
  17889. markettype:
  17890. description: 市场类型- 1:非交易服务 2:交易服务
  17891. type: integer
  17892. matchermode:
  17893. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  17894. type: integer
  17895. nowrquotaflag:
  17896. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  17897. type: integer
  17898. openmethod:
  17899. description: 开盘模式 - 0 自动 1手动
  17900. type: integer
  17901. orderindex:
  17902. description: 排序
  17903. type: integer
  17904. otcuserid:
  17905. description: 场外期权做市商[场外期权]
  17906. type: integer
  17907. outersynctime:
  17908. description: 外部同步时间点(h24:mi:ss)[场外期权]
  17909. type: string
  17910. paylaterflag:
  17911. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  17912. type: integer
  17913. pendingflag:
  17914. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  17915. type: integer
  17916. pendingtime:
  17917. description: 待开市时间[通道交易-对冲](HH:mm)
  17918. type: string
  17919. performancetempid:
  17920. description: 履约计划模板ID - 作废
  17921. type: integer
  17922. premiumquotemode:
  17923. description: 权利金报价方式 - 1:自动 2:手动
  17924. type: integer
  17925. rebateratio:
  17926. description: 返利比率[竞价式]
  17927. type: number
  17928. reckonorder:
  17929. description: 结算顺序
  17930. type: integer
  17931. reckonpricealgorithm:
  17932. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  17933. 6.卖一价 7.买一卖一均价 8.外部结算价'
  17934. type: integer
  17935. reckonpriceparam:
  17936. description: 结算价参数
  17937. type: integer
  17938. reckontime:
  17939. description: 结算时间[通道交易-对冲](HH:mm)
  17940. type: string
  17941. roleprioritytype:
  17942. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  17943. type: integer
  17944. selllistingauditflag:
  17945. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  17946. type: integer
  17947. trademarkettype:
  17948. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  17949. type: integer
  17950. trademode:
  17951. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17952. 21:竞拍-大宗式 22:受托竞价
  17953. type: integer
  17954. tradeproperty:
  17955. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  17956. 8:场外期权
  17957. type: integer
  17958. tradetype:
  17959. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  17960. type: integer
  17961. updatereckonpriceinterval:
  17962. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  17963. type: integer
  17964. type: object
  17965. models.TjmdQuoteGoods:
  17966. properties:
  17967. buyqty:
  17968. description: 买量(暂不做, 无值, 保留字段)
  17969. type: number
  17970. decimalplace:
  17971. description: 报价小数位
  17972. type: integer
  17973. goodscode:
  17974. description: 合约代码
  17975. type: string
  17976. goodsgroupid:
  17977. description: 商品组ID(自增ID)
  17978. type: integer
  17979. goodsgroupname:
  17980. description: 商品组名称
  17981. type: string
  17982. goodsid:
  17983. description: 合约id
  17984. type: integer
  17985. goodsname:
  17986. description: 合约名称
  17987. type: string
  17988. refgoodscode:
  17989. description: 标的合约代码
  17990. type: string
  17991. refgoodsid:
  17992. description: 标的合约id
  17993. type: integer
  17994. refgoodsname:
  17995. description: 标的合约名称
  17996. type: string
  17997. sellqty:
  17998. description: 卖量(暂不做, 无值, 保留字段)
  17999. type: number
  18000. type: object
  18001. models.TjmdTodayAccountMargin:
  18002. properties:
  18003. accountid:
  18004. description: 账号ID
  18005. type: integer
  18006. goodsid:
  18007. description: 商品ID
  18008. type: integer
  18009. infoc:
  18010. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  18011. description: 配置参数
  18012. marketid:
  18013. description: 市场ID
  18014. type: integer
  18015. type: object
  18016. models.TjmdTradeOrderDetail:
  18017. properties:
  18018. buyorsell:
  18019. description: 买卖方向 0-买 1-卖
  18020. type: integer
  18021. goodsid:
  18022. description: 商品id
  18023. type: integer
  18024. marketmaxsub:
  18025. description: 市价最大偏移范围 [浮动价 - 点差]
  18026. type: number
  18027. orderid:
  18028. description: 委托单号
  18029. type: string
  18030. orderprice:
  18031. description: 期初均价
  18032. type: number
  18033. orderqty:
  18034. description: 委托数量
  18035. type: integer
  18036. pricemode:
  18037. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  18038. type: integer
  18039. userid:
  18040. description: 用户id
  18041. type: integer
  18042. username:
  18043. description: 用户名称(已脱敏)
  18044. type: string
  18045. type: object
  18046. models.TjmdTransferApply:
  18047. properties:
  18048. applyid:
  18049. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  18050. type: integer
  18051. applystatus:
  18052. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  18053. type: integer
  18054. applytime:
  18055. description: 申请时间(时间)
  18056. type: string
  18057. auditremark:
  18058. description: 审核备注(拒绝原因?)
  18059. type: string
  18060. begindate:
  18061. description: 开始交易日(yyyymmdd)
  18062. type: string
  18063. buyorsell:
  18064. description: 买卖 - 0:买 1:卖
  18065. type: integer
  18066. enddate:
  18067. description: 结束交易日(yyyymmdd)
  18068. type: string
  18069. goodscode:
  18070. description: 商品代码
  18071. type: string
  18072. goodsid:
  18073. description: 商品ID
  18074. type: integer
  18075. goodsname:
  18076. description: 商品名称
  18077. type: string
  18078. marketid:
  18079. description: 市场ID
  18080. type: integer
  18081. qty:
  18082. description: 期初均价
  18083. type: number
  18084. tradeid:
  18085. description: 成交单号(关联持仓)
  18086. type: string
  18087. transferamount:
  18088. description: 转让总金额(金额)
  18089. type: number
  18090. transferprice:
  18091. description: 转让价格(协议价格)
  18092. type: number
  18093. type: object
  18094. models.TradeHolderDetail:
  18095. properties:
  18096. accountid:
  18097. description: 账号ID
  18098. type: integer
  18099. agreeunit:
  18100. description: 合约乘数
  18101. type: number
  18102. buyorsell:
  18103. description: 方向 - 0:买 1:卖
  18104. type: integer
  18105. currencyid:
  18106. description: 商品币种id
  18107. type: integer
  18108. currencyname:
  18109. description: 币种名称
  18110. type: string
  18111. decimalplace:
  18112. description: 商品价格小数位
  18113. type: integer
  18114. enumdicname:
  18115. description: 商品单位名称
  18116. type: string
  18117. expirecycle:
  18118. description: 行权周期(天) - 1:滚动行权时填写
  18119. type: integer
  18120. expiredate:
  18121. description: 行权日(yyyyMMdd) - 到期日
  18122. type: string
  18123. expiretype:
  18124. description: 行权日类型 - 1:滚动行权 2:固定日行权
  18125. type: integer
  18126. freezeqty:
  18127. description: 期初均价
  18128. type: number
  18129. goodscode:
  18130. description: 商品代码
  18131. type: string
  18132. goodsid:
  18133. description: 商品ID
  18134. type: integer
  18135. goodsname:
  18136. description: 商品名称
  18137. type: string
  18138. goodunitid:
  18139. description: 商品单位id
  18140. type: integer
  18141. holderamount:
  18142. description: 持仓金额
  18143. type: number
  18144. holdercredit:
  18145. description: 持仓授信金额
  18146. type: number
  18147. holderdays:
  18148. description: 剩余冻结天数
  18149. type: integer
  18150. holderprice:
  18151. description: 持仓价格
  18152. type: number
  18153. holderqty:
  18154. description: 期初均价
  18155. type: number
  18156. isconfirmexercise:
  18157. description: 是否确认行权- 0:否 1:是
  18158. type: integer
  18159. ispreexercise:
  18160. description: 是否预申报- 0:否 1:是 2:不可行权
  18161. type: integer
  18162. marketid:
  18163. description: 市场id
  18164. type: integer
  18165. marketname:
  18166. description: 市场名称
  18167. type: string
  18168. openprice:
  18169. description: 建仓价格
  18170. type: number
  18171. openqty:
  18172. description: 期初均价
  18173. type: number
  18174. optiontype:
  18175. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18176. type: integer
  18177. preexerciseprice:
  18178. description: 预申报价格
  18179. type: number
  18180. premium:
  18181. description: 权利金
  18182. type: number
  18183. qtydecimalplace:
  18184. description: 商品成交量小数位
  18185. type: integer
  18186. refgoodscode:
  18187. description: 标的合约代码
  18188. type: string
  18189. refgoodsid:
  18190. description: 标的合约id
  18191. type: integer
  18192. releaseamount:
  18193. description: 释放持仓金额
  18194. type: number
  18195. releaseholdercredit:
  18196. description: 释放持仓授信金额
  18197. type: number
  18198. taname:
  18199. description: 资金账号名称
  18200. type: string
  18201. tradeamount:
  18202. description: 成交金额
  18203. type: number
  18204. tradedate:
  18205. description: 交易日(yyyyMMdd)
  18206. type: string
  18207. tradeid:
  18208. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18209. type: string
  18210. trademode:
  18211. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  18212. 21:竞拍-大宗式 22:受托竞价 46:掉期
  18213. type: integer
  18214. tradeproperty:
  18215. description: 交易属性
  18216. type: integer
  18217. tradetime:
  18218. description: 交易时间
  18219. type: string
  18220. userid:
  18221. description: 用户id
  18222. type: integer
  18223. username:
  18224. description: 用户名称
  18225. type: string
  18226. type: object
  18227. models.Unlinkermcphedgeplan:
  18228. properties:
  18229. accountid:
  18230. description: 期货账户ID - 作废
  18231. type: integer
  18232. accountname:
  18233. description: 交易用户
  18234. type: string
  18235. applyid:
  18236. description: 申请人
  18237. type: integer
  18238. applysrc:
  18239. description: 申请来源 - 1:管理端 2:终端
  18240. type: integer
  18241. applytime:
  18242. description: 申请时间
  18243. type: string
  18244. areauserid:
  18245. description: '[企业ID]机构ID'
  18246. type: integer
  18247. auditid:
  18248. description: 审核人
  18249. type: integer
  18250. auditremark:
  18251. description: 审核备注
  18252. type: string
  18253. auditsrc:
  18254. description: 审核来源 - 1:管理端 2:终端
  18255. type: integer
  18256. audittime:
  18257. description: 审核时间
  18258. type: string
  18259. audittradedate:
  18260. description: 审核交易日(yyyyMMdd)
  18261. type: string
  18262. biztype:
  18263. description: 业务类型 - 1:套保
  18264. type: integer
  18265. contracttype:
  18266. description: 计划类型 - 1:采购 -1:销售
  18267. type: integer
  18268. convertfactor:
  18269. description: 标仓系数 - 作废
  18270. type: number
  18271. createtime:
  18272. description: 创建时间
  18273. type: string
  18274. currencyid:
  18275. description: 结算币种ID - 作废
  18276. type: integer
  18277. deliverygoodsid:
  18278. description: 现货品种ID
  18279. type: integer
  18280. enumdicname:
  18281. description: 结算币种
  18282. type: string
  18283. hedgeplanid:
  18284. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  18285. type: string
  18286. hedgeplanno:
  18287. description: '[计划编号]套保计划编号,模糊查询'
  18288. type: string
  18289. hedgeplanstatus:
  18290. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  18291. type: integer
  18292. isrelated:
  18293. description: 是否已关联计划项目 - 0:否 1:是
  18294. type: integer
  18295. planqty:
  18296. description: '[计划量]计划数量'
  18297. type: number
  18298. plantime:
  18299. description: 计划时间
  18300. type: string
  18301. producttype:
  18302. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  18303. type: integer
  18304. remark:
  18305. description: 备注
  18306. type: string
  18307. spotgoodsdesc:
  18308. description: 商品型号
  18309. type: string
  18310. tradedate:
  18311. description: 交易日(yyyyMMdd)
  18312. type: string
  18313. tradeuserid:
  18314. description: 交易用户ID
  18315. type: integer
  18316. updatetime:
  18317. description: 更新时间
  18318. type: string
  18319. wrstandardid:
  18320. description: 现货商品ID
  18321. type: integer
  18322. wrstandardname:
  18323. description: 现货商品,模糊查询
  18324. type: string
  18325. required:
  18326. - areauserid
  18327. type: object
  18328. models.UserCollectConfig:
  18329. properties:
  18330. accountstatus:
  18331. description: 账户状态 - 1:正常 2:停用 3:注销
  18332. type: integer
  18333. collectaccountname:
  18334. description: 收款人账户名称
  18335. type: string
  18336. collectaccountno:
  18337. description: 收款人账户
  18338. type: string
  18339. collectbankname:
  18340. description: 收款人开户行
  18341. type: string
  18342. collectbranchbankname:
  18343. description: 收款人开户支行
  18344. type: string
  18345. collectconfigid:
  18346. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  18347. type: string
  18348. remark:
  18349. description: 备注
  18350. type: string
  18351. userid:
  18352. description: 收款人用户ID
  18353. type: integer
  18354. type: object
  18355. models.UserReceiveInfo:
  18356. properties:
  18357. address:
  18358. description: 提货人详细地址
  18359. type: string
  18360. autoid:
  18361. description: AutoID
  18362. type: integer
  18363. cardnum:
  18364. description: 证件号码(加密存储)
  18365. type: string
  18366. cardtypeid:
  18367. description: 证件类型
  18368. type: integer
  18369. cityid:
  18370. description: 市
  18371. type: integer
  18372. cityname:
  18373. description: 城市名称
  18374. type: string
  18375. countryid:
  18376. description: 国家
  18377. type: integer
  18378. countryname:
  18379. description: 国家名称
  18380. type: string
  18381. districtid:
  18382. description: 地区
  18383. type: integer
  18384. districtname:
  18385. description: 地区名称
  18386. type: string
  18387. hasencrypt:
  18388. description: 数据是否已加密 - 0:未加密 1:已加密
  18389. type: integer
  18390. isdefault:
  18391. description: 是否默认地址 - 0:否 1:是
  18392. type: integer
  18393. phonenum:
  18394. description: 提货人联系方式(加密存储)
  18395. type: string
  18396. provinceid:
  18397. description: 省
  18398. type: integer
  18399. provincename:
  18400. description: 省名称
  18401. type: string
  18402. receivername:
  18403. description: 提货人姓名
  18404. type: string
  18405. takeremark:
  18406. description: 提货备注
  18407. type: string
  18408. userid:
  18409. description: 用户ID
  18410. type: integer
  18411. type: object
  18412. models.Useraccount:
  18413. properties:
  18414. accountname:
  18415. description: 账户名称(机构名称)
  18416. type: string
  18417. accountstatus:
  18418. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  18419. type: integer
  18420. applysrc:
  18421. description: 申请来源 - 1:管理端 2:终端
  18422. type: integer
  18423. auditremark:
  18424. description: 审核备注
  18425. type: string
  18426. auditsrc:
  18427. description: 审核来源 - 1:管理端 2:终端
  18428. type: integer
  18429. audittime:
  18430. description: 审核时间
  18431. type: string
  18432. audituserid:
  18433. description: 审核人
  18434. type: integer
  18435. broker:
  18436. description: 所属经纪人ID
  18437. type: integer
  18438. canceltime:
  18439. description: 销户时间
  18440. type: string
  18441. canceluserid:
  18442. description: 销户人
  18443. type: integer
  18444. canrecommend:
  18445. description: 是否可推荐 - 0:不可 1;可
  18446. type: integer
  18447. createtime:
  18448. description: 创建时间
  18449. type: string
  18450. creatorid:
  18451. description: 创建人
  18452. type: integer
  18453. curscore:
  18454. description: 积分
  18455. type: integer
  18456. hasauth:
  18457. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  18458. type: integer
  18459. isanonymous:
  18460. description: 是否匿名下单 - 0:否 1:是
  18461. type: integer
  18462. issigned:
  18463. description: 今日是否已签到
  18464. type: boolean
  18465. maxinvestornum:
  18466. description: 最大用户数(经纪会员下投资者个数)
  18467. type: integer
  18468. memberuserid:
  18469. description: 所属会员ID
  18470. type: integer
  18471. modifierid:
  18472. description: 修改人
  18473. type: integer
  18474. modifyremark:
  18475. description: 变更备注
  18476. type: string
  18477. modifystatus:
  18478. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  18479. type: integer
  18480. modifytime:
  18481. description: 修改时间
  18482. type: string
  18483. parenttopuser:
  18484. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  18485. type: string
  18486. parentuserid:
  18487. description: 所属机构ID
  18488. type: integer
  18489. reckonaccountid:
  18490. description: 默认结算资金账号ID(机构分润使用) 作废
  18491. type: integer
  18492. refercount:
  18493. description: 推荐总人数
  18494. type: integer
  18495. refereeuserid:
  18496. description: 推荐人ID
  18497. type: integer
  18498. refernum:
  18499. description: 推荐码
  18500. type: string
  18501. rootuserid:
  18502. description: 根用户ID
  18503. type: integer
  18504. subaccountlevel:
  18505. description: 子账户层数
  18506. type: integer
  18507. subarealevelpath:
  18508. description: 子机构层级路径(逗号分隔,首尾加逗号)
  18509. type: string
  18510. todayrefercount:
  18511. description: 今日推荐人数
  18512. type: integer
  18513. userid:
  18514. description: 用户ID
  18515. type: integer
  18516. usertype:
  18517. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  18518. type: integer
  18519. required:
  18520. - userid
  18521. type: object
  18522. models.Userfavoritegoods:
  18523. properties:
  18524. goodsid:
  18525. description: 商品ID
  18526. type: integer
  18527. required:
  18528. - goodsid
  18529. type: object
  18530. models.Userinfo:
  18531. properties:
  18532. address:
  18533. description: 地址
  18534. type: string
  18535. attachment1:
  18536. description: 附件1
  18537. type: string
  18538. attachment2:
  18539. description: 附件2
  18540. type: string
  18541. bankaccount:
  18542. description: 银行帐号 (加密存储)
  18543. type: string
  18544. bankaccountname:
  18545. description: 收款人名称
  18546. type: string
  18547. bankcardfrontphotourl:
  18548. description: 银行卡正面照地址
  18549. type: string
  18550. bankid:
  18551. description: 银行编码
  18552. type: string
  18553. bankname:
  18554. description: 银行名称
  18555. type: string
  18556. biznature:
  18557. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  18558. type: integer
  18559. bizscope:
  18560. description: 企业经营范围(企业)
  18561. type: string
  18562. cardbackphotourl:
  18563. description: 证件背面图片地址
  18564. type: string
  18565. cardfrontphotourl:
  18566. description: 证件正面图片地址
  18567. type: string
  18568. cardnum:
  18569. description: 证件号码(加密存储)
  18570. type: string
  18571. cardtypeid:
  18572. description: 证件类型ID
  18573. type: integer
  18574. cityid:
  18575. description: 市
  18576. type: integer
  18577. company:
  18578. description: 公司(个人)
  18579. type: string
  18580. contactname:
  18581. description: 联系人
  18582. type: string
  18583. countryid:
  18584. description: 国家
  18585. type: integer
  18586. createtime:
  18587. description: 创建时间
  18588. type: string
  18589. creatorid:
  18590. description: 创建人
  18591. type: integer
  18592. customername:
  18593. description: 客户名称(企业名称)
  18594. type: string
  18595. districtid:
  18596. description: 地区
  18597. type: integer
  18598. email:
  18599. description: 邮件(加密存储)
  18600. type: string
  18601. fax:
  18602. description: 传真(加密存储)
  18603. type: string
  18604. halfbodyphotourl:
  18605. description: 半身照地址
  18606. type: string
  18607. hasencrypt:
  18608. description: 数据是否已加密 - 0:未加密 1:已加密
  18609. type: integer
  18610. headurl:
  18611. description: 头像地址
  18612. type: string
  18613. legalcardbackphotourl:
  18614. description: 法人身份证背面照地址
  18615. type: string
  18616. legalcardfrontphotourl:
  18617. description: 法人身份证正面照地址
  18618. type: string
  18619. legalpersonname:
  18620. description: 法人姓名(企业)
  18621. type: string
  18622. mobile:
  18623. description: 手机号码(加密存储)
  18624. type: string
  18625. mobile2:
  18626. description: 手机号码[明文-尚志]
  18627. type: string
  18628. modifierid:
  18629. description: 修改人
  18630. type: integer
  18631. modifiertime:
  18632. description: 修改时间
  18633. type: string
  18634. needinvoice:
  18635. description: 是否需要发票 - 0:不需要 1:需要
  18636. type: integer
  18637. nickname:
  18638. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  18639. type: string
  18640. openmode:
  18641. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  18642. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  18643. type: integer
  18644. otherurl:
  18645. description: 其它图片地址[使用分号分隔]
  18646. type: string
  18647. postalcode:
  18648. description: 邮政编码
  18649. type: string
  18650. provinceid:
  18651. description: 省
  18652. type: integer
  18653. qq:
  18654. description: QQ(加密存储
  18655. type: string
  18656. remark:
  18657. description: 备注
  18658. type: string
  18659. sex:
  18660. description: '用户性别 0: 女 1: 男'
  18661. type: integer
  18662. signpdfurl:
  18663. description: 签约pdf文件
  18664. type: string
  18665. telphone:
  18666. description: 联系电话(加密存储)
  18667. type: string
  18668. userid:
  18669. description: 用户ID
  18670. type: integer
  18671. userinfotype:
  18672. description: 用户信息类型 - 1:个人 2:企业
  18673. type: integer
  18674. userstatus:
  18675. description: 用户状态 - 1:正常 2:注销
  18676. type: integer
  18677. usertype:
  18678. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  18679. type: integer
  18680. wechat:
  18681. description: 微信(加密存储)
  18682. type: string
  18683. wskhinfo:
  18684. description: 开户申请信息(JSON)
  18685. type: string
  18686. required:
  18687. - userid
  18688. type: object
  18689. models.WRPositionReport:
  18690. properties:
  18691. accountid:
  18692. description: 帐户ID
  18693. type: integer
  18694. brandid:
  18695. description: 品牌ID(1交割品种升贴水参数表 AutoID) - 作废
  18696. type: integer
  18697. buylistinglot:
  18698. description: 买挂牌宗数
  18699. type: integer
  18700. buytradeamount:
  18701. description: 购买金额
  18702. type: number
  18703. buytradelot:
  18704. description: 购买宗数
  18705. type: integer
  18706. buytradeqty:
  18707. description: 购买数量
  18708. type: number
  18709. creditcurqty:
  18710. description: 授信当前数量
  18711. type: integer
  18712. creditfreezeqty:
  18713. description: 授信冻结数量
  18714. type: integer
  18715. credittotalqty:
  18716. description: 授信总数量
  18717. type: integer
  18718. credittradeqty:
  18719. description: 授信成交数量
  18720. type: integer
  18721. decreaseqty:
  18722. description: 今日减少数量
  18723. type: integer
  18724. deliverygoodsid:
  18725. description: 交割商品ID
  18726. type: integer
  18727. deliverymonthid:
  18728. description: 月份ID(1交割品种升贴水参数表 AutoID) - 作废
  18729. type: integer
  18730. freezeqty:
  18731. description: 总冻结数量
  18732. type: integer
  18733. increaseqty:
  18734. description: 今日增加数量
  18735. type: integer
  18736. marketvalue:
  18737. description: 市值
  18738. type: number
  18739. pickupqty:
  18740. description: 今日提货数量
  18741. type: integer
  18742. qualityid:
  18743. description: 品质ID(1交割品种升贴水参数表 AutoID) - 作废
  18744. type: integer
  18745. reckondate:
  18746. description: 日照时期(yyyyMMdd)
  18747. type: string
  18748. relatedqty:
  18749. description: 关联数量
  18750. type: integer
  18751. selllistingamount:
  18752. description: 卖挂牌金额
  18753. type: number
  18754. selllistinglot:
  18755. description: 卖挂牌宗数
  18756. type: integer
  18757. selllistingqty:
  18758. description: 卖挂牌数量
  18759. type: number
  18760. selltradeamount:
  18761. description: 销售金额
  18762. type: number
  18763. selltradelot:
  18764. description: 销售宗数
  18765. type: integer
  18766. selltradeqty:
  18767. description: 销售数量
  18768. type: number
  18769. specid:
  18770. description: 规格ID(1交割品种升贴水参数表 AutoID) - 作废
  18771. type: integer
  18772. totalprice:
  18773. description: 销售金额(¥)
  18774. type: number
  18775. totalqty:
  18776. description: 总数量
  18777. type: integer
  18778. totalweight:
  18779. description: 销售重量(ct)
  18780. type: number
  18781. tradewrqty:
  18782. description: 订单仓单头寸总数量
  18783. type: integer
  18784. transfertradewrqty:
  18785. description: 今日转订单数量
  18786. type: integer
  18787. warehouseid:
  18788. description: 仓库ID(1交割品种升贴水参数表 AutoID) - 作废
  18789. type: integer
  18790. wrfactortypeid:
  18791. description: 仓单要素类型ID
  18792. type: integer
  18793. wrpositionid:
  18794. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  18795. type: integer
  18796. wrstandardcode:
  18797. description: 现货商品代码
  18798. type: string
  18799. wrstandardid:
  18800. description: 现货商品ID
  18801. type: integer
  18802. wruserid:
  18803. description: 持有人ID
  18804. type: integer
  18805. zscategory:
  18806. description: 商品分类
  18807. type: integer
  18808. zscategorydisplay:
  18809. type: string
  18810. zscurrencytype:
  18811. description: 商品币种
  18812. type: integer
  18813. zscurrencytypedisplay:
  18814. type: string
  18815. zscurrencytypedisplayunit:
  18816. type: string
  18817. type: object
  18818. models.WRSConverTDetail:
  18819. properties:
  18820. convertratio:
  18821. description: 套保系数
  18822. type: number
  18823. deliverygoodscode:
  18824. description: 现货商品代码
  18825. type: string
  18826. deliverygoodsid:
  18827. description: 现货品种ID
  18828. type: integer
  18829. deliverygoodsname:
  18830. description: 现货商品名称
  18831. type: string
  18832. enumdicname:
  18833. description: 单位名称
  18834. type: string
  18835. goodsunitid:
  18836. description: 套保品种单位id
  18837. type: integer
  18838. middlegoodscode:
  18839. description: 套保品种代码
  18840. type: string
  18841. middlegoodsid:
  18842. description: 套保品种ID
  18843. type: integer
  18844. middlegoodsname:
  18845. description: 套保品种名称
  18846. type: string
  18847. modifytime:
  18848. description: 修改时间
  18849. type: string
  18850. wrstandardid:
  18851. description: 品类ID
  18852. type: integer
  18853. type: object
  18854. models.WRStandardInfo:
  18855. properties:
  18856. areauserid:
  18857. description: 所属机构
  18858. type: integer
  18859. convertfactor:
  18860. description: 标仓系数
  18861. type: number
  18862. createtime:
  18863. description: 创建时间
  18864. type: string
  18865. creatorid:
  18866. description: 创建人
  18867. type: integer
  18868. deliverygoodsid:
  18869. description: 品种ID
  18870. type: integer
  18871. deliverygoodsname:
  18872. description: 交割商品名称
  18873. type: string
  18874. factoryitemjson:
  18875. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  18876. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  18877. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  18878. 逗号分隔'
  18879. type: string
  18880. isvalid:
  18881. description: 是否有效 - 0:无效 1:有效
  18882. type: integer
  18883. minivalue:
  18884. description: 最小变动值
  18885. type: integer
  18886. minivaluedp:
  18887. description: 最小变动值小数位
  18888. type: integer
  18889. realminivalue:
  18890. description: 实际最小变动值
  18891. type: integer
  18892. realminivaluedp:
  18893. description: 实际最小变动值小数位
  18894. type: integer
  18895. remark:
  18896. description: 备注
  18897. type: string
  18898. unitid:
  18899. description: 单位ID
  18900. type: integer
  18901. unitname:
  18902. description: 单位
  18903. type: string
  18904. updatetime:
  18905. description: 更新时间
  18906. type: string
  18907. updatorid:
  18908. description: 更新人
  18909. type: integer
  18910. wrsstatus:
  18911. description: 状态 - 作废 - 0:未激活 1:正常
  18912. type: integer
  18913. wrstandardcode:
  18914. description: 现货品类代码
  18915. type: string
  18916. wrstandardid:
  18917. description: 现货品类ID(SEQ_WRSTANDARD)
  18918. type: integer
  18919. wrstandardname:
  18920. description: 现货品类名称
  18921. type: string
  18922. required:
  18923. - wrstandardid
  18924. type: object
  18925. models.WRTradeBargainApply:
  18926. properties:
  18927. accountid:
  18928. description: 摘牌资金账号
  18929. type: integer
  18930. applyprice:
  18931. description: 申请价格(议价价格)
  18932. type: string
  18933. applyqty:
  18934. description: 摘牌数量(议价数量)
  18935. type: number
  18936. applyremark:
  18937. description: 申请备注
  18938. type: string
  18939. applystatus:
  18940. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  18941. type: integer
  18942. applytime:
  18943. description: 申请时间(议价时间)
  18944. type: string
  18945. begindate:
  18946. description: 开始交易日(yyyymmdd)
  18947. type: string
  18948. buyorsell:
  18949. description: 买卖(挂牌类型) - 0:买 1:卖
  18950. type: integer
  18951. confirmremark:
  18952. description: 确认备注
  18953. type: string
  18954. confirmtime:
  18955. description: 确认时间
  18956. type: string
  18957. confirmuserid:
  18958. description: 确认人
  18959. type: integer
  18960. deliverygoodscode:
  18961. description: 品种代码
  18962. type: string
  18963. deliverygoodsid:
  18964. description: 品种ID
  18965. type: integer
  18966. deliverygoodsname:
  18967. description: 品种名称
  18968. type: string
  18969. deliverymonth:
  18970. description: 交收月
  18971. type: string
  18972. enddate:
  18973. description: 结束交易日(yyyymmdd)
  18974. type: string
  18975. enumdicname:
  18976. description: 单位名称
  18977. type: string
  18978. fixedprice:
  18979. description: 期初均价
  18980. type: number
  18981. handlestatus:
  18982. description: 处理状态
  18983. type: integer
  18984. marginvalue:
  18985. description: 期初均价
  18986. type: number
  18987. marketid:
  18988. description: 市场ID
  18989. type: integer
  18990. matchaccountid:
  18991. description: 挂牌方资金账号
  18992. type: integer
  18993. matchuserid:
  18994. description: 挂牌方用户id
  18995. type: integer
  18996. matchusername:
  18997. description: 挂牌方用户名称(已脱敏)
  18998. type: string
  18999. minivalue:
  19000. description: 现货商品最小变动值
  19001. type: integer
  19002. optioncompare:
  19003. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19004. type: string
  19005. orderqty:
  19006. description: 挂牌数量
  19007. type: integer
  19008. refprice:
  19009. description: 参考价格
  19010. type: string
  19011. retcode:
  19012. description: 委托返回代码
  19013. type: integer
  19014. templatename:
  19015. description: 履约方式(履约模板名称)
  19016. type: string
  19017. tradedate:
  19018. description: 交易日(yyyyMMdd)
  19019. type: string
  19020. userid:
  19021. description: 摘牌人用户ID(议价人ID)
  19022. type: integer
  19023. username:
  19024. description: 议价人名字(已脱敏)
  19025. type: string
  19026. validtime:
  19027. description: 有效期限
  19028. type: string
  19029. warehouseid:
  19030. description: 仓库ID
  19031. type: integer
  19032. warehousename:
  19033. description: 仓库名称
  19034. type: string
  19035. wrbargainid:
  19036. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  19037. type: string
  19038. wrfactortypeid:
  19039. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19040. type: string
  19041. wrfactortypename:
  19042. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19043. type: string
  19044. wrstandardcode:
  19045. description: 现货商品代码
  19046. type: string
  19047. wrstandardid:
  19048. description: 现货商品ID
  19049. type: integer
  19050. wrstandardname:
  19051. description: 商品名称
  19052. type: string
  19053. wrtradeorderid:
  19054. description: 关联委托单ID
  19055. type: string
  19056. wrtypename:
  19057. description: 商品
  19058. type: string
  19059. type: object
  19060. models.Warehouseinfo:
  19061. properties:
  19062. address:
  19063. description: 详细地址
  19064. type: string
  19065. areauserid:
  19066. description: 所属机构
  19067. type: integer
  19068. autoid:
  19069. description: 自增ID
  19070. type: integer
  19071. cityid:
  19072. description: 市
  19073. type: integer
  19074. contactname:
  19075. description: 联系人
  19076. type: string
  19077. contactnum:
  19078. description: 联系电话
  19079. type: string
  19080. countryid:
  19081. description: 国家
  19082. type: integer
  19083. createtime:
  19084. description: 创建时间
  19085. type: string
  19086. districtid:
  19087. description: 区
  19088. type: integer
  19089. hasvideo:
  19090. description: 是否有视频 - 0:无 1:有
  19091. type: integer
  19092. provinceid:
  19093. description: 省
  19094. type: integer
  19095. remark:
  19096. description: 审核备注
  19097. type: string
  19098. videourl:
  19099. description: 视频地址
  19100. type: string
  19101. warehousecode:
  19102. description: 仓库代码
  19103. type: string
  19104. warehousename:
  19105. description: 仓库名称
  19106. type: string
  19107. warehousestatus:
  19108. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  19109. type: integer
  19110. warehousetype:
  19111. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  19112. type: integer
  19113. required:
  19114. - autoid
  19115. - warehousecode
  19116. type: object
  19117. models.WrAverageTradePrice:
  19118. properties:
  19119. averageprice:
  19120. description: 期初均价
  19121. type: number
  19122. tradedate:
  19123. description: 交易日yyyymm
  19124. type: string
  19125. type: object
  19126. models.WrBrandAndYears:
  19127. properties:
  19128. brandlst:
  19129. description: 品牌列表
  19130. items:
  19131. $ref: '#/definitions/models.DgFactoryItem'
  19132. type: array
  19133. yearslst:
  19134. description: 年份列表
  19135. items:
  19136. $ref: '#/definitions/models.DgFactoryItem'
  19137. type: array
  19138. type: object
  19139. models.WrBsGoodsInfo:
  19140. properties:
  19141. buyorsell:
  19142. description: 买卖方向 0-买 1-卖
  19143. type: integer
  19144. goodsid:
  19145. description: 交易合约ID
  19146. type: integer
  19147. lstitem:
  19148. description: 商品信息项
  19149. items:
  19150. $ref: '#/definitions/models.WrTypeItem'
  19151. type: array
  19152. lststep:
  19153. description: 履约规则
  19154. items:
  19155. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19156. type: array
  19157. type: object
  19158. models.WrBuybackDetail:
  19159. properties:
  19160. buybackamount:
  19161. description: 回购金额
  19162. type: number
  19163. buybackqty:
  19164. description: 回购数量
  19165. type: number
  19166. buybackreleasemargin:
  19167. description: 回购释放保证金
  19168. type: number
  19169. buybacktime:
  19170. description: 回购时间
  19171. type: string
  19172. errordesc:
  19173. description: 错误描述
  19174. type: string
  19175. handlestatus:
  19176. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  19177. type: integer
  19178. relatedwrid:
  19179. description: 关联仓单ID
  19180. type: integer
  19181. scfcontractid:
  19182. description: SCF合同ID
  19183. type: string
  19184. scfwrbuybackid:
  19185. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  19186. type: integer
  19187. tradedate:
  19188. description: 交易日(yyyyMMdd)
  19189. type: string
  19190. type: object
  19191. models.WrClientAdSpaceConfig:
  19192. properties:
  19193. adspaceid:
  19194. description: 广告位ID
  19195. type: integer
  19196. adspacename:
  19197. description: 广告位名称
  19198. type: string
  19199. adspacetype:
  19200. description: 广告位类型 - 1:固定广告位
  19201. type: integer
  19202. areauserid:
  19203. description: 所属机构ID
  19204. type: integer
  19205. createdate:
  19206. description: 创建时间
  19207. type: string
  19208. imagepath:
  19209. description: 图片
  19210. type: string
  19211. modifierid:
  19212. description: 操作人
  19213. type: integer
  19214. recsize:
  19215. description: 推荐尺寸
  19216. type: string
  19217. title:
  19218. description: 标题
  19219. type: string
  19220. updatedate:
  19221. description: 更新时间
  19222. type: string
  19223. urlcontent:
  19224. description: 链接(地址\商品ID\功能菜单Key\appid)
  19225. type: string
  19226. urltype:
  19227. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  19228. type: integer
  19229. type: object
  19230. models.WrDeliveryAvalidHoldLB:
  19231. properties:
  19232. accountid:
  19233. description: 资金账号
  19234. type: integer
  19235. avalidqty:
  19236. description: 数量(可点选数量)
  19237. type: number
  19238. deliverygoodsid:
  19239. description: 品种id
  19240. type: integer
  19241. enumdicname:
  19242. description: 单位名称
  19243. type: string
  19244. goodsid:
  19245. description: x合约商品id
  19246. type: integer
  19247. ladingbillid:
  19248. description: 提单id
  19249. type: string
  19250. pgoodscode:
  19251. description: p商品代码(点价合约)
  19252. type: string
  19253. pgoodsid:
  19254. description: p商品id(点价合约)
  19255. type: integer
  19256. pgoodsname:
  19257. description: p商品名称(点价合约)
  19258. type: string
  19259. pricemove:
  19260. description: 升贴水
  19261. type: number
  19262. subnum:
  19263. description: 提单子id
  19264. type: integer
  19265. userid:
  19266. description: 用户id
  19267. type: integer
  19268. username:
  19269. description: 仓单持有人
  19270. type: string
  19271. warehousecode:
  19272. description: 仓库代码
  19273. type: string
  19274. warehouseid:
  19275. description: 仓库id
  19276. type: integer
  19277. warehousename:
  19278. description: 仓库名称
  19279. type: string
  19280. wrfactortypeid:
  19281. description: 仓单要素id
  19282. type: string
  19283. wrstandardcode:
  19284. description: 品代码
  19285. type: string
  19286. wrstandardid:
  19287. description: 品类d
  19288. type: integer
  19289. wrstandardname:
  19290. description: 品类名称
  19291. type: string
  19292. wrtypename:
  19293. description: 商品
  19294. type: string
  19295. xgoodscode:
  19296. description: x合约代码
  19297. type: string
  19298. xgoodsname:
  19299. description: x合约名称
  19300. type: string
  19301. type: object
  19302. models.WrDeliveryDetail:
  19303. properties:
  19304. accountid:
  19305. description: 账号ID
  19306. type: integer
  19307. averageprice:
  19308. description: 期初均价
  19309. type: number
  19310. begindate:
  19311. description: 开始交易日(yyyymmdd)
  19312. type: string
  19313. buyorsell:
  19314. description: 方向 - 0:买 1:卖
  19315. type: integer
  19316. deliveryamount:
  19317. description: 货款金额(X总货款+P总货款)
  19318. type: number
  19319. deliveryid:
  19320. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  19321. type: string
  19322. deliveryorderid:
  19323. description: 申报单号
  19324. type: string
  19325. deliverypricemove:
  19326. description: 升贴水(升贴水总额)
  19327. type: number
  19328. deliveryqty:
  19329. description: 交收数量(点选数量)
  19330. type: number
  19331. deliverystatus:
  19332. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  19333. type: integer
  19334. deliverytime:
  19335. description: 交割时间
  19336. type: string
  19337. deliverytotalamount:
  19338. description: 交收金额
  19339. type: number
  19340. enddate:
  19341. description: 结束交易日(yyyymmdd)
  19342. type: string
  19343. enumdicname:
  19344. description: 单位名称
  19345. type: string
  19346. matchaccountid:
  19347. description: 对手账号ID
  19348. type: integer
  19349. matchusername:
  19350. description: 对手方名称(仓单持有人)
  19351. type: string
  19352. p1goodsremainamount:
  19353. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  19354. type: number
  19355. pdeliverycloseqty:
  19356. description: p合约平仓数量
  19357. type: number
  19358. pdeliveryprice:
  19359. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  19360. type: number
  19361. pgoodscode:
  19362. description: 商品代码
  19363. type: string
  19364. pgoodsid:
  19365. description: p点选合约id
  19366. type: integer
  19367. pgoodsname:
  19368. description: 商品名称
  19369. type: string
  19370. ppricemode:
  19371. description: 点价价格方式 - 1:商品价 2:固定值
  19372. type: integer
  19373. tradedate:
  19374. description: 交易日(yyyymmdd)
  19375. type: string
  19376. userid:
  19377. description: 用户id
  19378. type: integer
  19379. username:
  19380. description: 用户名称
  19381. type: string
  19382. warehousename:
  19383. description: 仓库名称
  19384. type: string
  19385. wrfactortypeid:
  19386. description: 仓单要素类型ID
  19387. type: string
  19388. wrtypename:
  19389. description: 商品
  19390. type: string
  19391. xdeliverycloseqty:
  19392. description: 合约数量
  19393. type: number
  19394. xgoodsamount:
  19395. description: 期初均价
  19396. type: number
  19397. xgoodscode:
  19398. description: 商品代码
  19399. type: string
  19400. xgoodsid:
  19401. description: x交易合约ID
  19402. type: integer
  19403. xgoodsname:
  19404. description: 商品名称
  19405. type: string
  19406. type: object
  19407. models.WrDeliveryGoodsSection:
  19408. properties:
  19409. dglst:
  19410. description: 板块商品列表
  19411. items:
  19412. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  19413. type: array
  19414. imagepath:
  19415. description: 图片地址
  19416. type: string
  19417. orderindex:
  19418. description: 排序
  19419. type: integer
  19420. sectionid:
  19421. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  19422. = 1的版块1 - 云融指数
  19423. type: integer
  19424. sectionname:
  19425. description: 版块名称
  19426. type: string
  19427. sectiontype:
  19428. description: 版块类型 - 1:指数版块 2:普通版块
  19429. type: integer
  19430. type: object
  19431. models.WrDeliveryGoodsSectionConfig:
  19432. properties:
  19433. deliverygoodscode:
  19434. description: 现货商品代码
  19435. type: string
  19436. deliverygoodsid:
  19437. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19438. type: integer
  19439. deliverygoodsname:
  19440. description: 现货商品名称
  19441. type: string
  19442. orderindex:
  19443. description: 排序
  19444. type: integer
  19445. type: object
  19446. models.WrDraftUserInfo:
  19447. properties:
  19448. address:
  19449. description: 地址
  19450. type: string
  19451. attachment1:
  19452. description: 附件1
  19453. type: string
  19454. attachment2:
  19455. description: 附件2
  19456. type: string
  19457. attachment3:
  19458. description: 附件3
  19459. type: string
  19460. attachment4:
  19461. description: 附件4
  19462. type: string
  19463. attachment5:
  19464. description: 附件5
  19465. type: string
  19466. bankaccount:
  19467. description: 银行帐号 (加密存储)
  19468. type: string
  19469. bankaccountname:
  19470. description: 收款人名称
  19471. type: string
  19472. bankcardfrontphotourl:
  19473. description: 银行卡正面照地址
  19474. type: string
  19475. bankid:
  19476. description: 银行编码
  19477. type: string
  19478. bankname:
  19479. description: 银行名称
  19480. type: string
  19481. birthday:
  19482. description: 生日(个人:年月日)
  19483. type: string
  19484. biznature:
  19485. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  19486. type: integer
  19487. bizscope:
  19488. description: 企业经营范围(企业)
  19489. type: string
  19490. biztype:
  19491. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  19492. type: integer
  19493. cardbackphotourl:
  19494. description: 证件背面图片地址
  19495. type: string
  19496. cardfrontphotourl:
  19497. description: 证件正面图片地址
  19498. type: string
  19499. cardnum:
  19500. description: 证件号码(加密存储)
  19501. type: string
  19502. cardtypeid:
  19503. description: 证件类型ID
  19504. type: integer
  19505. cityid:
  19506. description: 市
  19507. type: integer
  19508. company:
  19509. description: 公司(个人)
  19510. type: string
  19511. contactcardbackphotourl:
  19512. description: 联系人证件背面图片地址
  19513. type: string
  19514. contactcardfrontphotourl:
  19515. description: 联系人证件正面图片地址
  19516. type: string
  19517. contactname:
  19518. description: 联系人
  19519. type: string
  19520. countryid:
  19521. description: 国家
  19522. type: integer
  19523. createtime:
  19524. description: 创建时间
  19525. type: string
  19526. creatorid:
  19527. description: 创建人
  19528. type: integer
  19529. creditquota:
  19530. description: 授信额度(金瑞)
  19531. type: number
  19532. customername:
  19533. description: 客户名称(企业名称)
  19534. type: string
  19535. districtid:
  19536. description: 地区
  19537. type: integer
  19538. email:
  19539. description: 邮件(加密存储)
  19540. type: string
  19541. fax:
  19542. description: 传真(加密存储)
  19543. type: string
  19544. halfbodyphotourl:
  19545. description: 半身照地址
  19546. type: string
  19547. hasencrypt:
  19548. description: 数据是否已加密 - 0:未加密 1:已加密
  19549. type: integer
  19550. headurl:
  19551. description: 头像地址
  19552. type: string
  19553. legalcardbackphotourl:
  19554. description: 法人身份证背面照地址
  19555. type: string
  19556. legalcardfrontphotourl:
  19557. description: 法人身份证正面照地址
  19558. type: string
  19559. legalpersonname:
  19560. description: 法人姓名(企业)
  19561. type: string
  19562. mobile:
  19563. description: 手机号码(加密存储)
  19564. type: string
  19565. mobile2:
  19566. description: 手机号码[明文-尚志]
  19567. type: string
  19568. modifierid:
  19569. description: 修改人
  19570. type: integer
  19571. modifiertime:
  19572. description: 修改时间
  19573. type: string
  19574. needinvoice:
  19575. description: 是否需要发票 - 0:不需要 1:需要
  19576. type: integer
  19577. nickname:
  19578. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  19579. type: string
  19580. openmode:
  19581. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  19582. 6:苹果手机端注册 7:PC交易端注册"
  19583. type: integer
  19584. otherurl:
  19585. description: 其它图片地址[使用分号分隔]
  19586. type: string
  19587. postalcode:
  19588. description: 邮政编码
  19589. type: string
  19590. provinceid:
  19591. description: 省
  19592. type: integer
  19593. proxystatementurl:
  19594. description: 授权委托书
  19595. type: string
  19596. qq:
  19597. description: QQ(加密存储
  19598. type: string
  19599. remark:
  19600. description: 备注
  19601. type: string
  19602. sex:
  19603. description: '用户性别 0: 女 1: 男'
  19604. type: integer
  19605. signpdfurl:
  19606. description: 签约pdf文件
  19607. type: string
  19608. taxpayernum:
  19609. description: 纳税人识别号
  19610. type: string
  19611. telphone:
  19612. description: 联系电话(加密存储)
  19613. type: string
  19614. userid:
  19615. description: 用户ID
  19616. type: integer
  19617. userinfotype:
  19618. description: 用户信息类型 - 1:个人 2:企业
  19619. type: integer
  19620. userstatus:
  19621. description: 用户状态 - 1:正常 2:注销
  19622. type: integer
  19623. usertype:
  19624. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  19625. type: integer
  19626. wechat:
  19627. description: 微信(加密存储)
  19628. type: string
  19629. wskhinfo:
  19630. description: 开户申请信息(JSON)
  19631. type: string
  19632. type: object
  19633. models.WrFAProductDetail:
  19634. properties:
  19635. accountid:
  19636. description: 资金账号
  19637. type: integer
  19638. areauserid:
  19639. description: 金融机构ID
  19640. type: integer
  19641. financingdays:
  19642. description: 天数(天)
  19643. type: integer
  19644. interestminlen:
  19645. description: 最小起息天数
  19646. type: integer
  19647. interestrate:
  19648. description: 利率
  19649. type: number
  19650. interestratemode:
  19651. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19652. type: integer
  19653. interestsettlemode:
  19654. description: 结息方式 - 1:按日结息 3:按月结息
  19655. type: integer
  19656. interestsettlevalue:
  19657. description: 结息方式值
  19658. type: integer
  19659. isautoloan:
  19660. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  19661. type: integer
  19662. loantag:
  19663. description: '放款标识: "放款快" 或者为空'
  19664. type: string
  19665. marginratio:
  19666. description: 保证金比率质押率 - [仓单质押]
  19667. type: number
  19668. productdetailid:
  19669. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  19670. type: integer
  19671. productid:
  19672. description: 金融产品ID
  19673. type: integer
  19674. productname:
  19675. description: 产品名称
  19676. type: string
  19677. updatetime:
  19678. description: 更新时间
  19679. type: string
  19680. username:
  19681. description: 融出方
  19682. type: string
  19683. type: object
  19684. models.WrFactorTypeInfo:
  19685. properties:
  19686. deliverygoodscode:
  19687. description: 品种代码
  19688. type: string
  19689. deliverygoodsname:
  19690. description: 品种名称
  19691. type: string
  19692. dgfactoryitemid:
  19693. description: 选择项id
  19694. type: integer
  19695. dgfactoryitemtypeid:
  19696. description: 要素选择项ID (1-仓库 2-品牌)
  19697. type: integer
  19698. dgfactoryitemvalue:
  19699. description: 要素项值
  19700. type: string
  19701. itemtypename:
  19702. description: 要素项名称
  19703. type: string
  19704. optioncompare:
  19705. description: 选择比较串
  19706. type: string
  19707. warehouseid:
  19708. description: 仓库id
  19709. type: integer
  19710. wrfactortypeid:
  19711. description: 仓单要素ID
  19712. type: string
  19713. wrfactortypename:
  19714. description: 要素名称
  19715. type: string
  19716. wrfactortypename2:
  19717. description: 要素名称(不含仓库)
  19718. type: string
  19719. wrstandardcode:
  19720. description: 品类代码
  19721. type: string
  19722. wrstandardid:
  19723. description: 品类id
  19724. type: integer
  19725. wrstandardname:
  19726. description: 品类名称
  19727. type: string
  19728. type: object
  19729. models.WrFilterItem:
  19730. properties:
  19731. itemcode:
  19732. description: 代码
  19733. type: string
  19734. itemid:
  19735. description: 项id
  19736. type: integer
  19737. itemname:
  19738. description: 名称
  19739. type: string
  19740. itemtype:
  19741. description: 类型 1-品种 2-品类(商品) 3-仓库
  19742. type: integer
  19743. type: object
  19744. models.WrFinanceBuyApply:
  19745. properties:
  19746. applydate:
  19747. description: 申请时间
  19748. type: string
  19749. applystatus:
  19750. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  19751. type: integer
  19752. applyuserid:
  19753. description: 申请人
  19754. type: integer
  19755. auditdate:
  19756. description: 审核时间
  19757. type: string
  19758. auditremark:
  19759. description: 审核备注
  19760. type: string
  19761. audituserid:
  19762. description: 审核人
  19763. type: integer
  19764. buyaccountid:
  19765. description: 买方资金账号
  19766. type: integer
  19767. buyorsell:
  19768. description: 买卖 - 0:买 1:卖
  19769. type: integer
  19770. buyuserid:
  19771. description: 买方用户ID
  19772. type: integer
  19773. buyusername:
  19774. description: 买方名称
  19775. type: string
  19776. buywrtradeorderid:
  19777. description: 融资方买委托单ID
  19778. type: string
  19779. deliverygoodscode:
  19780. description: 品种代码
  19781. type: string
  19782. deliverygoodsid:
  19783. description: 品种ID
  19784. type: integer
  19785. deliverygoodsname:
  19786. description: 品种名称
  19787. type: string
  19788. deliverymonth:
  19789. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  19790. type: string
  19791. enumdicname:
  19792. description: 单位名称
  19793. type: string
  19794. financeaccountid:
  19795. description: 融资方资金帐户ID
  19796. type: integer
  19797. financeapplyid:
  19798. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19799. type: string
  19800. financeareauserid:
  19801. description: 融资方用户ID
  19802. type: string
  19803. financename:
  19804. description: 融出方名称
  19805. type: string
  19806. financetype:
  19807. description: 融资类型 1-融资回购
  19808. type: integer
  19809. financingdays:
  19810. description: 天数(天)
  19811. type: integer
  19812. freezebuymargin:
  19813. description: 冻结融资保证金(买方)
  19814. type: number
  19815. handleremark:
  19816. description: 处理备注
  19817. type: string
  19818. handlestatus:
  19819. description: 处理状态
  19820. type: integer
  19821. interestminlen:
  19822. description: 最小起息天数
  19823. type: integer
  19824. interestrate:
  19825. description: 利率
  19826. type: number
  19827. interestratemode:
  19828. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19829. type: integer
  19830. interestsettlemode:
  19831. description: 结息方式 - 1:按日结息 3:按月结息
  19832. type: integer
  19833. interestsettlevalue:
  19834. description: 结息方式值
  19835. type: integer
  19836. isautoloan:
  19837. description: 是否自动放款 - 0:手动 1:自动
  19838. type: integer
  19839. marginratio:
  19840. description: 保证金比率质押率 - [仓单质押]
  19841. type: number
  19842. marketid:
  19843. description: 市场ID
  19844. type: integer
  19845. minivalue:
  19846. description: 现货商品最小变动值
  19847. type: integer
  19848. optioncompare:
  19849. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19850. type: string
  19851. orderqty:
  19852. description: 委托数量(商品数量)
  19853. type: number
  19854. productdetailid:
  19855. description: 产品组合ID
  19856. type: integer
  19857. productid:
  19858. description: 金融产品ID
  19859. type: integer
  19860. productname:
  19861. description: 产品名称
  19862. type: string
  19863. remark:
  19864. description: 备注
  19865. type: string
  19866. scfcontractid:
  19867. description: 仓单回购合同ID
  19868. type: string
  19869. sellaccountid:
  19870. description: 卖方资金账号
  19871. type: integer
  19872. selluserid:
  19873. description: 卖方用户ID
  19874. type: integer
  19875. sellwrtradeorderid:
  19876. description: 卖方委托单ID
  19877. type: string
  19878. tradeamount:
  19879. description: 成交金额(借款金额)
  19880. type: number
  19881. tradedate:
  19882. description: 交易日(yyyyMMdd)
  19883. type: string
  19884. tradeprice:
  19885. description: 成交价格
  19886. type: number
  19887. warehouseid:
  19888. description: 仓库ID
  19889. type: integer
  19890. warehousename:
  19891. description: 仓库名称
  19892. type: string
  19893. wrfactortypeid:
  19894. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19895. type: string
  19896. wrfactortypename:
  19897. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19898. type: string
  19899. wrpricetype:
  19900. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  19901. type: integer
  19902. wrstandardcode:
  19903. description: 现货商品代码
  19904. type: string
  19905. wrstandardid:
  19906. description: 现货商品ID
  19907. type: integer
  19908. wrstandardname:
  19909. description: 商品名称
  19910. type: string
  19911. wrtypename:
  19912. description: 商品
  19913. type: string
  19914. type: object
  19915. models.WrFriendApply:
  19916. properties:
  19917. applicantid:
  19918. description: 申请人
  19919. type: integer
  19920. applyname:
  19921. description: 申请人名称
  19922. type: string
  19923. applysrc:
  19924. description: 申请来源 - 1:管理端 2:终端
  19925. type: integer
  19926. applystatus:
  19927. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19928. type: integer
  19929. applytime:
  19930. description: 申请时间
  19931. type: string
  19932. auditname:
  19933. description: 审核人名称
  19934. type: string
  19935. auditorid:
  19936. description: 审核人
  19937. type: integer
  19938. auditremark:
  19939. description: 审核备注
  19940. type: string
  19941. auditsrc:
  19942. description: 审核来源 - 1:管理端 2:终端
  19943. type: integer
  19944. audittime:
  19945. description: 审核时间
  19946. type: string
  19947. friendapplyid:
  19948. description: 申请ID(SEQ_FRIENDAPPLY)
  19949. type: string
  19950. friendname:
  19951. description: 好友名字(已脱敏)
  19952. type: string
  19953. frienduserid:
  19954. description: 好友用户ID
  19955. type: string
  19956. remark:
  19957. description: 备注
  19958. type: string
  19959. userid:
  19960. description: 申请人用户ID
  19961. type: integer
  19962. type: object
  19963. models.WrFtDeliveryGoods:
  19964. properties:
  19965. deliverygoodscode:
  19966. description: 品种代码
  19967. type: string
  19968. deliverygoodsid:
  19969. description: 品种ID
  19970. type: integer
  19971. deliverygoodsname:
  19972. description: 品种名称
  19973. type: string
  19974. wdlst:
  19975. description: 商品列表
  19976. items:
  19977. $ref: '#/definitions/models.WrFtWrstandard'
  19978. type: array
  19979. type: object
  19980. models.WrFtWrstandard:
  19981. properties:
  19982. enumdicname:
  19983. description: 单位名称
  19984. type: string
  19985. minivalue:
  19986. description: 最小变动值
  19987. type: integer
  19988. wrstandardcode:
  19989. description: 现货商品代码
  19990. type: string
  19991. wrstandardid:
  19992. description: 现货商品ID
  19993. type: integer
  19994. wrstandardname:
  19995. description: 商品名称
  19996. type: string
  19997. type: object
  19998. models.WrGoodsInfo:
  19999. properties:
  20000. haswr:
  20001. description: 0:仓单预售 1:仓单贸易
  20002. type: integer
  20003. lstitem:
  20004. description: 商品信息项
  20005. items:
  20006. $ref: '#/definitions/models.WrTypeItem'
  20007. type: array
  20008. lststep:
  20009. description: 履约规则
  20010. items:
  20011. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  20012. type: array
  20013. marketid:
  20014. description: 市场id
  20015. type: integer
  20016. type: object
  20017. models.WrGoodsPerformanceStep:
  20018. properties:
  20019. autoid:
  20020. description: AutoID
  20021. type: integer
  20022. isauto:
  20023. description: 是否自动 - 0:不自动 1:自动
  20024. type: integer
  20025. remark:
  20026. description: 备注
  20027. type: string
  20028. stepdate:
  20029. description: 天数信息(T+N)
  20030. type: string
  20031. stepdays:
  20032. description: 距离上一步天数
  20033. type: integer
  20034. stepindex:
  20035. description: 步骤序号
  20036. type: integer
  20037. stepinfo:
  20038. description: 步骤信息(步骤名称+步骤值)
  20039. type: string
  20040. steptypeid:
  20041. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  20042. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  20043. type: integer
  20044. steptypename:
  20045. description: 步骤名称
  20046. type: string
  20047. stepvalue:
  20048. description: 期初均价
  20049. type: number
  20050. templateid:
  20051. description: 履约计划模板ID
  20052. type: integer
  20053. type: object
  20054. models.WrHoldLB:
  20055. properties:
  20056. accountid:
  20057. description: 持有人帐户ID
  20058. type: integer
  20059. bannerpicurl:
  20060. description: Banner图
  20061. type: string
  20062. createtime:
  20063. description: 创建时间(过户时间)
  20064. type: string
  20065. deliverygoodscode:
  20066. description: 品种代码
  20067. type: string
  20068. deliverygoodsid:
  20069. description: 品种ID
  20070. type: integer
  20071. deliverygoodsname:
  20072. description: 品种名称
  20073. type: string
  20074. enableqty:
  20075. description: 可用数量
  20076. type: number
  20077. enumdicname:
  20078. description: 单位名称
  20079. type: string
  20080. freezerqty:
  20081. description: 冻结数量
  20082. type: number
  20083. ladingbillid:
  20084. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  20085. type: string
  20086. minivalue:
  20087. description: 现货商品最小变动值
  20088. type: integer
  20089. optioncompare:
  20090. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20091. type: string
  20092. parentsubnum:
  20093. description: 拆分父子单号
  20094. type: integer
  20095. pledgeqty:
  20096. description: 质押数量
  20097. type: number
  20098. qty:
  20099. description: 数量
  20100. type: number
  20101. subnum:
  20102. description: 提单子单号
  20103. type: integer
  20104. thumurls:
  20105. description: 缩略图
  20106. type: string
  20107. tradedate:
  20108. description: 交易日(yyyyMMdd)
  20109. type: string
  20110. userid:
  20111. description: 持有人ID
  20112. type: integer
  20113. warehouseid:
  20114. description: 仓库ID
  20115. type: integer
  20116. warehousename:
  20117. description: 仓库名称
  20118. type: string
  20119. wrfactortypeid:
  20120. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20121. type: string
  20122. wrfactortypename:
  20123. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20124. type: string
  20125. wrholdeno:
  20126. description: 仓单编号
  20127. type: string
  20128. wrid:
  20129. description: 仓单变更ID
  20130. type: string
  20131. wrstandardcode:
  20132. description: 现货商品代码
  20133. type: string
  20134. wrstandardid:
  20135. description: 现货商品ID
  20136. type: integer
  20137. wrstandardname:
  20138. description: 商品名称
  20139. type: string
  20140. wrtypename:
  20141. description: 商品
  20142. type: string
  20143. type: object
  20144. models.WrMarketTradeConfig:
  20145. properties:
  20146. basisdownratio:
  20147. description: 浮动价基差下限比例(仓单贸易)
  20148. type: number
  20149. basisupratio:
  20150. description: 浮动价基差上限比例(仓单贸易)
  20151. type: number
  20152. buychargealgorithm:
  20153. description: 买方手续费收取方式 1:比率 2:固定
  20154. type: integer
  20155. buychargealgorithm2:
  20156. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  20157. type: integer
  20158. buychargealgorithmvalue:
  20159. description: 买方手续费设置值(交易所部分)
  20160. type: number
  20161. buychargealgorithmvalue2:
  20162. description: 买方手续费设置值(会员部分)
  20163. type: number
  20164. buychargealgorithmvalue3:
  20165. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  20166. type: number
  20167. buychargealgorithmvalue4:
  20168. description: 回购买方手续费设置值(会员部分) --77:现货商城
  20169. type: number
  20170. buyfirstmarginalgorithm:
  20171. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  20172. type: integer
  20173. buyfirstmarginvalue:
  20174. description: 买方出价保证金设置值 - [竞拍]
  20175. type: number
  20176. buymarginalgorithm:
  20177. description: 买方保证金方式 - 1:比率 2:固定
  20178. type: integer
  20179. buymarginvalue:
  20180. description: 买方保证金设置值
  20181. type: number
  20182. buyreleaseratio:
  20183. description: 买方释放比率[2:分步履约]
  20184. type: number
  20185. executemode:
  20186. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  20187. type: integer
  20188. executeside:
  20189. description: 执行方[2:分步履约] - 1:买方 2:卖方
  20190. type: integer
  20191. failedchargealgorithm:
  20192. description: 流拍手续费收取方式 1:比率 2:固定
  20193. type: integer
  20194. failedchargevalue:
  20195. description: 流拍手续费设置值
  20196. type: number
  20197. failedchargevalue2:
  20198. description: 流拍卖方手续费设置值
  20199. type: number
  20200. holddays:
  20201. description: 合同期限[2:分步履约]
  20202. type: integer
  20203. listingmode:
  20204. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  20205. type: integer
  20206. marketid:
  20207. description: 市场ID-仓单贸易、竞拍、预售
  20208. type: integer
  20209. minqty:
  20210. description: 最小执行量[2:分步履约]
  20211. type: number
  20212. modifierid:
  20213. description: 修改人
  20214. type: integer
  20215. nowrquotaflag:
  20216. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  20217. type: integer
  20218. performancetempid:
  20219. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  20220. 立即执行(-1)
  20221. type: integer
  20222. performancetempid2:
  20223. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  20224. 立即执行
  20225. type: integer
  20226. performancetempid2s:
  20227. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  20228. - 履约方式: 立即执行
  20229. type: string
  20230. performancetempids:
  20231. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  20232. - 履约方式: 立即执行(-1)
  20233. type: string
  20234. performanceway:
  20235. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  20236. type: integer
  20237. sellchargealgorithm:
  20238. description: 卖方手续费收取方式 1:比率 2:固定
  20239. type: integer
  20240. sellchargealgorithm2:
  20241. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  20242. type: integer
  20243. sellchargealgorithmvalue:
  20244. description: 卖方手续费设置值(交易所部分)
  20245. type: number
  20246. sellchargealgorithmvalue2:
  20247. description: 卖方手续费设置值(会员部分)
  20248. type: number
  20249. sellchargealgorithmvalue3:
  20250. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  20251. type: number
  20252. sellchargealgorithmvalue4:
  20253. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  20254. type: number
  20255. sellmarginalgorithm:
  20256. description: 卖方保证金方式 - 1:比率 2:固定
  20257. type: integer
  20258. sellmarginvalue:
  20259. description: 卖方保证金设置值
  20260. type: number
  20261. sellmarginvalue2:
  20262. description: 卖方保证金设置值(无仓单)
  20263. type: number
  20264. sellreleaseratio:
  20265. description: 卖方释放比率[2:分步履约]
  20266. type: number
  20267. updatetime:
  20268. description: 更新时间
  20269. type: string
  20270. type: object
  20271. models.WrOrderDetail:
  20272. properties:
  20273. accountid:
  20274. description: 交易账号(资金账号)
  20275. type: integer
  20276. allfriendsflag:
  20277. description: 是否全好友可见 - 0:否 1:是
  20278. type: integer
  20279. amount:
  20280. description: 期初均价
  20281. type: number
  20282. bannerpicurl:
  20283. description: Banner图
  20284. type: string
  20285. begindate:
  20286. description: 开始交易日(yyyymmdd)
  20287. type: string
  20288. buyorsell:
  20289. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  20290. type: integer
  20291. canbargain:
  20292. description: 是否可议价 - 0:不可 1:可
  20293. type: integer
  20294. cancelqty:
  20295. description: 撤销数量
  20296. type: number
  20297. canpart:
  20298. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  20299. type: integer
  20300. delistminqty:
  20301. description: 起摘数量
  20302. type: integer
  20303. deliverygoodscode:
  20304. description: 品种代码
  20305. type: string
  20306. deliverygoodsid:
  20307. description: 品种ID
  20308. type: integer
  20309. deliverygoodsname:
  20310. description: 品种名称
  20311. type: string
  20312. deliverymonth:
  20313. description: 交收月
  20314. type: string
  20315. enddate:
  20316. description: 结束交易日(yyyymmdd)
  20317. type: string
  20318. enumdicname:
  20319. description: 单位名称
  20320. type: string
  20321. fixedprice:
  20322. description: 固定价格 - [挂牌]
  20323. type: number
  20324. freezecharge:
  20325. description: 期初均价
  20326. type: number
  20327. freezemargin:
  20328. description: 期初均价
  20329. type: number
  20330. futupricemove:
  20331. description: 期货升贴水
  20332. type: number
  20333. futushow:
  20334. description: 期货合约/升贴水
  20335. type: string
  20336. goodscode:
  20337. description: 期货合约
  20338. type: string
  20339. goodsid:
  20340. description: 期货商品id
  20341. type: integer
  20342. goodsname:
  20343. description: 商品名称
  20344. type: string
  20345. haswr:
  20346. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20347. type: integer
  20348. isspecified:
  20349. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  20350. type: integer
  20351. ladingbillid:
  20352. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  20353. type: string
  20354. marginvalue:
  20355. description: 期初均价
  20356. type: number
  20357. marketid:
  20358. description: 市场ID
  20359. type: integer
  20360. matchusername:
  20361. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  20362. type: string
  20363. minivalue:
  20364. description: 现货商品最小变动值
  20365. type: integer
  20366. optioncompare:
  20367. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20368. type: string
  20369. orderqty:
  20370. description: 委托数量
  20371. type: number
  20372. ordertime:
  20373. description: 委托时间(挂牌时间)
  20374. type: string
  20375. performancetemplateid:
  20376. description: 履约模板id
  20377. type: integer
  20378. pricemove:
  20379. description: 升贴水(浮动价时填写) - [挂牌]
  20380. type: number
  20381. taname:
  20382. description: 交易用户名称(资金账号名称)
  20383. type: string
  20384. thumurls:
  20385. description: 缩略图
  20386. type: string
  20387. tradedate:
  20388. description: 交易日(yyyyMMdd)
  20389. type: string
  20390. tradeprice:
  20391. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  20392. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  20393. type: number
  20394. tradeqty:
  20395. description: 成交数量
  20396. type: number
  20397. unitid:
  20398. description: 现货商品单位ID
  20399. type: integer
  20400. userid:
  20401. description: 用户ID
  20402. type: integer
  20403. validtime:
  20404. description: 挂牌有效期
  20405. type: string
  20406. validtype:
  20407. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  20408. type: integer
  20409. warehouseid:
  20410. description: 仓库ID
  20411. type: integer
  20412. warehousename:
  20413. description: 仓库名称
  20414. type: string
  20415. wrfactortypeid:
  20416. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20417. type: string
  20418. wrfactortypename:
  20419. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20420. type: string
  20421. wrpricetype:
  20422. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  20423. type: integer
  20424. wrstandardcode:
  20425. description: 现货商品代码
  20426. type: string
  20427. wrstandardid:
  20428. description: 现货商品ID
  20429. type: integer
  20430. wrstandardname:
  20431. description: 商品名称
  20432. type: string
  20433. wrtradeorderid:
  20434. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20435. type: string
  20436. wrtradeorderstatus:
  20437. 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:撤单解冻贷款失败
  20438. type: integer
  20439. wrtradetype:
  20440. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  20441. type: integer
  20442. wrtypename:
  20443. description: 商品
  20444. type: string
  20445. type: object
  20446. models.WrOrderQuote:
  20447. properties:
  20448. bannerpicurl:
  20449. description: Banner图
  20450. type: string
  20451. buyprice:
  20452. description: 买价
  20453. type: number
  20454. buypricemove:
  20455. description: 买升贴水(基差)
  20456. type: number
  20457. buyqty:
  20458. description: 买量
  20459. type: number
  20460. deliverygoodscode:
  20461. description: 品种代码
  20462. type: string
  20463. deliverygoodsid:
  20464. description: 品种id
  20465. type: integer
  20466. deliverygoodsname:
  20467. description: 品种名称
  20468. type: string
  20469. deliverymonth:
  20470. description: 交收月
  20471. type: string
  20472. enumdicname:
  20473. description: 单位名称
  20474. type: string
  20475. goodscode:
  20476. description: 商品合约(浮动价列表才有)
  20477. type: string
  20478. goodsid:
  20479. description: 商品id(浮动价列表才有)
  20480. type: integer
  20481. minivalue:
  20482. description: 现货商品最小变动值
  20483. type: integer
  20484. pictureurls:
  20485. description: 详情图片(逗号分隔)
  20486. type: string
  20487. sellprice:
  20488. description: 卖价
  20489. type: number
  20490. sellpricemove:
  20491. description: 卖升贴水(基差)
  20492. type: number
  20493. sellqty:
  20494. description: 卖量
  20495. type: number
  20496. thumurls:
  20497. description: 缩略图片(1:1)(逗号分隔)
  20498. type: string
  20499. warehousecode:
  20500. description: 仓库代码
  20501. type: string
  20502. warehouseid:
  20503. description: 仓库id
  20504. type: integer
  20505. warehousename:
  20506. description: 仓库名称
  20507. type: string
  20508. wrfactortypeid:
  20509. description: 仓单要素id
  20510. type: string
  20511. wrfactortypename:
  20512. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20513. type: string
  20514. wrgoodsname:
  20515. description: 商品(商品名称+仓库要素名称 拼接)
  20516. type: string
  20517. wrstandardcode:
  20518. description: 商品代码
  20519. type: string
  20520. wrstandardid:
  20521. description: 商品id
  20522. type: integer
  20523. wrstandardname:
  20524. description: 商品名称
  20525. type: string
  20526. type: object
  20527. models.WrOrderQuoteDetail:
  20528. properties:
  20529. buyorsell:
  20530. description: 买卖 - 0:买 1:卖
  20531. type: integer
  20532. delistminqty:
  20533. description: 期初均价
  20534. type: number
  20535. deliverymonth:
  20536. description: 交收月
  20537. type: string
  20538. enumdicname:
  20539. description: 单位名称
  20540. type: string
  20541. fixedprice:
  20542. description: 买(卖)价
  20543. type: number
  20544. marketid:
  20545. description: 市场id
  20546. type: integer
  20547. minivalue:
  20548. description: 现货商品最小变动值
  20549. type: integer
  20550. orderqty:
  20551. description: 买(卖)量(=委托量-成交量)
  20552. type: number
  20553. ordertime:
  20554. description: 委托时间
  20555. type: string
  20556. pricemove:
  20557. description: 买(卖)升贴水- 基差
  20558. type: number
  20559. userid:
  20560. description: 购买方(销售方)用户ID
  20561. type: integer
  20562. username:
  20563. description: 购买方(销售方)
  20564. type: string
  20565. wrtradeorderid:
  20566. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20567. type: string
  20568. type: object
  20569. models.WrOutInApply:
  20570. properties:
  20571. address:
  20572. description: 详细地址
  20573. type: string
  20574. applyid:
  20575. description: 申请单id
  20576. type: string
  20577. applystatus:
  20578. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  20579. 8:已撤销
  20580. type: integer
  20581. applytime:
  20582. description: 申请时间
  20583. type: string
  20584. applytype:
  20585. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  20586. type: integer
  20587. appointmentmodel:
  20588. description: 预约方式 - 1:物流 2:自送 3:自提
  20589. type: integer
  20590. appointmentmodeldisplay:
  20591. description: 预约方式(显示枚举)
  20592. type: string
  20593. appointmentremark:
  20594. description: 申请备注
  20595. type: string
  20596. bannerpicurl:
  20597. description: Banner图
  20598. type: string
  20599. begindate:
  20600. description: 开始交易日(yyyymmdd)
  20601. type: string
  20602. contactname:
  20603. description: 联系人
  20604. type: string
  20605. contactnum:
  20606. description: 联系方式
  20607. type: string
  20608. deliverygoodscode:
  20609. description: 品种代码
  20610. type: string
  20611. deliverygoodsid:
  20612. description: 品种ID
  20613. type: integer
  20614. deliverygoodsname:
  20615. description: 品种名称
  20616. type: string
  20617. enddate:
  20618. description: 结束交易日(yyyymmdd)
  20619. type: string
  20620. enumdicname:
  20621. description: 单位名称
  20622. type: string
  20623. expresscompany:
  20624. description: 物流公司
  20625. type: string
  20626. expressnum:
  20627. description: 物流单号
  20628. type: string
  20629. minivalue:
  20630. description: 现货商品最小变动值
  20631. type: integer
  20632. optioncompare:
  20633. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20634. type: string
  20635. qty:
  20636. description: 数量
  20637. type: integer
  20638. userid:
  20639. description: 用户id
  20640. type: integer
  20641. warehouseid:
  20642. description: 仓库ID
  20643. type: integer
  20644. warehousename:
  20645. description: 仓库名称
  20646. type: string
  20647. wrfactortypeid:
  20648. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20649. type: string
  20650. wrfactortypename:
  20651. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20652. type: string
  20653. wrstandardcode:
  20654. description: 现货商品代码
  20655. type: string
  20656. wrstandardid:
  20657. description: 现货商品ID
  20658. type: integer
  20659. wrstandardname:
  20660. description: 商品名称
  20661. type: string
  20662. wrtypename:
  20663. description: 商品
  20664. type: string
  20665. type: object
  20666. models.WrPerformancePlan:
  20667. properties:
  20668. activatemonth:
  20669. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  20670. type: string
  20671. amount:
  20672. description: 履约金额(总金额)
  20673. type: number
  20674. begindate:
  20675. description: 开始交易日(yyyymmdd)
  20676. type: string
  20677. buyaccountid:
  20678. description: 买方账号
  20679. type: integer
  20680. buyerfreezeamount:
  20681. description: 履约冻结(买履约)
  20682. type: number
  20683. buyerfreezeamountremain:
  20684. description: 履约冻结剩余(买履约)
  20685. type: number
  20686. buyorsell:
  20687. description: 买卖方向 0-买 1-卖
  20688. type: integer
  20689. buypaidamount:
  20690. description: 买方已冻/已扣金额 (已付金额)
  20691. type: number
  20692. buyusername:
  20693. description: 买方名字
  20694. type: string
  20695. contractid:
  20696. description: 合同ID
  20697. type: integer
  20698. createtime:
  20699. description: 创建时间
  20700. type: string
  20701. creatorid:
  20702. description: 创建人
  20703. type: integer
  20704. curstepdeadline:
  20705. description: 当前步骤到期时间
  20706. type: string
  20707. curstepid:
  20708. description: 当前步骤ID
  20709. type: string
  20710. curstepname:
  20711. description: 当前步骤名称
  20712. type: string
  20713. deliverygoodscode:
  20714. description: 品种代码
  20715. type: string
  20716. deliverygoodsid:
  20717. description: 品种ID
  20718. type: integer
  20719. deliverygoodsname:
  20720. description: 品种名称
  20721. type: string
  20722. enddate:
  20723. description: 结束交易日(yyyymmdd)
  20724. type: string
  20725. enumdicname:
  20726. description: 单位名称
  20727. type: string
  20728. expressfee:
  20729. description: 运费
  20730. type: number
  20731. expressfeeconfirmed:
  20732. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  20733. type: integer
  20734. hasovershort:
  20735. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  20736. type: integer
  20737. haswr:
  20738. description: 类型 0-仓单预售 1-仓单贸易
  20739. type: integer
  20740. marketid:
  20741. description: 市场ID
  20742. type: integer
  20743. middleaccountid:
  20744. description: 中间商资金账号ID
  20745. type: integer
  20746. middleuserid:
  20747. description: 中间商用户ID
  20748. type: integer
  20749. minivalue:
  20750. description: 现货商品最小变动值
  20751. type: integer
  20752. optioncompare:
  20753. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20754. type: string
  20755. overshortamount:
  20756. description: 溢短金额
  20757. type: number
  20758. overshortqty:
  20759. description: 溢短数量
  20760. type: number
  20761. paymenttype:
  20762. description: 付款方式 - 1:冻结 2:扣款
  20763. type: integer
  20764. performanceplanid:
  20765. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  20766. type: string
  20767. performancestatus:
  20768. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  20769. 9:超时待处理 10:超时关闭
  20770. type: integer
  20771. performancetype:
  20772. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  20773. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  20774. type: integer
  20775. qty:
  20776. description: 履约数量
  20777. type: number
  20778. relatedorderid:
  20779. description: 关联单号(履约类型的关联单号)
  20780. type: string
  20781. remark:
  20782. description: 备注
  20783. type: string
  20784. sellaccountid:
  20785. description: 卖方账号
  20786. type: integer
  20787. sellerfreezeamount:
  20788. description: 履约冻结(卖履约)
  20789. type: number
  20790. sellerfreezeamountremain:
  20791. description: 履约冻结剩余(卖履约)
  20792. type: number
  20793. sellreceivedamount:
  20794. description: 卖方已收金额
  20795. type: number
  20796. sellusername:
  20797. description: 卖方名字
  20798. type: string
  20799. shipremark:
  20800. description: 发货备注[物流单号]
  20801. type: string
  20802. starttime:
  20803. description: 开始时间
  20804. type: string
  20805. steptypeid:
  20806. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  20807. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  20808. type: integer
  20809. typename:
  20810. description: 履约类型 名称
  20811. type: string
  20812. unpaidamount:
  20813. description: 期初均价
  20814. type: number
  20815. userid:
  20816. description: 用户id
  20817. type: integer
  20818. warehouseid:
  20819. description: 仓库ID
  20820. type: integer
  20821. warehousename:
  20822. description: 仓库名称
  20823. type: string
  20824. wrfactortypeid:
  20825. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20826. type: string
  20827. wrfactortypename:
  20828. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20829. type: string
  20830. wrstandardcode:
  20831. description: 现货商品代码
  20832. type: string
  20833. wrstandardid:
  20834. description: 现货商品ID
  20835. type: integer
  20836. wrstandardname:
  20837. description: 商品名称
  20838. type: string
  20839. wrtransferuserid:
  20840. description: 仓单受让用户
  20841. type: integer
  20842. wrtypename:
  20843. description: 商品
  20844. type: string
  20845. required:
  20846. - userid
  20847. type: object
  20848. models.WrPerformancePlanStep:
  20849. properties:
  20850. delaydays:
  20851. description: 延期申请天数
  20852. type: integer
  20853. deliverygoodscode:
  20854. description: 品种代码
  20855. type: string
  20856. deliverygoodsid:
  20857. description: 品种ID
  20858. type: integer
  20859. deliverygoodsname:
  20860. description: 品种名称
  20861. type: string
  20862. endtime:
  20863. description: 结束日期
  20864. type: string
  20865. enumdicname:
  20866. description: 单位名称
  20867. type: string
  20868. executeside:
  20869. description: 步骤执行方 - 1:买方 2:卖方
  20870. type: integer
  20871. handlestatus:
  20872. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  20873. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  20874. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  20875. type: integer
  20876. isauto:
  20877. description: 是否自动 - 0:不自动 1:自动
  20878. type: integer
  20879. islastreceivestep:
  20880. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  20881. type: integer
  20882. minivalue:
  20883. description: 现货商品最小变动值
  20884. type: integer
  20885. optioncompare:
  20886. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20887. type: string
  20888. overdays:
  20889. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  20890. type: integer
  20891. performancestepid:
  20892. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  20893. type: string
  20894. planid:
  20895. description: 所属履约计划ID
  20896. type: string
  20897. realamount:
  20898. description: 实际完成金额
  20899. type: number
  20900. relatedorderid:
  20901. description: 关联单号
  20902. type: string
  20903. remaindays:
  20904. description: 剩余天数
  20905. type: integer
  20906. remark:
  20907. description: 错误备注
  20908. type: string
  20909. starttime:
  20910. description: 开始日期
  20911. type: string
  20912. stepamount:
  20913. description: 步骤金额
  20914. type: number
  20915. stepdays:
  20916. description: 距离上一步天数(分钟)
  20917. type: integer
  20918. stepindex:
  20919. description: 步骤序号
  20920. type: integer
  20921. steplanchtype:
  20922. description: 步骤启动类型 - 1:系统自动 2:手动
  20923. type: integer
  20924. stepremark:
  20925. description: 步骤备注
  20926. type: string
  20927. stepstatus:
  20928. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  20929. type: integer
  20930. steptypeid:
  20931. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  20932. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  20933. type: integer
  20934. steptypename:
  20935. description: 步骤名称
  20936. type: string
  20937. stepvalue:
  20938. description: 步骤值
  20939. type: number
  20940. warehouseid:
  20941. description: 仓库ID
  20942. type: integer
  20943. warehousename:
  20944. description: 仓库名称
  20945. type: string
  20946. wrfactortypeid:
  20947. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20948. type: string
  20949. wrfactortypename:
  20950. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20951. type: string
  20952. wrstandardcode:
  20953. description: 现货商品代码
  20954. type: string
  20955. wrstandardid:
  20956. description: 现货商品ID
  20957. type: integer
  20958. wrstandardname:
  20959. description: 商品名称
  20960. type: string
  20961. wrtypename:
  20962. description: 商品
  20963. type: string
  20964. type: object
  20965. models.WrPerformanceStepType:
  20966. properties:
  20967. canauto:
  20968. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  20969. type: integer
  20970. steptypeid:
  20971. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  20972. type: integer
  20973. steptypename:
  20974. description: 步骤类型名称
  20975. type: string
  20976. type: object
  20977. models.WrPerformanceTemplateEx:
  20978. properties:
  20979. autoid:
  20980. description: AutoID 模板id
  20981. type: integer
  20982. createtime:
  20983. description: 创建时间
  20984. type: string
  20985. creatorid:
  20986. description: 创建人
  20987. type: integer
  20988. lstStep:
  20989. description: 步骤信息列表
  20990. items:
  20991. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  20992. type: array
  20993. paymenttype:
  20994. description: 支付方式 - 1:冻结 2:扣款
  20995. type: integer
  20996. takemode:
  20997. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  20998. type: integer
  20999. templatename:
  21000. description: 模板名称
  21001. type: string
  21002. templatetype:
  21003. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  21004. (无仓单) 5:挂牌期权 6:竞拍-降价式
  21005. type: integer
  21006. userid:
  21007. description: 所属用户
  21008. type: integer
  21009. type: object
  21010. models.WrPosition:
  21011. properties:
  21012. accountid:
  21013. description: 帐户ID
  21014. type: integer
  21015. buyexcuteqty:
  21016. description: 采购履约中数量
  21017. type: number
  21018. creditcurqty:
  21019. description: 授信当前数量(预售仓单:预售当前量)
  21020. type: number
  21021. creditenableqty:
  21022. description: '授信可用数量(预售仓单: 可用数量)'
  21023. type: number
  21024. creditfreezeqty:
  21025. description: '授信冻结数量(预售仓单: 当前数量)'
  21026. type: number
  21027. credittotalqty:
  21028. description: 授信总数量(预售仓单:预售总量)
  21029. type: number
  21030. credittradeqty:
  21031. description: 授信成交数量(预售仓单:成交总量)
  21032. type: number
  21033. deliverygoodscode:
  21034. description: 品种代码
  21035. type: string
  21036. deliverygoodsid:
  21037. description: 品种ID
  21038. type: integer
  21039. deliverygoodsname:
  21040. description: 品种名称
  21041. type: string
  21042. enalbeqty:
  21043. description: 可用数量
  21044. type: number
  21045. enumdicname:
  21046. description: 单位名称
  21047. type: string
  21048. freezeqty:
  21049. description: 总冻结数量
  21050. type: number
  21051. haswr:
  21052. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  21053. type: integer
  21054. minivalue:
  21055. description: 现货商品最小变动值
  21056. type: integer
  21057. modifytime:
  21058. description: 修改时间(过户时间)
  21059. type: string
  21060. optioncompare:
  21061. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21062. type: string
  21063. pledgeqty:
  21064. description: 质押数量
  21065. type: number
  21066. querytype:
  21067. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  21068. type: integer
  21069. sellexcuteqty:
  21070. description: 销售履约中数量
  21071. type: number
  21072. totalqty:
  21073. description: 总数量(库存数量)
  21074. type: number
  21075. warehouseid:
  21076. description: 仓库ID
  21077. type: integer
  21078. warehousename:
  21079. description: 仓库名称
  21080. type: string
  21081. wrfactortypeid:
  21082. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21083. type: string
  21084. wrfactortypename:
  21085. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21086. type: string
  21087. wrpositionid:
  21088. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  21089. type: string
  21090. wrpositionno:
  21091. description: 仓单编号
  21092. type: string
  21093. wrstandardcode:
  21094. description: 现货商品代码
  21095. type: string
  21096. wrstandardid:
  21097. description: 现货商品ID
  21098. type: integer
  21099. wrstandardname:
  21100. description: 商品名称
  21101. type: string
  21102. wrtypename:
  21103. description: 商品
  21104. type: string
  21105. wruserid:
  21106. description: 持有人ID
  21107. type: integer
  21108. type: object
  21109. models.WrPreSaleInfo:
  21110. properties:
  21111. bannerpicurl:
  21112. description: Banner图
  21113. type: string
  21114. baseqty:
  21115. description: 中签基数
  21116. type: number
  21117. createtime:
  21118. description: 创建时间
  21119. type: string
  21120. deliverygoodsid:
  21121. description: 现货品种ID
  21122. type: integer
  21123. enddate:
  21124. description: 预售结束日期
  21125. type: string
  21126. enumdicname:
  21127. description: 单位名称
  21128. type: string
  21129. lotteryflag:
  21130. description: 摇号标识 - 0:未摇号 1:已摇号
  21131. type: integer
  21132. lotteryqty:
  21133. description: 摇号总量
  21134. type: number
  21135. luckyqty:
  21136. description: 已中签量
  21137. type: number
  21138. marketid:
  21139. description: 市场ID
  21140. type: integer
  21141. maxbuyqty:
  21142. description: 单人最大申购量
  21143. type: number
  21144. maxluckyqty:
  21145. description: 单人最大中签量
  21146. type: number
  21147. pictureurls:
  21148. description: 详情图片(逗号分隔)
  21149. type: string
  21150. placeqty:
  21151. description: 已配售量
  21152. type: number
  21153. presaleapplyid:
  21154. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  21155. example: "0"
  21156. type: string
  21157. presaleqty:
  21158. description: 预售总量
  21159. type: number
  21160. presalestatus:
  21161. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  21162. type: integer
  21163. sellaccountid:
  21164. description: 发行方资金账户ID
  21165. type: integer
  21166. selluserid:
  21167. description: 发行方用户ID
  21168. type: integer
  21169. sellwrtradeorderid:
  21170. description: 发行方卖委托单ID
  21171. type: string
  21172. startdate:
  21173. description: 预售开始日期
  21174. type: string
  21175. takestartdate:
  21176. description: 提货开始日期
  21177. type: string
  21178. thumurls:
  21179. description: 缩略图片(1:1)(逗号分隔)
  21180. type: string
  21181. tradedate:
  21182. description: 交易日
  21183. type: string
  21184. unitid:
  21185. description: 单位ID
  21186. type: integer
  21187. unitprice:
  21188. description: 商品单价
  21189. type: number
  21190. username:
  21191. description: 发行方用户名称
  21192. type: string
  21193. warehousecode:
  21194. description: 仓库代码(仓库简称)
  21195. type: string
  21196. warehouseid:
  21197. description: 仓库ID
  21198. type: integer
  21199. warehousename:
  21200. description: 仓库名称
  21201. type: string
  21202. wrfactortypeid:
  21203. description: 仓单要素类型ID - 根据现货商品\仓库生成
  21204. example: "0"
  21205. type: string
  21206. wrstandardid:
  21207. description: 现货商品ID
  21208. type: integer
  21209. wrstandardname:
  21210. description: 现货商品名称
  21211. type: string
  21212. type: object
  21213. models.WrQuoteOrderMyq:
  21214. properties:
  21215. buyorsell:
  21216. description: 买卖 - 0:买 1:卖
  21217. type: integer
  21218. canbargain:
  21219. description: 是否可议价 - 0:不可 1:可
  21220. type: integer
  21221. canpart:
  21222. description: 是否允许部份摘牌 - 0:不允许 1:允许
  21223. type: integer
  21224. delistminqty:
  21225. description: 期初均价
  21226. type: number
  21227. deliverygoodscode:
  21228. description: 品种代码
  21229. type: string
  21230. deliverygoodsid:
  21231. description: 品种ID
  21232. type: integer
  21233. deliverygoodsname:
  21234. description: 品种名称
  21235. type: string
  21236. deliverymonth:
  21237. description: 交收月
  21238. type: string
  21239. enumdicname:
  21240. description: 单位名称
  21241. type: string
  21242. fixedprice:
  21243. description: 买(卖)价
  21244. type: number
  21245. goodscode:
  21246. description: 商品合约代码
  21247. type: string
  21248. marginflag:
  21249. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  21250. type: integer
  21251. marginvalue:
  21252. description: 保证金设置值
  21253. type: number
  21254. minivalue:
  21255. description: 现货商品最小变动值
  21256. type: integer
  21257. orderqty:
  21258. description: 买(卖)量(=委托量-成交量)
  21259. type: number
  21260. ordertime:
  21261. description: 委托时间
  21262. type: string
  21263. performancetemplateid:
  21264. description: 履约模板id
  21265. type: integer
  21266. pricemove:
  21267. description: 买(卖)升贴水- 基差
  21268. type: number
  21269. templatename:
  21270. description: 履约模板名称
  21271. type: string
  21272. userid:
  21273. description: 购买方(销售方)用户ID
  21274. type: integer
  21275. username:
  21276. description: 购买方(销售方)
  21277. type: string
  21278. validtime:
  21279. description: 有效期限
  21280. type: string
  21281. validtype:
  21282. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  21283. type: integer
  21284. warehousename:
  21285. description: 仓库名称
  21286. type: string
  21287. wrfactortypeid:
  21288. description: 仓单要素id
  21289. type: string
  21290. wrstandardcode:
  21291. description: 现货商品代码
  21292. type: string
  21293. wrstandardid:
  21294. description: 现货商品ID
  21295. type: integer
  21296. wrstandardname:
  21297. description: 商品名称
  21298. type: string
  21299. wrtradeorderid:
  21300. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  21301. type: string
  21302. wrtypename:
  21303. description: 商品
  21304. type: string
  21305. type: object
  21306. models.WrReckonSpotGoodsTradeSum:
  21307. properties:
  21308. begindate:
  21309. description: 开始日期(结果含开始日期) yyyymmdd
  21310. type: string
  21311. enddate:
  21312. description: 结束日期(结果含结束日期) yyyymmdd
  21313. type: string
  21314. istoday:
  21315. description: 是否当日
  21316. type: boolean
  21317. marketid:
  21318. description: 市场ID
  21319. type: integer
  21320. price:
  21321. description: 价格 = 日成交金额 / 日成交数量
  21322. type: string
  21323. reckondate:
  21324. description: 日期 格式 yyyymmdd
  21325. type: string
  21326. tradeamount:
  21327. description: 期初均价
  21328. type: number
  21329. tradeqty:
  21330. description: 期初均价
  21331. type: number
  21332. wrstandardid:
  21333. description: 现货商品ID
  21334. type: integer
  21335. type: object
  21336. models.WrScfContract:
  21337. properties:
  21338. borroweruserid:
  21339. description: 借款用户ID
  21340. type: integer
  21341. buybackwrpositionqty:
  21342. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  21343. type: number
  21344. closeinterest:
  21345. description: 已结利息 -> 已结费用
  21346. type: number
  21347. currisklevel:
  21348. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  21349. type: integer
  21350. deadline:
  21351. description: 截止日期(yyyyMMdd) -> 借款到期时间
  21352. type: string
  21353. deliverygoodscode:
  21354. description: 品种代码
  21355. type: string
  21356. deliverygoodsid:
  21357. description: 品种ID
  21358. type: integer
  21359. deliverygoodsname:
  21360. description: 品种名称
  21361. type: string
  21362. enumdicname:
  21363. description: 单位名称
  21364. type: string
  21365. financingdays:
  21366. description: 天数(天)
  21367. type: integer
  21368. initmargin:
  21369. description: 保证金 - [仓单回购]
  21370. type: number
  21371. interestamount:
  21372. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  21373. type: number
  21374. interestdebt:
  21375. description: 利息欠款(记录负数) -> 费用欠款
  21376. type: number
  21377. interestminlen:
  21378. description: 最小起息天数
  21379. type: integer
  21380. interestrate:
  21381. description: 利率
  21382. type: number
  21383. interestratemode:
  21384. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  21385. type: integer
  21386. interestsettlemode:
  21387. description: 结息方式 - 1:按日结息 3:按月结息
  21388. type: integer
  21389. interestsettlevalue:
  21390. description: 结息方式值
  21391. type: integer
  21392. isautoloan:
  21393. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  21394. type: integer
  21395. lastcloseinterestday:
  21396. description: 最近结息日(yyyyMMdd)
  21397. type: string
  21398. lenderamount:
  21399. description: 贷款金额 -> 借款金额
  21400. type: number
  21401. lenderuserid:
  21402. description: 贷款方用户ID -> 融出方用户ID
  21403. type: integer
  21404. lenderusername:
  21405. description: 融出方
  21406. type: string
  21407. marginratio:
  21408. description: 保证金比率质押率 - [仓单质押]
  21409. type: number
  21410. marketid:
  21411. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  21412. type: integer
  21413. minivalue:
  21414. description: 现货商品最小变动值
  21415. type: integer
  21416. optioncompare:
  21417. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21418. type: string
  21419. pricemove:
  21420. description: 估值升贴水值
  21421. type: number
  21422. productdetailid:
  21423. description: 产品组合ID
  21424. type: integer
  21425. productid:
  21426. description: 金融产品ID
  21427. type: integer
  21428. productname:
  21429. description: 产品名称
  21430. type: string
  21431. remainamount:
  21432. description: 合同剩余金额 -> 剩余金额
  21433. type: number
  21434. remainwrpositionqty:
  21435. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  21436. type: number
  21437. remark:
  21438. description: 备注
  21439. type: string
  21440. scfcontractid:
  21441. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  21442. type: string
  21443. scfcontractstatus:
  21444. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  21445. 9:违约结束 10:已注销 11:已关闭 99:未提交
  21446. type: integer
  21447. scfcontracttype:
  21448. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  21449. type: integer
  21450. startinterestday:
  21451. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  21452. type: string
  21453. totalinterest:
  21454. description: 已计利息 -> 已计费用
  21455. type: number
  21456. unpaidinterest:
  21457. description: 期初均价
  21458. type: number
  21459. updatetime:
  21460. description: 更新时间
  21461. type: string
  21462. warehouseid:
  21463. description: 仓库ID
  21464. type: integer
  21465. warehousename:
  21466. description: 仓库名称
  21467. type: string
  21468. wrfactortypeid:
  21469. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21470. type: string
  21471. wrfactortypename:
  21472. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21473. type: string
  21474. wrqty:
  21475. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  21476. type: number
  21477. wrstandardcode:
  21478. description: 现货商品代码
  21479. type: string
  21480. wrstandardid:
  21481. description: 现货商品ID
  21482. type: integer
  21483. wrstandardname:
  21484. description: 商品名称
  21485. type: string
  21486. wrtypename:
  21487. description: 商品
  21488. type: string
  21489. type: object
  21490. models.WrScfContractInterest:
  21491. properties:
  21492. closeinterest:
  21493. description: 已结利息
  21494. type: number
  21495. closeintereststatus:
  21496. description: 结息状态 - 1:未结 2:已结
  21497. type: integer
  21498. closetime:
  21499. description: 结息时间
  21500. type: string
  21501. closetradedate:
  21502. description: 结息交易日
  21503. type: string
  21504. creatorid:
  21505. description: 操作人ID
  21506. type: integer
  21507. dayrate:
  21508. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  21509. type: number
  21510. interest:
  21511. description: 利息
  21512. type: number
  21513. interestamount:
  21514. description: 计息金额
  21515. type: number
  21516. interestday:
  21517. description: 计息日(yyyyMMdd)
  21518. type: string
  21519. scfcontractid:
  21520. description: SCF合同ID
  21521. type: string
  21522. scfcontractinterestid:
  21523. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  21524. type: integer
  21525. updatetime:
  21526. description: 更新时间
  21527. type: string
  21528. type: object
  21529. models.WrSearchUser:
  21530. properties:
  21531. userid:
  21532. description: 用户ID
  21533. type: integer
  21534. username:
  21535. description: 用户名称(已脱敏)
  21536. type: string
  21537. username2:
  21538. description: 用户名称(未脱敏)
  21539. type: string
  21540. usertype:
  21541. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  21542. type: integer
  21543. required:
  21544. - username
  21545. type: object
  21546. models.WrSiteColumnDetail:
  21547. properties:
  21548. author:
  21549. description: 作者
  21550. type: string
  21551. brief:
  21552. description: 简介
  21553. type: string
  21554. context:
  21555. description: 内容
  21556. type: string
  21557. coverimage:
  21558. description: 封面图片
  21559. type: string
  21560. creaedate:
  21561. description: 创建时间
  21562. type: string
  21563. id:
  21564. description: ID(SEQ_SITE_COLUMNDETAIL)
  21565. type: integer
  21566. istop:
  21567. description: 是否置顶 - 0:不置 1:置顶
  21568. type: integer
  21569. publishdate:
  21570. description: 发布日期
  21571. type: string
  21572. title:
  21573. description: 标题
  21574. type: string
  21575. updatedate:
  21576. description: 修改时间
  21577. type: string
  21578. type: object
  21579. models.WrSpecialMatchOrder:
  21580. properties:
  21581. amount:
  21582. description: 金额 = 数量 * 价格
  21583. type: number
  21584. buyorsell:
  21585. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  21586. type: integer
  21587. cancelqty:
  21588. description: 撤销数量
  21589. type: number
  21590. deliverygoodscode:
  21591. description: 品种代码
  21592. type: string
  21593. deliverygoodsid:
  21594. description: 品种ID
  21595. type: integer
  21596. deliverygoodsname:
  21597. description: 品种名称
  21598. type: string
  21599. enumdicname:
  21600. description: 单位名称
  21601. type: string
  21602. fixedprice:
  21603. description: 固定价格(价格)
  21604. type: number
  21605. haswr:
  21606. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  21607. type: integer
  21608. isspecified:
  21609. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  21610. type: integer
  21611. marketid:
  21612. description: 市场ID
  21613. type: integer
  21614. matchuserid:
  21615. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  21616. type: integer
  21617. matchusername:
  21618. description: 指定方
  21619. type: string
  21620. minivalue:
  21621. description: 现货商品最小变动值
  21622. type: integer
  21623. optioncompare:
  21624. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21625. type: string
  21626. orderqty:
  21627. description: 委托数量
  21628. type: number
  21629. ordertime:
  21630. description: 委托时间
  21631. type: string
  21632. pricemove:
  21633. description: 升贴水(浮动价时填写) - [挂牌]
  21634. type: number
  21635. tradedate:
  21636. description: 交易日(yyyyMMdd)
  21637. type: string
  21638. tradeprice:
  21639. description: 成交价格
  21640. type: number
  21641. tradeqty:
  21642. description: 成交数量
  21643. type: number
  21644. userid:
  21645. description: 用户ID
  21646. type: integer
  21647. username:
  21648. description: 发起方
  21649. type: string
  21650. warehouseid:
  21651. description: 仓库ID
  21652. type: integer
  21653. warehousename:
  21654. description: 仓库名称
  21655. type: string
  21656. wrfactortypeid:
  21657. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21658. type: string
  21659. wrfactortypename:
  21660. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21661. type: string
  21662. wrpricetype:
  21663. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  21664. type: integer
  21665. wrstandardcode:
  21666. description: 现货商品代码
  21667. type: string
  21668. wrstandardid:
  21669. description: 现货商品ID
  21670. type: integer
  21671. wrstandardname:
  21672. description: 商品名称
  21673. type: string
  21674. wrtradeorderid:
  21675. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  21676. type: string
  21677. wrtradeorderstatus:
  21678. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  21679. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  21680. type: integer
  21681. wrtradetype:
  21682. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  21683. type: integer
  21684. wrtypename:
  21685. description: 商品
  21686. type: string
  21687. type: object
  21688. models.WrSpotGroupTradeSum:
  21689. properties:
  21690. deliverygoodscode:
  21691. description: 现货品种代码
  21692. type: string
  21693. deliverygoodsid:
  21694. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21695. type: integer
  21696. deliverygoodsname:
  21697. description: 现货品种名称
  21698. type: string
  21699. lastavgprice:
  21700. description: 上上个交易日价格(前2天价格)
  21701. type: string
  21702. lastreckondate:
  21703. description: 上上个交易日(前2天交易日)
  21704. type: string
  21705. reckondate:
  21706. description: 上个交易日(前1天交易日)
  21707. type: string
  21708. todayavgprice:
  21709. description: 上个交易日价格(前1天价格)
  21710. type: string
  21711. updown:
  21712. description: 涨跌
  21713. type: string
  21714. updownratio:
  21715. description: 涨幅(已格式化, 直接显示即可)
  21716. type: string
  21717. type: object
  21718. models.WrSpotGroupTradeSumDetail:
  21719. properties:
  21720. deliverygoodsid:
  21721. description: 现货商品id
  21722. type: integer
  21723. price:
  21724. description: 价格
  21725. type: number
  21726. reckondate:
  21727. description: 日期(yyymmdd, 如:20211031)
  21728. type: string
  21729. type: object
  21730. models.WrSpotGroupTradeSumEx:
  21731. properties:
  21732. lst:
  21733. description: 指数列表
  21734. items:
  21735. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  21736. type: array
  21737. prereckondate:
  21738. description: 上上个交易日(yyymmdd)
  21739. type: string
  21740. reckondate:
  21741. description: 上个交易日(yyyymmdd)
  21742. type: string
  21743. type: object
  21744. models.WrStandardFactoryItem:
  21745. properties:
  21746. dgfactoryitemid:
  21747. description: 选择项id
  21748. type: integer
  21749. dgfactoryitemvalue:
  21750. description: 要素项值
  21751. type: string
  21752. warehouseid:
  21753. description: 仓库id
  21754. type: integer
  21755. type: object
  21756. models.WrStandardFactoryItemEx:
  21757. properties:
  21758. dgfactoryitemtypeid:
  21759. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  21760. type: integer
  21761. itemlst:
  21762. description: 要素项列表
  21763. items:
  21764. $ref: '#/definitions/models.WrStandardFactoryItem'
  21765. type: array
  21766. itemtypename:
  21767. description: 要素项类型名称
  21768. type: string
  21769. wrstandardid:
  21770. description: 品类
  21771. type: integer
  21772. type: object
  21773. models.WrTradeDetail:
  21774. properties:
  21775. accountid:
  21776. description: 资金账号
  21777. type: integer
  21778. bannerpicurl:
  21779. description: Banner图
  21780. type: string
  21781. begindate:
  21782. description: 开始交易日(yyyymmdd)
  21783. type: string
  21784. buyorsell:
  21785. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  21786. type: integer
  21787. chargevalue:
  21788. description: 手续费
  21789. type: number
  21790. deliverygoodscode:
  21791. description: 品种代码
  21792. type: string
  21793. deliverygoodsid:
  21794. description: 品种ID
  21795. type: integer
  21796. deliverygoodsname:
  21797. description: 品种名称
  21798. type: string
  21799. deliverymonth:
  21800. description: 交收月
  21801. type: string
  21802. enddate:
  21803. description: 结束交易日(yyyymmdd)
  21804. type: string
  21805. enumdicname:
  21806. description: 单位名称
  21807. type: string
  21808. haswr:
  21809. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  21810. type: integer
  21811. marketid:
  21812. description: 市场ID
  21813. type: integer
  21814. matchaccountid:
  21815. description: 对手账号
  21816. type: integer
  21817. matchusername:
  21818. description: 对手方
  21819. type: string
  21820. minivalue:
  21821. description: 现货商品最小变动值
  21822. type: integer
  21823. optioncompare:
  21824. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21825. type: string
  21826. thumurls:
  21827. description: 缩略图
  21828. type: string
  21829. tradedate:
  21830. description: 交易日(yyyyMMdd)
  21831. type: string
  21832. tradeprice:
  21833. description: 成交价格
  21834. type: number
  21835. tradeqty:
  21836. description: 成交数量
  21837. type: number
  21838. tradetime:
  21839. description: 成交时间
  21840. type: string
  21841. unitid:
  21842. description: 现货商品单位ID
  21843. type: integer
  21844. userid:
  21845. description: 用户ID
  21846. type: integer
  21847. warehouseid:
  21848. description: 仓库ID
  21849. type: integer
  21850. warehousename:
  21851. description: 仓库名称
  21852. type: string
  21853. wrfactortypeid:
  21854. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21855. type: string
  21856. wrfactortypename:
  21857. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21858. type: string
  21859. wrstandardcode:
  21860. description: 现货商品代码
  21861. type: string
  21862. wrstandardid:
  21863. description: 现货商品ID
  21864. type: integer
  21865. wrstandardname:
  21866. description: 商品名称
  21867. type: string
  21868. wrtradedetailid:
  21869. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  21870. type: string
  21871. wrtradetype:
  21872. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  21873. type: integer
  21874. wrtypename:
  21875. description: 商品
  21876. type: string
  21877. type: object
  21878. models.WrTradeOrderDetail:
  21879. properties:
  21880. buyorsell:
  21881. description: 买卖方向 0-买 1-卖
  21882. type: integer
  21883. goodsid:
  21884. description: 商品id
  21885. type: integer
  21886. orderid:
  21887. description: 委托单号
  21888. type: string
  21889. orderprice:
  21890. description: 期初均价
  21891. type: number
  21892. orderqty:
  21893. description: 委托数量
  21894. type: integer
  21895. userid:
  21896. description: 用户id
  21897. type: integer
  21898. username:
  21899. description: 用户名称(已脱敏)
  21900. type: string
  21901. type: object
  21902. models.WrTypeItem:
  21903. properties:
  21904. name:
  21905. description: 名称
  21906. type: string
  21907. value:
  21908. description: 值
  21909. type: string
  21910. type: object
  21911. models.WrUserFriend:
  21912. properties:
  21913. friendname:
  21914. description: 朋友名称(已脱敏)
  21915. type: string
  21916. frienduserid:
  21917. description: 朋友id
  21918. type: integer
  21919. isfriend:
  21920. description: 是否好友 0-不是 1-是
  21921. type: integer
  21922. userid:
  21923. description: 用户id
  21924. type: integer
  21925. type: object
  21926. models.WrUserReceiptInfo:
  21927. properties:
  21928. address:
  21929. description: 地址[发票类型:企业]
  21930. type: string
  21931. autoid:
  21932. description: AutoID
  21933. type: integer
  21934. contactinfo:
  21935. description: 联系方式
  21936. type: string
  21937. email:
  21938. description: 收件邮箱
  21939. type: string
  21940. idnum:
  21941. description: 身份证号码[发票类型:个人]
  21942. type: string
  21943. isdefault:
  21944. description: 是否默认地址 - 0:否 1:是
  21945. type: integer
  21946. receiptaccount:
  21947. description: 发票帐号[发票类型:企业]
  21948. type: string
  21949. receiptbank:
  21950. description: 发票开户行[发票类型:企业]
  21951. type: string
  21952. receipttype:
  21953. description: 发票类型 - 1:个人 2:企业
  21954. type: integer
  21955. taxpayerid:
  21956. description: 纳税人识别号
  21957. type: string
  21958. userid:
  21959. description: 用户ID
  21960. type: integer
  21961. username:
  21962. description: 户名(个人姓名或企业名称)
  21963. type: string
  21964. type: object
  21965. models.Wrtradetradequote:
  21966. properties:
  21967. buyaccountid:
  21968. description: 买方账号ID
  21969. type: integer
  21970. buychargevalue:
  21971. description: 买方手续费
  21972. type: number
  21973. buyuserid:
  21974. description: 买方用户ID
  21975. type: integer
  21976. deliverygoodsid:
  21977. description: 现货品种ID
  21978. type: integer
  21979. exchangerate:
  21980. description: 汇率
  21981. type: number
  21982. marketid:
  21983. description: 市场ID
  21984. type: integer
  21985. oritradeamount:
  21986. description: 成交金额[商品币种]
  21987. type: number
  21988. performanceplanid:
  21989. description: 履约计划ID/合同ID
  21990. type: integer
  21991. sellaccountid:
  21992. description: 卖方账号ID
  21993. type: integer
  21994. sellchargevalue:
  21995. description: 卖方手续费
  21996. type: number
  21997. selluserid:
  21998. description: 卖方用户ID
  21999. type: integer
  22000. tradeamount:
  22001. description: 成交金额
  22002. type: number
  22003. tradedate:
  22004. description: 交易日(yyyyMMdd)
  22005. type: string
  22006. tradeprice:
  22007. description: 成交价格
  22008. type: number
  22009. tradeqty:
  22010. description: 成交数量
  22011. type: integer
  22012. tradetime:
  22013. description: 成交时间
  22014. type: string
  22015. wrfactortypeid:
  22016. description: 仓单要素类型ID
  22017. type: integer
  22018. wrstandardid:
  22019. description: 现货商品ID
  22020. type: integer
  22021. wrtradedetailid:
  22022. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  22023. type: integer
  22024. type: object
  22025. models.XHBRAND:
  22026. properties:
  22027. brandid:
  22028. description: 品牌id
  22029. type: integer
  22030. brandname:
  22031. description: 品牌名称
  22032. type: string
  22033. isvalid:
  22034. description: 是否有效 0-无效 1-有效
  22035. type: integer
  22036. type: object
  22037. models.XHDeliveryGoods:
  22038. properties:
  22039. areauserid:
  22040. description: 所属机构
  22041. type: integer
  22042. bdlst:
  22043. description: 品牌列表
  22044. items:
  22045. $ref: '#/definitions/models.XHBRAND'
  22046. type: array
  22047. deliverygoodscode:
  22048. description: 现货品种代码
  22049. type: string
  22050. deliverygoodsid:
  22051. description: 现货品种ID(SEQ_DELIVERYGOODS)
  22052. type: integer
  22053. deliverygoodsname:
  22054. description: 现货品种名称
  22055. type: string
  22056. dgstatus:
  22057. description: 品种状态 - 作废 - 0:未激活 1:正常
  22058. type: integer
  22059. filterSubEmpty:
  22060. description: 过滤下级为空的
  22061. type: integer
  22062. isvalid:
  22063. description: 是否有效 - 0:无效 1:有效
  22064. type: integer
  22065. remark:
  22066. description: 备注
  22067. type: string
  22068. unitid:
  22069. description: 单位id(目前看,数据库中是空值)
  22070. type: integer
  22071. wdlst:
  22072. description: 品类(现货商品)列表
  22073. items:
  22074. $ref: '#/definitions/models.XHWrstandard'
  22075. type: array
  22076. type: object
  22077. models.XHMiddleGoods:
  22078. properties:
  22079. GPLST:
  22080. description: 期货品种列表
  22081. items:
  22082. $ref: '#/definitions/models.TBGoodsGroup'
  22083. type: array
  22084. convertratio:
  22085. description: 拆算系数
  22086. type: number
  22087. costratio:
  22088. description: 成本权重
  22089. type: number
  22090. deliverygoodsid:
  22091. description: 现货商品id
  22092. type: integer
  22093. enumdicname:
  22094. description: 单位名称
  22095. type: string
  22096. middlegoodscode:
  22097. description: 套保品种代码
  22098. type: string
  22099. middlegoodsid:
  22100. description: 套保品种id
  22101. type: integer
  22102. middlegoodsname:
  22103. description: 套保品种名称
  22104. type: string
  22105. unitid:
  22106. description: 单位id
  22107. type: integer
  22108. type: object
  22109. models.XHWrstandard:
  22110. properties:
  22111. bannerpicurl:
  22112. description: banner图
  22113. type: string
  22114. deliverygoodsid:
  22115. description: 品种ID
  22116. type: integer
  22117. enumdicname:
  22118. description: 单位名称
  22119. type: string
  22120. mglst:
  22121. description: 套保品列表
  22122. items:
  22123. $ref: '#/definitions/models.XHMiddleGoods'
  22124. type: array
  22125. pictureurls:
  22126. description: 详情图片(逗号分隔)
  22127. type: string
  22128. thumurls:
  22129. description: 缩略图片(1:1)(逗号分隔)
  22130. type: string
  22131. unitid:
  22132. description: 单位id
  22133. type: integer
  22134. vatrate:
  22135. description: 增值税率
  22136. type: number
  22137. wrstandardcode:
  22138. description: 现货商品代码
  22139. type: string
  22140. wrstandardid:
  22141. description: 现货商品ID(SEQ_WRSTANDARD)
  22142. type: integer
  22143. wrstandardname:
  22144. description: 现货商品名称
  22145. type: string
  22146. type: object
  22147. models.XhcpSellBackApplyEx:
  22148. properties:
  22149. applyremark:
  22150. description: 申请备注
  22151. type: string
  22152. expirytype:
  22153. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  22154. type: integer
  22155. goodsspec:
  22156. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  22157. type: integer
  22158. holeflag:
  22159. description: 是否破洞[原封] - 1:无破洞 2:破洞
  22160. type: integer
  22161. isunopened:
  22162. description: 是否原封 - 1:否 2:是
  22163. type: integer
  22164. mpflag:
  22165. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  22166. type: integer
  22167. openflag:
  22168. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  22169. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  22170. type: integer
  22171. phonenum:
  22172. description: 联系电话
  22173. type: string
  22174. userid:
  22175. description: 所属用户ID
  22176. type: integer
  22177. zpflag:
  22178. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  22179. type: integer
  22180. required:
  22181. - userid
  22182. type: object
  22183. models.Xhcpsellbackapply:
  22184. properties:
  22185. applyid:
  22186. description: 申请人
  22187. type: integer
  22188. applyremark:
  22189. description: 申请备注
  22190. type: string
  22191. applysrc:
  22192. description: 申请来源 - 1:管理端 2:终端
  22193. type: integer
  22194. applystatus:
  22195. description: 申请状态 - 1:待确认 2:已处理
  22196. type: integer
  22197. applytime:
  22198. description: 申请时间
  22199. type: string
  22200. auditremark:
  22201. description: 审核备注
  22202. type: string
  22203. auditsrc:
  22204. description: 审核来源 - 1:管理端 2:终端
  22205. type: integer
  22206. expirytype:
  22207. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  22208. type: integer
  22209. goodsspec:
  22210. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  22211. type: integer
  22212. holeflag:
  22213. description: 是否破洞[原封] - 1:无破洞 2:破洞
  22214. type: integer
  22215. isunopened:
  22216. description: 是否原封 - 1:否 2:是
  22217. type: integer
  22218. mpflag:
  22219. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  22220. type: integer
  22221. openflag:
  22222. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  22223. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  22224. type: integer
  22225. phonenum:
  22226. description: 联系电话
  22227. type: string
  22228. sellbackapplyid:
  22229. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  22230. type: string
  22231. userid:
  22232. description: 所属用户ID
  22233. type: integer
  22234. zpflag:
  22235. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  22236. type: integer
  22237. required:
  22238. - userid
  22239. type: object
  22240. order.QueryHisTradeDetailRsp:
  22241. properties:
  22242. accountid:
  22243. description: 账户ID[报价币种]
  22244. type: integer
  22245. advanceratio:
  22246. description: 首付比率
  22247. type: number
  22248. buildtype:
  22249. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  22250. type: integer
  22251. buyorsell:
  22252. description: 方向 - 0:买 1:卖
  22253. type: integer
  22254. charge:
  22255. description: 手续费
  22256. type: number
  22257. closecharge:
  22258. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  22259. type: number
  22260. closeexchagechargevalue:
  22261. description: 平仓交易所手续费设置值
  22262. type: number
  22263. closefeealgorithm:
  22264. description: 平仓手续费收取方式 1:比率 2:固定
  22265. type: integer
  22266. closememberchargevalue:
  22267. description: 平仓会员手续费设置值
  22268. type: number
  22269. closepl:
  22270. description: 平仓盈亏
  22271. type: number
  22272. closepl2:
  22273. description: 平仓盈亏[逐笔]
  22274. type: number
  22275. closeqty:
  22276. description: 平仓数量(先建后平操作 需要记录)
  22277. type: number
  22278. creditamount:
  22279. description: 授信金额
  22280. type: number
  22281. decimalplace:
  22282. description: 商品报价小数位
  22283. type: integer
  22284. enumdicname:
  22285. description: 单位名称
  22286. type: string
  22287. gcaccountid:
  22288. description: 账户ID[合约币种]
  22289. type: integer
  22290. goodscode:
  22291. description: 商品代码
  22292. type: string
  22293. goodsid:
  22294. description: 商品ID
  22295. type: integer
  22296. goodsname:
  22297. description: 商品名称
  22298. type: string
  22299. goodunitid:
  22300. description: 商品单位id
  22301. type: integer
  22302. histradedate:
  22303. description: 历史交易日
  22304. type: string
  22305. intclosepl:
  22306. description: 整型盈亏(用于交易结算试算平衡-收益权)
  22307. type: integer
  22308. isconfirmexercise:
  22309. description: 是否确认行权- 0:否 1:是
  22310. type: integer
  22311. ismain:
  22312. description: 是否主单 - 0:不是 1:是
  22313. type: integer
  22314. ispreexercise:
  22315. description: 是否预申报- 0:否 1:是
  22316. type: integer
  22317. isreckoned:
  22318. description: 是否结算 - 0:未结算 1:已结算
  22319. type: integer
  22320. isvaliddata:
  22321. description: 是否有效 - 0:无效 1:有效
  22322. type: integer
  22323. listingselecttype:
  22324. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22325. type: integer
  22326. marketid:
  22327. description: 市场ID
  22328. type: integer
  22329. marketname:
  22330. description: 市场名称
  22331. type: string
  22332. matchaccountid:
  22333. description: 对手账号id
  22334. type: integer
  22335. memberuserid:
  22336. description: 会员id 个人投资者 需要填写
  22337. type: integer
  22338. opencharge:
  22339. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  22340. type: number
  22341. openexchagechargevalue:
  22342. description: 建仓交易所手续费设置值
  22343. type: number
  22344. openfeealgorithm:
  22345. description: 建仓手续费收取方式 1:比率 2:固定
  22346. type: integer
  22347. openmemberchargevalue:
  22348. description: 建仓会员手续费设置值
  22349. type: number
  22350. openqty:
  22351. description: 开仓数量(先建后平操作 需要记录)
  22352. type: number
  22353. optiontype:
  22354. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  22355. type: integer
  22356. orderid:
  22357. description: 委托单号
  22358. type: string
  22359. payamount:
  22360. description: 支付金额(付款金额)
  22361. type: number
  22362. performanceplanid:
  22363. description: 履约计划ID[期权]
  22364. type: integer
  22365. performancestatus:
  22366. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  22367. type: integer
  22368. preexerciseprice:
  22369. description: 预申报价格
  22370. type: number
  22371. premium:
  22372. description: 权利金 - [持仓单的权利金]
  22373. type: number
  22374. qtydecimalplace:
  22375. description: 商品报价小数位
  22376. type: integer
  22377. recvamount:
  22378. description: 到账金额 = 成交金额 - 手续费
  22379. type: number
  22380. relatedouttradeid:
  22381. description: 关联外部成交单ID
  22382. type: integer
  22383. status:
  22384. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  22385. type: integer
  22386. totalamount:
  22387. description: 订单总额 = 成交金额 + 手续费
  22388. type: number
  22389. tradeamount:
  22390. description: 成交金额[账户币种,用于所有权]
  22391. type: number
  22392. tradedate:
  22393. description: 交易日(yyyyMMdd)
  22394. type: string
  22395. tradeid:
  22396. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22397. type: string
  22398. trademode:
  22399. description: 交易模式
  22400. type: integer
  22401. tradeprice:
  22402. description: 成交价格
  22403. type: number
  22404. tradeproperty:
  22405. description: 交易属性
  22406. type: integer
  22407. tradeqty:
  22408. description: 成交数量
  22409. type: number
  22410. tradetime:
  22411. description: 成交时间
  22412. type: string
  22413. tradetype:
  22414. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  22415. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  22416. type: integer
  22417. required:
  22418. - accountid
  22419. - buyorsell
  22420. - goodsid
  22421. - histradedate
  22422. - marketid
  22423. - memberuserid
  22424. - orderid
  22425. - tradeamount
  22426. - tradedate
  22427. - tradeid
  22428. - tradeprice
  22429. - tradeqty
  22430. - tradetime
  22431. type: object
  22432. order.QueryHisTradeOrderDetailRsp:
  22433. properties:
  22434. accountid:
  22435. description: 账户ID[报价币种]
  22436. type: integer
  22437. buildtype:
  22438. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  22439. type: integer
  22440. buyorsell:
  22441. description: 买卖 - 0:买 1:卖
  22442. type: integer
  22443. cancelorderid:
  22444. description: 撤单单号(撤单时填写)
  22445. type: string
  22446. cancelqty:
  22447. description: 撤单数量
  22448. type: number
  22449. clientordertime:
  22450. description: 客户端委托时间
  22451. type: string
  22452. clientticket:
  22453. description: 客户端流水号
  22454. type: string
  22455. clienttype:
  22456. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  22457. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  22458. type: integer
  22459. closeexchagechargevalue:
  22460. description: 平仓交易所手续费设置值
  22461. type: number
  22462. closefeealgorithm:
  22463. description: 平仓手续费收取方式 1:比率 2:固定
  22464. type: integer
  22465. closefreezecharge:
  22466. description: 平仓冻结手续费(先建后平操作,需要记录)
  22467. type: number
  22468. closememberchargevalue:
  22469. description: 平仓会员手续费设置值
  22470. type: number
  22471. closeqty:
  22472. description: 平仓数量(先建后平操作 需要记录)
  22473. type: number
  22474. closetradeqty:
  22475. description: 平仓成交数量(先建后平操作,需要记录)
  22476. type: number
  22477. closeunfreezecharge:
  22478. description: 平仓解冻手续费(先建后平操作,需要记录)
  22479. type: number
  22480. decimalplace:
  22481. description: 商品报价小数位
  22482. type: integer
  22483. delistingtype:
  22484. description: 摘牌类型 - 1:价格最优 2:点选成交
  22485. type: integer
  22486. enumdicname:
  22487. description: 单位名称
  22488. type: string
  22489. freezecharge:
  22490. description: 冻结手续费
  22491. type: number
  22492. freezemargin:
  22493. description: 冻结保证金(冻结交易金额)
  22494. type: number
  22495. gcaccountid:
  22496. description: 账户ID[合约币种]
  22497. type: integer
  22498. goodscode:
  22499. description: 商品代码
  22500. type: string
  22501. goodsid:
  22502. description: 商品ID
  22503. type: integer
  22504. goodsname:
  22505. description: 商品名称
  22506. type: string
  22507. goodunitid:
  22508. description: 商品单位id
  22509. type: integer
  22510. histradedate:
  22511. description: 历史交易日
  22512. type: string
  22513. isconfirmexercise:
  22514. description: 是否确认行权- 0:否 1:是
  22515. type: integer
  22516. ispreexercise:
  22517. description: 是否预申报- 0:否 1:是
  22518. type: integer
  22519. isvaliddata:
  22520. description: 是否有效 - 0:无效 1:有效
  22521. type: integer
  22522. listingselecttype:
  22523. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22524. type: integer
  22525. marginalgorithm:
  22526. description: 保证金收取方式 1:比率 2:固定
  22527. type: integer
  22528. marginvalue:
  22529. description: 即市保证金设置值
  22530. type: number
  22531. marketid:
  22532. description: 市场ID
  22533. type: integer
  22534. marketmaxsub:
  22535. description: 市价最大偏移范围
  22536. type: number
  22537. marketname:
  22538. description: 市场名称
  22539. type: string
  22540. memberuserid:
  22541. description: 所属会员UserID
  22542. type: integer
  22543. openexchagechargevalue:
  22544. description: 建仓交易所手续费设置值
  22545. type: number
  22546. openfeealgorithm:
  22547. description: 建仓手续费收取方式 1:比率 2:固定
  22548. type: integer
  22549. openfreezecharge:
  22550. description: 开仓冻结手续费(先建后平操作,需要记录)
  22551. type: number
  22552. openmemberchargevalue:
  22553. description: 建仓会员手续费设置值
  22554. type: number
  22555. openqty:
  22556. description: 开仓数量(先建后平操作,需要记录)
  22557. type: number
  22558. opentradeqty:
  22559. description: 开仓成交数量(先建后平操作,需要记录)
  22560. type: number
  22561. openunfreezecharge:
  22562. description: 开仓解冻手续费(先建后平操作,需要记录)
  22563. type: number
  22564. operatetype:
  22565. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  22566. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  22567. 15:管理端协议转让
  22568. type: integer
  22569. operatorid:
  22570. description: 登录账号(LoginID)
  22571. type: integer
  22572. optiontype:
  22573. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  22574. type: integer
  22575. orderid:
  22576. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22577. type: string
  22578. orderprice:
  22579. description: 委托价格
  22580. type: number
  22581. orderqty:
  22582. description: 委托数量
  22583. type: number
  22584. ordersrc:
  22585. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  22586. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  22587. type: integer
  22588. orderstatus:
  22589. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  22590. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  22591. 16:成交失败违约(荷兰式竞拍专用)
  22592. type: integer
  22593. ordertime:
  22594. description: 委托时间
  22595. type: string
  22596. preexerciseprice:
  22597. description: 预申报价格
  22598. type: number
  22599. premium:
  22600. description: 权利金
  22601. type: number
  22602. preorderid:
  22603. description: 关联预埋单号(止盈止损单时填写)
  22604. type: string
  22605. pricemode:
  22606. description: '取价方式 - 1:市价 2: 限价'
  22607. type: integer
  22608. qtydecimalplace:
  22609. description: 成交量小数位
  22610. type: integer
  22611. quoteid:
  22612. description: 报价单ID
  22613. type: integer
  22614. relatedid:
  22615. description: 关联单号(交割单)
  22616. type: string
  22617. retcode:
  22618. description: 错误代码
  22619. type: integer
  22620. sessionid:
  22621. description: 会话ID
  22622. type: integer
  22623. tradedate:
  22624. description: 交易日(yyyyMMdd)
  22625. type: string
  22626. trademode:
  22627. description: 交易模式
  22628. type: integer
  22629. tradeproperty:
  22630. description: 交易属性
  22631. type: integer
  22632. tradeqty:
  22633. description: 成交数量
  22634. type: number
  22635. unfreezecharge:
  22636. description: 解冻手续费
  22637. type: number
  22638. unfreezemargin:
  22639. description: 解冻保证金
  22640. type: number
  22641. updatetime:
  22642. description: 更新时间
  22643. type: string
  22644. uuid:
  22645. description: 发起端唯一id
  22646. type: string
  22647. validtime:
  22648. description: 有效期限
  22649. type: string
  22650. validtype:
  22651. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  22652. type: integer
  22653. volumetype:
  22654. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  22655. type: integer
  22656. required:
  22657. - accountid
  22658. - buildtype
  22659. - buyorsell
  22660. - goodsid
  22661. - histradedate
  22662. - marketid
  22663. - memberuserid
  22664. - operatetype
  22665. - orderid
  22666. - orderqty
  22667. - ordertime
  22668. - pricemode
  22669. - tradedate
  22670. - validtype
  22671. type: object
  22672. order.QueryTradeDetailRsp:
  22673. properties:
  22674. accountid:
  22675. description: 账户ID[报价币种]
  22676. type: integer
  22677. advanceratio:
  22678. description: 首付比率
  22679. type: number
  22680. buildtype:
  22681. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  22682. type: integer
  22683. buyorsell:
  22684. description: 方向 - 0:买 1:卖
  22685. type: integer
  22686. charge:
  22687. description: 手续费
  22688. type: number
  22689. closecharge:
  22690. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  22691. type: number
  22692. closeexchagechargevalue:
  22693. description: 平仓交易所手续费设置值
  22694. type: number
  22695. closefeealgorithm:
  22696. description: 平仓手续费收取方式 1:比率 2:固定
  22697. type: integer
  22698. closememberchargevalue:
  22699. description: 平仓会员手续费设置值
  22700. type: number
  22701. closepl:
  22702. description: 平仓盈亏
  22703. type: number
  22704. closepl2:
  22705. description: 平仓盈亏[逐笔]
  22706. type: number
  22707. closeqty:
  22708. description: 平仓数量(先建后平操作 需要记录)
  22709. type: number
  22710. creditamount:
  22711. description: 授信金额
  22712. type: number
  22713. decimalplace:
  22714. description: 商品报价小数位
  22715. type: integer
  22716. enumdicname:
  22717. description: 单位名称
  22718. type: string
  22719. gcaccountid:
  22720. description: 账户ID[合约币种]
  22721. type: integer
  22722. goodscode:
  22723. description: 商品代码
  22724. type: string
  22725. goodsid:
  22726. description: 商品ID
  22727. type: integer
  22728. goodsname:
  22729. description: 商品名称
  22730. type: string
  22731. goodunitid:
  22732. description: 商品单位id
  22733. type: integer
  22734. intclosepl:
  22735. description: 整型盈亏(用于交易结算试算平衡-收益权)
  22736. type: integer
  22737. isconfirmexercise:
  22738. description: 是否确认行权- 0:否 1:是
  22739. type: integer
  22740. ismain:
  22741. description: 是否主单 - 0:不是 1:是
  22742. type: integer
  22743. ispreexercise:
  22744. description: 是否预申报- 0:否 1:是
  22745. type: integer
  22746. isreckoned:
  22747. description: 是否结算 - 0:未结算 1:已结算
  22748. type: integer
  22749. listingselecttype:
  22750. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22751. type: integer
  22752. marketid:
  22753. description: 市场ID
  22754. type: integer
  22755. marketname:
  22756. description: 市场名称
  22757. type: string
  22758. matchaccountid:
  22759. description: 对手账号id
  22760. type: integer
  22761. memberuserid:
  22762. description: 会员id 个人投资者 需要填写
  22763. type: integer
  22764. opencharge:
  22765. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  22766. type: number
  22767. openexchagechargevalue:
  22768. description: 建仓交易所手续费设置值
  22769. type: number
  22770. openfeealgorithm:
  22771. description: 建仓手续费收取方式 1:比率 2:固定
  22772. type: integer
  22773. openmemberchargevalue:
  22774. description: 建仓会员手续费设置值
  22775. type: number
  22776. openqty:
  22777. description: 开仓数量(先建后平操作 需要记录)
  22778. type: number
  22779. optiontype:
  22780. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  22781. type: integer
  22782. orderid:
  22783. description: 委托单号
  22784. type: string
  22785. payamount:
  22786. description: 支付金额(付款金额)
  22787. type: number
  22788. performanceplanid:
  22789. description: 履约计划ID[期权]
  22790. type: integer
  22791. performancestatus:
  22792. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  22793. type: integer
  22794. preexerciseprice:
  22795. description: 预申报价格
  22796. type: number
  22797. premium:
  22798. description: 权利金 - [持仓单的权利金]
  22799. type: number
  22800. qtydecimalplace:
  22801. description: 商品报价小数位
  22802. type: integer
  22803. recvamount:
  22804. description: 到账金额 = 成交金额 - 手续费
  22805. type: number
  22806. relatedouttradeid:
  22807. description: 关联外部成交单ID
  22808. type: integer
  22809. status:
  22810. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  22811. type: integer
  22812. totalamount:
  22813. description: 订单总额 = 成交金额 + 手续费
  22814. type: number
  22815. tradeamount:
  22816. description: 成交金额[账户币种,用于所有权]
  22817. type: number
  22818. tradedate:
  22819. description: 交易日(yyyyMMdd)
  22820. type: string
  22821. tradeid:
  22822. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22823. type: string
  22824. trademode:
  22825. description: 交易模式
  22826. type: integer
  22827. tradeprice:
  22828. description: 成交价格
  22829. type: number
  22830. tradeproperty:
  22831. description: 交易属性
  22832. type: integer
  22833. tradeqty:
  22834. description: 成交数量
  22835. type: number
  22836. tradetime:
  22837. description: 成交时间
  22838. type: string
  22839. tradetype:
  22840. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  22841. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  22842. type: integer
  22843. required:
  22844. - accountid
  22845. - buyorsell
  22846. - goodsid
  22847. - marketid
  22848. - memberuserid
  22849. - orderid
  22850. - tradeamount
  22851. - tradedate
  22852. - tradeid
  22853. - tradeprice
  22854. - tradeqty
  22855. - tradetime
  22856. type: object
  22857. order.QueryTradeOrderDetailRsp:
  22858. properties:
  22859. accountid:
  22860. description: 账户ID[报价币种]
  22861. type: integer
  22862. buildtype:
  22863. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  22864. type: integer
  22865. buyorsell:
  22866. description: 买卖 - 0:买 1:卖
  22867. type: integer
  22868. cancelorderid:
  22869. description: 撤单单号(撤单时填写)
  22870. type: string
  22871. cancelqty:
  22872. description: 撤单数量
  22873. type: number
  22874. clienttype:
  22875. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  22876. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  22877. type: integer
  22878. closefreezecharge:
  22879. description: 平仓冻结手续费(先建后平操作,需要记录)
  22880. type: number
  22881. closeqty:
  22882. description: 平仓数量(先建后平操作 需要记录)
  22883. type: number
  22884. closetradeqty:
  22885. description: 平仓成交数量(先建后平操作,需要记录)
  22886. type: number
  22887. closeunfreezecharge:
  22888. description: 平仓解冻手续费(先建后平操作,需要记录)
  22889. type: number
  22890. decimalplace:
  22891. description: 商品报价小数位
  22892. type: integer
  22893. delistingtype:
  22894. description: 摘牌类型 - 1:价格最优 2:点选成交
  22895. type: integer
  22896. enableqty:
  22897. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  22898. type: number
  22899. enumdicname:
  22900. description: 单位名称
  22901. type: string
  22902. freezecharge:
  22903. description: 冻结手续费
  22904. type: number
  22905. freezemargin:
  22906. description: 冻结保证金(冻结交易金额)
  22907. type: number
  22908. goodscode:
  22909. description: 商品代码
  22910. type: string
  22911. goodsid:
  22912. description: 商品ID
  22913. type: integer
  22914. goodsname:
  22915. description: 商品名称
  22916. type: string
  22917. goodunitid:
  22918. description: 商品单位id
  22919. type: integer
  22920. listingselecttype:
  22921. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22922. type: integer
  22923. marketid:
  22924. description: 市场ID
  22925. type: integer
  22926. marketname:
  22927. description: 市场名称
  22928. type: string
  22929. openfreezecharge:
  22930. description: 开仓冻结手续费(先建后平操作,需要记录)
  22931. type: number
  22932. openqty:
  22933. description: 开仓数量(先建后平操作,需要记录)
  22934. type: number
  22935. opentradeqty:
  22936. description: 开仓成交数量(先建后平操作,需要记录)
  22937. type: number
  22938. openunfreezecharge:
  22939. description: 开仓解冻手续费(先建后平操作,需要记录)
  22940. type: number
  22941. operatetype:
  22942. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  22943. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  22944. 15:管理端协议转让
  22945. type: integer
  22946. operatorid:
  22947. description: 登录账号(LoginID)
  22948. type: integer
  22949. orderid:
  22950. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22951. type: string
  22952. orderprice:
  22953. description: 委托价格
  22954. type: number
  22955. orderqty:
  22956. description: 委托数量
  22957. type: number
  22958. ordersrc:
  22959. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  22960. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  22961. type: integer
  22962. orderstatus:
  22963. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  22964. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  22965. 16:成交失败违约(荷兰式竞拍专用)
  22966. type: integer
  22967. ordertime:
  22968. description: 委托时间
  22969. type: string
  22970. preorderid:
  22971. description: 关联预埋单号(止盈止损单时填写)
  22972. type: string
  22973. pricemode:
  22974. description: '取价方式 - 1:市价 2: 限价'
  22975. type: integer
  22976. qtydecimalplace:
  22977. description: 商品报价小数位
  22978. type: integer
  22979. relatedid:
  22980. description: 关联单号(交割单)
  22981. type: string
  22982. tradedate:
  22983. description: 交易日(yyyyMMdd)
  22984. type: string
  22985. trademode:
  22986. description: 交易模式
  22987. type: integer
  22988. tradeqty:
  22989. description: 成交数量
  22990. type: number
  22991. unfreezecharge:
  22992. description: 解冻手续费
  22993. type: number
  22994. unfreezemargin:
  22995. description: 解冻保证金
  22996. type: number
  22997. validtime:
  22998. description: 有效期限
  22999. type: string
  23000. validtype:
  23001. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  23002. type: integer
  23003. volumetype:
  23004. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  23005. type: integer
  23006. required:
  23007. - accountid
  23008. - buildtype
  23009. - buyorsell
  23010. - goodsid
  23011. - marketid
  23012. - operatetype
  23013. - orderqty
  23014. - ordertime
  23015. - pricemode
  23016. - tradedate
  23017. - validtype
  23018. type: object
  23019. order.QueryTradePositionRsp:
  23020. properties:
  23021. accountid:
  23022. description: 资金账户
  23023. type: integer
  23024. agreeunit:
  23025. description: 合约单位
  23026. type: number
  23027. averageprice:
  23028. description: 持仓均价
  23029. type: number
  23030. buyorsell:
  23031. description: 方向 - 0:买 1:卖
  23032. type: integer
  23033. closetotalqty:
  23034. description: 平仓总数量
  23035. type: number
  23036. curholderamount:
  23037. description: 当前持仓总金额[商品币种]
  23038. type: number
  23039. curpositionqty:
  23040. description: 当前持仓总数量
  23041. type: number
  23042. currencyid:
  23043. description: 报价货币ID
  23044. type: integer
  23045. curtdposition:
  23046. description: 期末今日头寸
  23047. type: number
  23048. decimalplace:
  23049. description: 报价小数位
  23050. type: integer
  23051. enableqty:
  23052. description: 可用量
  23053. type: number
  23054. fretdposition:
  23055. description: 冻结今日头寸
  23056. type: number
  23057. frozenqty:
  23058. description: 持仓冻结数量
  23059. type: number
  23060. goodscode:
  23061. description: 商品代码
  23062. type: string
  23063. goodsid:
  23064. description: 商品Id
  23065. type: integer
  23066. goodsname:
  23067. description: 商品名称
  23068. type: string
  23069. goodunit:
  23070. description: 报价单位
  23071. type: string
  23072. goodunitid:
  23073. description: 报价单位ID
  23074. type: integer
  23075. holderamount:
  23076. description: 期初持仓总金额[商品币种]
  23077. type: number
  23078. lastprice:
  23079. description: 最新价
  23080. type: number
  23081. marketamount:
  23082. description: 市值
  23083. type: number
  23084. marketid:
  23085. description: 所属市场ID
  23086. type: integer
  23087. openreqqty:
  23088. description: 开仓申请数量(用于比较最大持仓数量)
  23089. type: number
  23090. opentotalqty:
  23091. description: 开仓总数量
  23092. type: number
  23093. otherfrozenqty:
  23094. description: 持仓其他冻结数量(交割冻结)
  23095. type: number
  23096. positionpl:
  23097. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  23098. * 合约单位
  23099. type: number
  23100. positionplrate:
  23101. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  23102. type: number
  23103. positionqty:
  23104. description: 期初持仓数量
  23105. type: number
  23106. qtydecimalplace:
  23107. description: 成交量小数位
  23108. type: integer
  23109. refgoodscode:
  23110. description: 参考商品代码
  23111. type: string
  23112. refgoodsid:
  23113. description: 参考商品ID
  23114. type: integer
  23115. tnqty:
  23116. description: T+N冻结总量
  23117. type: number
  23118. tnusedqty:
  23119. description: T+N使用量(可以使用T+N的冻结数量)
  23120. type: number
  23121. trademode:
  23122. description: 交易模式
  23123. type: integer
  23124. tradeproperty:
  23125. description: 交易属性
  23126. type: integer
  23127. usedmargin:
  23128. description: 占用保证金[商品币种]
  23129. type: number
  23130. required:
  23131. - goodsid
  23132. type: object
  23133. pb.GoodsMarginCfgStruct:
  23134. properties:
  23135. CustomerTypeID:
  23136. description: 投资者客户类型
  23137. type: integer
  23138. GoodsID:
  23139. description: 商品ID
  23140. type: integer
  23141. IsDefault:
  23142. description: 是否默认标志位
  23143. type: integer
  23144. LockMarginValue:
  23145. description: 锁仓保证金
  23146. type: number
  23147. MarginAlgorithm:
  23148. description: 保证金计算方式
  23149. type: integer
  23150. MarketMarginValue:
  23151. description: 即市保证金值
  23152. type: number
  23153. RealMarginAlgorithm:
  23154. description: 实付保证金计算方式
  23155. type: integer
  23156. RealMarginValue:
  23157. description: 实付比例
  23158. type: number
  23159. ReckonMarginValue:
  23160. description: 结算保证金值
  23161. type: number
  23162. type: object
  23163. quote.HistoryData:
  23164. properties:
  23165. c:
  23166. description: 收盘价
  23167. type: number
  23168. f:
  23169. description: 是否补充数据
  23170. type: boolean
  23171. h:
  23172. description: 最高价
  23173. type: number
  23174. hv:
  23175. description: 持仓量
  23176. type: integer
  23177. l:
  23178. description: 最低价
  23179. type: number
  23180. o:
  23181. description: 开盘价
  23182. type: number
  23183. s:
  23184. description: 结算价,日线周期(包括)以上才有
  23185. type: number
  23186. ts:
  23187. description: 时间
  23188. type: string
  23189. tt:
  23190. description: 总金额
  23191. type: number
  23192. tv:
  23193. description: 总量(成交量)
  23194. type: integer
  23195. type: object
  23196. quote.HistoryTikData:
  23197. properties:
  23198. AV:
  23199. description: 卖量
  23200. type: integer
  23201. Ask:
  23202. description: 卖价
  23203. type: number
  23204. BV:
  23205. description: 买量
  23206. type: integer
  23207. Bid:
  23208. description: 买价
  23209. type: number
  23210. HI:
  23211. description: 单笔持仓
  23212. type: integer
  23213. HV:
  23214. description: 持仓量
  23215. type: integer
  23216. PE:
  23217. description: 现价
  23218. type: number
  23219. TDR:
  23220. description: 交易方向,0:买 1:卖
  23221. type: integer
  23222. TK:
  23223. description: 交易类型
  23224. type: integer
  23225. TS:
  23226. description: 行情时间文本
  23227. type: string
  23228. TT:
  23229. description: 现金额
  23230. type: number
  23231. Vol:
  23232. description: 现量
  23233. type: integer
  23234. type: object
  23235. quote.QueryQuoteDayRsp:
  23236. properties:
  23237. ask:
  23238. description: 卖1
  23239. type: number
  23240. ask2:
  23241. description: 卖2
  23242. type: number
  23243. ask3:
  23244. description: 卖3
  23245. type: number
  23246. ask4:
  23247. description: 卖4
  23248. type: number
  23249. ask5:
  23250. description: 卖5
  23251. type: number
  23252. ask6:
  23253. description: 卖6
  23254. type: number
  23255. ask7:
  23256. description: 卖7
  23257. type: number
  23258. ask8:
  23259. description: 卖8
  23260. type: number
  23261. ask9:
  23262. description: 卖9
  23263. type: number
  23264. ask10:
  23265. description: 卖10
  23266. type: number
  23267. askorderid:
  23268. description: 卖单号1
  23269. type: integer
  23270. askorderid2:
  23271. description: 卖单号2
  23272. type: integer
  23273. askorderid3:
  23274. description: 卖单号3
  23275. type: integer
  23276. askorderid4:
  23277. description: 卖单号4
  23278. type: integer
  23279. askorderid5:
  23280. description: 卖单号5
  23281. type: integer
  23282. askordervolume:
  23283. description: 卖单量1
  23284. type: integer
  23285. askordervolume2:
  23286. description: 卖单量2
  23287. type: integer
  23288. askordervolume3:
  23289. description: 卖单量3
  23290. type: integer
  23291. askordervolume4:
  23292. description: 卖单量4
  23293. type: integer
  23294. askordervolume5:
  23295. description: 卖单量5
  23296. type: integer
  23297. askordervolume6:
  23298. description: 卖单量6
  23299. type: integer
  23300. askordervolume7:
  23301. description: 卖单量7
  23302. type: integer
  23303. askordervolume8:
  23304. description: 卖单量8
  23305. type: integer
  23306. askordervolume9:
  23307. description: 卖单量9
  23308. type: integer
  23309. askordervolume10:
  23310. description: 卖单量10
  23311. type: integer
  23312. askqueueinfo:
  23313. description: 大利市卖港股用
  23314. type: string
  23315. askvolume:
  23316. description: 卖量1
  23317. type: integer
  23318. askvolume2:
  23319. description: 卖量2
  23320. type: integer
  23321. askvolume3:
  23322. description: 卖量3
  23323. type: integer
  23324. askvolume4:
  23325. description: 卖量4
  23326. type: integer
  23327. askvolume5:
  23328. description: 卖量5
  23329. type: integer
  23330. askvolume6:
  23331. description: 卖量6
  23332. type: integer
  23333. askvolume7:
  23334. description: 卖量7
  23335. type: integer
  23336. askvolume8:
  23337. description: 卖量8
  23338. type: integer
  23339. askvolume9:
  23340. description: 卖量9
  23341. type: integer
  23342. askvolume10:
  23343. description: 卖量10
  23344. type: integer
  23345. averageprice:
  23346. description: 均价
  23347. type: number
  23348. bid:
  23349. description: 买1
  23350. type: number
  23351. bid2:
  23352. description: 买2
  23353. type: number
  23354. bid3:
  23355. description: 买3
  23356. type: number
  23357. bid4:
  23358. description: 买4
  23359. type: number
  23360. bid5:
  23361. description: 买5
  23362. type: number
  23363. bid6:
  23364. description: 买6
  23365. type: number
  23366. bid7:
  23367. description: 买7
  23368. type: number
  23369. bid8:
  23370. description: 买8
  23371. type: number
  23372. bid9:
  23373. description: 买9
  23374. type: number
  23375. bid10:
  23376. description: 买10
  23377. type: number
  23378. bidorderid:
  23379. description: 买单号1
  23380. type: integer
  23381. bidorderid2:
  23382. description: 买单号2
  23383. type: integer
  23384. bidorderid3:
  23385. description: 买单号3
  23386. type: integer
  23387. bidorderid4:
  23388. description: 买单号4
  23389. type: integer
  23390. bidorderid5:
  23391. description: 买单号5
  23392. type: integer
  23393. bidordervolume:
  23394. description: 买单量1
  23395. type: integer
  23396. bidordervolume2:
  23397. description: 买单量2
  23398. type: integer
  23399. bidordervolume3:
  23400. description: 买单量3
  23401. type: integer
  23402. bidordervolume4:
  23403. description: 买单量4
  23404. type: integer
  23405. bidordervolume5:
  23406. description: 买单量5
  23407. type: integer
  23408. bidordervolume6:
  23409. description: 买单量6
  23410. type: integer
  23411. bidordervolume7:
  23412. description: 买单量7
  23413. type: integer
  23414. bidordervolume8:
  23415. description: 买单量8
  23416. type: integer
  23417. bidordervolume9:
  23418. description: 买单量9
  23419. type: integer
  23420. bidordervolume10:
  23421. description: 买单量10
  23422. type: integer
  23423. bidqueueinfo:
  23424. description: 大利市买港股用
  23425. type: string
  23426. bidvolume:
  23427. description: 买量1
  23428. type: integer
  23429. bidvolume2:
  23430. description: 买量2
  23431. type: integer
  23432. bidvolume3:
  23433. description: 买量3
  23434. type: integer
  23435. bidvolume4:
  23436. description: 买量4
  23437. type: integer
  23438. bidvolume5:
  23439. description: 买量5
  23440. type: integer
  23441. bidvolume6:
  23442. description: 买量6
  23443. type: integer
  23444. bidvolume7:
  23445. description: 买量7
  23446. type: integer
  23447. bidvolume8:
  23448. description: 买量8
  23449. type: integer
  23450. bidvolume9:
  23451. description: 买量9
  23452. type: integer
  23453. bidvolume10:
  23454. description: 买量10
  23455. type: integer
  23456. calloptionpremiums:
  23457. description: 认购期权1
  23458. type: integer
  23459. calloptionpremiums2:
  23460. description: 认购期权2
  23461. type: integer
  23462. calloptionpremiums3:
  23463. description: 认购期权3
  23464. type: integer
  23465. calloptionpremiums4:
  23466. description: 认购期权4
  23467. type: integer
  23468. calloptionpremiums5:
  23469. description: 认购期权5
  23470. type: integer
  23471. cleartime:
  23472. description: 清盘时间
  23473. type: integer
  23474. exchangecode:
  23475. description: 交易所代码
  23476. type: integer
  23477. exchangedate:
  23478. description: 交易日
  23479. type: integer
  23480. goodscode:
  23481. description: 商品代码
  23482. type: string
  23483. grepmarketprice:
  23484. description: 暗盘价 港股专用
  23485. type: number
  23486. highest:
  23487. description: 最高价
  23488. type: number
  23489. holdincrement:
  23490. description: 单笔持仓
  23491. type: integer
  23492. holdvolume:
  23493. description: 持仓
  23494. type: integer
  23495. iep:
  23496. description: 平衡价 港股专用
  23497. type: number
  23498. iev:
  23499. description: 平衡量 港股专用
  23500. type: number
  23501. inventory:
  23502. description: 库存
  23503. type: integer
  23504. iscleared:
  23505. description: 是否清盘标志
  23506. type: integer
  23507. issettled:
  23508. description: 是否结算标志
  23509. type: integer
  23510. last:
  23511. description: 最新价
  23512. type: number
  23513. lastlot:
  23514. description: 最新成交手数
  23515. type: integer
  23516. lasttime:
  23517. description: 行情时间(只有现价变化行情时间才变化)
  23518. type: string
  23519. lastturnover:
  23520. description: 最新成交金额
  23521. type: number
  23522. lastvolume:
  23523. description: 最新成交量
  23524. type: integer
  23525. limitdown:
  23526. description: 跌停价
  23527. type: number
  23528. limitup:
  23529. description: 涨停价
  23530. type: number
  23531. lowest:
  23532. description: 最低价
  23533. type: number
  23534. nontotalholdervolume:
  23535. description: 非交易持仓量
  23536. type: integer
  23537. nontotallot:
  23538. description: 非交易总手数
  23539. type: integer
  23540. nontotalturnover:
  23541. description: 非交易总金额
  23542. type: integer
  23543. nontotalvolume:
  23544. description: 非交易总量
  23545. type: integer
  23546. opened:
  23547. description: 开盘价
  23548. type: number
  23549. opentime:
  23550. description: 开盘时间
  23551. type: string
  23552. orderid:
  23553. description: 序号
  23554. type: integer
  23555. preclose:
  23556. description: 昨收
  23557. type: number
  23558. preholdvolume:
  23559. description: 昨持仓
  23560. type: integer
  23561. presettle:
  23562. description: 昨结价
  23563. type: number
  23564. publictradetype:
  23565. description: 公共交易标志类型 港股专用
  23566. type: string
  23567. putoptionpremiums:
  23568. description: 认沽期权1
  23569. type: integer
  23570. putoptionpremiums2:
  23571. description: 认沽期权2
  23572. type: integer
  23573. putoptionpremiums3:
  23574. description: 认沽期权3
  23575. type: integer
  23576. putoptionpremiums4:
  23577. description: 认沽期权4
  23578. type: integer
  23579. putoptionpremiums5:
  23580. description: 认沽期权5
  23581. type: integer
  23582. settle:
  23583. description: 结算价
  23584. type: number
  23585. strikeprice:
  23586. description: 发行价
  23587. type: number
  23588. totalaskvolume:
  23589. description: 内盘
  23590. type: integer
  23591. totalbidvolume:
  23592. description: 外盘
  23593. type: integer
  23594. totallot:
  23595. description: 总手数
  23596. type: integer
  23597. totalturnover:
  23598. description: 总金额
  23599. type: number
  23600. totalvolume:
  23601. description: 总量
  23602. type: integer
  23603. utclasttime:
  23604. description: utc的行情时间
  23605. type: string
  23606. type: object
  23607. quote.QueryTSDataRsp:
  23608. properties:
  23609. Count:
  23610. description: 交易日应有数据个数
  23611. type: integer
  23612. decimalPlace:
  23613. description: 小数位
  23614. type: integer
  23615. endTime:
  23616. description: 结束时间
  23617. type: string
  23618. goodsCode:
  23619. description: 商品代码
  23620. type: string
  23621. historyDatas:
  23622. description: 历史数据
  23623. items:
  23624. $ref: '#/definitions/quote.HistoryData'
  23625. type: array
  23626. outGoodsCode:
  23627. description: 外部商品代码
  23628. type: string
  23629. preSettle:
  23630. description: 昨结价
  23631. type: number
  23632. runSteps:
  23633. description: 交易日开休市计划
  23634. items:
  23635. $ref: '#/definitions/quote.TSDataRunStep'
  23636. type: array
  23637. startTime:
  23638. description: 开始时间
  23639. type: string
  23640. tradeDate:
  23641. description: 交易日
  23642. type: string
  23643. type: object
  23644. quote.TSDataRunStep:
  23645. properties:
  23646. end:
  23647. description: 真实结束时间
  23648. type: string
  23649. endflag:
  23650. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  23651. type: integer
  23652. endtime:
  23653. description: 结束时间(HH:mm)
  23654. type: string
  23655. endweekday:
  23656. description: 结束周几
  23657. type: integer
  23658. groupid:
  23659. description: 分组ID
  23660. type: integer
  23661. runstep:
  23662. description: 运行阶段 - 2:连续交易
  23663. type: integer
  23664. sectionid:
  23665. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  23666. 结束时间=结算时间 结束周几=结算周几
  23667. type: integer
  23668. start:
  23669. description: 真实开始时间
  23670. type: string
  23671. startflag:
  23672. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  23673. type: integer
  23674. starttime:
  23675. description: 起始时间(HH:mm)
  23676. type: string
  23677. startweekday:
  23678. description: 起始周几
  23679. type: integer
  23680. tradeweekday:
  23681. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  23682. type: integer
  23683. type: object
  23684. szdz.QueryConvertLogRsp:
  23685. properties:
  23686. accountid:
  23687. description: 资金账户ID
  23688. type: integer
  23689. clientticket:
  23690. description: 客户端流水号
  23691. type: string
  23692. converttype:
  23693. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  23694. type: integer
  23695. createtime:
  23696. description: 记账时间
  23697. type: string
  23698. daymaxvalue:
  23699. description: 配置当日最大转入限制
  23700. type: number
  23701. daymaxvalue2:
  23702. description: 配置当日最大转入限制(转入)
  23703. type: number
  23704. goodscode:
  23705. description: 商品代码
  23706. type: string
  23707. goodsname:
  23708. description: 商品名称
  23709. type: string
  23710. handlestatus:
  23711. description: 处理状态
  23712. type: integer
  23713. innergoodsid:
  23714. description: 内部商品ID
  23715. type: integer
  23716. inratio:
  23717. description: 配置转入比值
  23718. type: integer
  23719. invalue:
  23720. description: 目标值
  23721. type: number
  23722. logid:
  23723. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  23724. type: integer
  23725. mobile:
  23726. description: 手机号码(加密存储)
  23727. type: string
  23728. outergoodscode:
  23729. description: 外部商品代码[JD\PD]
  23730. type: string
  23731. outratio:
  23732. description: 配置转出比值
  23733. type: integer
  23734. outvalue:
  23735. description: 源值
  23736. type: number
  23737. pddecimalplace:
  23738. description: PD小数位
  23739. type: integer
  23740. qty:
  23741. description: 数量
  23742. type: string
  23743. remark:
  23744. description: 备注
  23745. type: string
  23746. sessionid:
  23747. description: 会话ID
  23748. type: integer
  23749. timemaxvalue:
  23750. description: 配置单次最大转入限制
  23751. type: number
  23752. timemaxvalue2:
  23753. description: 配置单次最大转入限制(转入)
  23754. type: number
  23755. timeminvalue:
  23756. description: 配置单次最小数量限制
  23757. type: number
  23758. timeminvalue2:
  23759. description: 配置单次最小数量限制(转入)
  23760. type: number
  23761. tradedate:
  23762. description: 交易日(yyyyMMdd)
  23763. type: string
  23764. userid:
  23765. description: 用户ID
  23766. type: integer
  23767. required:
  23768. - logid
  23769. type: object
  23770. szdz.QueryGoodsPickupRsp:
  23771. properties:
  23772. accountid:
  23773. description: 账户ID
  23774. type: integer
  23775. address:
  23776. description: 提货人详细地址
  23777. type: string
  23778. auditer:
  23779. description: 审核人
  23780. type: integer
  23781. audittime:
  23782. description: 审核时间
  23783. type: string
  23784. cardnum:
  23785. description: 提货人证件号码
  23786. type: string
  23787. cardtypeid:
  23788. description: 提货人证件类型
  23789. type: integer
  23790. checkremark:
  23791. description: 审核备注
  23792. type: string
  23793. goodscode:
  23794. description: 商品代码
  23795. type: string
  23796. goodsid:
  23797. description: 商品ID
  23798. type: integer
  23799. goodsname:
  23800. description: 商品名称
  23801. type: string
  23802. handlestatus:
  23803. description: 处理状态
  23804. type: integer
  23805. marketid:
  23806. description: 市场ID
  23807. type: integer
  23808. phonenum:
  23809. description: 提货人联系方式
  23810. type: string
  23811. qty:
  23812. description: 提货数量
  23813. type: number
  23814. recivername:
  23815. description: 提货人姓名
  23816. type: string
  23817. reqtime:
  23818. description: 更新时间
  23819. type: string
  23820. takemode:
  23821. description: 提货方式 - 2:自提 3:配送
  23822. type: integer
  23823. takeorderid:
  23824. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  23825. type: string
  23826. takeorderstatus:
  23827. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23828. type: integer
  23829. takeremark:
  23830. description: 提货备注
  23831. type: string
  23832. tradedate:
  23833. description: 交易日(yyyyMMdd)
  23834. type: string
  23835. userid:
  23836. description: 用户ID
  23837. type: integer
  23838. required:
  23839. - takeorderid
  23840. type: object
  23841. szdz.QueryRecieptOrderRsp:
  23842. properties:
  23843. accountName:
  23844. description: 所属账号名称(已脱敏)
  23845. type: string
  23846. accountid:
  23847. description: 资金账号
  23848. type: integer
  23849. buyorsell:
  23850. description: 方向 - 0:买 1:卖
  23851. type: integer
  23852. enableqty:
  23853. description: 可摘数量
  23854. type: integer
  23855. goodscode:
  23856. description: 商品代码
  23857. type: string
  23858. goodsid:
  23859. description: 商品ID
  23860. type: integer
  23861. goodsname:
  23862. description: 商品名称
  23863. type: string
  23864. orderid:
  23865. description: 委托单号
  23866. type: string
  23867. orderprice:
  23868. description: 委托价格
  23869. type: number
  23870. ordertime:
  23871. description: 委托时间
  23872. type: string
  23873. tradedate:
  23874. description: 交易日(yyyyMMdd)
  23875. type: string
  23876. required:
  23877. - ordertime
  23878. type: object
  23879. szdz.QuerySZDZTradePositionRsp:
  23880. properties:
  23881. accountid:
  23882. description: 账号Id
  23883. type: integer
  23884. agreeunit:
  23885. description: 合约单位
  23886. type: number
  23887. averageprice:
  23888. description: 持仓均价
  23889. type: number
  23890. buyorsell:
  23891. description: 方向 - 0:买 1:卖
  23892. type: integer
  23893. closetotalqty:
  23894. description: 平仓总数量
  23895. type: integer
  23896. curholderamount:
  23897. description: 当前持仓总金额
  23898. type: number
  23899. curpositionqty:
  23900. description: 当前持仓总数量
  23901. type: integer
  23902. currencyid:
  23903. description: 报价货币ID
  23904. type: integer
  23905. curtdposition:
  23906. description: 期末今日头寸
  23907. type: integer
  23908. decimalplace:
  23909. description: 报价小数位
  23910. type: integer
  23911. enableqty:
  23912. description: 可用量
  23913. type: integer
  23914. fretdposition:
  23915. description: 冻结今日头寸
  23916. type: integer
  23917. frozenqty:
  23918. description: 持仓冻结数量
  23919. type: integer
  23920. goodscode:
  23921. description: 商品代码(内部)
  23922. type: string
  23923. goodsid:
  23924. description: 商品Id
  23925. type: integer
  23926. goodsname:
  23927. description: 商品名称
  23928. type: string
  23929. goodunit:
  23930. description: 报价单位
  23931. type: string
  23932. goodunitid:
  23933. description: 报价单位ID
  23934. type: integer
  23935. holderamount:
  23936. description: 期初持仓总金额
  23937. type: number
  23938. marketid:
  23939. description: 市场ID
  23940. type: integer
  23941. openreqqty:
  23942. description: 开仓申请数量
  23943. type: integer
  23944. opentotalqty:
  23945. description: 开仓总数量
  23946. type: integer
  23947. otherfrozenqty:
  23948. description: 持仓其他冻结数量(交割冻结)
  23949. type: integer
  23950. positionqty:
  23951. description: 期初持仓数量
  23952. type: integer
  23953. szdz3freezqty:
  23954. description: 尚志大宗转换冻结总数量
  23955. type: integer
  23956. tnqty:
  23957. description: T+N冻结总量
  23958. type: integer
  23959. tnusedqty:
  23960. description: T+N使用量
  23961. type: integer
  23962. trademode:
  23963. description: 交易模式
  23964. type: integer
  23965. usedmargin:
  23966. description: 占用保证金
  23967. type: number
  23968. type: object
  23969. taaccount.QueryAmountLogRsp:
  23970. properties:
  23971. accountid:
  23972. description: 资金账户ID
  23973. type: integer
  23974. agoodscode:
  23975. description: 竞拍商品代码
  23976. type: string
  23977. agoodsname:
  23978. description: 竞拍商品名称
  23979. type: string
  23980. amount:
  23981. description: 资金金额
  23982. type: number
  23983. amountadjusttype:
  23984. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  23985. type: integer
  23986. autoid:
  23987. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  23988. type: integer
  23989. balance:
  23990. description: 期初余额
  23991. type: number
  23992. businesscode:
  23993. description: 业务编号
  23994. type: integer
  23995. createtime:
  23996. description: 发生时间
  23997. type: string
  23998. currencyid:
  23999. description: 币种ID
  24000. type: integer
  24001. currentbalance:
  24002. description: 期末余额(变动后金额)
  24003. type: number
  24004. dgoodscode:
  24005. description: 交割商品代码
  24006. type: string
  24007. dgoodsname:
  24008. description: 交割商品名称
  24009. type: string
  24010. goodscode:
  24011. description: 商品代码
  24012. type: string
  24013. goodsid:
  24014. description: 商品ID
  24015. type: integer
  24016. goodsname:
  24017. description: 商品名称
  24018. type: string
  24019. marketid:
  24020. description: 市场ID
  24021. type: integer
  24022. marketname:
  24023. description: 市场名称
  24024. type: string
  24025. moneyticket:
  24026. description: 资金流水号:银行端流水号
  24027. type: integer
  24028. operatetype:
  24029. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  24030. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  24031. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  24032. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  24033. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  24034. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  24035. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  24036. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  24037. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  24038. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  24039. type: integer
  24040. relationorderid:
  24041. description: 关联单号
  24042. type: string
  24043. remark:
  24044. description: 备注
  24045. type: string
  24046. trademode:
  24047. description: 交易模式
  24048. type: integer
  24049. required:
  24050. - accountid
  24051. - amount
  24052. - amountadjusttype
  24053. - autoid
  24054. - balance
  24055. - createtime
  24056. - currentbalance
  24057. - operatetype
  24058. type: object
  24059. taaccount.QueryHisAmountLogRsp:
  24060. properties:
  24061. accountid:
  24062. description: 资金账户ID
  24063. type: integer
  24064. agoodscode:
  24065. description: 竞拍商品代码
  24066. type: string
  24067. agoodsname:
  24068. description: 竞拍商品名称
  24069. type: string
  24070. amount:
  24071. description: 资金金额
  24072. type: number
  24073. amountadjusttype:
  24074. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  24075. type: integer
  24076. autoid:
  24077. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  24078. type: integer
  24079. balance:
  24080. description: 期初余额
  24081. type: number
  24082. businesscode:
  24083. description: 业务编号
  24084. type: integer
  24085. createtime:
  24086. description: 发生时间
  24087. type: string
  24088. currencyid:
  24089. description: 币种ID
  24090. type: integer
  24091. currentbalance:
  24092. description: 期末余额(变动后金额)
  24093. type: number
  24094. dgoodscode:
  24095. description: 交割商品代码
  24096. type: string
  24097. dgoodsname:
  24098. description: 交割商品名称
  24099. type: string
  24100. goodscode:
  24101. description: 商品代码
  24102. type: string
  24103. goodsid:
  24104. description: 商品ID
  24105. type: integer
  24106. goodsname:
  24107. description: 商品名称
  24108. type: string
  24109. histradedate:
  24110. description: 历史交易日
  24111. type: string
  24112. isvaliddata:
  24113. description: 是否有效 - 0:无效 1:有效
  24114. type: integer
  24115. marketid:
  24116. description: 市场ID
  24117. type: integer
  24118. marketname:
  24119. description: 市场名称
  24120. type: string
  24121. moneyticket:
  24122. description: 资金流水号:银行端流水号
  24123. type: integer
  24124. operatetype:
  24125. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  24126. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  24127. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  24128. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  24129. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  24130. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  24131. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  24132. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  24133. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  24134. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  24135. type: integer
  24136. relationorderid:
  24137. description: 关联单号
  24138. type: string
  24139. remark:
  24140. description: 备注
  24141. type: string
  24142. trademode:
  24143. description: 交易模式
  24144. type: integer
  24145. required:
  24146. - accountid
  24147. - amount
  24148. - amountadjusttype
  24149. - autoid
  24150. - balance
  24151. - createtime
  24152. - currentbalance
  24153. - histradedate
  24154. - operatetype
  24155. type: object
  24156. trade.QueryRecieptOrderRsp:
  24157. properties:
  24158. accountName:
  24159. description: 所属账号名称(已脱敏)
  24160. type: string
  24161. accountid:
  24162. description: 资金账号
  24163. type: integer
  24164. buyorsell:
  24165. description: 方向 - 0:买 1:卖
  24166. type: integer
  24167. enableqty:
  24168. description: 可摘数量
  24169. type: integer
  24170. goodscode:
  24171. description: 商品代码
  24172. type: string
  24173. goodsid:
  24174. description: 商品ID
  24175. type: integer
  24176. goodsname:
  24177. description: 商品名称
  24178. type: string
  24179. orderid:
  24180. description: 委托单号
  24181. type: string
  24182. orderprice:
  24183. description: 委托价格
  24184. type: number
  24185. ordertime:
  24186. description: 委托时间
  24187. type: string
  24188. tradedate:
  24189. description: 交易日(yyyyMMdd)
  24190. type: string
  24191. required:
  24192. - ordertime
  24193. type: object
  24194. user.LoginQueryRsp:
  24195. properties:
  24196. areaRoles:
  24197. description: 所属角色信息
  24198. items:
  24199. $ref: '#/definitions/models.Arearole'
  24200. type: array
  24201. exchangeRateConfigs:
  24202. description: 汇率信息
  24203. items:
  24204. $ref: '#/definitions/models.Exchangerateconfig'
  24205. type: array
  24206. externalExchanges:
  24207. description: 外部交易所
  24208. items:
  24209. $ref: '#/definitions/models.Externalexchange'
  24210. type: array
  24211. goodsgroups:
  24212. description: 商品组
  24213. items:
  24214. $ref: '#/definitions/models.Goodsgroup'
  24215. type: array
  24216. loginAccount:
  24217. $ref: '#/definitions/models.Loginaccount'
  24218. description: 登录账号
  24219. markets:
  24220. description: 市场
  24221. items:
  24222. $ref: '#/definitions/models.Market'
  24223. type: array
  24224. systemParams:
  24225. description: 系统参数
  24226. items:
  24227. $ref: '#/definitions/models.Systemparam'
  24228. type: array
  24229. userAccount:
  24230. $ref: '#/definitions/models.Useraccount'
  24231. description: 用户账号
  24232. userInfo:
  24233. $ref: '#/definitions/models.Userinfo'
  24234. description: 用户信息
  24235. username:
  24236. description: 用户姓名
  24237. type: string
  24238. type: object
  24239. info:
  24240. contact: {}
  24241. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  24242. termsOfService: http://www.muchinfo.cn
  24243. title: MTP2.0 查询服务 API
  24244. version: "1.0"
  24245. paths:
  24246. /CPTrade/QueryCPTradeMyBidInfos:
  24247. get:
  24248. parameters:
  24249. - description: 资金账户
  24250. in: query
  24251. name: accountid
  24252. required: true
  24253. type: integer
  24254. - description: 预售市场ID
  24255. in: query
  24256. name: marketid
  24257. type: integer
  24258. - description: 预售商品ID
  24259. in: query
  24260. name: goodsid
  24261. type: integer
  24262. produces:
  24263. - application/json
  24264. responses:
  24265. "200":
  24266. description: OK
  24267. schema:
  24268. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  24269. "500":
  24270. description: Internal Server Error
  24271. schema:
  24272. $ref: '#/definitions/app.Response'
  24273. security:
  24274. - ApiKeyAuth: []
  24275. summary: 查询产能预售我的出价信息
  24276. tags:
  24277. - 产能预售
  24278. /CPTrade/QueryCPTradeOrderDetail:
  24279. get:
  24280. parameters:
  24281. - description: 预售商品ID
  24282. in: query
  24283. name: goodsid
  24284. type: integer
  24285. - description: 预售市场ID
  24286. in: query
  24287. name: marketid
  24288. type: integer
  24289. - description: 预售商品ID列表 - 格式:1,2,3
  24290. in: query
  24291. name: goodsids
  24292. type: string
  24293. produces:
  24294. - application/json
  24295. responses:
  24296. "200":
  24297. description: OK
  24298. schema:
  24299. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  24300. "500":
  24301. description: Internal Server Error
  24302. schema:
  24303. $ref: '#/definitions/app.Response'
  24304. security:
  24305. - ApiKeyAuth: []
  24306. summary: 查询产能预售委托单信息
  24307. tags:
  24308. - 产能预售
  24309. /CPTrade/QueryMyCPTradeGoods:
  24310. get:
  24311. parameters:
  24312. - description: 资金账户
  24313. in: query
  24314. name: accountid
  24315. required: true
  24316. type: integer
  24317. produces:
  24318. - application/json
  24319. responses:
  24320. "200":
  24321. description: OK
  24322. schema:
  24323. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  24324. "500":
  24325. description: Internal Server Error
  24326. schema:
  24327. $ref: '#/definitions/app.Response'
  24328. security:
  24329. - ApiKeyAuth: []
  24330. summary: 查询我的预售信息
  24331. tags:
  24332. - 产能预售
  24333. /CPTrade/QueryPositionCancel:
  24334. get:
  24335. parameters:
  24336. - description: 账户ID
  24337. in: query
  24338. name: userid
  24339. required: true
  24340. type: integer
  24341. - description: 注销ID
  24342. in: query
  24343. name: cancelid
  24344. type: integer
  24345. - description: 资金账户ID
  24346. in: query
  24347. name: accountid
  24348. type: integer
  24349. produces:
  24350. - application/json
  24351. responses:
  24352. "200":
  24353. description: OK
  24354. schema:
  24355. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  24356. "500":
  24357. description: Internal Server Error
  24358. schema:
  24359. $ref: '#/definitions/app.Response'
  24360. security:
  24361. - ApiKeyAuth: []
  24362. summary: 查询远期订单注销申请信息
  24363. tags:
  24364. - 产能预售
  24365. /CPTrade/QueryPreasleApply:
  24366. get:
  24367. parameters:
  24368. - description: 账户ID
  24369. in: query
  24370. name: userid
  24371. required: true
  24372. type: integer
  24373. - description: 申请ID
  24374. in: query
  24375. name: applyid
  24376. type: integer
  24377. - description: 资金账户ID
  24378. in: query
  24379. name: accountid
  24380. type: integer
  24381. produces:
  24382. - application/json
  24383. responses:
  24384. "200":
  24385. description: OK
  24386. schema:
  24387. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  24388. "500":
  24389. description: Internal Server Error
  24390. schema:
  24391. $ref: '#/definitions/app.Response'
  24392. security:
  24393. - ApiKeyAuth: []
  24394. summary: 查询产能预售申请信息
  24395. tags:
  24396. - 产能预售
  24397. /CPTrade/QueryPresaleGoodsEx:
  24398. get:
  24399. parameters:
  24400. - description: 预售商品ID
  24401. in: query
  24402. name: goodsid
  24403. type: integer
  24404. - description: 预售市场ID
  24405. in: query
  24406. name: marketid
  24407. type: integer
  24408. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  24409. in: query
  24410. name: presalemode
  24411. type: integer
  24412. - description: 预售商品ID列表 - 格式:1,2,3
  24413. in: query
  24414. name: goodsids
  24415. type: string
  24416. - description: 预售商品代码
  24417. in: query
  24418. name: goodscode
  24419. type: string
  24420. produces:
  24421. - application/json
  24422. responses:
  24423. "200":
  24424. description: OK
  24425. schema:
  24426. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  24427. "500":
  24428. description: Internal Server Error
  24429. schema:
  24430. $ref: '#/definitions/app.Response'
  24431. security:
  24432. - ApiKeyAuth: []
  24433. summary: 查询产能预售商品扩展信息
  24434. tags:
  24435. - 产能预售
  24436. /CPTrade/QueryUserGoodsData:
  24437. get:
  24438. parameters:
  24439. - description: 资金账户ID
  24440. in: query
  24441. name: accountid
  24442. required: true
  24443. type: integer
  24444. produces:
  24445. - application/json
  24446. responses:
  24447. "200":
  24448. description: OK
  24449. schema:
  24450. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  24451. "500":
  24452. description: Internal Server Error
  24453. schema:
  24454. $ref: '#/definitions/app.Response'
  24455. security:
  24456. - ApiKeyAuth: []
  24457. summary: 查询远期订单信息
  24458. tags:
  24459. - 产能预售
  24460. /Common/DeleteNewFuncmenu:
  24461. delete:
  24462. consumes:
  24463. - application/json
  24464. parameters:
  24465. - description: 菜单表数据,只需要resourcecode字段即可
  24466. in: body
  24467. name: data
  24468. required: true
  24469. schema:
  24470. $ref: '#/definitions/models.NewFuncmenulist'
  24471. produces:
  24472. - application/json
  24473. responses:
  24474. "200":
  24475. description: OK
  24476. schema:
  24477. $ref: '#/definitions/app.Response'
  24478. "500":
  24479. description: Internal Server Error
  24480. schema:
  24481. $ref: '#/definitions/app.Response'
  24482. security:
  24483. - ApiKeyAuth: []
  24484. summary: 删除菜单表数据
  24485. tags:
  24486. - 通用服务
  24487. /Common/FindNewFuncmenu:
  24488. get:
  24489. parameters:
  24490. - description: 资源代码
  24491. in: query
  24492. name: resourcecode
  24493. type: string
  24494. - description: 上级资源代码
  24495. in: query
  24496. name: parentcode
  24497. type: string
  24498. - description: 资源名(Title), 模糊查询
  24499. in: query
  24500. name: resourcename
  24501. type: string
  24502. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  24503. in: query
  24504. name: menutype
  24505. type: string
  24506. produces:
  24507. - application/json
  24508. responses:
  24509. "200":
  24510. description: OK
  24511. schema:
  24512. items:
  24513. $ref: '#/definitions/models.NewFuncmenulist'
  24514. type: array
  24515. "500":
  24516. description: Internal Server Error
  24517. schema:
  24518. $ref: '#/definitions/app.Response'
  24519. security:
  24520. - ApiKeyAuth: []
  24521. summary: 获取菜单表数据
  24522. tags:
  24523. - 通用服务
  24524. /Common/GetAllEnums:
  24525. get:
  24526. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  24527. parameters:
  24528. - description: 起始自增ID
  24529. in: query
  24530. name: autoid
  24531. type: integer
  24532. produces:
  24533. - application/json
  24534. responses:
  24535. "200":
  24536. description: OK
  24537. schema:
  24538. $ref: '#/definitions/models.Enumdicitem'
  24539. "500":
  24540. description: Internal Server Error
  24541. schema:
  24542. $ref: '#/definitions/app.Response'
  24543. summary: 获取所有枚举信息
  24544. tags:
  24545. - 通用服务
  24546. /Common/GetClientMenus:
  24547. get:
  24548. parameters:
  24549. - description: 登录账号
  24550. in: query
  24551. name: loginID
  24552. required: true
  24553. type: integer
  24554. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  24555. in: query
  24556. name: clientType
  24557. type: integer
  24558. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  24559. in: query
  24560. name: name
  24561. type: string
  24562. produces:
  24563. - application/json
  24564. responses:
  24565. "200":
  24566. description: OK
  24567. schema:
  24568. items:
  24569. $ref: '#/definitions/common.ClientMenu'
  24570. type: array
  24571. "500":
  24572. description: Internal Server Error
  24573. schema:
  24574. $ref: '#/definitions/app.Response'
  24575. security:
  24576. - ApiKeyAuth: []
  24577. summary: 获取交易端菜单
  24578. tags:
  24579. - 通用服务
  24580. /Common/GetClientNewFuncmenu:
  24581. get:
  24582. parameters:
  24583. - description: 登录账号
  24584. in: query
  24585. name: loginid
  24586. required: true
  24587. type: integer
  24588. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  24589. in: query
  24590. name: menutype
  24591. required: true
  24592. type: integer
  24593. produces:
  24594. - application/json
  24595. responses:
  24596. "200":
  24597. description: OK
  24598. schema:
  24599. items:
  24600. $ref: '#/definitions/models.NewFuncmenulist'
  24601. type: array
  24602. "500":
  24603. description: Internal Server Error
  24604. schema:
  24605. $ref: '#/definitions/app.Response'
  24606. security:
  24607. - ApiKeyAuth: []
  24608. summary: 获取终端菜单
  24609. tags:
  24610. - 通用服务
  24611. /Common/GetDivisions:
  24612. get:
  24613. produces:
  24614. - application/json
  24615. responses:
  24616. "200":
  24617. description: OK
  24618. schema:
  24619. $ref: '#/definitions/models.Division'
  24620. "500":
  24621. description: Internal Server Error
  24622. schema:
  24623. $ref: '#/definitions/app.Response'
  24624. summary: 查询区域信息
  24625. tags:
  24626. - 通用服务
  24627. /Common/GetPCWebMenus:
  24628. get:
  24629. parameters:
  24630. - description: 登录账号
  24631. in: query
  24632. name: loginID
  24633. required: true
  24634. type: integer
  24635. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  24636. in: query
  24637. name: name
  24638. type: string
  24639. produces:
  24640. - application/json
  24641. responses:
  24642. "200":
  24643. description: OK
  24644. schema:
  24645. items:
  24646. $ref: '#/definitions/common.PCWebMenu'
  24647. type: array
  24648. "500":
  24649. description: Internal Server Error
  24650. schema:
  24651. $ref: '#/definitions/app.Response'
  24652. security:
  24653. - ApiKeyAuth: []
  24654. summary: 获取PCWeb交易端菜单
  24655. tags:
  24656. - 通用服务
  24657. /Common/GetServerTime:
  24658. get:
  24659. produces:
  24660. - application/json
  24661. responses:
  24662. "200":
  24663. description: OK
  24664. schema:
  24665. $ref: '#/definitions/app.Response'
  24666. "500":
  24667. description: Internal Server Error
  24668. schema:
  24669. $ref: '#/definitions/app.Response'
  24670. summary: 获取服务器时间
  24671. tags:
  24672. - 通用服务
  24673. /Common/InsertNewFuncmenu:
  24674. post:
  24675. consumes:
  24676. - application/json
  24677. parameters:
  24678. - description: 菜单表数据
  24679. in: body
  24680. name: data
  24681. required: true
  24682. schema:
  24683. $ref: '#/definitions/models.NewFuncmenulist'
  24684. produces:
  24685. - application/json
  24686. responses:
  24687. "200":
  24688. description: OK
  24689. schema:
  24690. $ref: '#/definitions/app.Response'
  24691. "500":
  24692. description: Internal Server Error
  24693. schema:
  24694. $ref: '#/definitions/app.Response'
  24695. security:
  24696. - ApiKeyAuth: []
  24697. summary: 插入菜单表数据
  24698. tags:
  24699. - 通用服务
  24700. /Common/NoticeReaded:
  24701. post:
  24702. parameters:
  24703. - description: 登录账号
  24704. in: query
  24705. name: loginID
  24706. required: true
  24707. type: integer
  24708. - description: 通知公告ID
  24709. in: query
  24710. name: noticeID
  24711. required: true
  24712. type: integer
  24713. produces:
  24714. - application/json
  24715. responses:
  24716. "200":
  24717. description: OK
  24718. schema:
  24719. $ref: '#/definitions/app.Response'
  24720. "500":
  24721. description: Internal Server Error
  24722. schema:
  24723. $ref: '#/definitions/app.Response'
  24724. security:
  24725. - ApiKeyAuth: []
  24726. summary: 通知公告设置已读请求
  24727. tags:
  24728. - 通用服务
  24729. /Common/QueryErrorInfos:
  24730. get:
  24731. description: 如果传入rowNumber,则返回此rowNumber后的数据
  24732. parameters:
  24733. - description: 起始行号前索引
  24734. in: query
  24735. name: rowNumber
  24736. type: string
  24737. produces:
  24738. - application/json
  24739. responses:
  24740. "200":
  24741. description: OK
  24742. schema:
  24743. $ref: '#/definitions/models.QueryErrorInfosRsp'
  24744. "500":
  24745. description: Internal Server Error
  24746. schema:
  24747. $ref: '#/definitions/app.Response'
  24748. summary: 获取数据库错误信息
  24749. tags:
  24750. - 通用服务
  24751. /Common/QueryImageConfigs:
  24752. get:
  24753. parameters:
  24754. - description: 用户id
  24755. in: query
  24756. name: userId
  24757. type: integer
  24758. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  24759. in: query
  24760. name: imageType
  24761. type: integer
  24762. produces:
  24763. - application/json
  24764. responses:
  24765. "200":
  24766. description: OK
  24767. schema:
  24768. $ref: '#/definitions/common.QueryImageConfigsRsp'
  24769. "500":
  24770. description: Internal Server Error
  24771. schema:
  24772. $ref: '#/definitions/app.Response'
  24773. summary: 查询轮播图配置信息
  24774. tags:
  24775. - 通用服务
  24776. /Common/QueryNotice:
  24777. get:
  24778. parameters:
  24779. - description: 页码
  24780. in: query
  24781. name: page
  24782. type: integer
  24783. - description: 每页条数
  24784. in: query
  24785. name: pagesize
  24786. type: integer
  24787. - description: 分页标志 0-page从0开始 1-page从1开始
  24788. in: query
  24789. name: pageflag
  24790. type: integer
  24791. - description: 登录账号
  24792. in: query
  24793. name: loginID
  24794. required: true
  24795. type: integer
  24796. - description: 消息类型 - 1:公告通知 2:系统消息
  24797. in: query
  24798. name: msgType
  24799. type: integer
  24800. - description: 是否只获取未读信息
  24801. in: query
  24802. name: onlyUnRead
  24803. type: boolean
  24804. - description: 自增ID,传入后会返回这个ID后面的记录
  24805. in: query
  24806. name: lastID
  24807. type: integer
  24808. produces:
  24809. - application/json
  24810. responses:
  24811. "200":
  24812. description: OK
  24813. schema:
  24814. $ref: '#/definitions/common.QueryNoticeRsp'
  24815. "500":
  24816. description: Internal Server Error
  24817. schema:
  24818. $ref: '#/definitions/app.Response'
  24819. security:
  24820. - ApiKeyAuth: []
  24821. summary: 通知公告系统消息查询
  24822. tags:
  24823. - 通用服务
  24824. /Common/QueryProvincesAndCities:
  24825. get:
  24826. parameters:
  24827. - description: 省ID
  24828. in: query
  24829. name: provinceID
  24830. type: integer
  24831. produces:
  24832. - application/json
  24833. responses:
  24834. "200":
  24835. description: OK
  24836. schema:
  24837. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  24838. "500":
  24839. description: Internal Server Error
  24840. schema:
  24841. $ref: '#/definitions/app.Response'
  24842. summary: 查询省市信息(不包括区)
  24843. tags:
  24844. - 通用服务
  24845. /Common/QueryRates:
  24846. get:
  24847. parameters:
  24848. - description: 页码
  24849. in: query
  24850. name: page
  24851. type: integer
  24852. - description: 每页条数
  24853. in: query
  24854. name: pagesize
  24855. type: integer
  24856. - description: 源币种ID
  24857. in: query
  24858. name: oricurrencyid
  24859. type: integer
  24860. - description: 目标币种ID
  24861. in: query
  24862. name: descurrencyid
  24863. type: integer
  24864. produces:
  24865. - application/json
  24866. responses:
  24867. "200":
  24868. description: OK
  24869. schema:
  24870. items:
  24871. $ref: '#/definitions/models.Exchangerateconfig'
  24872. type: array
  24873. "500":
  24874. description: Internal Server Error
  24875. schema:
  24876. $ref: '#/definitions/app.Response'
  24877. security:
  24878. - ApiKeyAuth: []
  24879. - LoginID: []
  24880. - Group: []
  24881. summary: 查询汇率信息
  24882. tags:
  24883. - 通用服务
  24884. /Common/QueryTableDefine:
  24885. get:
  24886. parameters:
  24887. - description: 表key
  24888. in: query
  24889. name: tableKey
  24890. type: string
  24891. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  24892. in: query
  24893. name: tableType
  24894. type: integer
  24895. produces:
  24896. - application/json
  24897. responses:
  24898. "200":
  24899. description: OK
  24900. schema:
  24901. $ref: '#/definitions/common.QueryTableDefineRsp'
  24902. "500":
  24903. description: Internal Server Error
  24904. schema:
  24905. $ref: '#/definitions/app.Response'
  24906. summary: 查询交易端列表头信息
  24907. tags:
  24908. - 通用服务
  24909. /Common/QueryTraderMenu:
  24910. get:
  24911. parameters:
  24912. - description: 登录账号
  24913. in: query
  24914. name: loginid
  24915. required: true
  24916. type: integer
  24917. produces:
  24918. - application/json
  24919. responses:
  24920. "200":
  24921. description: OK
  24922. schema:
  24923. $ref: '#/definitions/common.QueryTraderMenuRsp'
  24924. "500":
  24925. description: Internal Server Error
  24926. schema:
  24927. $ref: '#/definitions/app.Response'
  24928. summary: 查询交易端菜单
  24929. tags:
  24930. - 通用服务
  24931. /Common/UpdateNewFuncmenu:
  24932. put:
  24933. consumes:
  24934. - application/json
  24935. parameters:
  24936. - description: 菜单表数据
  24937. in: body
  24938. name: data
  24939. required: true
  24940. schema:
  24941. $ref: '#/definitions/models.NewFuncmenulist'
  24942. produces:
  24943. - application/json
  24944. responses:
  24945. "200":
  24946. description: OK
  24947. schema:
  24948. $ref: '#/definitions/app.Response'
  24949. "500":
  24950. description: Internal Server Error
  24951. schema:
  24952. $ref: '#/definitions/app.Response'
  24953. security:
  24954. - ApiKeyAuth: []
  24955. summary: 更新菜单表数据
  24956. tags:
  24957. - 通用服务
  24958. /Delivery/QueryDeliveryRelation:
  24959. get:
  24960. parameters:
  24961. - description: 商品ID
  24962. in: query
  24963. name: goodsid
  24964. type: integer
  24965. - description: 品种ID
  24966. in: query
  24967. name: deliverygoodsid
  24968. type: integer
  24969. - description: 市场ID
  24970. in: query
  24971. name: marketid
  24972. type: integer
  24973. produces:
  24974. - application/json
  24975. responses:
  24976. "200":
  24977. description: OK
  24978. schema:
  24979. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  24980. "500":
  24981. description: Internal Server Error
  24982. schema:
  24983. $ref: '#/definitions/app.Response'
  24984. security:
  24985. - ApiKeyAuth: []
  24986. summary: 查询商品交割关系表
  24987. tags:
  24988. - 交割服务
  24989. /Ermcp/GetErmcpGoods:
  24990. get:
  24991. parameters:
  24992. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  24993. in: query
  24994. name: userid
  24995. type: integer
  24996. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24997. in: query
  24998. name: lastUpdateTime
  24999. type: string
  25000. produces:
  25001. - application/json
  25002. responses:
  25003. "200":
  25004. description: OK
  25005. schema:
  25006. $ref: '#/definitions/models.ErmcpGoods'
  25007. "500":
  25008. description: Internal Server Error
  25009. schema:
  25010. $ref: '#/definitions/app.Response'
  25011. security:
  25012. - ApiKeyAuth: []
  25013. summary: 查询企业风管期货商品信息
  25014. tags:
  25015. - 企业风险管理(app)
  25016. /Ermcp/GetErmcpGoodsSortByPosition:
  25017. get:
  25018. parameters:
  25019. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  25020. in: query
  25021. name: sortIndex
  25022. type: string
  25023. produces:
  25024. - application/json
  25025. responses:
  25026. "200":
  25027. description: OK
  25028. schema:
  25029. $ref: '#/definitions/models.Goodssortbypreposition'
  25030. "500":
  25031. description: Internal Server Error
  25032. schema:
  25033. $ref: '#/definitions/app.Response'
  25034. security:
  25035. - ApiKeyAuth: []
  25036. summary: 查询企业风管期货主力、次主力商品信息
  25037. tags:
  25038. - 企业风险管理(app)
  25039. /Ermcp/GetErmcpOutAccountStatus:
  25040. get:
  25041. parameters:
  25042. - description: 登录账号
  25043. in: query
  25044. name: loginID
  25045. required: true
  25046. type: integer
  25047. produces:
  25048. - application/json
  25049. responses:
  25050. "200":
  25051. description: OK
  25052. schema:
  25053. $ref: '#/definitions/models.Hedgemarketopenlog'
  25054. "500":
  25055. description: Internal Server Error
  25056. schema:
  25057. $ref: '#/definitions/app.Response'
  25058. security:
  25059. - ApiKeyAuth: []
  25060. summary: 获取目标登录账号当前对冲账号在线状态
  25061. tags:
  25062. - 企业风险管理(app)
  25063. /Ermcp/GetErmcpRoleFuncMenuLists:
  25064. get:
  25065. parameters:
  25066. - description: 登录账号
  25067. in: query
  25068. name: loginID
  25069. required: true
  25070. type: integer
  25071. produces:
  25072. - application/json
  25073. responses:
  25074. "200":
  25075. description: OK
  25076. schema:
  25077. $ref: '#/definitions/models.Funcmenulist'
  25078. "500":
  25079. description: Internal Server Error
  25080. schema:
  25081. $ref: '#/definitions/app.Response'
  25082. security:
  25083. - ApiKeyAuth: []
  25084. summary: 获取企业风管终端权限
  25085. tags:
  25086. - 企业风险管理(app)
  25087. /Ermcp/QueryAccMgrBizGroupSet:
  25088. get:
  25089. parameters:
  25090. - description: 用户ID
  25091. in: query
  25092. name: userid
  25093. required: true
  25094. type: integer
  25095. - description: 现货商品id
  25096. in: query
  25097. name: deliverygoodsid
  25098. type: integer
  25099. produces:
  25100. - application/json
  25101. responses:
  25102. "200":
  25103. description: OK
  25104. schema:
  25105. items:
  25106. $ref: '#/definitions/models.ErmcpBizGroupEx'
  25107. type: array
  25108. "500":
  25109. description: Internal Server Error
  25110. schema:
  25111. $ref: '#/definitions/app.Response'
  25112. security:
  25113. - ApiKeyAuth: []
  25114. summary: 查询业务类型分组(账户管理/账户设置)
  25115. tags:
  25116. - 企业风险管理(app)
  25117. /Ermcp/QueryAccMgrLoginUser:
  25118. get:
  25119. parameters:
  25120. - description: 用户ID
  25121. in: query
  25122. name: userid
  25123. required: true
  25124. type: integer
  25125. - description: 用户类型 2-机构 7-企业成员
  25126. in: query
  25127. name: usertype
  25128. type: integer
  25129. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  25130. in: query
  25131. name: querytype
  25132. required: true
  25133. type: integer
  25134. produces:
  25135. - application/json
  25136. responses:
  25137. "200":
  25138. description: OK
  25139. schema:
  25140. items:
  25141. $ref: '#/definitions/models.ErmcpLoginUserEx'
  25142. type: array
  25143. "500":
  25144. description: Internal Server Error
  25145. schema:
  25146. $ref: '#/definitions/app.Response'
  25147. security:
  25148. - ApiKeyAuth: []
  25149. summary: 查询账户管理登录账号(账户管理/登录账号)
  25150. tags:
  25151. - 企业风险管理(app)
  25152. /Ermcp/QueryAccMgrMainAccountInfo:
  25153. get:
  25154. parameters:
  25155. - description: 用户ID
  25156. in: query
  25157. name: userid
  25158. type: integer
  25159. - description: 主账号id
  25160. in: query
  25161. name: accountid
  25162. type: integer
  25163. produces:
  25164. - application/json
  25165. responses:
  25166. "200":
  25167. description: OK
  25168. schema:
  25169. items:
  25170. $ref: '#/definitions/models.MainAccountInfo'
  25171. type: array
  25172. "500":
  25173. description: Internal Server Error
  25174. schema:
  25175. $ref: '#/definitions/app.Response'
  25176. security:
  25177. - ApiKeyAuth: []
  25178. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  25179. tags:
  25180. - 企业风险管理(app)
  25181. /Ermcp/QueryAccMgrRole:
  25182. get:
  25183. parameters:
  25184. - description: 用户ID
  25185. in: query
  25186. name: userid
  25187. required: true
  25188. type: integer
  25189. produces:
  25190. - application/json
  25191. responses:
  25192. "200":
  25193. description: OK
  25194. schema:
  25195. items:
  25196. $ref: '#/definitions/models.ErmcpRole'
  25197. type: array
  25198. "500":
  25199. description: Internal Server Error
  25200. schema:
  25201. $ref: '#/definitions/app.Response'
  25202. security:
  25203. - ApiKeyAuth: []
  25204. summary: 查询账户管理角色设置(账户管理/角色设置)
  25205. tags:
  25206. - 企业风险管理(app)
  25207. /Ermcp/QueryAccMgrRoleMenu:
  25208. get:
  25209. parameters:
  25210. - description: 用户ID
  25211. in: query
  25212. name: userid
  25213. required: true
  25214. type: integer
  25215. - description: 角色id(可多个,逗号隔开)
  25216. in: query
  25217. name: roleid
  25218. type: string
  25219. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  25220. in: query
  25221. name: menutype
  25222. type: integer
  25223. produces:
  25224. - application/json
  25225. responses:
  25226. "200":
  25227. description: OK
  25228. schema:
  25229. items:
  25230. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  25231. type: array
  25232. "500":
  25233. description: Internal Server Error
  25234. schema:
  25235. $ref: '#/definitions/app.Response'
  25236. security:
  25237. - ApiKeyAuth: []
  25238. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  25239. tags:
  25240. - 企业风险管理(app)
  25241. /Ermcp/QueryAccMgrTaAccountInfo:
  25242. get:
  25243. parameters:
  25244. - description: 用户ID
  25245. in: query
  25246. name: userid
  25247. required: true
  25248. type: integer
  25249. - description: 账号id
  25250. in: query
  25251. name: accountid
  25252. type: integer
  25253. produces:
  25254. - application/json
  25255. responses:
  25256. "200":
  25257. description: OK
  25258. schema:
  25259. items:
  25260. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  25261. type: array
  25262. "500":
  25263. description: Internal Server Error
  25264. schema:
  25265. $ref: '#/definitions/app.Response'
  25266. security:
  25267. - ApiKeyAuth: []
  25268. summary: 查询账户管理授信(账户管理/账户设置/授信)
  25269. tags:
  25270. - 企业风险管理(app)
  25271. /Ermcp/QueryAccMgrTaaccount:
  25272. get:
  25273. parameters:
  25274. - description: 用户ID
  25275. in: query
  25276. name: userid
  25277. required: true
  25278. type: integer
  25279. produces:
  25280. - application/json
  25281. responses:
  25282. "200":
  25283. description: OK
  25284. schema:
  25285. items:
  25286. $ref: '#/definitions/models.ErmcpTaAccountEx'
  25287. type: array
  25288. "500":
  25289. description: Internal Server Error
  25290. schema:
  25291. $ref: '#/definitions/app.Response'
  25292. security:
  25293. - ApiKeyAuth: []
  25294. summary: 查询账户管理期货账号(账户管理/期货账号)
  25295. tags:
  25296. - 企业风险管理(app)
  25297. /Ermcp/QueryAvaildGoodsGroup:
  25298. get:
  25299. parameters:
  25300. - description: 所属机构ID
  25301. in: query
  25302. name: userid
  25303. required: true
  25304. type: integer
  25305. produces:
  25306. - application/json
  25307. responses:
  25308. "200":
  25309. description: OK
  25310. schema:
  25311. items:
  25312. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  25313. type: array
  25314. "500":
  25315. description: Internal Server Error
  25316. schema:
  25317. $ref: '#/definitions/app.Response'
  25318. security:
  25319. - ApiKeyAuth: []
  25320. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  25321. tags:
  25322. - 企业风险管理(app)
  25323. /Ermcp/QueryBusinessDj:
  25324. get:
  25325. parameters:
  25326. - description: 用户ID
  25327. in: query
  25328. name: UserId
  25329. required: true
  25330. type: integer
  25331. - description: 用户类型 2-机构 7-企业成员
  25332. in: query
  25333. name: usertype
  25334. type: integer
  25335. - description: 现货合同ID, 不填则查所有
  25336. in: query
  25337. name: relatedid
  25338. type: string
  25339. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25340. in: query
  25341. name: applystatus
  25342. type: string
  25343. produces:
  25344. - application/json
  25345. responses:
  25346. "200":
  25347. description: OK
  25348. schema:
  25349. items:
  25350. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  25351. type: array
  25352. "500":
  25353. description: Internal Server Error
  25354. schema:
  25355. $ref: '#/definitions/app.Response'
  25356. security:
  25357. - ApiKeyAuth: []
  25358. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  25359. tags:
  25360. - 企业风险管理(app)
  25361. /Ermcp/QueryBusinessFp:
  25362. get:
  25363. parameters:
  25364. - description: 用户ID
  25365. in: query
  25366. name: UserId
  25367. required: true
  25368. type: integer
  25369. - description: 用户类型 2-机构 7-企业成员
  25370. in: query
  25371. name: usertype
  25372. type: integer
  25373. - description: 现货合同ID, 不填则查所有
  25374. in: query
  25375. name: relatedid
  25376. type: string
  25377. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25378. in: query
  25379. name: applystatus
  25380. type: string
  25381. produces:
  25382. - application/json
  25383. responses:
  25384. "200":
  25385. description: OK
  25386. schema:
  25387. items:
  25388. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  25389. type: array
  25390. "500":
  25391. description: Internal Server Error
  25392. schema:
  25393. $ref: '#/definitions/app.Response'
  25394. security:
  25395. - ApiKeyAuth: []
  25396. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  25397. tags:
  25398. - 企业风险管理(app)
  25399. /Ermcp/QueryBusinessJs:
  25400. get:
  25401. parameters:
  25402. - description: 用户ID
  25403. in: query
  25404. name: UserId
  25405. required: true
  25406. type: integer
  25407. - description: 用户类型 2-机构 7-企业成员
  25408. in: query
  25409. name: usertype
  25410. type: integer
  25411. - description: 现货合同ID, 不填则查所有
  25412. in: query
  25413. name: relatedid
  25414. type: string
  25415. - description: 操作申请id
  25416. in: query
  25417. name: operateapplyid
  25418. type: string
  25419. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25420. in: query
  25421. name: applystatus
  25422. type: string
  25423. produces:
  25424. - application/json
  25425. responses:
  25426. "200":
  25427. description: OK
  25428. schema:
  25429. items:
  25430. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  25431. type: array
  25432. "500":
  25433. description: Internal Server Error
  25434. schema:
  25435. $ref: '#/definitions/app.Response'
  25436. security:
  25437. - ApiKeyAuth: []
  25438. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  25439. tags:
  25440. - 企业风险管理(app)
  25441. /Ermcp/QueryBusinessJsEx:
  25442. get:
  25443. parameters:
  25444. - description: 用户ID
  25445. in: query
  25446. name: UserId
  25447. required: true
  25448. type: integer
  25449. - description: 用户类型 2-机构 7-企业成员
  25450. in: query
  25451. name: usertype
  25452. type: integer
  25453. - description: 现货合同ID, 不填则查所有
  25454. in: query
  25455. name: relatedid
  25456. type: string
  25457. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25458. in: query
  25459. name: applystatus
  25460. type: string
  25461. produces:
  25462. - application/json
  25463. responses:
  25464. "200":
  25465. description: OK
  25466. schema:
  25467. items:
  25468. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  25469. type: array
  25470. "500":
  25471. description: Internal Server Error
  25472. schema:
  25473. $ref: '#/definitions/app.Response'
  25474. security:
  25475. - ApiKeyAuth: []
  25476. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  25477. tags:
  25478. - 企业风险管理(app)
  25479. /Ermcp/QueryBusinessKx:
  25480. get:
  25481. parameters:
  25482. - description: 用户ID
  25483. in: query
  25484. name: UserId
  25485. required: true
  25486. type: integer
  25487. - description: 用户类型 2-机构 7-企业成员
  25488. in: query
  25489. name: usertype
  25490. type: integer
  25491. - description: 现货合同ID, 不填则查所有
  25492. in: query
  25493. name: relatedid
  25494. type: string
  25495. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25496. in: query
  25497. name: applystatus
  25498. type: string
  25499. produces:
  25500. - application/json
  25501. responses:
  25502. "200":
  25503. description: OK
  25504. schema:
  25505. items:
  25506. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  25507. type: array
  25508. "500":
  25509. description: Internal Server Error
  25510. schema:
  25511. $ref: '#/definitions/app.Response'
  25512. security:
  25513. - ApiKeyAuth: []
  25514. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  25515. tags:
  25516. - 企业风险管理(app)
  25517. /Ermcp/QueryChangeLog:
  25518. get:
  25519. parameters:
  25520. - description: 合同ID
  25521. in: query
  25522. name: RelatedId
  25523. required: true
  25524. type: string
  25525. produces:
  25526. - application/json
  25527. responses:
  25528. "200":
  25529. description: OK
  25530. schema:
  25531. items:
  25532. $ref: '#/definitions/ermcp.QryOPLogRsp'
  25533. type: array
  25534. "500":
  25535. description: Internal Server Error
  25536. schema:
  25537. $ref: '#/definitions/app.Response'
  25538. security:
  25539. - ApiKeyAuth: []
  25540. summary: 查询变更记录
  25541. tags:
  25542. - 企业风险管理(app)
  25543. /Ermcp/QueryErmcpHisOrderDetails:
  25544. get:
  25545. parameters:
  25546. - description: 资金账户ID
  25547. in: query
  25548. name: accountID
  25549. required: true
  25550. type: integer
  25551. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25552. in: query
  25553. name: startDate
  25554. type: string
  25555. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25556. in: query
  25557. name: endDate
  25558. type: string
  25559. produces:
  25560. - application/json
  25561. responses:
  25562. "200":
  25563. description: OK
  25564. schema:
  25565. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  25566. "500":
  25567. description: Internal Server Error
  25568. schema:
  25569. $ref: '#/definitions/app.Response'
  25570. security:
  25571. - ApiKeyAuth: []
  25572. summary: 获取企业风管期货历史委托单信息
  25573. tags:
  25574. - 企业风险管理(app)
  25575. /Ermcp/QueryErmcpHisTradeDetails:
  25576. get:
  25577. parameters:
  25578. - description: 资金账户ID
  25579. in: query
  25580. name: accountID
  25581. required: true
  25582. type: integer
  25583. - description: 商品ID
  25584. in: query
  25585. name: goodsID
  25586. type: integer
  25587. - description: 买卖方向,0:买 1:卖
  25588. in: query
  25589. name: buyOrSell
  25590. type: integer
  25591. - description: 关联委托单号
  25592. in: query
  25593. name: orderID
  25594. type: integer
  25595. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25596. in: query
  25597. name: startDate
  25598. type: string
  25599. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25600. in: query
  25601. name: endDate
  25602. type: string
  25603. produces:
  25604. - application/json
  25605. responses:
  25606. "200":
  25607. description: OK
  25608. schema:
  25609. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  25610. "500":
  25611. description: Internal Server Error
  25612. schema:
  25613. $ref: '#/definitions/app.Response'
  25614. security:
  25615. - ApiKeyAuth: []
  25616. summary: 获取企业风管期货历史成交单信息
  25617. tags:
  25618. - 企业风险管理(app)
  25619. /Ermcp/QueryErmcpInnerHolderDetails:
  25620. get:
  25621. parameters:
  25622. - description: 资金账户ID
  25623. in: query
  25624. name: accountID
  25625. required: true
  25626. type: integer
  25627. - description: 商品ID
  25628. in: query
  25629. name: goodsID
  25630. type: integer
  25631. - description: 买卖方向,0:买 1:卖
  25632. in: query
  25633. name: buyOrSell
  25634. type: integer
  25635. produces:
  25636. - application/json
  25637. responses:
  25638. "200":
  25639. description: OK
  25640. schema:
  25641. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  25642. "500":
  25643. description: Internal Server Error
  25644. schema:
  25645. $ref: '#/definitions/app.Response'
  25646. security:
  25647. - ApiKeyAuth: []
  25648. summary: 获取企业风管期货内部持仓单信息
  25649. tags:
  25650. - 企业风险管理(app)
  25651. /Ermcp/QueryErmcpOrderDetails:
  25652. get:
  25653. parameters:
  25654. - description: 资金账户ID
  25655. in: query
  25656. name: accountID
  25657. required: true
  25658. type: integer
  25659. produces:
  25660. - application/json
  25661. responses:
  25662. "200":
  25663. description: OK
  25664. schema:
  25665. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  25666. "500":
  25667. description: Internal Server Error
  25668. schema:
  25669. $ref: '#/definitions/app.Response'
  25670. security:
  25671. - ApiKeyAuth: []
  25672. summary: 获取企业风管期货委托单信息
  25673. tags:
  25674. - 企业风险管理(app)
  25675. /Ermcp/QueryErmcpTradeDetails:
  25676. get:
  25677. parameters:
  25678. - description: 资金账户ID
  25679. in: query
  25680. name: accountID
  25681. required: true
  25682. type: integer
  25683. - description: 商品ID
  25684. in: query
  25685. name: goodsID
  25686. type: integer
  25687. - description: 买卖方向,0:买 1:卖
  25688. in: query
  25689. name: buyOrSell
  25690. type: integer
  25691. - description: 关联委托单号
  25692. in: query
  25693. name: orderID
  25694. type: integer
  25695. produces:
  25696. - application/json
  25697. responses:
  25698. "200":
  25699. description: OK
  25700. schema:
  25701. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  25702. "500":
  25703. description: Internal Server Error
  25704. schema:
  25705. $ref: '#/definitions/app.Response'
  25706. security:
  25707. - ApiKeyAuth: []
  25708. summary: 获取企业风管期货成交单信息
  25709. tags:
  25710. - 企业风险管理(app)
  25711. /Ermcp/QueryErmcpTradePosition:
  25712. get:
  25713. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  25714. parameters:
  25715. - description: 资金账户ID
  25716. in: query
  25717. name: accountID
  25718. required: true
  25719. type: integer
  25720. - description: 所属市场ID
  25721. in: query
  25722. name: marketID
  25723. type: integer
  25724. produces:
  25725. - application/json
  25726. responses:
  25727. "200":
  25728. description: OK
  25729. schema:
  25730. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  25731. "500":
  25732. description: Internal Server Error
  25733. schema:
  25734. $ref: '#/definitions/app.Response'
  25735. security:
  25736. - ApiKeyAuth: []
  25737. summary: 获取企业风管期货持仓头寸信息
  25738. tags:
  25739. - 企业风险管理(app)
  25740. /Ermcp/QueryExposureDetail:
  25741. get:
  25742. parameters:
  25743. - description: 所属机构ID
  25744. in: query
  25745. name: areaUserId
  25746. required: true
  25747. type: integer
  25748. - description: 套保商品
  25749. in: query
  25750. name: middleGoodsId
  25751. required: true
  25752. type: integer
  25753. produces:
  25754. - application/json
  25755. responses:
  25756. "200":
  25757. description: OK
  25758. schema:
  25759. items:
  25760. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  25761. type: array
  25762. "500":
  25763. description: Internal Server Error
  25764. schema:
  25765. $ref: '#/definitions/app.Response'
  25766. security:
  25767. - ApiKeyAuth: []
  25768. summary: 查询敞口现货明细
  25769. tags:
  25770. - 企业风险管理(app)
  25771. /Ermcp/QueryExposureGoods:
  25772. get:
  25773. parameters:
  25774. - description: 套保商品id
  25775. in: query
  25776. name: middlegoodsid
  25777. required: true
  25778. type: integer
  25779. produces:
  25780. - application/json
  25781. responses:
  25782. "200":
  25783. description: OK
  25784. schema:
  25785. items:
  25786. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  25787. type: array
  25788. "500":
  25789. description: Internal Server Error
  25790. schema:
  25791. $ref: '#/definitions/app.Response'
  25792. security:
  25793. - ApiKeyAuth: []
  25794. summary: 查询敞口主力合约
  25795. tags:
  25796. - 企业风险管理(app)
  25797. /Ermcp/QueryExposureHedgePosition:
  25798. get:
  25799. parameters:
  25800. - description: 用户id
  25801. in: query
  25802. name: userid
  25803. required: true
  25804. type: integer
  25805. produces:
  25806. - application/json
  25807. responses:
  25808. "200":
  25809. description: OK
  25810. schema:
  25811. items:
  25812. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  25813. type: array
  25814. "500":
  25815. description: Internal Server Error
  25816. schema:
  25817. $ref: '#/definitions/app.Response'
  25818. security:
  25819. - ApiKeyAuth: []
  25820. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  25821. tags:
  25822. - 企业风险管理(app)
  25823. /Ermcp/QueryExposureHedgePositionDetail:
  25824. get:
  25825. parameters:
  25826. - description: 所属机构ID
  25827. in: query
  25828. name: userid
  25829. required: true
  25830. type: integer
  25831. - description: 商品id
  25832. in: query
  25833. name: goodsId
  25834. required: true
  25835. type: integer
  25836. produces:
  25837. - application/json
  25838. responses:
  25839. "200":
  25840. description: OK
  25841. schema:
  25842. items:
  25843. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  25844. type: array
  25845. "500":
  25846. description: Internal Server Error
  25847. schema:
  25848. $ref: '#/definitions/app.Response'
  25849. security:
  25850. - ApiKeyAuth: []
  25851. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  25852. tags:
  25853. - 企业风险管理(app)
  25854. /Ermcp/QueryExposureSpot:
  25855. get:
  25856. parameters:
  25857. - description: 所属机构ID
  25858. in: query
  25859. name: areaUserId
  25860. required: true
  25861. type: integer
  25862. produces:
  25863. - application/json
  25864. responses:
  25865. "200":
  25866. description: OK
  25867. schema:
  25868. items:
  25869. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  25870. type: array
  25871. "500":
  25872. description: Internal Server Error
  25873. schema:
  25874. $ref: '#/definitions/app.Response'
  25875. security:
  25876. - ApiKeyAuth: []
  25877. summary: 查询敞口现货头寸(敞口/现货头寸)
  25878. tags:
  25879. - 企业风险管理(app)
  25880. /Ermcp/QueryExposureSpotDetail:
  25881. get:
  25882. parameters:
  25883. - description: 所属机构ID
  25884. in: query
  25885. name: areaUserId
  25886. required: true
  25887. type: integer
  25888. - description: 现货品种ID
  25889. in: query
  25890. name: wrstandardId
  25891. required: true
  25892. type: integer
  25893. produces:
  25894. - application/json
  25895. responses:
  25896. "200":
  25897. description: OK
  25898. schema:
  25899. items:
  25900. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  25901. type: array
  25902. "500":
  25903. description: Internal Server Error
  25904. schema:
  25905. $ref: '#/definitions/app.Response'
  25906. security:
  25907. - ApiKeyAuth: []
  25908. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  25909. tags:
  25910. - 企业风险管理(app)
  25911. /Ermcp/QueryFuturesCompany:
  25912. get:
  25913. produces:
  25914. - application/json
  25915. responses:
  25916. "200":
  25917. description: OK
  25918. schema:
  25919. items:
  25920. $ref: '#/definitions/models.ErmcpFuturesCompany'
  25921. type: array
  25922. "500":
  25923. description: Internal Server Error
  25924. schema:
  25925. $ref: '#/definitions/app.Response'
  25926. security:
  25927. - ApiKeyAuth: []
  25928. summary: 查询期货公司
  25929. tags:
  25930. - 企业风险管理(app)
  25931. /Ermcp/QueryGGConvertConfig:
  25932. get:
  25933. parameters:
  25934. - description: 品种id(不填则查所有)
  25935. in: query
  25936. name: goodsgroupid
  25937. type: integer
  25938. produces:
  25939. - application/json
  25940. responses:
  25941. "200":
  25942. description: OK
  25943. schema:
  25944. items:
  25945. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  25946. type: array
  25947. "500":
  25948. description: Internal Server Error
  25949. schema:
  25950. $ref: '#/definitions/app.Response'
  25951. security:
  25952. - ApiKeyAuth: []
  25953. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  25954. tags:
  25955. - 企业风险管理(app)
  25956. /Ermcp/QueryGoodsBrand:
  25957. get:
  25958. parameters:
  25959. - description: 用户ID
  25960. in: query
  25961. name: userid
  25962. required: true
  25963. type: integer
  25964. - description: 现货商品ID
  25965. in: query
  25966. name: wrstandardid
  25967. type: integer
  25968. produces:
  25969. - application/json
  25970. responses:
  25971. "200":
  25972. description: OK
  25973. schema:
  25974. items:
  25975. $ref: '#/definitions/models.ErmcpGoodsBrand'
  25976. type: array
  25977. "500":
  25978. description: Internal Server Error
  25979. schema:
  25980. $ref: '#/definitions/app.Response'
  25981. security:
  25982. - ApiKeyAuth: []
  25983. summary: 查询商品品牌
  25984. tags:
  25985. - 企业风险管理(app)
  25986. /Ermcp/QueryGoodsModel:
  25987. get:
  25988. parameters:
  25989. - description: 用户ID
  25990. in: query
  25991. name: userid
  25992. required: true
  25993. type: integer
  25994. produces:
  25995. - application/json
  25996. responses:
  25997. "200":
  25998. description: OK
  25999. schema:
  26000. items:
  26001. $ref: '#/definitions/models.ErmcpGoodsModel'
  26002. type: array
  26003. "500":
  26004. description: Internal Server Error
  26005. schema:
  26006. $ref: '#/definitions/app.Response'
  26007. security:
  26008. - ApiKeyAuth: []
  26009. summary: 查询商品型号
  26010. tags:
  26011. - 企业风险管理(app)
  26012. /Ermcp/QueryHisExposure:
  26013. get:
  26014. parameters:
  26015. - description: 用户id
  26016. in: query
  26017. name: userid
  26018. required: true
  26019. type: integer
  26020. - description: 每个品种记录数
  26021. in: query
  26022. name: lastNum
  26023. required: true
  26024. type: integer
  26025. produces:
  26026. - application/json
  26027. responses:
  26028. "200":
  26029. description: OK
  26030. schema:
  26031. items:
  26032. $ref: '#/definitions/ermcp.HisExposureRsp'
  26033. type: array
  26034. "500":
  26035. description: Internal Server Error
  26036. schema:
  26037. $ref: '#/definitions/app.Response'
  26038. security:
  26039. - ApiKeyAuth: []
  26040. summary: 查询历史敞口(菜单:敞口/历史敞口)
  26041. tags:
  26042. - 企业风险管理(app)
  26043. /Ermcp/QueryMiddleGoods:
  26044. get:
  26045. parameters:
  26046. - description: 所属机构ID
  26047. in: query
  26048. name: userid
  26049. required: true
  26050. type: integer
  26051. - description: 状态 0-停用 1-正常
  26052. in: query
  26053. name: status
  26054. required: true
  26055. type: integer
  26056. produces:
  26057. - application/json
  26058. responses:
  26059. "200":
  26060. description: OK
  26061. schema:
  26062. items:
  26063. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  26064. type: array
  26065. "500":
  26066. description: Internal Server Error
  26067. schema:
  26068. $ref: '#/definitions/app.Response'
  26069. security:
  26070. - ApiKeyAuth: []
  26071. summary: 查询套保品种(菜单:套保品种)
  26072. tags:
  26073. - 企业风险管理(app)
  26074. /Ermcp/QueryMiddleGoodsChangeLog:
  26075. get:
  26076. parameters:
  26077. - description: 所属机构ID
  26078. in: query
  26079. name: userid
  26080. required: true
  26081. type: integer
  26082. - description: 套保品种id
  26083. in: query
  26084. name: middlegoodsid
  26085. required: true
  26086. type: integer
  26087. produces:
  26088. - application/json
  26089. responses:
  26090. "200":
  26091. description: OK
  26092. schema:
  26093. items:
  26094. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  26095. type: array
  26096. "500":
  26097. description: Internal Server Error
  26098. schema:
  26099. $ref: '#/definitions/app.Response'
  26100. security:
  26101. - ApiKeyAuth: []
  26102. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  26103. tags:
  26104. - 企业风险管理(app)
  26105. /Ermcp/QueryMiddleGoodsDetail:
  26106. get:
  26107. parameters:
  26108. - description: 所属机构ID
  26109. in: query
  26110. name: userid
  26111. required: true
  26112. type: integer
  26113. - description: 套保品种id
  26114. in: query
  26115. name: middlegoodsid
  26116. type: integer
  26117. produces:
  26118. - application/json
  26119. responses:
  26120. "200":
  26121. description: OK
  26122. schema:
  26123. items:
  26124. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  26125. type: array
  26126. "500":
  26127. description: Internal Server Error
  26128. schema:
  26129. $ref: '#/definitions/app.Response'
  26130. security:
  26131. - ApiKeyAuth: []
  26132. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  26133. tags:
  26134. - 企业风险管理(app)
  26135. /Ermcp/QueryPendingAuditInfo:
  26136. get:
  26137. parameters:
  26138. - description: 用户ID
  26139. in: query
  26140. name: UserId
  26141. required: true
  26142. type: integer
  26143. produces:
  26144. - application/json
  26145. responses:
  26146. "200":
  26147. description: OK
  26148. schema:
  26149. items:
  26150. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  26151. type: array
  26152. "500":
  26153. description: Internal Server Error
  26154. schema:
  26155. $ref: '#/definitions/app.Response'
  26156. security:
  26157. - ApiKeyAuth: []
  26158. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  26159. tags:
  26160. - 企业风险管理(app)
  26161. /Ermcp/QueryRealtimeExposure:
  26162. get:
  26163. parameters:
  26164. - description: 所属机构ID
  26165. in: query
  26166. name: userid
  26167. required: true
  26168. type: integer
  26169. produces:
  26170. - application/json
  26171. responses:
  26172. "200":
  26173. description: OK
  26174. schema:
  26175. items:
  26176. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  26177. type: array
  26178. "500":
  26179. description: Internal Server Error
  26180. schema:
  26181. $ref: '#/definitions/app.Response'
  26182. security:
  26183. - ApiKeyAuth: []
  26184. summary: 查询实时敞口
  26185. tags:
  26186. - 企业风险管理(app)
  26187. /Ermcp/QueryRealtimeExposurePosition:
  26188. get:
  26189. parameters:
  26190. - description: 用户id
  26191. in: query
  26192. name: userid
  26193. required: true
  26194. type: integer
  26195. - description: 套保商品ID
  26196. in: query
  26197. name: middleGoodsId
  26198. required: true
  26199. type: integer
  26200. produces:
  26201. - application/json
  26202. responses:
  26203. "200":
  26204. description: OK
  26205. schema:
  26206. items:
  26207. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  26208. type: array
  26209. "500":
  26210. description: Internal Server Error
  26211. schema:
  26212. $ref: '#/definitions/app.Response'
  26213. security:
  26214. - ApiKeyAuth: []
  26215. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  26216. tags:
  26217. - 企业风险管理(app)
  26218. /Ermcp/QueryRoleMenu:
  26219. get:
  26220. parameters:
  26221. - description: 登录ID
  26222. in: query
  26223. name: loginid
  26224. required: true
  26225. type: integer
  26226. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  26227. in: query
  26228. name: menutype
  26229. type: integer
  26230. produces:
  26231. - application/json
  26232. responses:
  26233. "200":
  26234. description: OK
  26235. schema:
  26236. items:
  26237. $ref: '#/definitions/models.RoleMenu'
  26238. type: array
  26239. "500":
  26240. description: Internal Server Error
  26241. schema:
  26242. $ref: '#/definitions/app.Response'
  26243. security:
  26244. - ApiKeyAuth: []
  26245. summary: 查询角色菜单和权限
  26246. tags:
  26247. - 企业风险管理(app)
  26248. /Ermcp/QueryTradeConfigTMP:
  26249. get:
  26250. parameters:
  26251. - description: 所属机构id
  26252. in: query
  26253. name: areauserid
  26254. type: integer
  26255. produces:
  26256. - application/json
  26257. responses:
  26258. "200":
  26259. description: OK
  26260. schema:
  26261. items:
  26262. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  26263. type: array
  26264. "500":
  26265. description: Internal Server Error
  26266. schema:
  26267. $ref: '#/definitions/app.Response'
  26268. security:
  26269. - ApiKeyAuth: []
  26270. summary: 查询交易模板配置
  26271. tags:
  26272. - 企业风险管理(app)
  26273. /Ermcp/QueryUserInfo:
  26274. get:
  26275. parameters:
  26276. - description: 所属机构用户ID
  26277. in: query
  26278. name: MemberUserID
  26279. required: true
  26280. type: integer
  26281. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  26282. in: query
  26283. name: queryType
  26284. required: true
  26285. type: integer
  26286. produces:
  26287. - application/json
  26288. responses:
  26289. "200":
  26290. description: OK
  26291. schema:
  26292. items:
  26293. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  26294. type: array
  26295. "500":
  26296. description: Internal Server Error
  26297. schema:
  26298. $ref: '#/definitions/app.Response'
  26299. security:
  26300. - ApiKeyAuth: []
  26301. summary: 查询客户资料
  26302. tags:
  26303. - 企业风险管理(app)
  26304. /Ermcp/QueryWarehouseInfo:
  26305. get:
  26306. parameters:
  26307. - description: 用户ID
  26308. in: query
  26309. name: userid
  26310. required: true
  26311. type: integer
  26312. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  26313. in: query
  26314. name: status
  26315. type: string
  26316. produces:
  26317. - application/json
  26318. responses:
  26319. "200":
  26320. description: OK
  26321. schema:
  26322. items:
  26323. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  26324. type: array
  26325. "500":
  26326. description: Internal Server Error
  26327. schema:
  26328. $ref: '#/definitions/app.Response'
  26329. security:
  26330. - ApiKeyAuth: []
  26331. summary: 查询仓库信息
  26332. tags:
  26333. - 企业风险管理(app)
  26334. /Ermcp3/QryAreaExpourseContractDetail:
  26335. get:
  26336. parameters:
  26337. - description: 用户ID
  26338. in: query
  26339. name: userid
  26340. required: true
  26341. type: integer
  26342. - description: 套保商品id
  26343. in: query
  26344. name: middlegoodsid
  26345. required: true
  26346. type: integer
  26347. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26348. in: query
  26349. name: cycletype
  26350. required: true
  26351. type: integer
  26352. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26353. 全(0)【原值】
  26354. in: query
  26355. name: cycletime
  26356. required: true
  26357. type: string
  26358. produces:
  26359. - application/json
  26360. responses:
  26361. "200":
  26362. description: OK
  26363. schema:
  26364. items:
  26365. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  26366. type: array
  26367. "500":
  26368. description: Internal Server Error
  26369. schema:
  26370. $ref: '#/definitions/app.Response'
  26371. security:
  26372. - ApiKeyAuth: []
  26373. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  26374. tags:
  26375. - 企业风险管理v3(app)
  26376. /Ermcp3/QryAreaExpourseFutuDetail:
  26377. get:
  26378. parameters:
  26379. - description: 用户ID
  26380. in: query
  26381. name: userid
  26382. required: true
  26383. type: integer
  26384. - description: 套保商品id
  26385. in: query
  26386. name: middlegoodsid
  26387. required: true
  26388. type: integer
  26389. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26390. in: query
  26391. name: cycletype
  26392. required: true
  26393. type: integer
  26394. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26395. 全(0)【原值】
  26396. in: query
  26397. name: cycletime
  26398. required: true
  26399. type: string
  26400. produces:
  26401. - application/json
  26402. responses:
  26403. "200":
  26404. description: OK
  26405. schema:
  26406. items:
  26407. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  26408. type: array
  26409. "500":
  26410. description: Internal Server Error
  26411. schema:
  26412. $ref: '#/definitions/app.Response'
  26413. security:
  26414. - ApiKeyAuth: []
  26415. summary: 查询敞口期货明细(敞口报表/期货明细)
  26416. tags:
  26417. - 企业风险管理v3(app)
  26418. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  26419. get:
  26420. parameters:
  26421. - description: 用户ID
  26422. in: query
  26423. name: userid
  26424. required: true
  26425. type: integer
  26426. - description: 套保商品id
  26427. in: query
  26428. name: middlegoodsid
  26429. required: true
  26430. type: integer
  26431. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26432. in: query
  26433. name: cycletype
  26434. required: true
  26435. type: integer
  26436. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26437. 全(0)【原值】
  26438. in: query
  26439. name: cycletime
  26440. required: true
  26441. type: string
  26442. produces:
  26443. - application/json
  26444. responses:
  26445. "200":
  26446. description: OK
  26447. schema:
  26448. items:
  26449. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  26450. type: array
  26451. "500":
  26452. description: Internal Server Error
  26453. schema:
  26454. $ref: '#/definitions/app.Response'
  26455. security:
  26456. - ApiKeyAuth: []
  26457. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  26458. tags:
  26459. - 企业风险管理v3(app)
  26460. /Ermcp3/QryAreaExpourseParamChLogDetail:
  26461. get:
  26462. parameters:
  26463. - description: 用户ID
  26464. in: query
  26465. name: userid
  26466. required: true
  26467. type: integer
  26468. - description: 套保商品id
  26469. in: query
  26470. name: middlegoodsid
  26471. required: true
  26472. type: integer
  26473. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26474. in: query
  26475. name: cycletype
  26476. required: true
  26477. type: integer
  26478. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26479. 全(0)【原值】
  26480. in: query
  26481. name: cycletime
  26482. required: true
  26483. type: string
  26484. produces:
  26485. - application/json
  26486. responses:
  26487. "200":
  26488. description: OK
  26489. schema:
  26490. items:
  26491. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  26492. type: array
  26493. "500":
  26494. description: Internal Server Error
  26495. schema:
  26496. $ref: '#/definitions/app.Response'
  26497. security:
  26498. - ApiKeyAuth: []
  26499. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  26500. tags:
  26501. - 企业风险管理v3(app)
  26502. /Ermcp3/QryAreaExpourseReport:
  26503. get:
  26504. parameters:
  26505. - description: 用户ID
  26506. in: query
  26507. name: userid
  26508. required: true
  26509. type: integer
  26510. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  26511. in: query
  26512. name: querytype
  26513. required: true
  26514. type: integer
  26515. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26516. in: query
  26517. name: cycletype
  26518. required: true
  26519. type: integer
  26520. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26521. 全(0)【原值】
  26522. in: query
  26523. name: cycletime
  26524. required: true
  26525. type: string
  26526. produces:
  26527. - application/json
  26528. responses:
  26529. "200":
  26530. description: OK
  26531. schema:
  26532. items:
  26533. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  26534. type: array
  26535. "500":
  26536. description: Internal Server Error
  26537. schema:
  26538. $ref: '#/definitions/app.Response'
  26539. security:
  26540. - ApiKeyAuth: []
  26541. summary: 查询敞口报表
  26542. tags:
  26543. - 企业风险管理v3(app)
  26544. /Ermcp3/QryAreaSpotplReport:
  26545. get:
  26546. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  26547. parameters:
  26548. - description: 用户ID
  26549. in: query
  26550. name: userid
  26551. required: true
  26552. type: integer
  26553. - description: 查询类型 1-报表 2-报表明细
  26554. in: query
  26555. name: querytype
  26556. required: true
  26557. type: integer
  26558. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26559. in: query
  26560. name: cycletype
  26561. required: true
  26562. type: integer
  26563. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26564. 全(0)【原值】
  26565. in: query
  26566. name: cycletime
  26567. required: true
  26568. type: string
  26569. - description: 现货品种id(明细必填)
  26570. in: query
  26571. name: deliverygoodsid
  26572. type: integer
  26573. - description: 币种id(明细必填)
  26574. in: query
  26575. name: currencyid
  26576. type: integer
  26577. - description: 日/周/月报表汇总维度 1:品种+品类
  26578. in: query
  26579. name: sumflag
  26580. type: integer
  26581. produces:
  26582. - application/json
  26583. responses:
  26584. "200":
  26585. description: OK
  26586. schema:
  26587. items:
  26588. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  26589. type: array
  26590. "500":
  26591. description: Internal Server Error
  26592. schema:
  26593. $ref: '#/definitions/app.Response'
  26594. security:
  26595. - ApiKeyAuth: []
  26596. summary: 查询现货报表
  26597. tags:
  26598. - 企业风险管理v3(app)
  26599. /Ermcp3/QryAreaStockReport:
  26600. get:
  26601. parameters:
  26602. - description: 用户ID
  26603. in: query
  26604. name: userid
  26605. required: true
  26606. type: integer
  26607. - description: 查询类型 1-报表 2-报表明细
  26608. in: query
  26609. name: querytype
  26610. required: true
  26611. type: integer
  26612. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26613. in: query
  26614. name: cycletype
  26615. required: true
  26616. type: integer
  26617. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26618. 全(0)【原值】
  26619. in: query
  26620. name: cycletime
  26621. required: true
  26622. type: string
  26623. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  26624. in: query
  26625. name: sumfields
  26626. type: string
  26627. - description: 品种ID
  26628. in: query
  26629. name: deliverygoodsid
  26630. type: integer
  26631. - description: 品类ID
  26632. in: query
  26633. name: wrstandardid
  26634. type: integer
  26635. - description: 品牌ID
  26636. in: query
  26637. name: spotgoodsbrandid
  26638. type: integer
  26639. - description: 仓库ID
  26640. in: query
  26641. name: warehouseinfoid
  26642. type: integer
  26643. produces:
  26644. - application/json
  26645. responses:
  26646. "200":
  26647. description: OK
  26648. schema:
  26649. items:
  26650. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  26651. type: array
  26652. "500":
  26653. description: Internal Server Error
  26654. schema:
  26655. $ref: '#/definitions/app.Response'
  26656. security:
  26657. - ApiKeyAuth: []
  26658. summary: 查询库存报表
  26659. tags:
  26660. - 企业风险管理v3(app)
  26661. /Ermcp3/QryAreaSumPL:
  26662. get:
  26663. parameters:
  26664. - description: 用户ID
  26665. in: query
  26666. name: userid
  26667. required: true
  26668. type: integer
  26669. - description: 查询类型 1-报表 2-报表明细
  26670. in: query
  26671. name: querytype
  26672. required: true
  26673. type: integer
  26674. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26675. in: query
  26676. name: cycletype
  26677. required: true
  26678. type: integer
  26679. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26680. 全(0)【原值】
  26681. in: query
  26682. name: cycletime
  26683. required: true
  26684. type: string
  26685. - description: 币种id(明细必填)
  26686. in: query
  26687. name: currencyid
  26688. type: integer
  26689. - description: 套保品种ID, 查询类型为2时起效
  26690. in: query
  26691. name: middlegoodsid
  26692. type: integer
  26693. produces:
  26694. - application/json
  26695. responses:
  26696. "200":
  26697. description: OK
  26698. schema:
  26699. items:
  26700. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  26701. type: array
  26702. "500":
  26703. description: Internal Server Error
  26704. schema:
  26705. $ref: '#/definitions/app.Response'
  26706. security:
  26707. - ApiKeyAuth: []
  26708. summary: 查询汇总损益表
  26709. tags:
  26710. - 企业风险管理v3(app)
  26711. /Ermcp3/QryFinanceReport:
  26712. get:
  26713. parameters:
  26714. - description: 用户ID
  26715. in: query
  26716. name: userid
  26717. required: true
  26718. type: integer
  26719. - description: 查询类型 1-报表 2-报表明细
  26720. in: query
  26721. name: querytype
  26722. required: true
  26723. type: integer
  26724. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26725. in: query
  26726. name: cycletype
  26727. required: true
  26728. type: integer
  26729. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26730. 全(0)【原值】
  26731. in: query
  26732. name: cycletime
  26733. required: true
  26734. type: string
  26735. - description: 币种id(报表明细必填)
  26736. in: query
  26737. name: currencyid
  26738. type: integer
  26739. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  26740. in: query
  26741. name: sumfields
  26742. type: string
  26743. produces:
  26744. - application/json
  26745. responses:
  26746. "200":
  26747. description: OK
  26748. schema:
  26749. items:
  26750. $ref: '#/definitions/models.Ermcp3FinanceReport'
  26751. type: array
  26752. "500":
  26753. description: Internal Server Error
  26754. schema:
  26755. $ref: '#/definitions/app.Response'
  26756. security:
  26757. - ApiKeyAuth: []
  26758. summary: 查询财务报表
  26759. tags:
  26760. - 企业风险管理v3(app)
  26761. /Ermcp3/QrySCMiddleGoodsReport:
  26762. get:
  26763. parameters:
  26764. - description: 用户ID
  26765. in: query
  26766. name: userid
  26767. required: true
  26768. type: integer
  26769. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26770. in: query
  26771. name: cycletype
  26772. required: true
  26773. type: integer
  26774. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26775. 全(0)【原值】
  26776. in: query
  26777. name: cycletime
  26778. required: true
  26779. type: string
  26780. - description: 合同id
  26781. in: query
  26782. name: spotcontractid
  26783. type: integer
  26784. - description: 套保品种id
  26785. in: query
  26786. name: middlegoodsid
  26787. type: integer
  26788. - description: 现货品种id
  26789. in: query
  26790. name: deliverygoodsid
  26791. type: integer
  26792. - description: 现货商品id
  26793. in: query
  26794. name: wrstandardid
  26795. type: integer
  26796. - description: 合同编号(模糊匹配)
  26797. in: query
  26798. name: contractno
  26799. type: string
  26800. produces:
  26801. - application/json
  26802. responses:
  26803. "200":
  26804. description: OK
  26805. schema:
  26806. items:
  26807. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  26808. type: array
  26809. "500":
  26810. description: Internal Server Error
  26811. schema:
  26812. $ref: '#/definitions/app.Response'
  26813. security:
  26814. - ApiKeyAuth: []
  26815. summary: 查询定价报表
  26816. tags:
  26817. - 企业风险管理v3(app)
  26818. /Ermcp3/QryTaFutureDataReport:
  26819. get:
  26820. parameters:
  26821. - description: 用户ID
  26822. in: query
  26823. name: userid
  26824. required: true
  26825. type: integer
  26826. - description: 查询类型 1-报表 2-报表明细
  26827. in: query
  26828. name: querytype
  26829. required: true
  26830. type: integer
  26831. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26832. in: query
  26833. name: cycletype
  26834. required: true
  26835. type: integer
  26836. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26837. 全(0)【原值】
  26838. in: query
  26839. name: cycletime
  26840. required: true
  26841. type: string
  26842. - description: 币种id(查明细必填)
  26843. in: query
  26844. name: currencyid
  26845. type: integer
  26846. - description: 品种id(查明细必填)
  26847. in: query
  26848. name: goodsgroupid
  26849. type: integer
  26850. - description: 商品id(查明细必填)
  26851. in: query
  26852. name: goodsid
  26853. type: integer
  26854. - description: 买卖方向(查明细必填)
  26855. in: query
  26856. name: buyorsell
  26857. type: integer
  26858. produces:
  26859. - application/json
  26860. responses:
  26861. "200":
  26862. description: OK
  26863. schema:
  26864. items:
  26865. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  26866. type: array
  26867. "500":
  26868. description: Internal Server Error
  26869. schema:
  26870. $ref: '#/definitions/app.Response'
  26871. security:
  26872. - ApiKeyAuth: []
  26873. summary: 查询期货报表
  26874. tags:
  26875. - 企业风险管理v3(app)
  26876. /Ermcp3/QueryAreaStock:
  26877. get:
  26878. parameters:
  26879. - description: 用户ID
  26880. in: query
  26881. name: userid
  26882. required: true
  26883. type: integer
  26884. produces:
  26885. - application/json
  26886. responses:
  26887. "200":
  26888. description: OK
  26889. schema:
  26890. items:
  26891. $ref: '#/definitions/models.Ermcp3AreaStock'
  26892. type: array
  26893. "500":
  26894. description: Internal Server Error
  26895. schema:
  26896. $ref: '#/definitions/app.Response'
  26897. security:
  26898. - ApiKeyAuth: []
  26899. summary: 查询机构库存(库存管理/当前库存)
  26900. tags:
  26901. - 企业风险管理v3(app)
  26902. /Ermcp3/QueryAreaStockApply:
  26903. get:
  26904. parameters:
  26905. - description: 用户ID
  26906. in: query
  26907. name: userid
  26908. required: true
  26909. type: integer
  26910. - description: 用户类型 2-机构 7-企业成员
  26911. in: query
  26912. name: usertype
  26913. type: integer
  26914. - description: 现货商品ID
  26915. in: query
  26916. name: deliverygoodsid
  26917. type: integer
  26918. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  26919. in: query
  26920. name: inouttype
  26921. type: string
  26922. - description: 合同ID
  26923. in: query
  26924. name: spotcontractid
  26925. type: integer
  26926. - description: 品类ID
  26927. in: query
  26928. name: wrstandardid
  26929. type: integer
  26930. - description: 品牌ID
  26931. in: query
  26932. name: spotgoodsbrandid
  26933. type: integer
  26934. - description: 仓库ID
  26935. in: query
  26936. name: warehouseinfoid
  26937. type: integer
  26938. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26939. in: query
  26940. name: applystatus
  26941. type: string
  26942. produces:
  26943. - application/json
  26944. responses:
  26945. "200":
  26946. description: OK
  26947. schema:
  26948. items:
  26949. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  26950. type: array
  26951. "500":
  26952. description: Internal Server Error
  26953. schema:
  26954. $ref: '#/definitions/app.Response'
  26955. security:
  26956. - ApiKeyAuth: []
  26957. summary: 查询库存申请(出入库记录|库存审核)
  26958. tags:
  26959. - 企业风险管理v3(app)
  26960. /Ermcp3/QueryAreaStockApplySum:
  26961. get:
  26962. parameters:
  26963. - description: 合同ID
  26964. in: query
  26965. name: spotcontractid
  26966. required: true
  26967. type: integer
  26968. produces:
  26969. - application/json
  26970. responses:
  26971. "200":
  26972. description: OK
  26973. schema:
  26974. items:
  26975. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  26976. type: array
  26977. "500":
  26978. description: Internal Server Error
  26979. schema:
  26980. $ref: '#/definitions/app.Response'
  26981. security:
  26982. - ApiKeyAuth: []
  26983. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  26984. tags:
  26985. - 企业风险管理v3(app)
  26986. /Ermcp3/QueryDGFactoryItem:
  26987. get:
  26988. parameters:
  26989. - description: 用户id
  26990. in: query
  26991. name: userid
  26992. type: integer
  26993. - description: 用户类型 2-机构 7-企业成员
  26994. in: query
  26995. name: usertype
  26996. type: integer
  26997. - description: 选择项ID(SEQ_DGFACTORYITEM)
  26998. in: query
  26999. name: dgfactoryitemid
  27000. type: integer
  27001. - description: 现货品种ID
  27002. in: query
  27003. name: deliverygoodsid
  27004. type: integer
  27005. - description: 要素项类型
  27006. in: query
  27007. name: dgfactoryitemtypeid
  27008. type: integer
  27009. - description: 顺序
  27010. in: query
  27011. name: orderindex
  27012. type: integer
  27013. produces:
  27014. - application/json
  27015. responses:
  27016. "200":
  27017. description: OK
  27018. schema:
  27019. items:
  27020. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  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/QueryDeliveryGoods:
  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: 排除已配置的业务类型商品 1-套保 2-套利
  27044. in: query
  27045. name: excludecfg
  27046. type: integer
  27047. produces:
  27048. - application/json
  27049. responses:
  27050. "200":
  27051. description: OK
  27052. schema:
  27053. items:
  27054. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  27055. type: array
  27056. "500":
  27057. description: Internal Server Error
  27058. schema:
  27059. $ref: '#/definitions/app.Response'
  27060. security:
  27061. - ApiKeyAuth: []
  27062. summary: 查询现货商品
  27063. tags:
  27064. - 企业风险管理v3(app)
  27065. /Ermcp3/QueryDeliveryGoodsDetail:
  27066. get:
  27067. parameters:
  27068. - description: 用户id
  27069. in: query
  27070. name: userid
  27071. required: true
  27072. type: integer
  27073. - description: 用户类型 2-机构 7-企业成员
  27074. in: query
  27075. name: usertype
  27076. type: integer
  27077. - description: 现货商品id
  27078. in: query
  27079. name: deliverygoodsid
  27080. type: integer
  27081. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  27082. in: query
  27083. name: filtersubempty
  27084. type: integer
  27085. produces:
  27086. - application/json
  27087. responses:
  27088. "200":
  27089. description: OK
  27090. schema:
  27091. items:
  27092. $ref: '#/definitions/models.XHDeliveryGoods'
  27093. type: array
  27094. "500":
  27095. description: Internal Server Error
  27096. schema:
  27097. $ref: '#/definitions/app.Response'
  27098. security:
  27099. - ApiKeyAuth: []
  27100. summary: 查询现货商品详情
  27101. tags:
  27102. - 企业风险管理v3(app)
  27103. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  27104. get:
  27105. parameters:
  27106. - description: 合同id
  27107. in: query
  27108. name: spotcontractid
  27109. required: true
  27110. type: string
  27111. produces:
  27112. - application/json
  27113. responses:
  27114. "200":
  27115. description: OK
  27116. schema:
  27117. items:
  27118. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  27119. type: array
  27120. "500":
  27121. description: Internal Server Error
  27122. schema:
  27123. $ref: '#/definitions/app.Response'
  27124. security:
  27125. - ApiKeyAuth: []
  27126. summary: 查询现货合同期现配置信息
  27127. tags:
  27128. - 企业风险管理v3(app)
  27129. /Ermcp3/QueryExposureDetail:
  27130. get:
  27131. parameters:
  27132. - description: 用户id
  27133. in: query
  27134. name: userid
  27135. required: true
  27136. type: integer
  27137. - description: 用户类型 2-机构 7-企业成员
  27138. in: query
  27139. name: usertype
  27140. type: integer
  27141. - description: 套保商品
  27142. in: query
  27143. name: middlegoodsid
  27144. required: true
  27145. type: integer
  27146. produces:
  27147. - application/json
  27148. responses:
  27149. "200":
  27150. description: OK
  27151. schema:
  27152. items:
  27153. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  27154. type: array
  27155. "500":
  27156. description: Internal Server Error
  27157. schema:
  27158. $ref: '#/definitions/app.Response'
  27159. security:
  27160. - ApiKeyAuth: []
  27161. summary: 查询敞口现货明细
  27162. tags:
  27163. - 企业风险管理v3(app)
  27164. /Ermcp3/QueryExposureSpot:
  27165. get:
  27166. parameters:
  27167. - description: 用户id
  27168. in: query
  27169. name: userid
  27170. required: true
  27171. type: integer
  27172. - description: 用户类型 2-机构 7-企业成员
  27173. in: query
  27174. name: usertype
  27175. type: integer
  27176. produces:
  27177. - application/json
  27178. responses:
  27179. "200":
  27180. description: OK
  27181. schema:
  27182. items:
  27183. $ref: '#/definitions/models.Ermcp3AreaSpot'
  27184. type: array
  27185. "500":
  27186. description: Internal Server Error
  27187. schema:
  27188. $ref: '#/definitions/app.Response'
  27189. security:
  27190. - ApiKeyAuth: []
  27191. summary: 查询敞口现货头寸(敞口/现货头寸)
  27192. tags:
  27193. - 企业风险管理v3(app)
  27194. /Ermcp3/QueryExposureSpotDetail:
  27195. get:
  27196. parameters:
  27197. - description: 用户id
  27198. in: query
  27199. name: userid
  27200. required: true
  27201. type: integer
  27202. - description: 用户类型 2-机构 7-企业成员
  27203. in: query
  27204. name: usertype
  27205. type: integer
  27206. - description: 现货商品ID
  27207. in: query
  27208. name: wrstandardid
  27209. required: true
  27210. type: integer
  27211. produces:
  27212. - application/json
  27213. responses:
  27214. "200":
  27215. description: OK
  27216. schema:
  27217. items:
  27218. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  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/QueryGoodsGroup:
  27230. get:
  27231. parameters:
  27232. - description: 用户id
  27233. in: query
  27234. name: userid
  27235. required: true
  27236. type: integer
  27237. - description: 用户类型 2-机构 7-企业成员
  27238. in: query
  27239. name: usertype
  27240. type: integer
  27241. - description: 排除套保品中已关联的商品组 1-排除
  27242. in: query
  27243. name: excludecfg
  27244. type: integer
  27245. produces:
  27246. - application/json
  27247. responses:
  27248. "200":
  27249. description: OK
  27250. schema:
  27251. items:
  27252. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  27253. type: array
  27254. "500":
  27255. description: Internal Server Error
  27256. schema:
  27257. $ref: '#/definitions/app.Response'
  27258. security:
  27259. - ApiKeyAuth: []
  27260. summary: 查询期货商品组
  27261. tags:
  27262. - 企业风险管理v3(app)
  27263. /Ermcp3/QueryGoodsWrstandard:
  27264. get:
  27265. parameters:
  27266. - description: 用户id
  27267. in: query
  27268. name: userid
  27269. required: true
  27270. type: integer
  27271. - description: 用户类型 2-机构 7-企业成员
  27272. in: query
  27273. name: usertype
  27274. type: integer
  27275. - description: 现货商品id
  27276. in: query
  27277. name: deliverygoodsid
  27278. type: integer
  27279. produces:
  27280. - application/json
  27281. responses:
  27282. "200":
  27283. description: OK
  27284. schema:
  27285. items:
  27286. $ref: '#/definitions/models.Ermcp3Wrstandard'
  27287. type: array
  27288. "500":
  27289. description: Internal Server Error
  27290. schema:
  27291. $ref: '#/definitions/app.Response'
  27292. security:
  27293. - ApiKeyAuth: []
  27294. summary: 查询商品品类
  27295. tags:
  27296. - 企业风险管理v3(app)
  27297. /Ermcp3/QueryGoodsbrand:
  27298. get:
  27299. parameters:
  27300. - description: 用户id
  27301. in: query
  27302. name: userid
  27303. required: true
  27304. type: integer
  27305. - description: 用户类型 2-机构 7-企业成员
  27306. in: query
  27307. name: usertype
  27308. type: integer
  27309. produces:
  27310. - application/json
  27311. responses:
  27312. "200":
  27313. description: OK
  27314. schema:
  27315. items:
  27316. $ref: '#/definitions/models.Ermcp3Brand'
  27317. type: array
  27318. "500":
  27319. description: Internal Server Error
  27320. schema:
  27321. $ref: '#/definitions/app.Response'
  27322. security:
  27323. - ApiKeyAuth: []
  27324. summary: 查询商品品牌
  27325. tags:
  27326. - 企业风险管理v3(app)
  27327. /Ermcp3/QueryHPMiddleGoods:
  27328. get:
  27329. parameters:
  27330. - description: 用户ID(填登录用户的userid)
  27331. in: query
  27332. name: userid
  27333. required: true
  27334. type: integer
  27335. - description: 买卖方向 0-买 1-卖
  27336. in: query
  27337. name: buyorsell
  27338. required: true
  27339. type: integer
  27340. - description: 商品组id
  27341. in: query
  27342. name: goodsgroupid
  27343. required: true
  27344. type: integer
  27345. - description: 套保计划编号(模糊匹配)
  27346. in: query
  27347. name: hedgeplanno
  27348. type: string
  27349. - description: 现货商品名称(模糊匹配)
  27350. in: query
  27351. name: wrstandardname
  27352. type: string
  27353. produces:
  27354. - application/json
  27355. responses:
  27356. "200":
  27357. description: OK
  27358. schema:
  27359. items:
  27360. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  27361. type: array
  27362. "500":
  27363. description: Internal Server Error
  27364. schema:
  27365. $ref: '#/definitions/app.Response'
  27366. security:
  27367. - ApiKeyAuth: []
  27368. summary: 查询可关联套保计划
  27369. tags:
  27370. - 企业风险管理v3(app)
  27371. /Ermcp3/QueryHedgePlan:
  27372. get:
  27373. parameters:
  27374. - description: 用户ID
  27375. in: query
  27376. name: userid
  27377. required: true
  27378. type: integer
  27379. - description: 用户类型 2-机构 7-企业成员
  27380. in: query
  27381. name: usertype
  27382. type: integer
  27383. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27384. in: query
  27385. name: hedgeplanstatus
  27386. required: true
  27387. type: string
  27388. produces:
  27389. - application/json
  27390. responses:
  27391. "200":
  27392. description: OK
  27393. schema:
  27394. items:
  27395. $ref: '#/definitions/models.Ermcp3HedgePlan'
  27396. type: array
  27397. "500":
  27398. description: Internal Server Error
  27399. schema:
  27400. $ref: '#/definitions/app.Response'
  27401. security:
  27402. - ApiKeyAuth: []
  27403. summary: 查询套保计划
  27404. tags:
  27405. - 企业风险管理v3(app)
  27406. /Ermcp3/QueryInnerTradeLink:
  27407. get:
  27408. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  27409. parameters:
  27410. - description: 外部成交单号
  27411. in: query
  27412. name: outtradeid
  27413. required: true
  27414. type: integer
  27415. produces:
  27416. - application/json
  27417. responses:
  27418. "200":
  27419. description: OK
  27420. schema:
  27421. items:
  27422. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  27423. type: array
  27424. "500":
  27425. description: Internal Server Error
  27426. schema:
  27427. $ref: '#/definitions/app.Response'
  27428. security:
  27429. - ApiKeyAuth: []
  27430. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  27431. tags:
  27432. - 企业风险管理v3(app)
  27433. /Ermcp3/QueryMiddleGoodsDetail:
  27434. get:
  27435. parameters:
  27436. - description: 用户id
  27437. in: query
  27438. name: userid
  27439. required: true
  27440. type: integer
  27441. - description: 用户类型 2-机构 7-企业成员
  27442. in: query
  27443. name: usertype
  27444. type: integer
  27445. - description: 套保品种id
  27446. in: query
  27447. name: middlegoodsid
  27448. type: integer
  27449. produces:
  27450. - application/json
  27451. responses:
  27452. "200":
  27453. description: OK
  27454. schema:
  27455. items:
  27456. $ref: '#/definitions/models.TBMiddleGoods'
  27457. type: array
  27458. "500":
  27459. description: Internal Server Error
  27460. schema:
  27461. $ref: '#/definitions/app.Response'
  27462. security:
  27463. - ApiKeyAuth: []
  27464. summary: 查询套保品种详情(套保品种/商品详情)
  27465. tags:
  27466. - 企业风险管理v3(app)
  27467. /Ermcp3/QueryOutTradeLink:
  27468. get:
  27469. description: 页面 app 现货->期现关联->外部成交单关联
  27470. parameters:
  27471. - description: 用户ID(填登录用户的userid)
  27472. in: query
  27473. name: userid
  27474. required: true
  27475. type: integer
  27476. - description: 外部订单号(模糊匹配)
  27477. in: query
  27478. name: outtradeid
  27479. type: string
  27480. - description: 合约名称/代码(模糊匹配)
  27481. in: query
  27482. name: goodsname
  27483. type: string
  27484. - description: 关联状态 0-未关联 1-已关联
  27485. in: query
  27486. name: hasinnerorder
  27487. type: integer
  27488. produces:
  27489. - application/json
  27490. responses:
  27491. "200":
  27492. description: OK
  27493. schema:
  27494. items:
  27495. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  27496. type: array
  27497. "500":
  27498. description: Internal Server Error
  27499. schema:
  27500. $ref: '#/definitions/app.Response'
  27501. security:
  27502. - ApiKeyAuth: []
  27503. summary: 查询外部成交单关联
  27504. tags:
  27505. - 企业风险管理v3(app)
  27506. /Ermcp3/QueryPaAreaAuditCfg:
  27507. get:
  27508. parameters:
  27509. - description: 用户id
  27510. in: query
  27511. name: userid
  27512. required: true
  27513. type: integer
  27514. produces:
  27515. - application/json
  27516. responses:
  27517. "200":
  27518. description: OK
  27519. schema:
  27520. items:
  27521. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  27522. type: array
  27523. "500":
  27524. description: Internal Server Error
  27525. schema:
  27526. $ref: '#/definitions/app.Response'
  27527. security:
  27528. - ApiKeyAuth: []
  27529. summary: 查询审核设置
  27530. tags:
  27531. - 企业风险管理v3(app)
  27532. /Ermcp3/QueryPaAreaSubject:
  27533. get:
  27534. parameters:
  27535. - description: 用户id
  27536. in: query
  27537. name: userid
  27538. required: true
  27539. type: integer
  27540. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  27541. in: query
  27542. name: subjectid
  27543. type: integer
  27544. - description: 主体类型 - 1:交易主体 2:业务部门
  27545. in: query
  27546. name: subjecttype
  27547. type: integer
  27548. - description: '主体状态 - 1:正常 2: 停用'
  27549. in: query
  27550. name: subjectstatus
  27551. type: integer
  27552. produces:
  27553. - application/json
  27554. responses:
  27555. "200":
  27556. description: OK
  27557. schema:
  27558. items:
  27559. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  27560. type: array
  27561. "500":
  27562. description: Internal Server Error
  27563. schema:
  27564. $ref: '#/definitions/app.Response'
  27565. security:
  27566. - ApiKeyAuth: []
  27567. summary: 查询交易主体
  27568. tags:
  27569. - 企业风险管理v3(app)
  27570. /Ermcp3/QueryPaTradeLink:
  27571. get:
  27572. description: 页面 app 现货->期现关联->期现单据关联
  27573. parameters:
  27574. - description: 用户ID
  27575. in: query
  27576. name: userid
  27577. required: true
  27578. type: integer
  27579. produces:
  27580. - application/json
  27581. responses:
  27582. "200":
  27583. description: OK
  27584. schema:
  27585. items:
  27586. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  27587. type: array
  27588. "500":
  27589. description: Internal Server Error
  27590. schema:
  27591. $ref: '#/definitions/app.Response'
  27592. security:
  27593. - ApiKeyAuth: []
  27594. summary: 查询期现单据关联
  27595. tags:
  27596. - 企业风险管理v3(app)
  27597. /Ermcp3/QueryPaTradeLinkDetail:
  27598. get:
  27599. description: 页面 app 现货->期现关联->关联记录
  27600. parameters:
  27601. - description: 用户ID(填登录用户的userid)
  27602. in: query
  27603. name: userid
  27604. required: true
  27605. type: integer
  27606. - description: 关联状态 1:成功 2:失败 3:解绑
  27607. in: query
  27608. name: linkstatus
  27609. type: integer
  27610. - description: 期货订单号(模糊匹配)
  27611. in: query
  27612. name: tradeid
  27613. type: string
  27614. - description: 现货编号(模糊匹配)
  27615. in: query
  27616. name: contractno
  27617. type: string
  27618. - description: 期货账户(模糊匹配)
  27619. in: query
  27620. name: taname
  27621. type: string
  27622. produces:
  27623. - application/json
  27624. responses:
  27625. "200":
  27626. description: OK
  27627. schema:
  27628. items:
  27629. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  27630. type: array
  27631. "500":
  27632. description: Internal Server Error
  27633. schema:
  27634. $ref: '#/definitions/app.Response'
  27635. security:
  27636. - ApiKeyAuth: []
  27637. summary: 查询期现关联记录
  27638. tags:
  27639. - 企业风险管理v3(app)
  27640. /Ermcp3/QueryParamChangeApp:
  27641. get:
  27642. description: |-
  27643. 原型页面:
  27644. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  27645. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  27646. parameters:
  27647. - description: 用户ID
  27648. in: query
  27649. name: userid
  27650. required: true
  27651. type: integer
  27652. - description: 现货品种id
  27653. in: query
  27654. name: deliverygoodsid
  27655. type: integer
  27656. - description: 现货商品id
  27657. in: query
  27658. name: wrstandardid
  27659. type: integer
  27660. - description: 套保商品id
  27661. in: query
  27662. name: middlegoodsid
  27663. type: integer
  27664. - description: 操作类型 1:新增 2:修改
  27665. in: query
  27666. name: operatetype
  27667. type: integer
  27668. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  27669. in: query
  27670. name: paramchangetype
  27671. type: integer
  27672. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27673. in: query
  27674. name: ftstatus
  27675. type: string
  27676. produces:
  27677. - application/json
  27678. responses:
  27679. "200":
  27680. description: OK
  27681. schema:
  27682. items:
  27683. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  27684. type: array
  27685. "500":
  27686. description: Internal Server Error
  27687. schema:
  27688. $ref: '#/definitions/app.Response'
  27689. security:
  27690. - ApiKeyAuth: []
  27691. summary: 查询现货商品参数变更申请(流水)
  27692. tags:
  27693. - 企业风险管理v3(app)
  27694. /Ermcp3/QueryRootUserAccount:
  27695. get:
  27696. parameters:
  27697. - description: 用户ID
  27698. in: query
  27699. name: userid
  27700. required: true
  27701. type: integer
  27702. produces:
  27703. - application/json
  27704. responses:
  27705. "200":
  27706. description: OK
  27707. schema:
  27708. items:
  27709. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  27710. type: array
  27711. "500":
  27712. description: Internal Server Error
  27713. schema:
  27714. $ref: '#/definitions/app.Response'
  27715. security:
  27716. - ApiKeyAuth: []
  27717. summary: 查询顶级用户信息
  27718. tags:
  27719. - 企业风险管理v3(app)
  27720. /Ermcp3/QuerySCMiddleGoods:
  27721. get:
  27722. description: |-
  27723. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  27724. 现货编号 即 合同编号
  27725. parameters:
  27726. - description: 用户ID(填登录用户的userid)
  27727. in: query
  27728. name: userid
  27729. required: true
  27730. type: integer
  27731. - description: 买卖方向 0-买 1-卖
  27732. in: query
  27733. name: buyorsell
  27734. required: true
  27735. type: integer
  27736. - description: 商品组id
  27737. in: query
  27738. name: goodsgroupid
  27739. required: true
  27740. type: integer
  27741. - description: 业务类型 1:套保 2:套利
  27742. in: query
  27743. name: biztype
  27744. type: integer
  27745. - description: 现货编号(模糊匹配)
  27746. in: query
  27747. name: contractno
  27748. type: string
  27749. - description: 对手方(模糊匹配)
  27750. in: query
  27751. name: customername
  27752. type: string
  27753. - description: 现货商品名称(模糊匹配)
  27754. in: query
  27755. name: wrstandardname
  27756. type: string
  27757. produces:
  27758. - application/json
  27759. responses:
  27760. "200":
  27761. description: OK
  27762. schema:
  27763. items:
  27764. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  27765. type: array
  27766. "500":
  27767. description: Internal Server Error
  27768. schema:
  27769. $ref: '#/definitions/app.Response'
  27770. security:
  27771. - ApiKeyAuth: []
  27772. summary: 查询现货订单
  27773. tags:
  27774. - 企业风险管理v3(app)
  27775. /Ermcp3/QuerySpotContract:
  27776. get:
  27777. parameters:
  27778. - description: 用户id(当指定contractid, userid可不填)
  27779. in: query
  27780. name: userid
  27781. required: true
  27782. type: integer
  27783. - description: 用户类型 2-机构 7-企业成员
  27784. in: query
  27785. name: usertype
  27786. type: integer
  27787. - description: 合同类型 1-采购, -1-销售
  27788. in: query
  27789. name: contracttype
  27790. type: integer
  27791. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  27792. in: query
  27793. name: querytype
  27794. type: string
  27795. - description: 合同ID(SpotContractId)
  27796. in: query
  27797. name: contractid
  27798. type: string
  27799. - description: 合同编号(模糊匹配)
  27800. in: query
  27801. name: contractno
  27802. type: string
  27803. - description: 商品名称(模糊匹配)
  27804. in: query
  27805. name: wrstandardname
  27806. type: string
  27807. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  27808. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27809. in: query
  27810. name: status
  27811. type: string
  27812. - description: 是否只查今日的合同 1-查今日合同
  27813. in: query
  27814. name: istoday
  27815. type: integer
  27816. produces:
  27817. - application/json
  27818. responses:
  27819. "200":
  27820. description: OK
  27821. schema:
  27822. items:
  27823. $ref: '#/definitions/models.Ermcp3Contract'
  27824. type: array
  27825. "500":
  27826. description: Internal Server Error
  27827. schema:
  27828. $ref: '#/definitions/app.Response'
  27829. security:
  27830. - ApiKeyAuth: []
  27831. summary: 查询现货合同
  27832. tags:
  27833. - 企业风险管理v3(app)
  27834. /Ermcp3/QuerySpotContractBS:
  27835. get:
  27836. parameters:
  27837. - description: 用户id
  27838. in: query
  27839. name: userid
  27840. required: true
  27841. type: integer
  27842. - description: 用户类型 2-机构 7-企业成员
  27843. in: query
  27844. name: usertype
  27845. type: integer
  27846. - description: 合同类型 1-采购, -1-销售
  27847. in: query
  27848. name: contracttype
  27849. required: true
  27850. type: integer
  27851. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  27852. in: query
  27853. name: querytype
  27854. type: integer
  27855. - description: 合同ID(SpotContractId)
  27856. in: query
  27857. name: contractid
  27858. type: string
  27859. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  27860. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27861. in: query
  27862. name: status
  27863. type: string
  27864. - description: 是否只查今日的合同 1-查今日合同
  27865. in: query
  27866. name: istoday
  27867. type: integer
  27868. produces:
  27869. - application/json
  27870. responses:
  27871. "200":
  27872. description: OK
  27873. schema:
  27874. items:
  27875. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  27876. type: array
  27877. "500":
  27878. description: Internal Server Error
  27879. schema:
  27880. $ref: '#/definitions/app.Response'
  27881. security:
  27882. - ApiKeyAuth: []
  27883. summary: 查询合同(采购/销售)
  27884. tags:
  27885. - 企业风险管理v3(app)
  27886. /Ermcp3/QuerySpotGoodsPrice:
  27887. get:
  27888. parameters:
  27889. - description: 用户ID
  27890. in: query
  27891. name: userid
  27892. required: true
  27893. type: integer
  27894. produces:
  27895. - application/json
  27896. responses:
  27897. "200":
  27898. description: OK
  27899. schema:
  27900. items:
  27901. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  27902. type: array
  27903. "500":
  27904. description: Internal Server Error
  27905. schema:
  27906. $ref: '#/definitions/app.Response'
  27907. security:
  27908. - ApiKeyAuth: []
  27909. summary: 查询现货市价(现货市价)
  27910. tags:
  27911. - 企业风险管理v3(app)
  27912. /Ermcp3/QuerySpotGoodsPriceLog:
  27913. get:
  27914. parameters:
  27915. - description: 用户ID
  27916. in: query
  27917. name: userid
  27918. required: true
  27919. type: integer
  27920. - description: 现货商品ID
  27921. in: query
  27922. name: deliverygoodsid
  27923. required: true
  27924. type: integer
  27925. - description: 品牌ID
  27926. in: query
  27927. name: brandid
  27928. type: integer
  27929. - description: 品类ID
  27930. in: query
  27931. name: wrstandardid
  27932. type: integer
  27933. produces:
  27934. - application/json
  27935. responses:
  27936. "200":
  27937. description: OK
  27938. schema:
  27939. items:
  27940. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  27941. type: array
  27942. "500":
  27943. description: Internal Server Error
  27944. schema:
  27945. $ref: '#/definitions/app.Response'
  27946. security:
  27947. - ApiKeyAuth: []
  27948. summary: 查询现货市价详情(现货市价/详情)
  27949. tags:
  27950. - 企业风险管理v3(app)
  27951. /Ermcp3/QuerySubTaaccount:
  27952. get:
  27953. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  27954. parameters:
  27955. - description: 母账号id
  27956. in: query
  27957. name: parentaccountid
  27958. type: integer
  27959. - description: 母账号代码
  27960. in: query
  27961. name: parentaccountcode
  27962. type: string
  27963. produces:
  27964. - application/json
  27965. responses:
  27966. "200":
  27967. description: OK
  27968. schema:
  27969. items:
  27970. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  27971. type: array
  27972. "500":
  27973. description: Internal Server Error
  27974. schema:
  27975. $ref: '#/definitions/app.Response'
  27976. security:
  27977. - ApiKeyAuth: []
  27978. summary: 查询期货子账户
  27979. tags:
  27980. - 企业风险管理v3(app)
  27981. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  27982. get:
  27983. parameters:
  27984. - description: 套期项目ID
  27985. in: query
  27986. name: hedgeditemid
  27987. required: true
  27988. type: integer
  27989. produces:
  27990. - application/json
  27991. responses:
  27992. "200":
  27993. description: OK
  27994. schema:
  27995. items:
  27996. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  27997. type: array
  27998. "500":
  27999. description: Internal Server Error
  28000. schema:
  28001. $ref: '#/definitions/app.Response'
  28002. security:
  28003. - ApiKeyAuth: []
  28004. summary: 现货成交明细查询
  28005. tags:
  28006. - 企业风险管理v8
  28007. /Ermcp8/QueryERMCP2HedgedItemspot:
  28008. get:
  28009. parameters:
  28010. - description: 套期项目ID
  28011. in: query
  28012. name: hedgeditemid
  28013. required: true
  28014. type: integer
  28015. produces:
  28016. - application/json
  28017. responses:
  28018. "200":
  28019. description: OK
  28020. schema:
  28021. items:
  28022. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  28023. type: array
  28024. "500":
  28025. description: Internal Server Error
  28026. schema:
  28027. $ref: '#/definitions/app.Response'
  28028. security:
  28029. - ApiKeyAuth: []
  28030. summary: 套期计划明细查询
  28031. tags:
  28032. - 企业风险管理v8
  28033. /Ermcp8/QueryERMCPJRLinkPos:
  28034. get:
  28035. parameters:
  28036. - description: 套期项目ID
  28037. in: query
  28038. name: hedgeditemid
  28039. required: true
  28040. type: integer
  28041. produces:
  28042. - application/json
  28043. responses:
  28044. "200":
  28045. description: OK
  28046. schema:
  28047. items:
  28048. $ref: '#/definitions/models.Ermcpjrlinkpos'
  28049. type: array
  28050. "500":
  28051. description: Internal Server Error
  28052. schema:
  28053. $ref: '#/definitions/app.Response'
  28054. security:
  28055. - ApiKeyAuth: []
  28056. summary: 期货持仓明细查询
  28057. tags:
  28058. - 企业风险管理v8
  28059. /Ermcp8/QueryERMCPPatradeLinkDetail:
  28060. get:
  28061. parameters:
  28062. - description: 套期项目ID
  28063. in: query
  28064. name: hedgeditemid
  28065. required: true
  28066. type: integer
  28067. produces:
  28068. - application/json
  28069. responses:
  28070. "200":
  28071. description: OK
  28072. schema:
  28073. items:
  28074. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  28075. type: array
  28076. "500":
  28077. description: Internal Server Error
  28078. schema:
  28079. $ref: '#/definitions/app.Response'
  28080. security:
  28081. - ApiKeyAuth: []
  28082. summary: 期货成交单明细查询
  28083. tags:
  28084. - 企业风险管理v8
  28085. /Ermcp8/QueryErmcp2AreaExposure:
  28086. get:
  28087. parameters:
  28088. - description: 用户ID
  28089. in: query
  28090. name: userid
  28091. required: true
  28092. type: string
  28093. produces:
  28094. - application/json
  28095. responses:
  28096. "200":
  28097. description: OK
  28098. schema:
  28099. items:
  28100. $ref: '#/definitions/models.Ermcp2AreaExposure'
  28101. type: array
  28102. "500":
  28103. description: Internal Server Error
  28104. schema:
  28105. $ref: '#/definitions/app.Response'
  28106. security:
  28107. - ApiKeyAuth: []
  28108. summary: 企业敞口查询
  28109. tags:
  28110. - 企业风险管理v8
  28111. /Ermcp8/QueryErmcp2HedgedItem:
  28112. get:
  28113. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  28114. parameters:
  28115. - description: 用户ID
  28116. in: query
  28117. name: userid
  28118. required: true
  28119. type: string
  28120. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  28121. in: query
  28122. name: hedgedtype
  28123. type: integer
  28124. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  28125. in: query
  28126. name: hedgeditemstatus
  28127. type: integer
  28128. produces:
  28129. - application/json
  28130. responses:
  28131. "200":
  28132. description: OK
  28133. schema:
  28134. items:
  28135. $ref: '#/definitions/models.Ermcp2hedgeditem'
  28136. type: array
  28137. "500":
  28138. description: Internal Server Error
  28139. schema:
  28140. $ref: '#/definitions/app.Response'
  28141. security:
  28142. - ApiKeyAuth: []
  28143. summary: 查询被套期项目信息
  28144. tags:
  28145. - 企业风险管理v8
  28146. /Ermcp8/QueryErmcp2HedgedItemLink:
  28147. get:
  28148. parameters:
  28149. - description: 现货合同ID
  28150. in: query
  28151. name: spotcontractid
  28152. required: true
  28153. type: integer
  28154. produces:
  28155. - application/json
  28156. responses:
  28157. "200":
  28158. description: OK
  28159. schema:
  28160. items:
  28161. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  28162. type: array
  28163. "500":
  28164. description: Internal Server Error
  28165. schema:
  28166. $ref: '#/definitions/app.Response'
  28167. security:
  28168. - ApiKeyAuth: []
  28169. summary: 现货合同关联被套期项目查询
  28170. tags:
  28171. - 企业风险管理v8
  28172. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  28173. get:
  28174. parameters:
  28175. - description: 用户ID
  28176. in: query
  28177. name: userid
  28178. required: true
  28179. type: integer
  28180. - description: 套保品种ID
  28181. in: query
  28182. name: middlegoodsid
  28183. required: true
  28184. type: integer
  28185. produces:
  28186. - application/json
  28187. responses:
  28188. "200":
  28189. description: OK
  28190. schema:
  28191. items:
  28192. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  28193. type: array
  28194. "500":
  28195. description: Internal Server Error
  28196. schema:
  28197. $ref: '#/definitions/app.Response'
  28198. security:
  28199. - ApiKeyAuth: []
  28200. summary: 敞口明细 - 计划变动明细
  28201. tags:
  28202. - 企业风险管理v8
  28203. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  28204. get:
  28205. parameters:
  28206. - description: 用户ID
  28207. in: query
  28208. name: userid
  28209. required: true
  28210. type: integer
  28211. - description: 套保品种ID
  28212. in: query
  28213. name: middlegoodsid
  28214. required: true
  28215. type: integer
  28216. produces:
  28217. - application/json
  28218. responses:
  28219. "200":
  28220. description: OK
  28221. schema:
  28222. items:
  28223. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  28224. type: array
  28225. "500":
  28226. description: Internal Server Error
  28227. schema:
  28228. $ref: '#/definitions/app.Response'
  28229. security:
  28230. - ApiKeyAuth: []
  28231. summary: 敞口明细 - 现货变动明细查询
  28232. tags:
  28233. - 企业风险管理v8
  28234. /Ermcp8/QueryErmcp8EnableHedgeditem:
  28235. get:
  28236. parameters:
  28237. - description: 用户ID
  28238. in: query
  28239. name: userid
  28240. required: true
  28241. type: integer
  28242. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  28243. in: query
  28244. name: spottype
  28245. required: true
  28246. type: integer
  28247. - description: 现货商品ID
  28248. in: query
  28249. name: wrstandardid
  28250. type: integer
  28251. produces:
  28252. - application/json
  28253. responses:
  28254. "200":
  28255. description: OK
  28256. schema:
  28257. items:
  28258. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  28259. type: array
  28260. "500":
  28261. description: Internal Server Error
  28262. schema:
  28263. $ref: '#/definitions/app.Response'
  28264. security:
  28265. - ApiKeyAuth: []
  28266. summary: 可关联项目查询
  28267. tags:
  28268. - 企业风险管理v8
  28269. /Ermcp8/QueryErmcp8HedgeditemReport:
  28270. get:
  28271. parameters:
  28272. - description: 用户ID
  28273. in: query
  28274. name: userid
  28275. required: true
  28276. type: integer
  28277. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28278. in: query
  28279. name: cycletype
  28280. type: integer
  28281. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28282. 全(0)【原值】
  28283. in: query
  28284. name: cycletime
  28285. required: true
  28286. type: string
  28287. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  28288. in: query
  28289. name: hedgedtype
  28290. type: integer
  28291. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  28292. in: query
  28293. name: hedgeditemstatus
  28294. type: integer
  28295. - description: 项目编号,模糊查询
  28296. in: query
  28297. name: hedgeditemnum
  28298. type: string
  28299. - description: 现货商品ID
  28300. in: query
  28301. name: wrstandardid
  28302. type: integer
  28303. produces:
  28304. - application/json
  28305. responses:
  28306. "200":
  28307. description: OK
  28308. schema:
  28309. items:
  28310. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  28311. type: array
  28312. "500":
  28313. description: Internal Server Error
  28314. schema:
  28315. $ref: '#/definitions/app.Response'
  28316. security:
  28317. - ApiKeyAuth: []
  28318. summary: 套期项目报表查询
  28319. tags:
  28320. - 企业风险管理v8
  28321. /Ermcp8/QueryErmcp8RunningHedgeditem:
  28322. get:
  28323. parameters:
  28324. - description: 用户ID
  28325. in: query
  28326. name: userid
  28327. required: true
  28328. type: string
  28329. produces:
  28330. - application/json
  28331. responses:
  28332. "200":
  28333. description: OK
  28334. schema:
  28335. items:
  28336. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  28337. type: array
  28338. "500":
  28339. description: Internal Server Error
  28340. schema:
  28341. $ref: '#/definitions/app.Response'
  28342. security:
  28343. - ApiKeyAuth: []
  28344. summary: 查询执行中项目查询信息
  28345. tags:
  28346. - 企业风险管理v8
  28347. /Ermcp8/QueryInternalEnableTradeDetail:
  28348. get:
  28349. parameters:
  28350. - description: 企业ID
  28351. in: query
  28352. name: areauserid
  28353. required: true
  28354. type: integer
  28355. - description: 期货合约ID
  28356. in: query
  28357. name: goodsid
  28358. required: true
  28359. type: integer
  28360. - description: 交易用户ID
  28361. in: query
  28362. name: tradeuserid
  28363. required: true
  28364. type: integer
  28365. produces:
  28366. - application/json
  28367. responses:
  28368. "200":
  28369. description: OK
  28370. schema:
  28371. items:
  28372. $ref: '#/definitions/models.InternalEnableTradeDetail'
  28373. type: array
  28374. "500":
  28375. description: Internal Server Error
  28376. schema:
  28377. $ref: '#/definitions/app.Response'
  28378. security:
  28379. - ApiKeyAuth: []
  28380. summary: 内部成交单可关联项目查询
  28381. tags:
  28382. - 企业风险管理v8
  28383. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  28384. get:
  28385. parameters:
  28386. - description: 用户编号
  28387. in: query
  28388. name: userid
  28389. required: true
  28390. type: integer
  28391. - description: 起始日期(格式yyyymmdd)
  28392. in: query
  28393. name: begindate
  28394. type: string
  28395. - description: 终止日期(格式yyyymmdd)
  28396. in: query
  28397. name: enddate
  28398. type: string
  28399. - description: 合约代码
  28400. in: query
  28401. name: goodscode
  28402. type: string
  28403. - description: 合约名称
  28404. in: query
  28405. name: goodsname
  28406. type: string
  28407. - description: 成交单号
  28408. in: query
  28409. name: tradeid
  28410. type: integer
  28411. - description: 方向 - 0:买 1:卖
  28412. in: query
  28413. name: buyorsell
  28414. type: integer
  28415. - description: 套期主体
  28416. in: query
  28417. name: accountname
  28418. type: string
  28419. produces:
  28420. - application/json
  28421. responses:
  28422. "200":
  28423. description: OK
  28424. schema:
  28425. items:
  28426. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  28427. type: array
  28428. "500":
  28429. description: Internal Server Error
  28430. schema:
  28431. $ref: '#/definitions/app.Response'
  28432. security:
  28433. - ApiKeyAuth: []
  28434. summary: 内部未关联成交单查询
  28435. tags:
  28436. - 企业风险管理v8
  28437. /Ermcp8/QueryMarketCalendar:
  28438. get:
  28439. parameters:
  28440. - description: 市场ID
  28441. in: query
  28442. name: marketid
  28443. type: integer
  28444. produces:
  28445. - application/json
  28446. responses:
  28447. "200":
  28448. description: OK
  28449. schema:
  28450. items:
  28451. $ref: '#/definitions/models.Marketcalendar'
  28452. type: array
  28453. "500":
  28454. description: Internal Server Error
  28455. schema:
  28456. $ref: '#/definitions/app.Response'
  28457. security:
  28458. - ApiKeyAuth: []
  28459. summary: 市场节假日查询
  28460. tags:
  28461. - 企业风险管理v8
  28462. /Ermcp8/QueryPatradeLinkDetail:
  28463. get:
  28464. parameters:
  28465. - description: 用户ID
  28466. in: query
  28467. name: userid
  28468. required: true
  28469. type: integer
  28470. - description: 套保品种ID
  28471. in: query
  28472. name: middlegoodsid
  28473. required: true
  28474. type: integer
  28475. produces:
  28476. - application/json
  28477. responses:
  28478. "200":
  28479. description: OK
  28480. schema:
  28481. items:
  28482. $ref: '#/definitions/models.Patradelinkdetail'
  28483. type: array
  28484. "500":
  28485. description: Internal Server Error
  28486. schema:
  28487. $ref: '#/definitions/app.Response'
  28488. security:
  28489. - ApiKeyAuth: []
  28490. summary: 敞口明细 - 期货变动明细
  28491. tags:
  28492. - 企业风险管理v8
  28493. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  28494. get:
  28495. parameters:
  28496. - description: 企业ID
  28497. in: query
  28498. name: areauserid
  28499. required: true
  28500. type: integer
  28501. - description: 计划类型 - 1:采购 -1:销售
  28502. in: query
  28503. name: contracttype
  28504. type: integer
  28505. - description: 计划编号,模糊查询
  28506. in: query
  28507. name: hedgeplanno
  28508. type: string
  28509. - description: 现货商品,模糊查询
  28510. in: query
  28511. name: wrstandardname
  28512. type: string
  28513. produces:
  28514. - application/json
  28515. responses:
  28516. "200":
  28517. description: OK
  28518. schema:
  28519. items:
  28520. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  28521. type: array
  28522. "500":
  28523. description: Internal Server Error
  28524. schema:
  28525. $ref: '#/definitions/app.Response'
  28526. security:
  28527. - ApiKeyAuth: []
  28528. summary: 未关联购销计划
  28529. tags:
  28530. - 企业风险管理v8
  28531. /Ermcp8/QueryUnLinkSpotContract:
  28532. get:
  28533. parameters:
  28534. - description: 用户ID
  28535. in: query
  28536. name: userid
  28537. required: true
  28538. type: integer
  28539. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  28540. in: query
  28541. name: pricetype
  28542. type: integer
  28543. - description: 合同编号, 模拟查询
  28544. in: query
  28545. name: contractno
  28546. type: string
  28547. - description: 对手方, 模拟查询
  28548. in: query
  28549. name: customername
  28550. type: string
  28551. - description: 项合同类型 - 1:采购 -1:销售
  28552. in: query
  28553. name: contracttype
  28554. type: integer
  28555. produces:
  28556. - application/json
  28557. responses:
  28558. "200":
  28559. description: OK
  28560. schema:
  28561. items:
  28562. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  28563. type: array
  28564. "500":
  28565. description: Internal Server Error
  28566. schema:
  28567. $ref: '#/definitions/app.Response'
  28568. security:
  28569. - ApiKeyAuth: []
  28570. summary: 未关联合同查询
  28571. tags:
  28572. - 企业风险管理v8
  28573. /Erms2/QueryArbitrageStrategy:
  28574. get:
  28575. parameters:
  28576. - description: 账户ID
  28577. in: query
  28578. name: userid
  28579. required: true
  28580. type: integer
  28581. - description: 商品组ID(品种ID)
  28582. in: query
  28583. name: goodsgroupid
  28584. type: string
  28585. produces:
  28586. - application/json
  28587. responses:
  28588. "200":
  28589. description: OK
  28590. schema:
  28591. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  28592. "500":
  28593. description: Internal Server Error
  28594. schema:
  28595. $ref: '#/definitions/app.Response'
  28596. security:
  28597. - ApiKeyAuth: []
  28598. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  28599. tags:
  28600. - 风险管理
  28601. /Erms2/QueryInnerTradeDetail:
  28602. get:
  28603. parameters:
  28604. - description: 资金账户
  28605. in: query
  28606. name: accountid
  28607. required: true
  28608. type: integer
  28609. produces:
  28610. - application/json
  28611. responses:
  28612. "200":
  28613. description: OK
  28614. schema:
  28615. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  28616. "500":
  28617. description: Internal Server Error
  28618. schema:
  28619. $ref: '#/definitions/app.Response'
  28620. security:
  28621. - ApiKeyAuth: []
  28622. summary: 查询内部成交单信息
  28623. tags:
  28624. - 风险管理
  28625. /Erms2/QuerySpotContract:
  28626. get:
  28627. parameters:
  28628. - description: 策略申请ID
  28629. in: query
  28630. name: asapplyid
  28631. required: true
  28632. type: integer
  28633. - description: 现货合同ID
  28634. in: query
  28635. name: spotcontractid
  28636. type: integer
  28637. produces:
  28638. - application/json
  28639. responses:
  28640. "200":
  28641. description: OK
  28642. schema:
  28643. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  28644. "500":
  28645. description: Internal Server Error
  28646. schema:
  28647. $ref: '#/definitions/app.Response'
  28648. security:
  28649. - ApiKeyAuth: []
  28650. summary: 查询现货合同表信息(指定策略ID、未结束的)
  28651. tags:
  28652. - 风险管理
  28653. /Erms3/AddErms2ASApply:
  28654. post:
  28655. parameters:
  28656. - description: 申请参数
  28657. in: body
  28658. name: jsonBody
  28659. required: true
  28660. schema:
  28661. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  28662. produces:
  28663. - application/json
  28664. responses:
  28665. "200":
  28666. description: OK
  28667. schema:
  28668. $ref: '#/definitions/app.Response'
  28669. "500":
  28670. description: Internal Server Error
  28671. schema:
  28672. $ref: '#/definitions/app.Response'
  28673. security:
  28674. - ApiKeyAuth: []
  28675. summary: 新增期现套利业务申请
  28676. tags:
  28677. - 风险管理v3
  28678. /Erms3/AddErms2SpotTradeApply:
  28679. post:
  28680. parameters:
  28681. - description: 申请参数
  28682. in: body
  28683. name: jsonBody
  28684. required: true
  28685. schema:
  28686. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  28687. produces:
  28688. - application/json
  28689. responses:
  28690. "200":
  28691. description: OK
  28692. schema:
  28693. $ref: '#/definitions/app.Response'
  28694. "500":
  28695. description: Internal Server Error
  28696. schema:
  28697. $ref: '#/definitions/app.Response'
  28698. security:
  28699. - ApiKeyAuth: []
  28700. summary: 新增现货贸易业务申请
  28701. tags:
  28702. - 风险管理v3
  28703. /Erms3/AddSpotContractApply:
  28704. post:
  28705. parameters:
  28706. - description: 申请参数
  28707. in: body
  28708. name: jsonBody
  28709. required: true
  28710. schema:
  28711. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  28712. produces:
  28713. - application/json
  28714. responses:
  28715. "200":
  28716. description: OK
  28717. schema:
  28718. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  28719. "500":
  28720. description: Internal Server Error
  28721. schema:
  28722. $ref: '#/definitions/app.Response'
  28723. security:
  28724. - ApiKeyAuth: []
  28725. summary: 新增现货合同申请
  28726. tags:
  28727. - 风险管理v3
  28728. /Erms3/AddUserInfoApply:
  28729. post:
  28730. parameters:
  28731. - description: 用户信息
  28732. in: body
  28733. name: jsonBody
  28734. required: true
  28735. schema:
  28736. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  28737. produces:
  28738. - application/json
  28739. responses:
  28740. "200":
  28741. description: OK
  28742. schema:
  28743. $ref: '#/definitions/app.Response'
  28744. "500":
  28745. description: Internal Server Error
  28746. schema:
  28747. $ref: '#/definitions/app.Response'
  28748. security:
  28749. - ApiKeyAuth: []
  28750. summary: 新增客户申请
  28751. tags:
  28752. - 风险管理v3
  28753. /Erms3/DeleteUserInfoApply:
  28754. get:
  28755. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  28756. parameters:
  28757. - description: 用户ID
  28758. in: query
  28759. name: userID
  28760. required: true
  28761. type: integer
  28762. produces:
  28763. - application/json
  28764. responses:
  28765. "200":
  28766. description: OK
  28767. schema:
  28768. $ref: '#/definitions/app.Response'
  28769. "500":
  28770. description: Internal Server Error
  28771. schema:
  28772. $ref: '#/definitions/app.Response'
  28773. security:
  28774. - ApiKeyAuth: []
  28775. summary: 删除客户申请
  28776. tags:
  28777. - 风险管理v3
  28778. /Erms3/ModifyUserInfoApply:
  28779. post:
  28780. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  28781. int, "userstate": 2 }'
  28782. parameters:
  28783. - description: 用户信息
  28784. in: body
  28785. name: jsonBody
  28786. required: true
  28787. schema:
  28788. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  28789. produces:
  28790. - application/json
  28791. responses:
  28792. "200":
  28793. description: OK
  28794. schema:
  28795. $ref: '#/definitions/app.Response'
  28796. "500":
  28797. description: Internal Server Error
  28798. schema:
  28799. $ref: '#/definitions/app.Response'
  28800. security:
  28801. - ApiKeyAuth: []
  28802. summary: 修改客户申请
  28803. tags:
  28804. - 风险管理v3
  28805. /Erms3/QueryBusinessInfo:
  28806. get:
  28807. parameters:
  28808. - description: 资金账号ID列表,用逗号分隔
  28809. in: query
  28810. name: accountids
  28811. required: true
  28812. type: string
  28813. - description: 状态,0为未结束 1为已结束
  28814. in: query
  28815. name: status
  28816. required: true
  28817. type: integer
  28818. produces:
  28819. - application/json
  28820. responses:
  28821. "200":
  28822. description: OK
  28823. schema:
  28824. items:
  28825. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  28826. type: array
  28827. "500":
  28828. description: Internal Server Error
  28829. schema:
  28830. $ref: '#/definitions/app.Response'
  28831. security:
  28832. - ApiKeyAuth: []
  28833. summary: 查询业务表单数据
  28834. tags:
  28835. - 风险管理v3
  28836. /Erms3/QueryPendingAuditContract:
  28837. get:
  28838. parameters:
  28839. - description: 资金账号ID列表,逗号隔开
  28840. in: query
  28841. name: accountids
  28842. required: true
  28843. type: string
  28844. - description: 合同类型 1-采购 -1-销售
  28845. in: query
  28846. name: contracttype
  28847. required: true
  28848. type: integer
  28849. - description: 合同模式 1-普通 2-回购
  28850. in: query
  28851. name: contractmode
  28852. required: true
  28853. type: integer
  28854. produces:
  28855. - application/json
  28856. responses:
  28857. "200":
  28858. description: OK
  28859. schema:
  28860. items:
  28861. $ref: '#/definitions/erms3.QryAuditContractRsp'
  28862. type: array
  28863. "500":
  28864. description: Internal Server Error
  28865. schema:
  28866. $ref: '#/definitions/app.Response'
  28867. security:
  28868. - ApiKeyAuth: []
  28869. summary: 查询待审核合同
  28870. tags:
  28871. - 风险管理v3
  28872. /Erms3/QueryPendingBusiness:
  28873. get:
  28874. parameters:
  28875. - description: 资金账号ID列表,逗号隔开
  28876. in: query
  28877. name: accountids
  28878. required: true
  28879. type: string
  28880. produces:
  28881. - application/json
  28882. responses:
  28883. "200":
  28884. description: OK
  28885. schema:
  28886. items:
  28887. $ref: '#/definitions/erms3.QryPendingBizRsp'
  28888. type: array
  28889. "500":
  28890. description: Internal Server Error
  28891. schema:
  28892. $ref: '#/definitions/app.Response'
  28893. security:
  28894. - ApiKeyAuth: []
  28895. summary: 查询待审核基差贸易业务
  28896. tags:
  28897. - 风险管理v3
  28898. /Erms3/QuerySpotContractAppleForm:
  28899. get:
  28900. parameters:
  28901. - description: 登录账号
  28902. in: query
  28903. name: loginID
  28904. required: true
  28905. type: integer
  28906. produces:
  28907. - application/json
  28908. responses:
  28909. "200":
  28910. description: OK
  28911. schema:
  28912. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  28913. "500":
  28914. description: Internal Server Error
  28915. schema:
  28916. $ref: '#/definitions/app.Response'
  28917. security:
  28918. - ApiKeyAuth: []
  28919. summary: 查询合同申请表单数据
  28920. tags:
  28921. - 风险管理v3
  28922. /Erms3/QuerySpotContractDetail:
  28923. get:
  28924. parameters:
  28925. - description: 资金账号ID列表,用逗号分隔
  28926. in: query
  28927. name: accountids
  28928. required: true
  28929. type: string
  28930. - description: 合同类型,1为采购合同 -1为销售合同
  28931. in: query
  28932. name: contracttype
  28933. required: true
  28934. type: integer
  28935. - description: 合同模式,1为普通合同 2为回购销售合同
  28936. in: query
  28937. name: contractmode
  28938. required: true
  28939. type: integer
  28940. - description: 状态,0为履约中 1为已完成
  28941. in: query
  28942. name: status
  28943. required: true
  28944. type: integer
  28945. produces:
  28946. - application/json
  28947. responses:
  28948. "200":
  28949. description: OK
  28950. schema:
  28951. items:
  28952. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  28953. type: array
  28954. "500":
  28955. description: Internal Server Error
  28956. schema:
  28957. $ref: '#/definitions/app.Response'
  28958. security:
  28959. - ApiKeyAuth: []
  28960. summary: 查询合同详细信息
  28961. tags:
  28962. - 风险管理v3
  28963. /Erms3/QueryUserInfoApplies:
  28964. get:
  28965. parameters:
  28966. - description: 页码
  28967. in: query
  28968. name: page
  28969. type: integer
  28970. - description: 每页条数
  28971. in: query
  28972. name: pagesize
  28973. type: integer
  28974. - description: 客户名称,支持模糊查询
  28975. in: query
  28976. name: userName
  28977. type: string
  28978. produces:
  28979. - application/json
  28980. responses:
  28981. "200":
  28982. description: OK
  28983. schema:
  28984. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  28985. "500":
  28986. description: Internal Server Error
  28987. schema:
  28988. $ref: '#/definitions/app.Response'
  28989. security:
  28990. - ApiKeyAuth: []
  28991. summary: 客户申请信息查询
  28992. tags:
  28993. - 风险管理v3
  28994. /Erms3/QueryUserInfos:
  28995. get:
  28996. parameters:
  28997. - description: 页码
  28998. in: query
  28999. name: page
  29000. type: integer
  29001. - description: 每页条数
  29002. in: query
  29003. name: pagesize
  29004. type: integer
  29005. - description: 客户名称,支持模糊查询
  29006. in: query
  29007. name: userName
  29008. type: string
  29009. produces:
  29010. - application/json
  29011. responses:
  29012. "200":
  29013. description: OK
  29014. schema:
  29015. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  29016. "500":
  29017. description: Internal Server Error
  29018. schema:
  29019. $ref: '#/definitions/app.Response'
  29020. security:
  29021. - ApiKeyAuth: []
  29022. summary: 客户信息查询
  29023. tags:
  29024. - 风险管理v3
  29025. /Ferroalloy/GetSpotGoodsPrice:
  29026. get:
  29027. parameters:
  29028. - description: 页码
  29029. in: query
  29030. name: page
  29031. type: integer
  29032. - description: 每页条数
  29033. in: query
  29034. name: pagesize
  29035. type: integer
  29036. produces:
  29037. - application/json
  29038. responses:
  29039. "200":
  29040. description: OK
  29041. schema:
  29042. items:
  29043. $ref: '#/definitions/models.GErmcpspotgoodsprice'
  29044. type: array
  29045. "500":
  29046. description: Internal Server Error
  29047. schema:
  29048. $ref: '#/definitions/app.Response'
  29049. security:
  29050. - ApiKeyAuth: []
  29051. summary: 获取现货行情
  29052. tags:
  29053. - 铁合金
  29054. /Ferroalloy/QueryMyRefer:
  29055. get:
  29056. parameters:
  29057. - description: 用户ID
  29058. in: query
  29059. name: userid
  29060. required: true
  29061. type: integer
  29062. - description: 页码
  29063. in: query
  29064. name: page
  29065. type: integer
  29066. - description: 每页条数
  29067. in: query
  29068. name: pagesize
  29069. type: integer
  29070. produces:
  29071. - application/json
  29072. responses:
  29073. "200":
  29074. description: OK
  29075. schema:
  29076. items:
  29077. $ref: '#/definitions/models.MyRefer'
  29078. type: array
  29079. "500":
  29080. description: Internal Server Error
  29081. schema:
  29082. $ref: '#/definitions/app.Response'
  29083. security:
  29084. - ApiKeyAuth: []
  29085. summary: 查询我的推荐列表
  29086. tags:
  29087. - 铁合金
  29088. /Ferroalloy/QueryMyRegisterMoney:
  29089. get:
  29090. parameters:
  29091. - description: 资金账户
  29092. in: query
  29093. name: accountid
  29094. required: true
  29095. type: integer
  29096. produces:
  29097. - application/json
  29098. responses:
  29099. "200":
  29100. description: OK
  29101. schema:
  29102. items:
  29103. $ref: '#/definitions/models.RegisterMoney'
  29104. type: array
  29105. "500":
  29106. description: Internal Server Error
  29107. schema:
  29108. $ref: '#/definitions/app.Response'
  29109. summary: 查询我的注册红包
  29110. tags:
  29111. - 铁合金
  29112. /Ferroalloy/QueryTHJGoodsDetail:
  29113. get:
  29114. parameters:
  29115. - description: 现货商品ID
  29116. in: query
  29117. name: wrstandardid
  29118. required: true
  29119. type: integer
  29120. produces:
  29121. - application/json
  29122. responses:
  29123. "200":
  29124. description: OK
  29125. schema:
  29126. items:
  29127. $ref: '#/definitions/models.THJGoodsDetailRsp'
  29128. type: array
  29129. "500":
  29130. description: Internal Server Error
  29131. schema:
  29132. $ref: '#/definitions/app.Response'
  29133. security:
  29134. - ApiKeyAuth: []
  29135. summary: 查询商品详情
  29136. tags:
  29137. - 铁合金
  29138. /Ferroalloy/QueryTHJListing:
  29139. get:
  29140. parameters:
  29141. - description: 现货商品名称(模糊查询)
  29142. in: query
  29143. name: wrstandardname
  29144. type: string
  29145. - description: 页码
  29146. in: query
  29147. name: page
  29148. type: integer
  29149. - description: 每页条数
  29150. in: query
  29151. name: pagesize
  29152. type: integer
  29153. produces:
  29154. - application/json
  29155. responses:
  29156. "200":
  29157. description: OK
  29158. schema:
  29159. items:
  29160. $ref: '#/definitions/models.THJWrstandard'
  29161. type: array
  29162. "500":
  29163. description: Internal Server Error
  29164. schema:
  29165. $ref: '#/definitions/app.Response'
  29166. security:
  29167. - ApiKeyAuth: []
  29168. summary: 查询供求列表
  29169. tags:
  29170. - 铁合金
  29171. /Ferroalloy/QueryTHJProduct:
  29172. get:
  29173. parameters:
  29174. - description: 用户ID
  29175. in: query
  29176. name: userid
  29177. required: true
  29178. type: integer
  29179. - description: 关注标志 true-已关注 false-未关注
  29180. in: query
  29181. name: favoriteflag
  29182. type: boolean
  29183. - description: 页码
  29184. in: query
  29185. name: page
  29186. type: integer
  29187. - description: 每页条数
  29188. in: query
  29189. name: pagesize
  29190. type: integer
  29191. produces:
  29192. - application/json
  29193. responses:
  29194. "200":
  29195. description: OK
  29196. schema:
  29197. items:
  29198. $ref: '#/definitions/models.THJProduct'
  29199. type: array
  29200. "500":
  29201. description: Internal Server Error
  29202. schema:
  29203. $ref: '#/definitions/app.Response'
  29204. security:
  29205. - ApiKeyAuth: []
  29206. summary: 获取产品介绍列表
  29207. tags:
  29208. - 铁合金
  29209. /Ferroalloy/QueryTHJPromotionIncome:
  29210. get:
  29211. parameters:
  29212. - description: 用户ID
  29213. in: query
  29214. name: userid
  29215. required: true
  29216. type: integer
  29217. - description: 状态 - 0:全部 1:已支付 2:未支付
  29218. in: query
  29219. name: profitstatus
  29220. type: integer
  29221. - description: 页码
  29222. in: query
  29223. name: page
  29224. type: integer
  29225. - description: 每页条数
  29226. in: query
  29227. name: pagesize
  29228. type: integer
  29229. produces:
  29230. - application/json
  29231. responses:
  29232. "200":
  29233. description: OK
  29234. schema:
  29235. items:
  29236. $ref: '#/definitions/models.PromotionIncome'
  29237. type: array
  29238. "500":
  29239. description: Internal Server Error
  29240. schema:
  29241. $ref: '#/definitions/app.Response'
  29242. security:
  29243. - ApiKeyAuth: []
  29244. summary: 查询我的推广-推广收益
  29245. tags:
  29246. - 铁合金
  29247. /Ferroalloy/QueryTHJPromotionIncomeDetail:
  29248. get:
  29249. parameters:
  29250. - description: 用户ID
  29251. in: query
  29252. name: userid
  29253. required: true
  29254. type: integer
  29255. - description: 月份,格式:yyyymm
  29256. in: query
  29257. name: mouth
  29258. required: true
  29259. type: string
  29260. - description: 页码
  29261. in: query
  29262. name: page
  29263. type: integer
  29264. - description: 每页条数
  29265. in: query
  29266. name: pagesize
  29267. type: integer
  29268. produces:
  29269. - application/json
  29270. responses:
  29271. "200":
  29272. description: OK
  29273. schema:
  29274. items:
  29275. $ref: '#/definitions/models.PromotionIncomeDetail'
  29276. type: array
  29277. "500":
  29278. description: Internal Server Error
  29279. schema:
  29280. $ref: '#/definitions/app.Response'
  29281. security:
  29282. - ApiKeyAuth: []
  29283. summary: 查询我的推广-推广收益-明细
  29284. tags:
  29285. - 铁合金
  29286. /Ferroalloy/QueryTHJPurchaseTradeDetail:
  29287. get:
  29288. parameters:
  29289. - description: 用户ID
  29290. in: query
  29291. name: userid
  29292. required: true
  29293. type: integer
  29294. - description: 类型 - 0:未完成 1:已完成
  29295. in: query
  29296. name: type
  29297. type: integer
  29298. - description: 页码
  29299. in: query
  29300. name: page
  29301. type: integer
  29302. - description: 每页条数
  29303. in: query
  29304. name: pagesize
  29305. type: integer
  29306. produces:
  29307. - application/json
  29308. responses:
  29309. "200":
  29310. description: OK
  29311. schema:
  29312. items:
  29313. $ref: '#/definitions/models.Thjpurchasetradedetail'
  29314. type: array
  29315. "500":
  29316. description: Internal Server Error
  29317. schema:
  29318. $ref: '#/definitions/app.Response'
  29319. security:
  29320. - ApiKeyAuth: []
  29321. summary: 查询我的订单-采购订单
  29322. tags:
  29323. - 铁合金
  29324. /Ferroalloy/QueryTHJPurchaseTransfer:
  29325. get:
  29326. parameters:
  29327. - description: 现货商品名称(模糊查询)
  29328. in: query
  29329. name: wrstandardname
  29330. type: string
  29331. - description: 页码
  29332. in: query
  29333. name: page
  29334. type: integer
  29335. - description: 每页条数
  29336. in: query
  29337. name: pagesize
  29338. type: integer
  29339. produces:
  29340. - application/json
  29341. responses:
  29342. "200":
  29343. description: OK
  29344. schema:
  29345. items:
  29346. $ref: '#/definitions/models.PurchaseTransfer'
  29347. type: array
  29348. "500":
  29349. description: Internal Server Error
  29350. schema:
  29351. $ref: '#/definitions/app.Response'
  29352. security:
  29353. - ApiKeyAuth: []
  29354. summary: 查询合同转让列表
  29355. tags:
  29356. - 铁合金
  29357. /Ferroalloy/QueryTHJPurchaseTransferDetail:
  29358. get:
  29359. parameters:
  29360. - description: 现货商品ID
  29361. in: query
  29362. name: wrstandardid
  29363. required: true
  29364. type: integer
  29365. produces:
  29366. - application/json
  29367. responses:
  29368. "200":
  29369. description: OK
  29370. schema:
  29371. items:
  29372. $ref: '#/definitions/models.THJPurchaseTradeDetailRsp'
  29373. type: array
  29374. "500":
  29375. description: Internal Server Error
  29376. schema:
  29377. $ref: '#/definitions/app.Response'
  29378. security:
  29379. - ApiKeyAuth: []
  29380. summary: 查询合同转让详情
  29381. tags:
  29382. - 铁合金
  29383. /Ferroalloy/QueryTHJPurchaseTransferOrder:
  29384. get:
  29385. parameters:
  29386. - description: 用户ID
  29387. in: query
  29388. name: userid
  29389. required: true
  29390. type: integer
  29391. - description: 类型 - 1:转让 2:受让 3:转让委托已完成
  29392. in: query
  29393. name: ordertype
  29394. required: true
  29395. type: integer
  29396. - description: 页码
  29397. in: query
  29398. name: page
  29399. type: integer
  29400. - description: 每页条数
  29401. in: query
  29402. name: pagesize
  29403. type: integer
  29404. produces:
  29405. - application/json
  29406. responses:
  29407. "200":
  29408. description: OK
  29409. schema:
  29410. items:
  29411. $ref: '#/definitions/models.Thjpurchasetransfer'
  29412. type: array
  29413. "500":
  29414. description: Internal Server Error
  29415. schema:
  29416. $ref: '#/definitions/app.Response'
  29417. security:
  29418. - ApiKeyAuth: []
  29419. summary: 查询我的订单-转让/受让订单
  29420. tags:
  29421. - 铁合金
  29422. /Ferroalloy/QueryTHJPurchaseTransferOrderDetail:
  29423. get:
  29424. parameters:
  29425. - description: 采购成交单ID
  29426. in: query
  29427. name: wrtradedetailid
  29428. required: true
  29429. type: string
  29430. produces:
  29431. - application/json
  29432. responses:
  29433. "200":
  29434. description: OK
  29435. schema:
  29436. items:
  29437. $ref: '#/definitions/models.ThjpurchasetransferDetail'
  29438. type: array
  29439. "500":
  29440. description: Internal Server Error
  29441. schema:
  29442. $ref: '#/definitions/app.Response'
  29443. security:
  29444. - ApiKeyAuth: []
  29445. summary: 查询我的订单-转让/受让订单-详情
  29446. tags:
  29447. - 铁合金
  29448. /Ferroalloy/QueryTHJScoreConfig:
  29449. get:
  29450. parameters:
  29451. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  29452. 6:自己供求下单积分 7:抽奖配置'
  29453. in: query
  29454. name: stype
  29455. type: string
  29456. produces:
  29457. - application/json
  29458. responses:
  29459. "200":
  29460. description: OK
  29461. schema:
  29462. items:
  29463. $ref: '#/definitions/models.Thjscoreconfig'
  29464. type: array
  29465. "500":
  29466. description: Internal Server Error
  29467. schema:
  29468. $ref: '#/definitions/app.Response'
  29469. security:
  29470. - ApiKeyAuth: []
  29471. summary: 查询积分配置
  29472. tags:
  29473. - 铁合金
  29474. /Ferroalloy/QueryTHJTradeData:
  29475. get:
  29476. parameters:
  29477. - description: 用户ID
  29478. in: query
  29479. name: userid
  29480. required: true
  29481. type: integer
  29482. - description: 市场ID 采购-64201 供求-65201
  29483. in: query
  29484. name: marketid
  29485. required: true
  29486. type: integer
  29487. - description: 页码
  29488. in: query
  29489. name: page
  29490. type: integer
  29491. - description: 每页条数
  29492. in: query
  29493. name: pagesize
  29494. type: integer
  29495. produces:
  29496. - application/json
  29497. responses:
  29498. "200":
  29499. description: OK
  29500. schema:
  29501. items:
  29502. $ref: '#/definitions/models.THJTradeData'
  29503. type: array
  29504. "500":
  29505. description: Internal Server Error
  29506. schema:
  29507. $ref: '#/definitions/app.Response'
  29508. security:
  29509. - ApiKeyAuth: []
  29510. summary: 获取我的推广-交易数据
  29511. tags:
  29512. - 铁合金
  29513. /Ferroalloy/QueryTHJWrstandard:
  29514. get:
  29515. parameters:
  29516. - description: 现货商品名称(模糊查询)
  29517. in: query
  29518. name: wrstandardname
  29519. type: string
  29520. - description: 页码
  29521. in: query
  29522. name: page
  29523. type: integer
  29524. - description: 每页条数
  29525. in: query
  29526. name: pagesize
  29527. type: integer
  29528. produces:
  29529. - application/json
  29530. responses:
  29531. "200":
  29532. description: OK
  29533. schema:
  29534. items:
  29535. $ref: '#/definitions/models.THJWrstandard'
  29536. type: array
  29537. "500":
  29538. description: Internal Server Error
  29539. schema:
  29540. $ref: '#/definitions/app.Response'
  29541. security:
  29542. - ApiKeyAuth: []
  29543. summary: 查询采购列表
  29544. tags:
  29545. - 铁合金
  29546. /Ferroalloy/QueryTHJWrstandardDetail:
  29547. get:
  29548. parameters:
  29549. - description: 现货商品ID
  29550. in: query
  29551. name: wrstandardid
  29552. required: true
  29553. type: integer
  29554. produces:
  29555. - application/json
  29556. responses:
  29557. "200":
  29558. description: OK
  29559. schema:
  29560. items:
  29561. $ref: '#/definitions/models.THJWrstandardDetailRsp'
  29562. type: array
  29563. "500":
  29564. description: Internal Server Error
  29565. schema:
  29566. $ref: '#/definitions/app.Response'
  29567. security:
  29568. - ApiKeyAuth: []
  29569. summary: 查询采购详情
  29570. tags:
  29571. - 铁合金
  29572. /Ferroalloy/QueryUserScoreLog:
  29573. get:
  29574. parameters:
  29575. - description: 用户ID
  29576. in: query
  29577. name: userid
  29578. required: true
  29579. type: integer
  29580. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  29581. 6:自己供求下单积分 7:抽奖配置'
  29582. in: query
  29583. name: stype
  29584. type: string
  29585. - description: 页码
  29586. in: query
  29587. name: page
  29588. type: integer
  29589. - description: 每页条数
  29590. in: query
  29591. name: pagesize
  29592. type: integer
  29593. produces:
  29594. - application/json
  29595. responses:
  29596. "200":
  29597. description: OK
  29598. schema:
  29599. items:
  29600. $ref: '#/definitions/models.GThjuserscorelog'
  29601. type: array
  29602. "500":
  29603. description: Internal Server Error
  29604. schema:
  29605. $ref: '#/definitions/app.Response'
  29606. security:
  29607. - ApiKeyAuth: []
  29608. summary: 查询我的积分流水
  29609. tags:
  29610. - 铁合金
  29611. /Ferroalloy/Signin:
  29612. post:
  29613. parameters:
  29614. - description: 用户签到请求
  29615. in: body
  29616. name: jsonBody
  29617. required: true
  29618. schema:
  29619. $ref: '#/definitions/models.THJSigninReq'
  29620. produces:
  29621. - application/json
  29622. responses:
  29623. "200":
  29624. description: OK
  29625. schema:
  29626. $ref: '#/definitions/models.THJSigninRsp'
  29627. "500":
  29628. description: Internal Server Error
  29629. schema:
  29630. $ref: '#/definitions/app.Response'
  29631. security:
  29632. - ApiKeyAuth: []
  29633. summary: 用户签到
  29634. tags:
  29635. - 铁合金
  29636. /Guangzuan/GZBSFWOrderOperate:
  29637. get:
  29638. parameters:
  29639. - description: 单据ID
  29640. in: query
  29641. name: orderid
  29642. required: true
  29643. type: integer
  29644. produces:
  29645. - application/json
  29646. responses:
  29647. "200":
  29648. description: OK
  29649. schema:
  29650. items:
  29651. $ref: '#/definitions/models.Gzbsfworderoperate'
  29652. type: array
  29653. "500":
  29654. description: Internal Server Error
  29655. schema:
  29656. $ref: '#/definitions/app.Response'
  29657. security:
  29658. - ApiKeyAuth: []
  29659. - LoginID: []
  29660. - Group: []
  29661. summary: 保税服务单据操作信息
  29662. tags:
  29663. - 广钻
  29664. /Guangzuan/GetGoods:
  29665. get:
  29666. parameters:
  29667. - description: 商品编号
  29668. in: query
  29669. name: goodsno
  29670. required: true
  29671. type: string
  29672. produces:
  29673. - application/json
  29674. responses:
  29675. "200":
  29676. description: OK
  29677. schema:
  29678. $ref: '#/definitions/models.GZGoods'
  29679. "500":
  29680. description: Internal Server Error
  29681. schema:
  29682. $ref: '#/definitions/app.Response'
  29683. security:
  29684. - ApiKeyAuth: []
  29685. - LoginID: []
  29686. - Group: []
  29687. summary: 获取钻石详情
  29688. tags:
  29689. - 广钻
  29690. /Guangzuan/GzCertAddressConfig:
  29691. get:
  29692. produces:
  29693. - application/json
  29694. responses:
  29695. "200":
  29696. description: OK
  29697. schema:
  29698. items:
  29699. $ref: '#/definitions/models.Gzcertaddressconfig'
  29700. type: array
  29701. "500":
  29702. description: Internal Server Error
  29703. schema:
  29704. $ref: '#/definitions/app.Response'
  29705. security:
  29706. - ApiKeyAuth: []
  29707. - LoginID: []
  29708. - Group: []
  29709. summary: Rapaport最新报价表(广钻)
  29710. tags:
  29711. - 广钻
  29712. /Guangzuan/GzCertAddressParam:
  29713. get:
  29714. produces:
  29715. - application/json
  29716. responses:
  29717. "200":
  29718. description: OK
  29719. schema:
  29720. items:
  29721. $ref: '#/definitions/models.Gzcertaddressparam'
  29722. type: array
  29723. "500":
  29724. description: Internal Server Error
  29725. schema:
  29726. $ref: '#/definitions/app.Response'
  29727. security:
  29728. - ApiKeyAuth: []
  29729. - LoginID: []
  29730. - Group: []
  29731. summary: 钻石证书地址参数
  29732. tags:
  29733. - 广钻
  29734. /Guangzuan/HomeData:
  29735. get:
  29736. parameters:
  29737. - description: 用户ID
  29738. in: query
  29739. name: userid
  29740. required: true
  29741. type: integer
  29742. produces:
  29743. - application/json
  29744. responses:
  29745. "200":
  29746. description: OK
  29747. schema:
  29748. $ref: '#/definitions/models.GZHomeData'
  29749. "500":
  29750. description: Internal Server Error
  29751. schema:
  29752. $ref: '#/definitions/app.Response'
  29753. security:
  29754. - ApiKeyAuth: []
  29755. - LoginID: []
  29756. - Group: []
  29757. summary: 首页统计数据
  29758. tags:
  29759. - 广钻
  29760. /Guangzuan/PriceCalc:
  29761. get:
  29762. parameters:
  29763. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  29764. in: query
  29765. name: zsshape
  29766. required: true
  29767. type: integer
  29768. - description: 颜色(D-M)
  29769. in: query
  29770. name: zscolor
  29771. required: true
  29772. type: string
  29773. - description: 净度
  29774. in: query
  29775. name: zsclarity
  29776. required: true
  29777. type: string
  29778. - description: 重量
  29779. in: query
  29780. name: weight
  29781. required: true
  29782. type: number
  29783. - description: 汇率
  29784. in: query
  29785. name: rate
  29786. required: true
  29787. type: number
  29788. - description: 折扣(%), 方向(加:10, 减:-10 )
  29789. in: query
  29790. name: discount
  29791. type: number
  29792. produces:
  29793. - application/json
  29794. responses:
  29795. "200":
  29796. description: OK
  29797. schema:
  29798. items:
  29799. $ref: '#/definitions/models.Gzrapaportprice'
  29800. type: array
  29801. "500":
  29802. description: Internal Server Error
  29803. schema:
  29804. $ref: '#/definitions/app.Response'
  29805. security:
  29806. - ApiKeyAuth: []
  29807. - LoginID: []
  29808. - Group: []
  29809. summary: 钻石价格计算器
  29810. tags:
  29811. - 广钻
  29812. /Guangzuan/QueryBuyOrder:
  29813. get:
  29814. parameters:
  29815. - description: 页码
  29816. in: query
  29817. name: page
  29818. type: integer
  29819. - description: 每页条数
  29820. in: query
  29821. name: pagesize
  29822. type: integer
  29823. - description: 商品(查询字段-模糊查询)
  29824. in: query
  29825. name: zsallproperties
  29826. type: string
  29827. - description: 钻石分类, 格式:1,2,3
  29828. in: query
  29829. name: zscategorys
  29830. type: string
  29831. - description: 委托单号
  29832. in: query
  29833. name: wrtradeorderid
  29834. type: integer
  29835. - description: 买方(查询字段-模糊查询)
  29836. in: query
  29837. name: buyusername
  29838. type: string
  29839. produces:
  29840. - application/json
  29841. responses:
  29842. "200":
  29843. description: OK
  29844. schema:
  29845. items:
  29846. $ref: '#/definitions/models.BuyOrder'
  29847. type: array
  29848. "500":
  29849. description: Internal Server Error
  29850. schema:
  29851. $ref: '#/definitions/app.Response'
  29852. security:
  29853. - ApiKeyAuth: []
  29854. - LoginID: []
  29855. - Group: []
  29856. summary: 查询求购大厅委托单
  29857. tags:
  29858. - 广钻
  29859. /Guangzuan/QueryDiamond:
  29860. post:
  29861. parameters:
  29862. - description: 钻石搜索入参
  29863. in: body
  29864. name: data
  29865. required: true
  29866. schema:
  29867. $ref: '#/definitions/models.SellOrderQueryReq'
  29868. produces:
  29869. - application/json
  29870. responses:
  29871. "200":
  29872. description: OK
  29873. schema:
  29874. items:
  29875. $ref: '#/definitions/models.SellOrder'
  29876. type: array
  29877. "500":
  29878. description: Internal Server Error
  29879. schema:
  29880. $ref: '#/definitions/app.Response'
  29881. security:
  29882. - ApiKeyAuth: []
  29883. - LoginID: []
  29884. - Group: []
  29885. summary: 钻石搜索
  29886. tags:
  29887. - 广钻
  29888. /Guangzuan/QueryGZBSFWOrder:
  29889. get:
  29890. parameters:
  29891. - description: 用户ID
  29892. in: query
  29893. name: userid
  29894. required: true
  29895. type: integer
  29896. - description: 执行状态 - 1:未生效 2:进行中 3:已结束
  29897. in: query
  29898. name: executestatus
  29899. type: integer
  29900. - description: 页码
  29901. in: query
  29902. name: page
  29903. type: integer
  29904. - description: 每页条数
  29905. in: query
  29906. name: pagesize
  29907. type: integer
  29908. produces:
  29909. - application/json
  29910. responses:
  29911. "200":
  29912. description: OK
  29913. schema:
  29914. items:
  29915. $ref: '#/definitions/models.GzbsfworderM'
  29916. type: array
  29917. "500":
  29918. description: Internal Server Error
  29919. schema:
  29920. $ref: '#/definitions/app.Response'
  29921. security:
  29922. - ApiKeyAuth: []
  29923. - LoginID: []
  29924. - Group: []
  29925. summary: 查询保税服务单据
  29926. tags:
  29927. - 广钻
  29928. /Guangzuan/QueryGZBSFWOrderDetail:
  29929. get:
  29930. parameters:
  29931. - description: 用户ID
  29932. in: query
  29933. name: userid
  29934. required: true
  29935. type: integer
  29936. - description: 单据ID
  29937. in: query
  29938. name: orderid
  29939. type: integer
  29940. - description: 页码
  29941. in: query
  29942. name: page
  29943. type: integer
  29944. - description: 每页条数
  29945. in: query
  29946. name: pagesize
  29947. type: integer
  29948. produces:
  29949. - application/json
  29950. responses:
  29951. "200":
  29952. description: OK
  29953. schema:
  29954. items:
  29955. $ref: '#/definitions/models.GzbsfworderdetailM'
  29956. type: array
  29957. "500":
  29958. description: Internal Server Error
  29959. schema:
  29960. $ref: '#/definitions/app.Response'
  29961. security:
  29962. - ApiKeyAuth: []
  29963. - LoginID: []
  29964. - Group: []
  29965. summary: 查询保税服务单据明细
  29966. tags:
  29967. - 广钻
  29968. /Guangzuan/QueryGZCJBSOrderFile:
  29969. get:
  29970. parameters:
  29971. - description: 单据ID
  29972. in: query
  29973. name: orderid
  29974. required: true
  29975. type: integer
  29976. - description: 页码
  29977. in: query
  29978. name: page
  29979. type: integer
  29980. - description: 每页条数
  29981. in: query
  29982. name: pagesize
  29983. type: integer
  29984. produces:
  29985. - application/json
  29986. responses:
  29987. "200":
  29988. description: OK
  29989. schema:
  29990. items:
  29991. $ref: '#/definitions/models.GzcjbsorderfileM'
  29992. type: array
  29993. "500":
  29994. description: Internal Server Error
  29995. schema:
  29996. $ref: '#/definitions/app.Response'
  29997. security:
  29998. - ApiKeyAuth: []
  29999. - LoginID: []
  30000. - Group: []
  30001. summary: 出境保税单据文件
  30002. tags:
  30003. - 广钻
  30004. /Guangzuan/QueryGZCJJCOrder:
  30005. get:
  30006. parameters:
  30007. - description: 用户ID
  30008. in: query
  30009. name: userid
  30010. required: true
  30011. type: integer
  30012. - description: 页码
  30013. in: query
  30014. name: page
  30015. type: integer
  30016. - description: 每页条数
  30017. in: query
  30018. name: pagesize
  30019. type: integer
  30020. produces:
  30021. - application/json
  30022. responses:
  30023. "200":
  30024. description: OK
  30025. schema:
  30026. items:
  30027. $ref: '#/definitions/models.GzcjjcorderM'
  30028. type: array
  30029. "500":
  30030. description: Internal Server Error
  30031. schema:
  30032. $ref: '#/definitions/app.Response'
  30033. security:
  30034. - ApiKeyAuth: []
  30035. - LoginID: []
  30036. - Group: []
  30037. summary: 查询出境检测单据
  30038. tags:
  30039. - 广钻
  30040. /Guangzuan/QueryGZCJJCOrderDetail:
  30041. get:
  30042. parameters:
  30043. - description: 用户ID
  30044. in: query
  30045. name: userid
  30046. required: true
  30047. type: integer
  30048. - description: 单据ID
  30049. in: query
  30050. name: orderid
  30051. type: integer
  30052. - description: 页码
  30053. in: query
  30054. name: page
  30055. type: integer
  30056. - description: 每页条数
  30057. in: query
  30058. name: pagesize
  30059. type: integer
  30060. produces:
  30061. - application/json
  30062. responses:
  30063. "200":
  30064. description: OK
  30065. schema:
  30066. items:
  30067. $ref: '#/definitions/models.GzcjjcorderdetailM'
  30068. type: array
  30069. "500":
  30070. description: Internal Server Error
  30071. schema:
  30072. $ref: '#/definitions/app.Response'
  30073. security:
  30074. - ApiKeyAuth: []
  30075. - LoginID: []
  30076. - Group: []
  30077. summary: 查询出境检测单据明细(批次信息)
  30078. tags:
  30079. - 广钻
  30080. /Guangzuan/QueryMemberReport:
  30081. get:
  30082. parameters:
  30083. - description: 用户ID
  30084. in: query
  30085. name: userid
  30086. required: true
  30087. type: integer
  30088. - description: 页码
  30089. in: query
  30090. name: page
  30091. type: integer
  30092. - description: 每页条数
  30093. in: query
  30094. name: pagesize
  30095. type: integer
  30096. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  30097. in: query
  30098. name: cycletype
  30099. type: string
  30100. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  30101. in: query
  30102. name: begindate
  30103. required: true
  30104. type: string
  30105. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  30106. in: query
  30107. name: enddate
  30108. required: true
  30109. type: string
  30110. produces:
  30111. - application/json
  30112. responses:
  30113. "200":
  30114. description: OK
  30115. schema:
  30116. items:
  30117. $ref: '#/definitions/models.Reckondaytaaccount'
  30118. type: array
  30119. "500":
  30120. description: Internal Server Error
  30121. schema:
  30122. $ref: '#/definitions/app.Response'
  30123. security:
  30124. - ApiKeyAuth: []
  30125. - LoginID: []
  30126. - Group: []
  30127. summary: 查询会员报表
  30128. tags:
  30129. - 广钻
  30130. /Guangzuan/QueryMyBargainApply:
  30131. get:
  30132. parameters:
  30133. - description: 用户ID
  30134. in: query
  30135. name: userid
  30136. required: true
  30137. type: integer
  30138. - description: 页码
  30139. in: query
  30140. name: page
  30141. type: integer
  30142. - description: 每页条数
  30143. in: query
  30144. name: pagesize
  30145. type: integer
  30146. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  30147. in: query
  30148. name: applystatus
  30149. type: integer
  30150. - description: 查询类型 - 0:我的询价 1:我订单的询价
  30151. in: query
  30152. name: type
  30153. type: integer
  30154. - description: 关联委托单ID
  30155. in: query
  30156. name: wrtradeorderid
  30157. type: string
  30158. produces:
  30159. - application/json
  30160. responses:
  30161. "200":
  30162. description: OK
  30163. schema:
  30164. items:
  30165. $ref: '#/definitions/models.MyBargainApply'
  30166. type: array
  30167. "500":
  30168. description: Internal Server Error
  30169. schema:
  30170. $ref: '#/definitions/app.Response'
  30171. security:
  30172. - ApiKeyAuth: []
  30173. - LoginID: []
  30174. - Group: []
  30175. summary: 查询询价-求购
  30176. tags:
  30177. - 广钻
  30178. /Guangzuan/QueryMyBuyOrder:
  30179. get:
  30180. parameters:
  30181. - description: 用户ID
  30182. in: query
  30183. name: userid
  30184. required: true
  30185. type: integer
  30186. - description: 页码
  30187. in: query
  30188. name: page
  30189. type: integer
  30190. - description: 每页条数
  30191. in: query
  30192. name: pagesize
  30193. type: integer
  30194. - description: 商品(查询字段-模糊查询)
  30195. in: query
  30196. name: zsallproperties
  30197. type: string
  30198. - description: 钻石分类, 格式:1,2,3
  30199. in: query
  30200. name: zscategorys
  30201. type: string
  30202. - description: 委托单号
  30203. in: query
  30204. name: wrtradeorderid
  30205. type: integer
  30206. - description: 是否历史查询
  30207. in: query
  30208. name: ishis
  30209. type: boolean
  30210. - description: 开始交易日(yyyymmdd)
  30211. in: query
  30212. name: begindate
  30213. type: string
  30214. - description: 结束交易日(yyyymmdd)
  30215. in: query
  30216. name: enddate
  30217. type: string
  30218. produces:
  30219. - application/json
  30220. responses:
  30221. "200":
  30222. description: OK
  30223. schema:
  30224. items:
  30225. $ref: '#/definitions/models.MyBuyOrder'
  30226. type: array
  30227. "500":
  30228. description: Internal Server Error
  30229. schema:
  30230. $ref: '#/definitions/app.Response'
  30231. security:
  30232. - ApiKeyAuth: []
  30233. - LoginID: []
  30234. - Group: []
  30235. summary: 查询我的求购
  30236. tags:
  30237. - 广钻
  30238. /Guangzuan/QueryMyDeListing:
  30239. get:
  30240. parameters:
  30241. - description: 用户ID
  30242. in: query
  30243. name: userid
  30244. required: true
  30245. type: integer
  30246. - description: 页码
  30247. in: query
  30248. name: page
  30249. type: integer
  30250. - description: 每页条数
  30251. in: query
  30252. name: pagesize
  30253. type: integer
  30254. - description: 商品(查询字段-模糊查询)
  30255. in: query
  30256. name: zsallproperties
  30257. type: string
  30258. - description: 钻石分类, 格式:1,2,3
  30259. in: query
  30260. name: zscategorys
  30261. type: string
  30262. - description: 成交单号
  30263. in: query
  30264. name: wrtradedetailid
  30265. type: integer
  30266. - description: 方向,0-购买 1-出售
  30267. in: query
  30268. name: buyorsell
  30269. type: integer
  30270. - description: 对手方(模糊匹配)
  30271. in: query
  30272. name: matchusername
  30273. type: string
  30274. - description: 开始交易日(yyyymmdd)
  30275. in: query
  30276. name: begindate
  30277. type: string
  30278. - description: 结束交易日(yyyymmdd)
  30279. in: query
  30280. name: enddate
  30281. type: string
  30282. produces:
  30283. - application/json
  30284. responses:
  30285. "200":
  30286. description: OK
  30287. schema:
  30288. items:
  30289. $ref: '#/definitions/models.MyDeListing'
  30290. type: array
  30291. "500":
  30292. description: Internal Server Error
  30293. schema:
  30294. $ref: '#/definitions/app.Response'
  30295. security:
  30296. - ApiKeyAuth: []
  30297. - LoginID: []
  30298. - Group: []
  30299. summary: 查询我的摘牌
  30300. tags:
  30301. - 广钻
  30302. /Guangzuan/QueryMyDelistingApply:
  30303. get:
  30304. parameters:
  30305. - description: 用户ID
  30306. in: query
  30307. name: userid
  30308. required: true
  30309. type: integer
  30310. - description: 页码
  30311. in: query
  30312. name: page
  30313. type: integer
  30314. - description: 每页条数
  30315. in: query
  30316. name: pagesize
  30317. type: integer
  30318. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  30319. in: query
  30320. name: applystatus
  30321. type: integer
  30322. - description: 查询类型 - 0:我的询价 1:我订单的询价
  30323. in: query
  30324. name: type
  30325. type: integer
  30326. - description: 买委托单ID
  30327. in: query
  30328. name: buywrtradeorderid
  30329. type: string
  30330. produces:
  30331. - application/json
  30332. responses:
  30333. "200":
  30334. description: OK
  30335. schema:
  30336. items:
  30337. $ref: '#/definitions/models.MyDelistingApply'
  30338. type: array
  30339. "500":
  30340. description: Internal Server Error
  30341. schema:
  30342. $ref: '#/definitions/app.Response'
  30343. security:
  30344. - ApiKeyAuth: []
  30345. - LoginID: []
  30346. - Group: []
  30347. summary: 查询询价-出售
  30348. tags:
  30349. - 广钻
  30350. /Guangzuan/QueryMyFavorite:
  30351. get:
  30352. parameters:
  30353. - description: 用户ID
  30354. in: query
  30355. name: userid
  30356. required: true
  30357. type: integer
  30358. - description: 页码
  30359. in: query
  30360. name: page
  30361. type: integer
  30362. - description: 每页条数
  30363. in: query
  30364. name: pagesize
  30365. type: integer
  30366. - description: 钻石分类, 格式:1,2,3
  30367. in: query
  30368. name: zscategorys
  30369. type: string
  30370. produces:
  30371. - application/json
  30372. responses:
  30373. "200":
  30374. description: OK
  30375. schema:
  30376. items:
  30377. $ref: '#/definitions/models.MyFavorite'
  30378. type: array
  30379. "500":
  30380. description: Internal Server Error
  30381. schema:
  30382. $ref: '#/definitions/app.Response'
  30383. security:
  30384. - ApiKeyAuth: []
  30385. - LoginID: []
  30386. - Group: []
  30387. summary: 查询我的收藏
  30388. tags:
  30389. - 广钻
  30390. /Guangzuan/QueryMyPerformanc:
  30391. get:
  30392. parameters:
  30393. - description: 用户ID
  30394. in: query
  30395. name: userid
  30396. required: true
  30397. type: integer
  30398. - description: 页码
  30399. in: query
  30400. name: page
  30401. type: integer
  30402. - description: 每页条数
  30403. in: query
  30404. name: pagesize
  30405. type: integer
  30406. - description: 商品(查询字段-模糊查询)
  30407. in: query
  30408. name: zsallproperties
  30409. type: string
  30410. - description: 方向,0-买 1-卖
  30411. in: query
  30412. name: buyorsell
  30413. type: integer
  30414. - description: 是否历史查询
  30415. in: query
  30416. name: ishis
  30417. type: boolean
  30418. - description: 开始交易日(yyyymmdd)
  30419. in: query
  30420. name: begindate
  30421. type: string
  30422. - description: 结束交易日(yyyymmdd)
  30423. in: query
  30424. name: enddate
  30425. type: string
  30426. produces:
  30427. - application/json
  30428. responses:
  30429. "200":
  30430. description: OK
  30431. schema:
  30432. items:
  30433. $ref: '#/definitions/models.MyPerformanc'
  30434. type: array
  30435. "500":
  30436. description: Internal Server Error
  30437. schema:
  30438. $ref: '#/definitions/app.Response'
  30439. security:
  30440. - ApiKeyAuth: []
  30441. - LoginID: []
  30442. - Group: []
  30443. summary: 查询我的履约
  30444. tags:
  30445. - 广钻
  30446. /Guangzuan/QueryMySellOrder:
  30447. get:
  30448. parameters:
  30449. - description: 用户ID
  30450. in: query
  30451. name: userid
  30452. required: true
  30453. type: integer
  30454. - description: 页码
  30455. in: query
  30456. name: page
  30457. type: integer
  30458. - description: 每页条数
  30459. in: query
  30460. name: pagesize
  30461. type: integer
  30462. - description: 商品(查询字段-模糊查询)
  30463. in: query
  30464. name: zsallproperties
  30465. type: string
  30466. - description: 钻石分类, 格式:1,2,3
  30467. in: query
  30468. name: zscategorys
  30469. type: string
  30470. - description: 委托单号
  30471. in: query
  30472. name: wrtradeorderid
  30473. type: integer
  30474. - description: 是否历史查询
  30475. in: query
  30476. name: ishis
  30477. type: boolean
  30478. - description: 开始交易日(yyyymmdd)
  30479. in: query
  30480. name: begindate
  30481. type: string
  30482. - description: 结束交易日(yyyymmdd)
  30483. in: query
  30484. name: enddate
  30485. type: string
  30486. produces:
  30487. - application/json
  30488. responses:
  30489. "200":
  30490. description: OK
  30491. schema:
  30492. items:
  30493. $ref: '#/definitions/models.MySellOrder'
  30494. type: array
  30495. "500":
  30496. description: Internal Server Error
  30497. schema:
  30498. $ref: '#/definitions/app.Response'
  30499. security:
  30500. - ApiKeyAuth: []
  30501. - LoginID: []
  30502. - Group: []
  30503. summary: 查询我的出售
  30504. tags:
  30505. - 广钻
  30506. /Guangzuan/QueryMyWRPosition:
  30507. get:
  30508. parameters:
  30509. - description: 页码
  30510. in: query
  30511. name: page
  30512. type: integer
  30513. - description: 每页条数
  30514. in: query
  30515. name: pagesize
  30516. type: integer
  30517. - description: 登录用户ID
  30518. in: query
  30519. name: wruserid
  30520. required: true
  30521. type: integer
  30522. - description: 商品(查询字段-模糊查询)
  30523. in: query
  30524. name: zsallproperties
  30525. type: string
  30526. - description: 钻石分类, 格式:1,2,3
  30527. in: query
  30528. name: zscategorys
  30529. type: string
  30530. - description: 仓库ID
  30531. in: query
  30532. name: warehouseid
  30533. type: integer
  30534. - description: 是否上架,0-全部 1-是 2-否
  30535. in: query
  30536. name: marketflag
  30537. type: integer
  30538. produces:
  30539. - application/json
  30540. responses:
  30541. "200":
  30542. description: OK
  30543. schema:
  30544. items:
  30545. $ref: '#/definitions/models.MyWRPosition'
  30546. type: array
  30547. "500":
  30548. description: Internal Server Error
  30549. schema:
  30550. $ref: '#/definitions/app.Response'
  30551. security:
  30552. - ApiKeyAuth: []
  30553. - LoginID: []
  30554. - Group: []
  30555. summary: 查询我的库存
  30556. tags:
  30557. - 广钻
  30558. /Guangzuan/QuerySellOrder:
  30559. get:
  30560. parameters:
  30561. - description: 页码
  30562. in: query
  30563. name: page
  30564. type: integer
  30565. - description: 每页条数
  30566. in: query
  30567. name: pagesize
  30568. type: integer
  30569. - description: 商品(查询字段-模糊查询)
  30570. in: query
  30571. name: zsallproperties
  30572. type: string
  30573. - description: 钻石分类, 格式:1,2,3
  30574. in: query
  30575. name: zscategorys
  30576. type: string
  30577. - description: 委托单号
  30578. in: query
  30579. name: wrtradeorderid
  30580. type: integer
  30581. - description: 卖方(查询字段-模糊查询)
  30582. in: query
  30583. name: buyusername
  30584. type: string
  30585. produces:
  30586. - application/json
  30587. responses:
  30588. "200":
  30589. description: OK
  30590. schema:
  30591. items:
  30592. $ref: '#/definitions/models.SellOrder'
  30593. type: array
  30594. "500":
  30595. description: Internal Server Error
  30596. schema:
  30597. $ref: '#/definitions/app.Response'
  30598. security:
  30599. - ApiKeyAuth: []
  30600. - LoginID: []
  30601. - Group: []
  30602. summary: 查询出售大厅委托单
  30603. tags:
  30604. - 广钻
  30605. /Guangzuan/QueryTradeReport:
  30606. get:
  30607. parameters:
  30608. - description: 用户ID
  30609. in: query
  30610. name: userid
  30611. required: true
  30612. type: integer
  30613. - description: 页码
  30614. in: query
  30615. name: page
  30616. type: integer
  30617. - description: 每页条数
  30618. in: query
  30619. name: pagesize
  30620. type: integer
  30621. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  30622. in: query
  30623. name: cycletype
  30624. type: string
  30625. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  30626. in: query
  30627. name: begindate
  30628. required: true
  30629. type: string
  30630. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  30631. in: query
  30632. name: enddate
  30633. required: true
  30634. type: string
  30635. - description: 商品分类
  30636. in: query
  30637. name: zscategory
  30638. type: integer
  30639. - description: 商品币种
  30640. in: query
  30641. name: zscurrencytype
  30642. type: integer
  30643. produces:
  30644. - application/json
  30645. responses:
  30646. "200":
  30647. description: OK
  30648. schema:
  30649. items:
  30650. $ref: '#/definitions/models.Reckongzmemtradesum'
  30651. type: array
  30652. "500":
  30653. description: Internal Server Error
  30654. schema:
  30655. $ref: '#/definitions/app.Response'
  30656. security:
  30657. - ApiKeyAuth: []
  30658. - LoginID: []
  30659. - Group: []
  30660. summary: 查询交易报表
  30661. tags:
  30662. - 广钻
  30663. /Guangzuan/QueryWRPositionReport:
  30664. get:
  30665. parameters:
  30666. - description: 用户ID
  30667. in: query
  30668. name: userid
  30669. required: true
  30670. type: integer
  30671. - description: 页码
  30672. in: query
  30673. name: page
  30674. type: integer
  30675. - description: 每页条数
  30676. in: query
  30677. name: pagesize
  30678. type: integer
  30679. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  30680. in: query
  30681. name: cycletype
  30682. type: string
  30683. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  30684. in: query
  30685. name: begindate
  30686. required: true
  30687. type: string
  30688. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  30689. in: query
  30690. name: enddate
  30691. required: true
  30692. type: string
  30693. - description: 商品分类
  30694. in: query
  30695. name: zscategory
  30696. type: integer
  30697. - description: 商品币种
  30698. in: query
  30699. name: zscurrencytype
  30700. type: integer
  30701. produces:
  30702. - application/json
  30703. responses:
  30704. "200":
  30705. description: OK
  30706. schema:
  30707. items:
  30708. $ref: '#/definitions/models.WRPositionReport'
  30709. type: array
  30710. "500":
  30711. description: Internal Server Error
  30712. schema:
  30713. $ref: '#/definitions/app.Response'
  30714. security:
  30715. - ApiKeyAuth: []
  30716. - LoginID: []
  30717. - Group: []
  30718. summary: 查询仓储报表
  30719. tags:
  30720. - 广钻
  30721. /Guangzuan/QueryWarehouseInfo:
  30722. get:
  30723. parameters:
  30724. - description: 页码
  30725. in: query
  30726. name: page
  30727. type: integer
  30728. - description: 每页条数
  30729. in: query
  30730. name: pagesize
  30731. type: integer
  30732. - description: 用户ID
  30733. in: query
  30734. name: userid
  30735. required: true
  30736. type: integer
  30737. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  30738. in: query
  30739. name: status
  30740. type: string
  30741. - description: 是返回交易所仓库
  30742. in: query
  30743. name: isincludeexchange
  30744. type: boolean
  30745. produces:
  30746. - application/json
  30747. responses:
  30748. "200":
  30749. description: OK
  30750. schema:
  30751. items:
  30752. $ref: '#/definitions/models.GZWarehouseinfo'
  30753. type: array
  30754. "500":
  30755. description: Internal Server Error
  30756. schema:
  30757. $ref: '#/definitions/app.Response'
  30758. security:
  30759. - ApiKeyAuth: []
  30760. - LoginID: []
  30761. - Group: []
  30762. summary: 查询仓库信息
  30763. tags:
  30764. - 广钻
  30765. /Market/GetAllExExchanges:
  30766. get:
  30767. produces:
  30768. - application/json
  30769. responses:
  30770. "200":
  30771. description: OK
  30772. schema:
  30773. $ref: '#/definitions/models.Goods'
  30774. "500":
  30775. description: Internal Server Error
  30776. schema:
  30777. $ref: '#/definitions/app.Response'
  30778. security:
  30779. - ApiKeyAuth: []
  30780. summary: 获取所有外部交易所信息
  30781. tags:
  30782. - 通用市场
  30783. /Market/QueryGoodsesByLoginID:
  30784. get:
  30785. parameters:
  30786. - description: 登录账号
  30787. in: query
  30788. name: loginID
  30789. required: true
  30790. type: integer
  30791. - description: 市场ID列表,格式:1,2,3
  30792. in: query
  30793. name: marketIDs
  30794. type: string
  30795. produces:
  30796. - application/json
  30797. responses:
  30798. "200":
  30799. description: OK
  30800. schema:
  30801. $ref: '#/definitions/models.Goods'
  30802. "500":
  30803. description: Internal Server Error
  30804. schema:
  30805. $ref: '#/definitions/app.Response'
  30806. security:
  30807. - ApiKeyAuth: []
  30808. summary: 获取登录账号有权限的商品信息
  30809. tags:
  30810. - 通用市场
  30811. /Market/QueryMarketRun:
  30812. get:
  30813. parameters:
  30814. - description: 市场ID,不传返回所有
  30815. in: query
  30816. name: marketID
  30817. type: integer
  30818. produces:
  30819. - application/json
  30820. responses:
  30821. "200":
  30822. description: OK
  30823. schema:
  30824. $ref: '#/definitions/models.Marketrun'
  30825. "500":
  30826. description: Internal Server Error
  30827. schema:
  30828. $ref: '#/definitions/app.Response'
  30829. security:
  30830. - ApiKeyAuth: []
  30831. summary: 查询市场运行信息
  30832. tags:
  30833. - 通用市场
  30834. /Market/QueryMarketsByLoginID:
  30835. get:
  30836. parameters:
  30837. - description: 登录账号
  30838. in: query
  30839. name: loginID
  30840. required: true
  30841. type: integer
  30842. produces:
  30843. - application/json
  30844. responses:
  30845. "200":
  30846. description: OK
  30847. schema:
  30848. $ref: '#/definitions/models.Market'
  30849. "500":
  30850. description: Internal Server Error
  30851. schema:
  30852. $ref: '#/definitions/app.Response'
  30853. security:
  30854. - ApiKeyAuth: []
  30855. summary: 获取登录账号有权限的市场信息
  30856. tags:
  30857. - 通用市场
  30858. /Order/QueryHisTradeDetail:
  30859. get:
  30860. parameters:
  30861. - description: 资金账户 - 格式:1,2,3
  30862. in: query
  30863. name: accountID
  30864. required: true
  30865. type: string
  30866. - description: 成交单号
  30867. in: query
  30868. name: tradeID
  30869. type: integer
  30870. - description: 委托单号
  30871. in: query
  30872. name: orderID
  30873. type: integer
  30874. - description: 商品ID
  30875. in: query
  30876. name: goodsID
  30877. type: integer
  30878. - description: 交易模式 - 格式:1,2,3
  30879. in: query
  30880. name: tradeMode
  30881. type: string
  30882. - description: 委托单据类型
  30883. in: query
  30884. name: buildType
  30885. type: integer
  30886. - description: 成交类别 - 格式:1,2,3
  30887. in: query
  30888. name: tradeType
  30889. type: string
  30890. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30891. in: query
  30892. name: startDate
  30893. type: string
  30894. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30895. in: query
  30896. name: endDate
  30897. type: string
  30898. produces:
  30899. - application/json
  30900. responses:
  30901. "200":
  30902. description: OK
  30903. schema:
  30904. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  30905. "500":
  30906. description: Internal Server Error
  30907. schema:
  30908. $ref: '#/definitions/app.Response'
  30909. security:
  30910. - ApiKeyAuth: []
  30911. summary: 历史成交单查询(合约市场)
  30912. tags:
  30913. - 通用单据
  30914. /Order/QueryHisTradeOrderDetail:
  30915. get:
  30916. parameters:
  30917. - description: 资金账户 - 格式:1,2,3
  30918. in: query
  30919. name: accountID
  30920. required: true
  30921. type: string
  30922. - description: 交易模式 - 格式:1,2,3
  30923. in: query
  30924. name: tradeMode
  30925. type: string
  30926. - description: 委托状态 - 格式:1,2,3
  30927. in: query
  30928. name: orderStatus
  30929. type: string
  30930. - description: 委托单号
  30931. in: query
  30932. name: orderID
  30933. type: integer
  30934. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30935. in: query
  30936. name: startDate
  30937. type: string
  30938. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30939. in: query
  30940. name: endDate
  30941. type: string
  30942. produces:
  30943. - application/json
  30944. responses:
  30945. "200":
  30946. description: OK
  30947. schema:
  30948. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  30949. "500":
  30950. description: Internal Server Error
  30951. schema:
  30952. $ref: '#/definitions/app.Response'
  30953. security:
  30954. - ApiKeyAuth: []
  30955. summary: 历史委托单查询请求(合约市场)
  30956. tags:
  30957. - 通用单据
  30958. /Order/QueryTradeDetail:
  30959. get:
  30960. parameters:
  30961. - description: 资金账户 - 格式:1,2,3
  30962. in: query
  30963. name: accountID
  30964. required: true
  30965. type: string
  30966. - description: 成交单号
  30967. in: query
  30968. name: tradeID
  30969. type: integer
  30970. - description: 委托单号
  30971. in: query
  30972. name: orderID
  30973. type: integer
  30974. - description: 交易模式 - 格式:1,2,3
  30975. in: query
  30976. name: tradeMode
  30977. type: string
  30978. - description: 委托单据类型
  30979. in: query
  30980. name: buildType
  30981. type: integer
  30982. - description: 成交类别 - 格式:1,2,3
  30983. in: query
  30984. name: tradeType
  30985. type: string
  30986. - description: 商品ID
  30987. in: query
  30988. name: goodsID
  30989. type: integer
  30990. produces:
  30991. - application/json
  30992. responses:
  30993. "200":
  30994. description: OK
  30995. schema:
  30996. $ref: '#/definitions/order.QueryTradeDetailRsp'
  30997. "500":
  30998. description: Internal Server Error
  30999. schema:
  31000. $ref: '#/definitions/app.Response'
  31001. security:
  31002. - ApiKeyAuth: []
  31003. summary: 成交单查询(合约市场)
  31004. tags:
  31005. - 通用单据
  31006. /Order/QueryTradeHolderDetail:
  31007. get:
  31008. parameters:
  31009. - description: 用户id
  31010. in: query
  31011. name: userid
  31012. type: integer
  31013. - description: 资金账号, 格式 1,2,3
  31014. in: query
  31015. name: accids
  31016. type: string
  31017. - description: 交易模式, 格式 1,2,3
  31018. in: query
  31019. name: trademodes
  31020. type: string
  31021. - description: 市场id, 格式 1,2,3
  31022. in: query
  31023. name: marketids
  31024. type: string
  31025. - description: 商品id
  31026. in: query
  31027. name: goodsid
  31028. type: integer
  31029. - description: 买卖方向 0-买 1-卖
  31030. in: query
  31031. name: buyorsell
  31032. type: integer
  31033. produces:
  31034. - application/json
  31035. responses:
  31036. "200":
  31037. description: OK
  31038. schema:
  31039. items:
  31040. $ref: '#/definitions/models.TradeHolderDetail'
  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. /Order/QueryTradeOrderDetail:
  31052. get:
  31053. parameters:
  31054. - description: 资金账户 - 格式:1,2,3
  31055. in: query
  31056. name: accountID
  31057. required: true
  31058. type: string
  31059. - description: 交易模式 - 格式:1,2,3
  31060. in: query
  31061. name: tradeMode
  31062. type: string
  31063. - description: 委托状态 - 格式:1,2,3
  31064. in: query
  31065. name: orderStatus
  31066. type: string
  31067. - description: 委托单号
  31068. in: query
  31069. name: orderID
  31070. type: integer
  31071. produces:
  31072. - application/json
  31073. responses:
  31074. "200":
  31075. description: OK
  31076. schema:
  31077. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  31078. "500":
  31079. description: Internal Server Error
  31080. schema:
  31081. $ref: '#/definitions/app.Response'
  31082. security:
  31083. - ApiKeyAuth: []
  31084. summary: 委托单查询请求(合约市场)
  31085. tags:
  31086. - 通用单据
  31087. /Order/QueryTradePosition:
  31088. get:
  31089. parameters:
  31090. - description: 资金账户 - 格式:1,2,3
  31091. in: query
  31092. name: accountID
  31093. required: true
  31094. type: string
  31095. - description: 交易模式 - 格式:1,2,3
  31096. in: query
  31097. name: tradeMode
  31098. type: string
  31099. produces:
  31100. - application/json
  31101. responses:
  31102. "200":
  31103. description: OK
  31104. schema:
  31105. $ref: '#/definitions/order.QueryTradePositionRsp'
  31106. "500":
  31107. description: Internal Server Error
  31108. schema:
  31109. $ref: '#/definitions/app.Response'
  31110. security:
  31111. - ApiKeyAuth: []
  31112. summary: 持仓汇总查询(合约市场)
  31113. tags:
  31114. - 通用单据
  31115. /Qhj/QueryAccountInOutApply:
  31116. get:
  31117. parameters:
  31118. - description: 用户ID
  31119. in: query
  31120. name: userid
  31121. required: true
  31122. type: integer
  31123. - description: 申请起始日期(格式yyyymmdd)
  31124. in: query
  31125. name: begindate
  31126. type: string
  31127. - description: 申请截止日期(格式yyyymmdd)
  31128. in: query
  31129. name: enddate
  31130. type: string
  31131. - description: 模糊搜索名称
  31132. in: query
  31133. name: likename
  31134. type: string
  31135. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  31136. in: query
  31137. name: applystatus
  31138. type: integer
  31139. - description: 查询类型 1-提现(出金) 2-充值(入金)
  31140. in: query
  31141. name: querytype
  31142. type: integer
  31143. produces:
  31144. - application/json
  31145. responses:
  31146. "200":
  31147. description: OK
  31148. schema:
  31149. items:
  31150. $ref: '#/definitions/models.QhjAccountOutInApply'
  31151. type: array
  31152. "500":
  31153. description: Internal Server Error
  31154. schema:
  31155. $ref: '#/definitions/app.Response'
  31156. security:
  31157. - ApiKeyAuth: []
  31158. summary: 查询充值提现
  31159. tags:
  31160. - 大连千海金
  31161. /Qhj/QueryAreaFinanceConfig:
  31162. get:
  31163. parameters:
  31164. - description: 机构用户ID 其他做市关系,都设置为 1
  31165. in: query
  31166. name: userid
  31167. type: integer
  31168. produces:
  31169. - application/json
  31170. responses:
  31171. "200":
  31172. description: OK
  31173. schema:
  31174. items:
  31175. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  31176. type: array
  31177. "500":
  31178. description: Internal Server Error
  31179. schema:
  31180. $ref: '#/definitions/app.Response'
  31181. security:
  31182. - ApiKeyAuth: []
  31183. summary: 查询企业配置表
  31184. tags:
  31185. - 大连千海金
  31186. /Qhj/QueryBankAccountSign:
  31187. get:
  31188. parameters:
  31189. - description: 用户ID
  31190. in: query
  31191. name: userid
  31192. required: true
  31193. type: integer
  31194. produces:
  31195. - application/json
  31196. responses:
  31197. "200":
  31198. description: OK
  31199. schema:
  31200. items:
  31201. $ref: '#/definitions/models.QhjBankAccountSign'
  31202. type: array
  31203. "500":
  31204. description: Internal Server Error
  31205. schema:
  31206. $ref: '#/definitions/app.Response'
  31207. security:
  31208. - ApiKeyAuth: []
  31209. summary: 查询签约银行信息(提现账户管理)
  31210. tags:
  31211. - 大连千海金
  31212. /Qhj/QueryBankInfo:
  31213. get:
  31214. produces:
  31215. - application/json
  31216. responses:
  31217. "200":
  31218. description: OK
  31219. schema:
  31220. items:
  31221. $ref: '#/definitions/models.QhjBankInfo'
  31222. type: array
  31223. "500":
  31224. description: Internal Server Error
  31225. schema:
  31226. $ref: '#/definitions/app.Response'
  31227. security:
  31228. - ApiKeyAuth: []
  31229. summary: 查询开户行
  31230. tags:
  31231. - 大连千海金
  31232. /Qhj/QueryBrokerApply:
  31233. get:
  31234. parameters:
  31235. - description: 所属机构ID
  31236. in: query
  31237. name: userid
  31238. type: integer
  31239. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  31240. in: query
  31241. name: filterstatus
  31242. type: string
  31243. produces:
  31244. - application/json
  31245. responses:
  31246. "200":
  31247. description: OK
  31248. schema:
  31249. items:
  31250. $ref: '#/definitions/models.QhjBrokerApply'
  31251. type: array
  31252. "500":
  31253. description: Internal Server Error
  31254. schema:
  31255. $ref: '#/definitions/app.Response'
  31256. security:
  31257. - ApiKeyAuth: []
  31258. summary: 查询经纪人申请
  31259. tags:
  31260. - 大连千海金
  31261. /Qhj/QueryBrokerApplyEx:
  31262. get:
  31263. parameters:
  31264. - description: 所属机构ID
  31265. in: query
  31266. name: userid
  31267. type: integer
  31268. produces:
  31269. - application/json
  31270. responses:
  31271. "200":
  31272. description: OK
  31273. schema:
  31274. items:
  31275. $ref: '#/definitions/models.QhjBrokerApplyEx'
  31276. type: array
  31277. "500":
  31278. description: Internal Server Error
  31279. schema:
  31280. $ref: '#/definitions/app.Response'
  31281. security:
  31282. - ApiKeyAuth: []
  31283. summary: 查询经纪人信息和申请记录
  31284. tags:
  31285. - 大连千海金
  31286. /Qhj/QueryBrokerRewardLog:
  31287. get:
  31288. parameters:
  31289. - description: 用户ID
  31290. in: query
  31291. name: userid
  31292. required: true
  31293. type: integer
  31294. - description: 开始交易日(yyyymmdd)
  31295. in: query
  31296. name: begindate
  31297. type: string
  31298. - description: 结束交易日(yyyymmdd)
  31299. in: query
  31300. name: enddate
  31301. type: string
  31302. produces:
  31303. - application/json
  31304. responses:
  31305. "200":
  31306. description: OK
  31307. schema:
  31308. items:
  31309. $ref: '#/definitions/models.QhjBrokerRewardLog'
  31310. type: array
  31311. "500":
  31312. description: Internal Server Error
  31313. schema:
  31314. $ref: '#/definitions/app.Response'
  31315. security:
  31316. - ApiKeyAuth: []
  31317. summary: 查询奖励流水(我的奖励)
  31318. tags:
  31319. - 大连千海金
  31320. /Qhj/QueryContract:
  31321. get:
  31322. parameters:
  31323. - description: 用户ID
  31324. in: query
  31325. name: userid
  31326. type: integer
  31327. - description: scf合同id
  31328. in: query
  31329. name: scfcontractid
  31330. type: integer
  31331. produces:
  31332. - application/json
  31333. responses:
  31334. "200":
  31335. description: OK
  31336. schema:
  31337. items:
  31338. $ref: '#/definitions/models.QhjContract'
  31339. type: array
  31340. "500":
  31341. description: Internal Server Error
  31342. schema:
  31343. $ref: '#/definitions/app.Response'
  31344. security:
  31345. - ApiKeyAuth: []
  31346. summary: 查询融资明细(合同)
  31347. tags:
  31348. - 大连千海金
  31349. /Qhj/QueryContractLog:
  31350. get:
  31351. parameters:
  31352. - description: scf合同id
  31353. in: query
  31354. name: scfcontractid
  31355. required: true
  31356. type: integer
  31357. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  31358. in: query
  31359. name: amounttype
  31360. type: string
  31361. produces:
  31362. - application/json
  31363. responses:
  31364. "200":
  31365. description: OK
  31366. schema:
  31367. items:
  31368. $ref: '#/definitions/models.QhjContractLog'
  31369. type: array
  31370. "500":
  31371. description: Internal Server Error
  31372. schema:
  31373. $ref: '#/definitions/app.Response'
  31374. security:
  31375. - ApiKeyAuth: []
  31376. summary: 查询融资明细流水(融资明细详情页中的流水)
  31377. tags:
  31378. - 大连千海金
  31379. /Qhj/QueryCusBankSignBank:
  31380. get:
  31381. produces:
  31382. - application/json
  31383. responses:
  31384. "200":
  31385. description: OK
  31386. schema:
  31387. items:
  31388. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  31389. type: array
  31390. "500":
  31391. description: Internal Server Error
  31392. schema:
  31393. $ref: '#/definitions/app.Response'
  31394. security:
  31395. - ApiKeyAuth: []
  31396. summary: 查询托管银行
  31397. tags:
  31398. - 大连千海金
  31399. /Qhj/QueryCustomerInfo:
  31400. get:
  31401. parameters:
  31402. - description: 用户ID
  31403. in: query
  31404. name: userid
  31405. required: true
  31406. type: integer
  31407. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  31408. in: query
  31409. name: querytype
  31410. required: true
  31411. type: integer
  31412. - description: 客户类型 1-个人 2-企业
  31413. in: query
  31414. name: userinfotype
  31415. type: integer
  31416. - description: 客户名称(模糊匹配)
  31417. in: query
  31418. name: customername
  31419. type: string
  31420. - description: 昵称(模糊匹配)
  31421. in: query
  31422. name: nickname
  31423. type: string
  31424. - description: 是否包含子级 1-包含
  31425. in: query
  31426. name: includesub
  31427. type: integer
  31428. produces:
  31429. - application/json
  31430. responses:
  31431. "200":
  31432. description: OK
  31433. schema:
  31434. items:
  31435. $ref: '#/definitions/models.QhjCustomer'
  31436. type: array
  31437. "500":
  31438. description: Internal Server Error
  31439. schema:
  31440. $ref: '#/definitions/app.Response'
  31441. security:
  31442. - ApiKeyAuth: []
  31443. summary: 查询客户资料
  31444. tags:
  31445. - 大连千海金
  31446. /Qhj/QueryGoodsEx:
  31447. get:
  31448. parameters:
  31449. - description: 商品id
  31450. in: query
  31451. name: goodsid
  31452. type: integer
  31453. produces:
  31454. - application/json
  31455. responses:
  31456. "200":
  31457. description: OK
  31458. schema:
  31459. items:
  31460. $ref: '#/definitions/models.Qhjgoodsex'
  31461. type: array
  31462. "500":
  31463. description: Internal Server Error
  31464. schema:
  31465. $ref: '#/definitions/app.Response'
  31466. security:
  31467. - ApiKeyAuth: []
  31468. summary: 交易商品扩展表
  31469. tags:
  31470. - 大连千海金
  31471. /Qhj/QueryMyTeam:
  31472. get:
  31473. parameters:
  31474. - description: 用户ID
  31475. in: query
  31476. name: userid
  31477. required: true
  31478. type: integer
  31479. produces:
  31480. - application/json
  31481. responses:
  31482. "200":
  31483. description: OK
  31484. schema:
  31485. items:
  31486. $ref: '#/definitions/models.QhjMyTeamEx'
  31487. type: array
  31488. "500":
  31489. description: Internal Server Error
  31490. schema:
  31491. $ref: '#/definitions/app.Response'
  31492. security:
  31493. - ApiKeyAuth: []
  31494. summary: 查询我的团队
  31495. tags:
  31496. - 大连千海金
  31497. /Qhj/QueryMyTeamOrder:
  31498. get:
  31499. parameters:
  31500. - description: 页码
  31501. in: query
  31502. name: page
  31503. type: integer
  31504. - description: 每页条数
  31505. in: query
  31506. name: pagesize
  31507. type: integer
  31508. - description: 用户ID
  31509. in: query
  31510. name: userid
  31511. required: true
  31512. type: integer
  31513. - description: 交易模式
  31514. in: query
  31515. name: trademode
  31516. type: integer
  31517. - description: 名称(模糊搜索账户)
  31518. in: query
  31519. name: filtername
  31520. type: string
  31521. produces:
  31522. - application/json
  31523. responses:
  31524. "200":
  31525. description: OK
  31526. schema:
  31527. items:
  31528. $ref: '#/definitions/models.QhjTeamOrder'
  31529. type: array
  31530. "500":
  31531. description: Internal Server Error
  31532. schema:
  31533. $ref: '#/definitions/app.Response'
  31534. security:
  31535. - ApiKeyAuth: []
  31536. summary: 查询团队订单(我的团队/团队订单)
  31537. tags:
  31538. - 大连千海金
  31539. /Qhj/QueryParentAreaList:
  31540. get:
  31541. parameters:
  31542. - description: 用户ID
  31543. in: query
  31544. name: userid
  31545. required: true
  31546. type: integer
  31547. produces:
  31548. - application/json
  31549. responses:
  31550. "200":
  31551. description: OK
  31552. schema:
  31553. items:
  31554. $ref: '#/definitions/models.QhjParentAreaList'
  31555. type: array
  31556. "500":
  31557. description: Internal Server Error
  31558. schema:
  31559. $ref: '#/definitions/app.Response'
  31560. security:
  31561. - ApiKeyAuth: []
  31562. summary: 查询所属机构列表
  31563. tags:
  31564. - 大连千海金
  31565. /Qhj/QueryPayOrder:
  31566. get:
  31567. parameters:
  31568. - description: 资金账号id
  31569. in: query
  31570. name: accountid
  31571. required: true
  31572. type: integer
  31573. - description: 成交单号
  31574. in: query
  31575. name: tradeid
  31576. type: integer
  31577. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  31578. in: query
  31579. name: payflag
  31580. type: string
  31581. produces:
  31582. - application/json
  31583. responses:
  31584. "200":
  31585. description: OK
  31586. schema:
  31587. items:
  31588. $ref: '#/definitions/models.QhjPayOrder'
  31589. type: array
  31590. "500":
  31591. description: Internal Server Error
  31592. schema:
  31593. $ref: '#/definitions/app.Response'
  31594. security:
  31595. - ApiKeyAuth: []
  31596. summary: 查询待付款单据
  31597. tags:
  31598. - 大连千海金
  31599. /Qhj/QueryPickArea:
  31600. get:
  31601. parameters:
  31602. - description: 用户ID
  31603. in: query
  31604. name: userid
  31605. type: integer
  31606. produces:
  31607. - application/json
  31608. responses:
  31609. "200":
  31610. description: OK
  31611. schema:
  31612. items:
  31613. $ref: '#/definitions/models.QhjPickArea'
  31614. type: array
  31615. "500":
  31616. description: Internal Server Error
  31617. schema:
  31618. $ref: '#/definitions/app.Response'
  31619. security:
  31620. - ApiKeyAuth: []
  31621. summary: 查询提货门店
  31622. tags:
  31623. - 大连千海金
  31624. /Qhj/QueryPickGoods:
  31625. get:
  31626. parameters:
  31627. - description: 交易商品id
  31628. in: query
  31629. name: goodsid
  31630. required: true
  31631. type: integer
  31632. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  31633. in: query
  31634. name: status
  31635. type: string
  31636. produces:
  31637. - application/json
  31638. responses:
  31639. "200":
  31640. description: OK
  31641. schema:
  31642. items:
  31643. $ref: '#/definitions/models.QhjPickGoods'
  31644. type: array
  31645. "500":
  31646. description: Internal Server Error
  31647. schema:
  31648. $ref: '#/definitions/app.Response'
  31649. security:
  31650. - ApiKeyAuth: []
  31651. summary: 查询提货商品
  31652. tags:
  31653. - 大连千海金
  31654. /Qhj/QueryRSTriggerLog:
  31655. get:
  31656. parameters:
  31657. - description: 用户ID
  31658. in: query
  31659. name: userid
  31660. type: integer
  31661. - description: 定投策略id
  31662. in: query
  31663. name: regularlystrategyid
  31664. type: integer
  31665. - description: 商品id
  31666. in: query
  31667. name: goodsid
  31668. type: integer
  31669. - description: 开始交易日(yyyymmdd)
  31670. in: query
  31671. name: begindate
  31672. type: string
  31673. - description: 结束交易日(yyyymmdd)
  31674. in: query
  31675. name: enddate
  31676. type: string
  31677. - description: 名称(模糊搜索账户)
  31678. in: query
  31679. name: filtername
  31680. type: string
  31681. produces:
  31682. - application/json
  31683. responses:
  31684. "200":
  31685. description: OK
  31686. schema:
  31687. items:
  31688. $ref: '#/definitions/models.QhjRSTriggerLog'
  31689. type: array
  31690. "500":
  31691. description: Internal Server Error
  31692. schema:
  31693. $ref: '#/definitions/app.Response'
  31694. security:
  31695. - ApiKeyAuth: []
  31696. summary: 查询定投记录(定投管理/详情/定投记录)
  31697. tags:
  31698. - 大连千海金
  31699. /Qhj/QueryRStrategy:
  31700. get:
  31701. parameters:
  31702. - description: 用户ID
  31703. in: query
  31704. name: userid
  31705. type: integer
  31706. - description: 商品id
  31707. in: query
  31708. name: goodsid
  31709. type: integer
  31710. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  31711. in: query
  31712. name: status
  31713. type: string
  31714. - description: 名称(模糊搜索账户)
  31715. in: query
  31716. name: filtername
  31717. type: string
  31718. produces:
  31719. - application/json
  31720. responses:
  31721. "200":
  31722. description: OK
  31723. schema:
  31724. items:
  31725. $ref: '#/definitions/models.QhjRStrategy'
  31726. type: array
  31727. "500":
  31728. description: Internal Server Error
  31729. schema:
  31730. $ref: '#/definitions/app.Response'
  31731. security:
  31732. - ApiKeyAuth: []
  31733. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  31734. tags:
  31735. - 大连千海金
  31736. /Qhj/QueryReckonPriceLog:
  31737. get:
  31738. parameters:
  31739. - description: 商品ID
  31740. in: query
  31741. name: goodsid
  31742. type: integer
  31743. - description: 交易日 格式(yyyymmdd)
  31744. in: query
  31745. name: tradedate
  31746. type: string
  31747. produces:
  31748. - application/json
  31749. responses:
  31750. "200":
  31751. description: OK
  31752. schema:
  31753. items:
  31754. $ref: '#/definitions/models.QhjReckonPriceLog'
  31755. type: array
  31756. "500":
  31757. description: Internal Server Error
  31758. schema:
  31759. $ref: '#/definitions/app.Response'
  31760. security:
  31761. - ApiKeyAuth: []
  31762. summary: 查询定投价(结算价)
  31763. tags:
  31764. - 大连千海金
  31765. /Qhj/QueryScoreLog:
  31766. get:
  31767. parameters:
  31768. - description: 用户ID
  31769. in: query
  31770. name: userid
  31771. required: true
  31772. type: integer
  31773. - description: 开始交易日(yyyymmdd)
  31774. in: query
  31775. name: begindate
  31776. type: string
  31777. - description: 结束交易日(yyyymmdd)
  31778. in: query
  31779. name: enddate
  31780. type: string
  31781. - description: 最近多少条
  31782. in: query
  31783. name: lastnum
  31784. type: integer
  31785. produces:
  31786. - application/json
  31787. responses:
  31788. "200":
  31789. description: OK
  31790. schema:
  31791. items:
  31792. $ref: '#/definitions/models.QhjScoreLog'
  31793. type: array
  31794. "500":
  31795. description: Internal Server Error
  31796. schema:
  31797. $ref: '#/definitions/app.Response'
  31798. security:
  31799. - ApiKeyAuth: []
  31800. summary: 查询积分流水(我的积分)
  31801. tags:
  31802. - 大连千海金
  31803. /Qhj/QuerySiteColumnDetail:
  31804. get:
  31805. parameters:
  31806. - description: 用户ID
  31807. in: query
  31808. name: userid
  31809. required: true
  31810. type: integer
  31811. produces:
  31812. - application/json
  31813. responses:
  31814. "200":
  31815. description: OK
  31816. schema:
  31817. items:
  31818. $ref: '#/definitions/models.QhjSiteColumnDetail'
  31819. type: array
  31820. "500":
  31821. description: Internal Server Error
  31822. schema:
  31823. $ref: '#/definitions/app.Response'
  31824. security:
  31825. - ApiKeyAuth: []
  31826. summary: 查询资讯
  31827. tags:
  31828. - 大连千海金
  31829. /Qhj/QueryTradeGoodsPickup:
  31830. get:
  31831. parameters:
  31832. - description: 用户ID
  31833. in: query
  31834. name: userid
  31835. required: true
  31836. type: integer
  31837. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  31838. 7:已拒绝 8:已撤销
  31839. in: query
  31840. name: takeorderstatus
  31841. type: integer
  31842. produces:
  31843. - application/json
  31844. responses:
  31845. "200":
  31846. description: OK
  31847. schema:
  31848. items:
  31849. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  31850. type: array
  31851. "500":
  31852. description: Internal Server Error
  31853. schema:
  31854. $ref: '#/definitions/app.Response'
  31855. security:
  31856. - ApiKeyAuth: []
  31857. summary: 查询提货
  31858. tags:
  31859. - 大连千海金
  31860. /Qhj/QueryUserCollectConfig:
  31861. get:
  31862. parameters:
  31863. - description: 用户ID
  31864. in: query
  31865. name: userid
  31866. required: true
  31867. type: integer
  31868. produces:
  31869. - application/json
  31870. responses:
  31871. "200":
  31872. description: OK
  31873. schema:
  31874. items:
  31875. $ref: '#/definitions/models.UserCollectConfig'
  31876. type: array
  31877. "500":
  31878. description: Internal Server Error
  31879. schema:
  31880. $ref: '#/definitions/app.Response'
  31881. security:
  31882. - ApiKeyAuth: []
  31883. summary: 查询提现账户设置
  31884. tags:
  31885. - 大连千海金
  31886. /Qhj/QueryUserReceiveInfo:
  31887. get:
  31888. parameters:
  31889. - description: 用户ID
  31890. in: query
  31891. name: userid
  31892. required: true
  31893. type: integer
  31894. produces:
  31895. - application/json
  31896. responses:
  31897. "200":
  31898. description: OK
  31899. schema:
  31900. items:
  31901. $ref: '#/definitions/models.UserReceiveInfo'
  31902. type: array
  31903. "500":
  31904. description: Internal Server Error
  31905. schema:
  31906. $ref: '#/definitions/app.Response'
  31907. security:
  31908. - ApiKeyAuth: []
  31909. summary: 查询收货地址信息
  31910. tags:
  31911. - 大连千海金
  31912. /QhjMgr/QueryAccountInOutApply:
  31913. get:
  31914. parameters:
  31915. - description: 查询类型 1-提现(出金) 2-充值(出金)
  31916. in: query
  31917. name: querytype
  31918. required: true
  31919. type: integer
  31920. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  31921. in: query
  31922. name: applystatus
  31923. type: integer
  31924. - description: 申请起始日期(格式yyyymmdd)
  31925. in: query
  31926. name: begindate
  31927. type: string
  31928. - description: 申请截止日期(格式yyyymmdd)
  31929. in: query
  31930. name: enddate
  31931. type: string
  31932. - description: 模糊搜索名称
  31933. in: query
  31934. name: likename
  31935. type: string
  31936. produces:
  31937. - application/json
  31938. responses:
  31939. "200":
  31940. description: OK
  31941. schema:
  31942. items:
  31943. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  31944. type: array
  31945. "500":
  31946. description: Internal Server Error
  31947. schema:
  31948. $ref: '#/definitions/app.Response'
  31949. security:
  31950. - ApiKeyAuth: []
  31951. summary: 查询充值提现
  31952. tags:
  31953. - 大连千海金(PCWeb)
  31954. /QhjMgr/QueryBrokerApply:
  31955. get:
  31956. parameters:
  31957. - description: 所属机构ID
  31958. in: query
  31959. name: userid
  31960. type: integer
  31961. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  31962. in: query
  31963. name: filterstatus
  31964. type: string
  31965. - description: 名称(模糊匹配)
  31966. in: query
  31967. name: filtername
  31968. type: string
  31969. - description: 是否包含子级 1-包含
  31970. in: query
  31971. name: includesub
  31972. type: integer
  31973. produces:
  31974. - application/json
  31975. responses:
  31976. "200":
  31977. description: OK
  31978. schema:
  31979. items:
  31980. $ref: '#/definitions/models.QhjMgrBrokerApply'
  31981. type: array
  31982. "500":
  31983. description: Internal Server Error
  31984. schema:
  31985. $ref: '#/definitions/app.Response'
  31986. security:
  31987. - ApiKeyAuth: []
  31988. summary: 查询经纪人申请
  31989. tags:
  31990. - 大连千海金(PCWeb)
  31991. /QhjMgr/QueryBrokerRewardReport:
  31992. get:
  31993. parameters:
  31994. - description: 所属机构ID
  31995. in: query
  31996. name: userid
  31997. required: true
  31998. type: integer
  31999. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  32000. in: query
  32001. name: cycletype
  32002. required: true
  32003. type: integer
  32004. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  32005. in: query
  32006. name: cycletime
  32007. required: true
  32008. type: string
  32009. - description: 名称(模糊匹配)
  32010. in: query
  32011. name: filtername
  32012. type: string
  32013. - description: 是否包含子级 1-包含
  32014. in: query
  32015. name: includesub
  32016. type: integer
  32017. produces:
  32018. - application/json
  32019. responses:
  32020. "200":
  32021. description: OK
  32022. schema:
  32023. items:
  32024. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  32025. type: array
  32026. "500":
  32027. description: Internal Server Error
  32028. schema:
  32029. $ref: '#/definitions/app.Response'
  32030. security:
  32031. - ApiKeyAuth: []
  32032. summary: 查询经纪人奖励报表(废弃)
  32033. tags:
  32034. - 大连千海金(PCWeb)
  32035. /QhjMgr/QueryContract:
  32036. get:
  32037. parameters:
  32038. - description: 用户ID
  32039. in: query
  32040. name: userid
  32041. type: integer
  32042. - description: 商品id
  32043. in: query
  32044. name: goodsid
  32045. type: integer
  32046. - description: 名称(模糊搜索账户)
  32047. in: query
  32048. name: filtername
  32049. type: string
  32050. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  32051. in: query
  32052. name: risklevel
  32053. type: string
  32054. - description: 开始交易日(yyyymmdd)
  32055. in: query
  32056. name: begindate
  32057. type: string
  32058. - description: 结束交易日(yyyymmdd)
  32059. in: query
  32060. name: enddate
  32061. type: string
  32062. produces:
  32063. - application/json
  32064. responses:
  32065. "200":
  32066. description: OK
  32067. schema:
  32068. items:
  32069. $ref: '#/definitions/models.QhjMgrContract'
  32070. type: array
  32071. "500":
  32072. description: Internal Server Error
  32073. schema:
  32074. $ref: '#/definitions/app.Response'
  32075. security:
  32076. - ApiKeyAuth: []
  32077. summary: 查询融资信息(合同)
  32078. tags:
  32079. - 大连千海金(PCWeb)
  32080. /QhjMgr/QueryCustomerInfo:
  32081. get:
  32082. parameters:
  32083. - description: 用户ID
  32084. in: query
  32085. name: userid
  32086. required: true
  32087. type: integer
  32088. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  32089. in: query
  32090. name: querytype
  32091. required: true
  32092. type: integer
  32093. - description: 客户类型 1-个人 2-企业
  32094. in: query
  32095. name: userinfotype
  32096. type: integer
  32097. - description: 客户名称(模糊匹配)
  32098. in: query
  32099. name: customername
  32100. type: string
  32101. - description: 昵称(模糊匹配)
  32102. in: query
  32103. name: nickname
  32104. type: string
  32105. - description: 所属客户经理(模糊匹配)
  32106. in: query
  32107. name: brokername
  32108. type: string
  32109. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  32110. 如0503 -5月3日)
  32111. in: query
  32112. name: birthday
  32113. type: string
  32114. - description: 是否包含子级 1-包含
  32115. in: query
  32116. name: includesub
  32117. type: integer
  32118. produces:
  32119. - application/json
  32120. responses:
  32121. "200":
  32122. description: OK
  32123. schema:
  32124. items:
  32125. $ref: '#/definitions/models.QhjMgrCustomer'
  32126. type: array
  32127. "500":
  32128. description: Internal Server Error
  32129. schema:
  32130. $ref: '#/definitions/app.Response'
  32131. security:
  32132. - ApiKeyAuth: []
  32133. summary: 查询客户资料
  32134. tags:
  32135. - 大连千海金(PCWeb)
  32136. /QhjMgr/QueryPickGoods:
  32137. get:
  32138. parameters:
  32139. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  32140. in: query
  32141. name: status
  32142. type: string
  32143. produces:
  32144. - application/json
  32145. responses:
  32146. "200":
  32147. description: OK
  32148. schema:
  32149. items:
  32150. $ref: '#/definitions/models.QhjMgrPickGoods'
  32151. type: array
  32152. "500":
  32153. description: Internal Server Error
  32154. schema:
  32155. $ref: '#/definitions/app.Response'
  32156. security:
  32157. - ApiKeyAuth: []
  32158. summary: 查询提货商品
  32159. tags:
  32160. - 大连千海金(PCWeb)
  32161. /QhjMgr/QuerySubArea:
  32162. get:
  32163. parameters:
  32164. - description: 用户ID
  32165. in: query
  32166. name: userid
  32167. required: true
  32168. type: integer
  32169. produces:
  32170. - application/json
  32171. responses:
  32172. "200":
  32173. description: OK
  32174. schema:
  32175. items:
  32176. $ref: '#/definitions/models.QhjMgrSubArea'
  32177. type: array
  32178. "500":
  32179. description: Internal Server Error
  32180. schema:
  32181. $ref: '#/definitions/app.Response'
  32182. security:
  32183. - ApiKeyAuth: []
  32184. summary: 查询子机构列表
  32185. tags:
  32186. - 大连千海金(PCWeb)
  32187. /QhjMgr/QueryTradeDetail:
  32188. get:
  32189. parameters:
  32190. - description: 用户ID
  32191. in: query
  32192. name: userid
  32193. required: true
  32194. type: integer
  32195. - description: 用户类型 1-个人 2-企业
  32196. in: query
  32197. name: userinfotype
  32198. type: integer
  32199. - description: 交易模式
  32200. in: query
  32201. name: trademode
  32202. type: integer
  32203. - description: 商品id
  32204. in: query
  32205. name: goodsid
  32206. type: integer
  32207. - description: 名称(模糊搜索账户)
  32208. in: query
  32209. name: filtername
  32210. type: string
  32211. - description: 开始交易日(yyyymmdd)
  32212. in: query
  32213. name: begindate
  32214. type: string
  32215. - description: 结束交易日(yyyymmdd)
  32216. in: query
  32217. name: enddate
  32218. type: string
  32219. - description: 是否包含子级 1-包含
  32220. in: query
  32221. name: includesub
  32222. type: integer
  32223. produces:
  32224. - application/json
  32225. responses:
  32226. "200":
  32227. description: OK
  32228. schema:
  32229. items:
  32230. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  32231. type: array
  32232. "500":
  32233. description: Internal Server Error
  32234. schema:
  32235. $ref: '#/definitions/app.Response'
  32236. security:
  32237. - ApiKeyAuth: []
  32238. summary: 查询成交明细
  32239. tags:
  32240. - 大连千海金(PCWeb)
  32241. /QhjMgr/QueryTradeOrderDetail:
  32242. get:
  32243. parameters:
  32244. - description: 用户ID
  32245. in: query
  32246. name: userid
  32247. required: true
  32248. type: integer
  32249. - description: 用户类型 1-个人 2-企业
  32250. in: query
  32251. name: userinfotype
  32252. type: integer
  32253. - description: 交易模式
  32254. in: query
  32255. name: trademode
  32256. type: integer
  32257. - description: 商品id
  32258. in: query
  32259. name: goodsid
  32260. type: integer
  32261. - description: 名称(模糊搜索账户)
  32262. in: query
  32263. name: filtername
  32264. type: string
  32265. - description: 开始交易日(yyyymmdd)
  32266. in: query
  32267. name: begindate
  32268. type: string
  32269. - description: 结束交易日(yyyymmdd)
  32270. in: query
  32271. name: enddate
  32272. type: string
  32273. - description: 是否包含子级 1-包含
  32274. in: query
  32275. name: includesub
  32276. type: integer
  32277. produces:
  32278. - application/json
  32279. responses:
  32280. "200":
  32281. description: OK
  32282. schema:
  32283. items:
  32284. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  32285. type: array
  32286. "500":
  32287. description: Internal Server Error
  32288. schema:
  32289. $ref: '#/definitions/app.Response'
  32290. security:
  32291. - ApiKeyAuth: []
  32292. summary: 查询委托明细
  32293. tags:
  32294. - 大连千海金(PCWeb)
  32295. /QhjMgr/QueryTradePayOrder:
  32296. get:
  32297. parameters:
  32298. - description: 用户ID
  32299. in: query
  32300. name: userid
  32301. required: true
  32302. type: integer
  32303. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  32304. in: query
  32305. name: payflag
  32306. type: string
  32307. - description: 用户类型 1-个人 2-企业
  32308. in: query
  32309. name: userinfotype
  32310. type: integer
  32311. - description: 交易模式
  32312. in: query
  32313. name: trademode
  32314. type: integer
  32315. - description: 商品id
  32316. in: query
  32317. name: goodsid
  32318. type: integer
  32319. - description: 名称(模糊搜索账户)
  32320. in: query
  32321. name: filtername
  32322. type: string
  32323. - description: 开始交易日(yyyymmdd)
  32324. in: query
  32325. name: begindate
  32326. type: string
  32327. - description: 结束交易日(yyyymmdd)
  32328. in: query
  32329. name: enddate
  32330. type: string
  32331. - description: 是否包含子级 1-包含
  32332. in: query
  32333. name: includesub
  32334. type: integer
  32335. produces:
  32336. - application/json
  32337. responses:
  32338. "200":
  32339. description: OK
  32340. schema:
  32341. items:
  32342. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  32343. type: array
  32344. "500":
  32345. description: Internal Server Error
  32346. schema:
  32347. $ref: '#/definitions/app.Response'
  32348. security:
  32349. - ApiKeyAuth: []
  32350. summary: 查询待付款单
  32351. tags:
  32352. - 大连千海金(PCWeb)
  32353. /QhjMgr/QueryTradePosition:
  32354. get:
  32355. parameters:
  32356. - description: 用户ID
  32357. in: query
  32358. name: userid
  32359. required: true
  32360. type: integer
  32361. - description: 用户类型 1-个人 2-企业
  32362. in: query
  32363. name: userinfotype
  32364. type: integer
  32365. - description: 交易模式
  32366. in: query
  32367. name: trademode
  32368. type: integer
  32369. - description: 商品id
  32370. in: query
  32371. name: goodsid
  32372. type: integer
  32373. - description: 名称(模糊搜索账户)
  32374. in: query
  32375. name: filtername
  32376. type: string
  32377. - description: 是否包含子级 1-包含
  32378. in: query
  32379. name: includesub
  32380. type: integer
  32381. produces:
  32382. - application/json
  32383. responses:
  32384. "200":
  32385. description: OK
  32386. schema:
  32387. items:
  32388. $ref: '#/definitions/models.QhjMgrPositionRsp'
  32389. type: array
  32390. "500":
  32391. description: Internal Server Error
  32392. schema:
  32393. $ref: '#/definitions/app.Response'
  32394. security:
  32395. - ApiKeyAuth: []
  32396. summary: 查询持仓汇总
  32397. tags:
  32398. - 大连千海金(PCWeb)
  32399. /QhjSys/QueryAgreementChangeLog:
  32400. get:
  32401. parameters:
  32402. - description: 协议ID
  32403. in: query
  32404. name: agreementid
  32405. type: integer
  32406. - description: 协议版本号
  32407. in: query
  32408. name: agreementversion
  32409. type: integer
  32410. - description: 协议类型 - 1:注册 2:登录 3:交易
  32411. in: query
  32412. name: agreementtype
  32413. type: integer
  32414. - description: 协议编号(模糊匹配)
  32415. in: query
  32416. name: agreementno
  32417. type: string
  32418. - description: 协议名称(模糊匹配)
  32419. in: query
  32420. name: agreementname
  32421. type: string
  32422. produces:
  32423. - application/json
  32424. responses:
  32425. "200":
  32426. description: OK
  32427. schema:
  32428. items:
  32429. $ref: '#/definitions/models.QhjAgreementChangeLog'
  32430. type: array
  32431. "500":
  32432. description: Internal Server Error
  32433. schema:
  32434. $ref: '#/definitions/app.Response'
  32435. security:
  32436. - ApiKeyAuth: []
  32437. summary: 查询协议配置变更流水
  32438. tags:
  32439. - 大连千海金(协议和签约信息)
  32440. /QhjSys/QueryAgreementConfig:
  32441. get:
  32442. parameters:
  32443. - description: 协议ID
  32444. in: query
  32445. name: agreementid
  32446. type: integer
  32447. - description: 协议版本号
  32448. in: query
  32449. name: agreementversion
  32450. type: integer
  32451. - description: 协议类型 - 1:注册 2:登录 3:交易
  32452. in: query
  32453. name: agreementtype
  32454. type: integer
  32455. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  32456. in: query
  32457. name: isvalid
  32458. type: integer
  32459. - description: 协议编号(模糊匹配)
  32460. in: query
  32461. name: agreementno
  32462. type: string
  32463. - description: 协议名称(模糊匹配)
  32464. in: query
  32465. name: agreementname
  32466. type: string
  32467. produces:
  32468. - application/json
  32469. responses:
  32470. "200":
  32471. description: OK
  32472. schema:
  32473. items:
  32474. $ref: '#/definitions/models.QhjAgreementConfig'
  32475. type: array
  32476. "500":
  32477. description: Internal Server Error
  32478. schema:
  32479. $ref: '#/definitions/app.Response'
  32480. security:
  32481. - ApiKeyAuth: []
  32482. summary: 查询协议配置
  32483. tags:
  32484. - 大连千海金(协议和签约信息)
  32485. /QhjSys/QueryCustomerSignStatus:
  32486. get:
  32487. parameters:
  32488. - description: 客户ID
  32489. in: query
  32490. name: userid
  32491. type: integer
  32492. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  32493. in: query
  32494. name: nodetype
  32495. type: integer
  32496. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  32497. in: query
  32498. name: goodsid
  32499. type: integer
  32500. - description: 创建交易日(yyyyMMdd)
  32501. in: query
  32502. name: tradedate
  32503. type: string
  32504. - description: 用户名称(模糊匹配)
  32505. in: query
  32506. name: username
  32507. type: string
  32508. produces:
  32509. - application/json
  32510. responses:
  32511. "200":
  32512. description: OK
  32513. schema:
  32514. items:
  32515. $ref: '#/definitions/models.QhjCustomerSignStatus'
  32516. type: array
  32517. "500":
  32518. description: Internal Server Error
  32519. schema:
  32520. $ref: '#/definitions/app.Response'
  32521. security:
  32522. - ApiKeyAuth: []
  32523. summary: 查询客户协议签约状态
  32524. tags:
  32525. - 大连千海金(协议和签约信息)
  32526. /QhjSys/QueryNodeAgreementConfig:
  32527. get:
  32528. parameters:
  32529. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  32530. in: query
  32531. name: configid
  32532. type: integer
  32533. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  32534. in: query
  32535. name: nodetype
  32536. type: integer
  32537. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  32538. in: query
  32539. name: goodsid
  32540. type: integer
  32541. - description: 协议ID
  32542. in: query
  32543. name: agreementid
  32544. type: integer
  32545. - description: 协议类型 - 1:注册 2:登录 3:交易
  32546. in: query
  32547. name: agreementtype
  32548. type: integer
  32549. - description: 协议版本号
  32550. in: query
  32551. name: agreementversion
  32552. type: integer
  32553. - description: 协议编号(模糊匹配)
  32554. in: query
  32555. name: agreementno
  32556. type: string
  32557. - description: 协议名称(模糊匹配)
  32558. in: query
  32559. name: agreementname
  32560. type: string
  32561. produces:
  32562. - application/json
  32563. responses:
  32564. "200":
  32565. description: OK
  32566. schema:
  32567. items:
  32568. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  32569. type: array
  32570. "500":
  32571. description: Internal Server Error
  32572. schema:
  32573. $ref: '#/definitions/app.Response'
  32574. security:
  32575. - ApiKeyAuth: []
  32576. summary: 查询协议节点配置
  32577. tags:
  32578. - 大连千海金(协议和签约信息)
  32579. /QhjSys/QueryQhjCustomerSignLog:
  32580. get:
  32581. parameters:
  32582. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  32583. in: query
  32584. name: logid
  32585. type: integer
  32586. - description: 客户ID
  32587. in: query
  32588. name: userid
  32589. type: integer
  32590. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  32591. in: query
  32592. name: nodetype
  32593. type: integer
  32594. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  32595. in: query
  32596. name: goodsid
  32597. type: integer
  32598. - description: 协议ID
  32599. in: query
  32600. name: agreementid
  32601. type: integer
  32602. - description: 用户名称(模糊匹配)
  32603. in: query
  32604. name: username
  32605. type: string
  32606. - description: 协议编号(模糊匹配)
  32607. in: query
  32608. name: agreementno
  32609. type: string
  32610. - description: 协议名称(模糊匹配)
  32611. in: query
  32612. name: agreementname
  32613. type: string
  32614. produces:
  32615. - application/json
  32616. responses:
  32617. "200":
  32618. description: OK
  32619. schema:
  32620. items:
  32621. $ref: '#/definitions/models.QhjCustomerSignLog'
  32622. type: array
  32623. "500":
  32624. description: Internal Server Error
  32625. schema:
  32626. $ref: '#/definitions/app.Response'
  32627. security:
  32628. - ApiKeyAuth: []
  32629. summary: 查询客户协议签约流水
  32630. tags:
  32631. - 大连千海金(协议和签约信息)
  32632. /QhjSys/QueryUserNodeCfgAndStatus:
  32633. get:
  32634. parameters:
  32635. - description: 客户ID
  32636. in: query
  32637. name: userid
  32638. type: integer
  32639. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  32640. in: query
  32641. name: configid
  32642. type: integer
  32643. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  32644. in: query
  32645. name: nodetype
  32646. type: string
  32647. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  32648. in: query
  32649. name: goodsid
  32650. type: integer
  32651. - description: 协议ID
  32652. in: query
  32653. name: agreementid
  32654. type: integer
  32655. - description: 协议类型 - 1:注册 2:登录 3:交易
  32656. in: query
  32657. name: agreementtype
  32658. type: integer
  32659. - description: 协议版本号
  32660. in: query
  32661. name: agreementversion
  32662. type: integer
  32663. - description: 协议编号(模糊匹配)
  32664. in: query
  32665. name: agreementno
  32666. type: string
  32667. - description: 协议名称(模糊匹配)
  32668. in: query
  32669. name: agreementname
  32670. type: string
  32671. produces:
  32672. - application/json
  32673. responses:
  32674. "200":
  32675. description: OK
  32676. schema:
  32677. items:
  32678. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  32679. type: array
  32680. "500":
  32681. description: Internal Server Error
  32682. schema:
  32683. $ref: '#/definitions/app.Response'
  32684. security:
  32685. - ApiKeyAuth: []
  32686. summary: 查询用户协议节点配置和状态
  32687. tags:
  32688. - 大连千海金(协议和签约信息)
  32689. /Quote/QueryHistoryDatas:
  32690. get:
  32691. parameters:
  32692. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  32693. 日线 12:周线 13:月线 14:年线'
  32694. in: query
  32695. name: cycleType
  32696. required: true
  32697. type: integer
  32698. - description: 商品代码
  32699. in: query
  32700. name: goodsCode
  32701. required: true
  32702. type: string
  32703. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  32704. in: query
  32705. name: startTime
  32706. type: string
  32707. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  32708. in: query
  32709. name: endTime
  32710. type: string
  32711. - description: 条数
  32712. in: query
  32713. name: count
  32714. type: integer
  32715. - description: 是否按时间顺序排序(默认为时间倒序排序)
  32716. in: query
  32717. name: isAsc
  32718. type: boolean
  32719. produces:
  32720. - application/json
  32721. responses:
  32722. "200":
  32723. description: OK
  32724. schema:
  32725. $ref: '#/definitions/quote.HistoryData'
  32726. "500":
  32727. description: Internal Server Error
  32728. schema:
  32729. $ref: '#/definitions/app.Response'
  32730. security:
  32731. - ApiKeyAuth: []
  32732. summary: 查询行情历史数据
  32733. tags:
  32734. - 行情服务
  32735. /Quote/QueryHistoryTikDatas:
  32736. get:
  32737. parameters:
  32738. - description: 商品代码
  32739. in: query
  32740. name: goodsCode
  32741. required: true
  32742. type: string
  32743. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  32744. in: query
  32745. name: startTime
  32746. type: string
  32747. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  32748. in: query
  32749. name: endTime
  32750. type: string
  32751. - description: 条数
  32752. in: query
  32753. name: count
  32754. type: integer
  32755. - description: 是否按时间顺序排序(默认为时间倒序排序)
  32756. in: query
  32757. name: isAsc
  32758. type: boolean
  32759. produces:
  32760. - application/json
  32761. responses:
  32762. "200":
  32763. description: OK
  32764. schema:
  32765. $ref: '#/definitions/quote.HistoryTikData'
  32766. "500":
  32767. description: Internal Server Error
  32768. schema:
  32769. $ref: '#/definitions/app.Response'
  32770. security:
  32771. - ApiKeyAuth: []
  32772. summary: 查询行情Tik数据
  32773. tags:
  32774. - 行情服务
  32775. /Quote/QueryQuoteDay:
  32776. get:
  32777. parameters:
  32778. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  32779. in: query
  32780. name: goodsCodes
  32781. type: string
  32782. produces:
  32783. - application/json
  32784. responses:
  32785. "200":
  32786. description: OK
  32787. schema:
  32788. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  32789. "500":
  32790. description: Internal Server Error
  32791. schema:
  32792. $ref: '#/definitions/app.Response'
  32793. security:
  32794. - ApiKeyAuth: []
  32795. summary: 获取商品盘面信息
  32796. tags:
  32797. - 行情服务
  32798. /Quote/QueryTSData:
  32799. get:
  32800. parameters:
  32801. - description: 商品代码
  32802. in: query
  32803. name: goodsCode
  32804. required: true
  32805. type: string
  32806. produces:
  32807. - application/json
  32808. responses:
  32809. "200":
  32810. description: OK
  32811. schema:
  32812. $ref: '#/definitions/quote.QueryTSDataRsp'
  32813. "500":
  32814. description: Internal Server Error
  32815. schema:
  32816. $ref: '#/definitions/app.Response'
  32817. security:
  32818. - ApiKeyAuth: []
  32819. summary: 分时图数据查询
  32820. tags:
  32821. - 行情服务
  32822. /SZDZ/QueryConvertConfig:
  32823. get:
  32824. parameters:
  32825. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  32826. 6:交易转花生米(不设置)
  32827. in: query
  32828. name: convertType
  32829. type: integer
  32830. - description: 外部商品代码[JD\PD]
  32831. in: query
  32832. name: outerGoodsCode
  32833. type: string
  32834. - description: 内部商品ID列表[交易],格式:1,2,3
  32835. in: query
  32836. name: innerGoodsIDs
  32837. type: string
  32838. produces:
  32839. - application/json
  32840. responses:
  32841. "200":
  32842. description: OK
  32843. schema:
  32844. $ref: '#/definitions/models.Szdz3convertconfig'
  32845. "500":
  32846. description: Internal Server Error
  32847. schema:
  32848. $ref: '#/definitions/app.Response'
  32849. security:
  32850. - ApiKeyAuth: []
  32851. summary: 查询交易系统转换设置
  32852. tags:
  32853. - 定制【尚志大宗】
  32854. /SZDZ/QueryConvertLog:
  32855. get:
  32856. parameters:
  32857. - description: 资金账户 - 格式:1,2,3
  32858. in: query
  32859. name: accountID
  32860. required: true
  32861. type: string
  32862. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  32863. in: query
  32864. name: startDate
  32865. type: string
  32866. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  32867. in: query
  32868. name: endDate
  32869. type: string
  32870. produces:
  32871. - application/json
  32872. responses:
  32873. "200":
  32874. description: OK
  32875. schema:
  32876. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  32877. "500":
  32878. description: Internal Server Error
  32879. schema:
  32880. $ref: '#/definitions/app.Response'
  32881. security:
  32882. - ApiKeyAuth: []
  32883. summary: 交易系统转换流水查询
  32884. tags:
  32885. - 定制【尚志大宗】
  32886. /SZDZ/QueryGoodsPickup:
  32887. get:
  32888. parameters:
  32889. - description: 资金账户 - 格式:1,2,3
  32890. in: query
  32891. name: accountID
  32892. required: true
  32893. type: string
  32894. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  32895. in: query
  32896. name: takeOrderStatus
  32897. type: integer
  32898. produces:
  32899. - application/json
  32900. responses:
  32901. "200":
  32902. description: OK
  32903. schema:
  32904. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  32905. "500":
  32906. description: Internal Server Error
  32907. schema:
  32908. $ref: '#/definitions/app.Response'
  32909. security:
  32910. - ApiKeyAuth: []
  32911. summary: 商品提货单查询
  32912. tags:
  32913. - 定制【尚志大宗】
  32914. /SZDZ/QueryRecieptOrder:
  32915. get:
  32916. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  32917. parameters:
  32918. - description: 页码
  32919. in: query
  32920. name: page
  32921. type: integer
  32922. - description: 每页条数
  32923. in: query
  32924. name: pagesize
  32925. type: integer
  32926. - description: 商品ID
  32927. in: query
  32928. name: goodsID
  32929. required: true
  32930. type: integer
  32931. - description: 所属账户名称
  32932. in: query
  32933. name: accountName
  32934. type: string
  32935. - description: 市场ID
  32936. in: query
  32937. name: marketID
  32938. type: integer
  32939. - description: 方向 - 0:买 1:卖
  32940. in: query
  32941. name: buyorsell
  32942. required: true
  32943. type: integer
  32944. produces:
  32945. - application/json
  32946. responses:
  32947. "200":
  32948. description: OK
  32949. schema:
  32950. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  32951. "500":
  32952. description: Internal Server Error
  32953. schema:
  32954. $ref: '#/definitions/app.Response'
  32955. security:
  32956. - ApiKeyAuth: []
  32957. summary: 点选挂牌委托单据查询(摘牌大厅)
  32958. tags:
  32959. - 定制【尚志大宗】
  32960. /SZDZ/QuerySZDZTradePosition:
  32961. get:
  32962. parameters:
  32963. - description: 资金账户
  32964. in: query
  32965. name: accountID
  32966. required: true
  32967. type: integer
  32968. produces:
  32969. - application/json
  32970. responses:
  32971. "200":
  32972. description: OK
  32973. schema:
  32974. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  32975. "500":
  32976. description: Internal Server Error
  32977. schema:
  32978. $ref: '#/definitions/app.Response'
  32979. security:
  32980. - ApiKeyAuth: []
  32981. summary: 持仓汇总查询(尚志大宗)
  32982. tags:
  32983. - 定制【尚志大宗】
  32984. /SZDZ/SearchWhite:
  32985. get:
  32986. parameters:
  32987. - description: 用户ID
  32988. in: query
  32989. name: userID
  32990. required: true
  32991. type: integer
  32992. produces:
  32993. - application/json
  32994. responses:
  32995. "200":
  32996. description: OK
  32997. schema:
  32998. $ref: '#/definitions/models.Szdz3searchwhitelist'
  32999. "500":
  33000. description: Internal Server Error
  33001. schema:
  33002. $ref: '#/definitions/app.Response'
  33003. security:
  33004. - ApiKeyAuth: []
  33005. summary: 搜索白名单
  33006. tags:
  33007. - 定制【尚志大宗】
  33008. /Search/SearchGoodses:
  33009. get:
  33010. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  33011. parameters:
  33012. - description: 检索内容
  33013. in: query
  33014. name: content
  33015. required: true
  33016. type: string
  33017. - description: 交易模式,格式:1,2,3
  33018. in: query
  33019. name: tradeModes
  33020. type: string
  33021. produces:
  33022. - application/json
  33023. responses:
  33024. "200":
  33025. description: OK
  33026. schema:
  33027. $ref: '#/definitions/models.SearchGoods'
  33028. "500":
  33029. description: Internal Server Error
  33030. schema:
  33031. $ref: '#/definitions/app.Response'
  33032. summary: 检索商品信息
  33033. tags:
  33034. - 检索服务
  33035. /TaAccount/GetTaAccounts:
  33036. get:
  33037. parameters:
  33038. - description: 登录账户
  33039. in: query
  33040. name: loginID
  33041. required: true
  33042. type: integer
  33043. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  33044. in: query
  33045. name: taAccountType
  33046. type: integer
  33047. produces:
  33048. - application/json
  33049. responses:
  33050. "200":
  33051. description: OK
  33052. schema:
  33053. $ref: '#/definitions/models.Taaccount'
  33054. "500":
  33055. description: Internal Server Error
  33056. schema:
  33057. $ref: '#/definitions/app.Response'
  33058. security:
  33059. - ApiKeyAuth: []
  33060. summary: 获取资金账户信息
  33061. tags:
  33062. - 资金账户
  33063. /TaAccount/QueryAmountLog:
  33064. get:
  33065. parameters:
  33066. - description: 页码
  33067. in: query
  33068. name: page
  33069. type: integer
  33070. - description: 每页条数
  33071. in: query
  33072. name: pagesize
  33073. type: integer
  33074. - description: 分页标志 0-page从0开始 1-page从1开始
  33075. in: query
  33076. name: pageflag
  33077. type: integer
  33078. - description: 资金账户 - 格式:1,2,3
  33079. in: query
  33080. name: accountID
  33081. required: true
  33082. type: string
  33083. - description: 资金操作类型 - 格式:1,2,3
  33084. in: query
  33085. name: OperateType
  33086. type: string
  33087. produces:
  33088. - application/json
  33089. responses:
  33090. "200":
  33091. description: OK
  33092. schema:
  33093. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  33094. "500":
  33095. description: Internal Server Error
  33096. schema:
  33097. $ref: '#/definitions/app.Response'
  33098. security:
  33099. - ApiKeyAuth: []
  33100. summary: 资金流水查询(当前)
  33101. tags:
  33102. - 资金账户
  33103. /TaAccount/QueryHisAmountLog:
  33104. get:
  33105. parameters:
  33106. - description: 页码
  33107. in: query
  33108. name: page
  33109. type: integer
  33110. - description: 每页条数
  33111. in: query
  33112. name: pagesize
  33113. type: integer
  33114. - description: 分页标志 0-page从0开始 1-page从1开始
  33115. in: query
  33116. name: pageflag
  33117. type: integer
  33118. - description: 资金账户 - 格式:1,2,3
  33119. in: query
  33120. name: accountID
  33121. required: true
  33122. type: string
  33123. - description: 资金操作类型 - 格式:1,2,3
  33124. in: query
  33125. name: OperateType
  33126. type: string
  33127. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  33128. in: query
  33129. name: startDate
  33130. type: string
  33131. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  33132. in: query
  33133. name: endDate
  33134. type: string
  33135. produces:
  33136. - application/json
  33137. responses:
  33138. "200":
  33139. description: OK
  33140. schema:
  33141. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  33142. "500":
  33143. description: Internal Server Error
  33144. schema:
  33145. $ref: '#/definitions/app.Response'
  33146. security:
  33147. - ApiKeyAuth: []
  33148. summary: 资金流水查询(历史)
  33149. tags:
  33150. - 资金账户
  33151. /TaAccount/QueryRelatedTaAccount:
  33152. get:
  33153. parameters:
  33154. - description: 关联UserID
  33155. in: query
  33156. name: relateduserid
  33157. required: true
  33158. type: integer
  33159. produces:
  33160. - application/json
  33161. responses:
  33162. "200":
  33163. description: OK
  33164. schema:
  33165. items:
  33166. $ref: '#/definitions/models.RelatedTaAccount'
  33167. type: array
  33168. "500":
  33169. description: Internal Server Error
  33170. schema:
  33171. $ref: '#/definitions/app.Response'
  33172. security:
  33173. - ApiKeyAuth: []
  33174. summary: 查询关联资金账户信息
  33175. tags:
  33176. - 资金账户
  33177. /Tjmd/QueryQuoteGoodsList:
  33178. get:
  33179. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  33180. parameters:
  33181. - description: 用户类型
  33182. in: query
  33183. name: usertype
  33184. required: true
  33185. type: integer
  33186. - description: 市场id, 格式 1,2,3
  33187. in: query
  33188. name: marketids
  33189. type: string
  33190. - description: 商品组id
  33191. in: query
  33192. name: goodsgroupid
  33193. type: integer
  33194. - description: 商品id
  33195. in: query
  33196. name: goodsid
  33197. type: integer
  33198. produces:
  33199. - application/json
  33200. responses:
  33201. "200":
  33202. description: OK
  33203. schema:
  33204. items:
  33205. $ref: '#/definitions/models.TjmdQuoteGoods'
  33206. type: array
  33207. "500":
  33208. description: Internal Server Error
  33209. schema:
  33210. $ref: '#/definitions/app.Response'
  33211. security:
  33212. - ApiKeyAuth: []
  33213. summary: 查询掉期报价列表
  33214. tags:
  33215. - 天津麦顿
  33216. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  33217. get:
  33218. parameters:
  33219. - description: 成交单号
  33220. in: query
  33221. name: tradeid
  33222. required: true
  33223. type: string
  33224. produces:
  33225. - application/json
  33226. responses:
  33227. "200":
  33228. description: OK
  33229. schema:
  33230. items:
  33231. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  33232. type: array
  33233. "500":
  33234. description: Internal Server Error
  33235. schema:
  33236. $ref: '#/definitions/app.Response'
  33237. security:
  33238. - ApiKeyAuth: []
  33239. summary: 掉期商品订单详情(交易确认书)
  33240. tags:
  33241. - 天津麦顿
  33242. /Tjmd/QueryTjmdMarketSection:
  33243. get:
  33244. produces:
  33245. - application/json
  33246. responses:
  33247. "200":
  33248. description: OK
  33249. schema:
  33250. items:
  33251. $ref: '#/definitions/models.TjmdMarketSection'
  33252. type: array
  33253. "500":
  33254. description: Internal Server Error
  33255. schema:
  33256. $ref: '#/definitions/app.Response'
  33257. security:
  33258. - ApiKeyAuth: []
  33259. summary: 查询市场板块
  33260. tags:
  33261. - 天津麦顿
  33262. /Tjmd/QueryTjmdTodayAccountMargin:
  33263. get:
  33264. parameters:
  33265. - description: 市场id
  33266. in: query
  33267. name: marketid
  33268. type: string
  33269. - description: 商品id
  33270. in: query
  33271. name: goodsid
  33272. type: string
  33273. - description: 资金账号
  33274. in: query
  33275. name: accountid
  33276. type: string
  33277. produces:
  33278. - application/json
  33279. responses:
  33280. "200":
  33281. description: OK
  33282. schema:
  33283. items:
  33284. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  33285. type: array
  33286. "500":
  33287. description: Internal Server Error
  33288. schema:
  33289. $ref: '#/definitions/app.Response'
  33290. security:
  33291. - ApiKeyAuth: []
  33292. summary: 查询今日账户保证金配置
  33293. tags:
  33294. - 天津麦顿
  33295. /Tjmd/QueryTjmdTradeOrderDetail:
  33296. get:
  33297. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  33298. parameters:
  33299. - description: 页码
  33300. in: query
  33301. name: page
  33302. type: integer
  33303. - description: 每页条数
  33304. in: query
  33305. name: pagesize
  33306. type: integer
  33307. - description: 用户id
  33308. in: query
  33309. name: userid
  33310. required: true
  33311. type: integer
  33312. - description: 用户类型
  33313. in: query
  33314. name: usertype
  33315. required: true
  33316. type: integer
  33317. - description: 市场id, 格式 1,2,3
  33318. in: query
  33319. name: marketids
  33320. type: string
  33321. - description: 商品id
  33322. in: query
  33323. name: goodsid
  33324. required: true
  33325. type: integer
  33326. - description: 买卖方向 0-买 1-卖
  33327. in: query
  33328. name: buyorsell
  33329. required: true
  33330. type: integer
  33331. produces:
  33332. - application/json
  33333. responses:
  33334. "200":
  33335. description: OK
  33336. schema:
  33337. items:
  33338. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  33339. type: array
  33340. "500":
  33341. description: Internal Server Error
  33342. schema:
  33343. $ref: '#/definitions/app.Response'
  33344. security:
  33345. - ApiKeyAuth: []
  33346. summary: 查询掉期买卖大厅
  33347. tags:
  33348. - 天津麦顿
  33349. /Tjmd/QueryTjmdTransferApply:
  33350. get:
  33351. parameters:
  33352. - description: 类型 1-我的申请 2-对方申请
  33353. in: query
  33354. name: applytype
  33355. required: true
  33356. type: integer
  33357. - description: 市场id, 格式 1,2,3
  33358. in: query
  33359. name: marketids
  33360. type: string
  33361. - description: 资金账号, 格式 25000000001,25000000003
  33362. in: query
  33363. name: accountids
  33364. type: string
  33365. - description: 开始交易日(yyyymmdd)
  33366. in: query
  33367. name: begindate
  33368. type: string
  33369. - description: 结束交易日(yyyymmdd)
  33370. in: query
  33371. name: enddate
  33372. type: string
  33373. produces:
  33374. - application/json
  33375. responses:
  33376. "200":
  33377. description: OK
  33378. schema:
  33379. items:
  33380. $ref: '#/definitions/models.TjmdTransferApply'
  33381. type: array
  33382. "500":
  33383. description: Internal Server Error
  33384. schema:
  33385. $ref: '#/definitions/app.Response'
  33386. security:
  33387. - ApiKeyAuth: []
  33388. summary: 查询掉期协议单
  33389. tags:
  33390. - 天津麦顿
  33391. /Trade/QueryRecieptOrder:
  33392. get:
  33393. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  33394. parameters:
  33395. - description: 页码
  33396. in: query
  33397. name: page
  33398. type: integer
  33399. - description: 每页条数
  33400. in: query
  33401. name: pagesize
  33402. type: integer
  33403. - description: 商品ID
  33404. in: query
  33405. name: goodsID
  33406. required: true
  33407. type: integer
  33408. - description: 所属账户名称
  33409. in: query
  33410. name: accountName
  33411. type: string
  33412. - description: 市场ID
  33413. in: query
  33414. name: marketID
  33415. type: integer
  33416. - description: 方向 - 0:买 1:卖
  33417. in: query
  33418. name: buyorsell
  33419. required: true
  33420. type: integer
  33421. produces:
  33422. - application/json
  33423. responses:
  33424. "200":
  33425. description: OK
  33426. schema:
  33427. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  33428. "500":
  33429. description: Internal Server Error
  33430. schema:
  33431. $ref: '#/definitions/app.Response'
  33432. security:
  33433. - ApiKeyAuth: []
  33434. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  33435. tags:
  33436. - 通用交易
  33437. /User/AddMessageBoard:
  33438. post:
  33439. parameters:
  33440. - description: 用户ID
  33441. in: query
  33442. name: userID
  33443. required: true
  33444. type: integer
  33445. - description: 留言信息
  33446. in: query
  33447. name: message
  33448. required: true
  33449. type: string
  33450. - description: 联系电话
  33451. in: query
  33452. name: contactNum
  33453. required: true
  33454. type: string
  33455. produces:
  33456. - application/json
  33457. responses:
  33458. "200":
  33459. description: OK
  33460. schema:
  33461. $ref: '#/definitions/app.Response'
  33462. "500":
  33463. description: Internal Server Error
  33464. schema:
  33465. $ref: '#/definitions/app.Response'
  33466. security:
  33467. - ApiKeyAuth: []
  33468. summary: 添加用户留言板信息
  33469. tags:
  33470. - 用户信息
  33471. /User/AddUserFavoriteGoods:
  33472. post:
  33473. parameters:
  33474. - description: 用户ID
  33475. in: query
  33476. name: userID
  33477. required: true
  33478. type: integer
  33479. - description: 商品ID
  33480. in: query
  33481. name: goodsID
  33482. required: true
  33483. type: integer
  33484. produces:
  33485. - application/json
  33486. responses:
  33487. "200":
  33488. description: OK
  33489. schema:
  33490. $ref: '#/definitions/app.Response'
  33491. "500":
  33492. description: Internal Server Error
  33493. schema:
  33494. $ref: '#/definitions/app.Response'
  33495. security:
  33496. - ApiKeyAuth: []
  33497. summary: 添加用户商品收藏信息
  33498. tags:
  33499. - 用户信息
  33500. /User/GetLoginID:
  33501. get:
  33502. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  33503. parameters:
  33504. - description: 登录代码
  33505. in: query
  33506. name: username
  33507. required: true
  33508. type: string
  33509. produces:
  33510. - application/json
  33511. responses:
  33512. "200":
  33513. description: OK
  33514. schema:
  33515. $ref: '#/definitions/app.Response'
  33516. "500":
  33517. description: Internal Server Error
  33518. schema:
  33519. $ref: '#/definitions/app.Response'
  33520. summary: 获取登录ID
  33521. tags:
  33522. - 用户信息
  33523. /User/GetUserAccount:
  33524. get:
  33525. parameters:
  33526. - description: 用户ID
  33527. in: query
  33528. name: userID
  33529. required: true
  33530. type: integer
  33531. produces:
  33532. - application/json
  33533. responses:
  33534. "200":
  33535. description: OK
  33536. schema:
  33537. $ref: '#/definitions/models.Useraccount'
  33538. "500":
  33539. description: Internal Server Error
  33540. schema:
  33541. $ref: '#/definitions/app.Response'
  33542. security:
  33543. - ApiKeyAuth: []
  33544. summary: 获取用户账号信息
  33545. tags:
  33546. - 用户信息
  33547. /User/GetUserAuthStatus:
  33548. get:
  33549. parameters:
  33550. - description: 用户ID
  33551. in: query
  33552. name: userID
  33553. required: true
  33554. type: integer
  33555. produces:
  33556. - application/json
  33557. responses:
  33558. "200":
  33559. description: OK
  33560. schema:
  33561. $ref: '#/definitions/app.Response'
  33562. "500":
  33563. description: Internal Server Error
  33564. schema:
  33565. $ref: '#/definitions/app.Response'
  33566. security:
  33567. - ApiKeyAuth: []
  33568. summary: 获取用户实名认证状态
  33569. tags:
  33570. - 用户信息
  33571. /User/LoginQuery:
  33572. get:
  33573. parameters:
  33574. - description: 登录账号
  33575. in: query
  33576. name: loginID
  33577. required: true
  33578. type: integer
  33579. produces:
  33580. - application/json
  33581. responses:
  33582. "200":
  33583. description: OK
  33584. schema:
  33585. $ref: '#/definitions/user.LoginQueryRsp'
  33586. "500":
  33587. description: Internal Server Error
  33588. schema:
  33589. $ref: '#/definitions/app.Response'
  33590. security:
  33591. - ApiKeyAuth: []
  33592. summary: 账户登录后信息查询
  33593. tags:
  33594. - 用户信息
  33595. /User/QueryMessageBoard:
  33596. get:
  33597. parameters:
  33598. - description: 用户ID
  33599. in: query
  33600. name: userID
  33601. required: true
  33602. type: integer
  33603. produces:
  33604. - application/json
  33605. responses:
  33606. "200":
  33607. description: OK
  33608. schema:
  33609. $ref: '#/definitions/models.Messageboard'
  33610. "500":
  33611. description: Internal Server Error
  33612. schema:
  33613. $ref: '#/definitions/app.Response'
  33614. security:
  33615. - ApiKeyAuth: []
  33616. summary: 获取用户留言板信息
  33617. tags:
  33618. - 用户信息
  33619. /User/QueryUserFavoriteGoodses:
  33620. get:
  33621. parameters:
  33622. - description: 用户ID
  33623. in: query
  33624. name: userID
  33625. required: true
  33626. type: integer
  33627. produces:
  33628. - application/json
  33629. responses:
  33630. "200":
  33631. description: OK
  33632. schema:
  33633. $ref: '#/definitions/models.Userfavoritegoods'
  33634. "500":
  33635. description: Internal Server Error
  33636. schema:
  33637. $ref: '#/definitions/app.Response'
  33638. security:
  33639. - ApiKeyAuth: []
  33640. summary: 获取用户商品收藏信息
  33641. tags:
  33642. - 用户信息
  33643. /User/QueryUserInfo:
  33644. get:
  33645. parameters:
  33646. - description: 用户ID
  33647. in: query
  33648. name: userID
  33649. required: true
  33650. type: integer
  33651. - description: 是否解密
  33652. in: query
  33653. name: isDecrypt
  33654. type: boolean
  33655. produces:
  33656. - application/json
  33657. responses:
  33658. "200":
  33659. description: OK
  33660. schema:
  33661. $ref: '#/definitions/models.Userinfo'
  33662. "500":
  33663. description: Internal Server Error
  33664. schema:
  33665. $ref: '#/definitions/app.Response'
  33666. security:
  33667. - ApiKeyAuth: []
  33668. summary: 获取用户信息
  33669. tags:
  33670. - 用户信息
  33671. /User/QueryUserReferNum:
  33672. get:
  33673. parameters:
  33674. - description: 用户ID
  33675. in: query
  33676. name: userID
  33677. required: true
  33678. type: integer
  33679. produces:
  33680. - application/json
  33681. responses:
  33682. "200":
  33683. description: OK
  33684. schema:
  33685. $ref: '#/definitions/app.Response'
  33686. "500":
  33687. description: Internal Server Error
  33688. schema:
  33689. $ref: '#/definitions/app.Response'
  33690. summary: 获取用户邀请码
  33691. tags:
  33692. - 用户信息
  33693. /User/RemoveUserFavoriteGoods:
  33694. post:
  33695. parameters:
  33696. - description: 用户ID
  33697. in: query
  33698. name: userID
  33699. required: true
  33700. type: integer
  33701. - description: 商品ID
  33702. in: query
  33703. name: goodsID
  33704. required: true
  33705. type: integer
  33706. produces:
  33707. - application/json
  33708. responses:
  33709. "200":
  33710. description: OK
  33711. schema:
  33712. $ref: '#/definitions/app.Response'
  33713. "500":
  33714. description: Internal Server Error
  33715. schema:
  33716. $ref: '#/definitions/app.Response'
  33717. security:
  33718. - ApiKeyAuth: []
  33719. summary: 移除用户商品收藏信息
  33720. tags:
  33721. - 用户信息
  33722. /User/UpdateUserAccountStatus:
  33723. post:
  33724. parameters:
  33725. - description: 用户ID
  33726. in: query
  33727. name: userID
  33728. required: true
  33729. type: integer
  33730. - description: 账户状态 - 4:正常 6:注销(停用)
  33731. in: query
  33732. name: accountStatus
  33733. required: true
  33734. type: integer
  33735. produces:
  33736. - application/json
  33737. responses:
  33738. "200":
  33739. description: OK
  33740. schema:
  33741. $ref: '#/definitions/app.Response'
  33742. "500":
  33743. description: Internal Server Error
  33744. schema:
  33745. $ref: '#/definitions/app.Response'
  33746. security:
  33747. - ApiKeyAuth: []
  33748. summary: 更新用户状态
  33749. tags:
  33750. - 用户信息
  33751. /WRTrade/GetAllDeliveryGoods:
  33752. get:
  33753. produces:
  33754. - application/json
  33755. responses:
  33756. "200":
  33757. description: OK
  33758. schema:
  33759. $ref: '#/definitions/app.Response'
  33760. "500":
  33761. description: Internal Server Error
  33762. schema:
  33763. $ref: '#/definitions/app.Response'
  33764. security:
  33765. - ApiKeyAuth: []
  33766. summary: 获取带仓单分类的种类信息
  33767. tags:
  33768. - 仓单贸易
  33769. - 仓单贸易
  33770. /WrTrade2/InsertXhcpSellBackApply:
  33771. post:
  33772. parameters:
  33773. - description: 回收申请
  33774. in: body
  33775. name: jsonBody
  33776. required: true
  33777. schema:
  33778. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  33779. produces:
  33780. - application/json
  33781. responses:
  33782. "200":
  33783. description: OK
  33784. schema:
  33785. $ref: '#/definitions/app.Response'
  33786. "500":
  33787. description: Internal Server Error
  33788. schema:
  33789. $ref: '#/definitions/app.Response'
  33790. security:
  33791. - ApiKeyAuth: []
  33792. summary: 新增回收申请(新会陈皮)
  33793. tags:
  33794. - 仓单贸易v2
  33795. /WrTrade2/QueryDeliveryGoodsSection:
  33796. get:
  33797. produces:
  33798. - application/json
  33799. responses:
  33800. "200":
  33801. description: OK
  33802. schema:
  33803. items:
  33804. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  33805. type: array
  33806. "500":
  33807. description: Internal Server Error
  33808. schema:
  33809. $ref: '#/definitions/app.Response'
  33810. security:
  33811. - ApiKeyAuth: []
  33812. summary: 查询板块(分类)
  33813. tags:
  33814. - 仓单贸易v2
  33815. /WrTrade2/QueryFaProductDetail:
  33816. get:
  33817. description: 页面 买卖大厅 -> 选择融资方案
  33818. parameters:
  33819. - description: 仓单要素id
  33820. in: query
  33821. name: wrfactortypeid
  33822. required: true
  33823. type: integer
  33824. produces:
  33825. - application/json
  33826. responses:
  33827. "200":
  33828. description: OK
  33829. schema:
  33830. items:
  33831. $ref: '#/definitions/models.WrFAProductDetail'
  33832. type: array
  33833. "500":
  33834. description: Internal Server Error
  33835. schema:
  33836. $ref: '#/definitions/app.Response'
  33837. security:
  33838. - ApiKeyAuth: []
  33839. summary: 查询融资产品列表
  33840. tags:
  33841. - 仓单贸易v2
  33842. /WrTrade2/QueryFilterItem:
  33843. get:
  33844. parameters:
  33845. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  33846. in: query
  33847. name: itype
  33848. required: true
  33849. type: string
  33850. produces:
  33851. - application/json
  33852. responses:
  33853. "200":
  33854. description: OK
  33855. schema:
  33856. items:
  33857. $ref: '#/definitions/models.WrFilterItem'
  33858. type: array
  33859. "500":
  33860. description: Internal Server Error
  33861. schema:
  33862. $ref: '#/definitions/app.Response'
  33863. security:
  33864. - ApiKeyAuth: []
  33865. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  33866. tags:
  33867. - 仓单贸易v2
  33868. /WrTrade2/QueryFtDeliveryGoods:
  33869. get:
  33870. produces:
  33871. - application/json
  33872. responses:
  33873. "200":
  33874. description: OK
  33875. schema:
  33876. items:
  33877. $ref: '#/definitions/models.WrFtDeliveryGoods'
  33878. type: array
  33879. "500":
  33880. description: Internal Server Error
  33881. schema:
  33882. $ref: '#/definitions/app.Response'
  33883. security:
  33884. - ApiKeyAuth: []
  33885. summary: 查询品种品类筛选框列表
  33886. tags:
  33887. - 仓单贸易v2
  33888. /WrTrade2/QueryHoldLB:
  33889. get:
  33890. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  33891. parameters:
  33892. - description: 资金账号
  33893. in: query
  33894. name: accountid
  33895. required: true
  33896. type: integer
  33897. - description: 仓库id
  33898. in: query
  33899. name: warehouseid
  33900. type: integer
  33901. - description: 品种id
  33902. in: query
  33903. name: deliverygoodsid
  33904. type: integer
  33905. - description: 品类id
  33906. in: query
  33907. name: wrstandardid
  33908. type: integer
  33909. - description: 仓单要素id
  33910. in: query
  33911. name: wrfactortypeid
  33912. type: integer
  33913. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  33914. in: query
  33915. name: dgitemname
  33916. type: string
  33917. produces:
  33918. - application/json
  33919. responses:
  33920. "200":
  33921. description: OK
  33922. schema:
  33923. items:
  33924. $ref: '#/definitions/models.WrHoldLB'
  33925. type: array
  33926. "500":
  33927. description: Internal Server Error
  33928. schema:
  33929. $ref: '#/definitions/app.Response'
  33930. security:
  33931. - ApiKeyAuth: []
  33932. summary: 查询仓单持有记录
  33933. tags:
  33934. - 仓单贸易v2
  33935. /WrTrade2/QueryOrderQuote:
  33936. get:
  33937. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  33938. 唯一确定1条记录
  33939. parameters:
  33940. - description: 页码
  33941. in: query
  33942. name: page
  33943. type: integer
  33944. - description: 每页条数
  33945. in: query
  33946. name: pagesize
  33947. type: integer
  33948. - description: 仓单贸易市场id
  33949. in: query
  33950. name: marketid
  33951. type: integer
  33952. - description: 价格方式 - 1:固定价 2-浮动价
  33953. in: query
  33954. name: wrpricetype
  33955. required: true
  33956. type: integer
  33957. - description: 0:仓单预售 1:仓单贸易
  33958. in: query
  33959. name: haswr
  33960. type: integer
  33961. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  33962. in: query
  33963. name: dgitemname
  33964. type: string
  33965. - description: 仓库id(筛选条件)
  33966. in: query
  33967. name: warehouseid
  33968. type: integer
  33969. - description: 品种id
  33970. in: query
  33971. name: deliverygoodsid
  33972. type: integer
  33973. - description: 品类id
  33974. in: query
  33975. name: wrstandardid
  33976. type: integer
  33977. - description: 品牌id(dgfactoryitemid)
  33978. in: query
  33979. name: brandid
  33980. type: integer
  33981. - description: 年份id(dgfactoryitemid)
  33982. in: query
  33983. name: yearsid
  33984. type: integer
  33985. - description: 仓单要素id
  33986. in: query
  33987. name: wrfactortypeid
  33988. type: integer
  33989. - description: 交收月(yyyy-mm) 仓单预售填写
  33990. in: query
  33991. name: deliverymonth
  33992. type: string
  33993. produces:
  33994. - application/json
  33995. responses:
  33996. "200":
  33997. description: OK
  33998. schema:
  33999. items:
  34000. $ref: '#/definitions/models.WrOrderQuote'
  34001. type: array
  34002. "500":
  34003. description: Internal Server Error
  34004. schema:
  34005. $ref: '#/definitions/app.Response'
  34006. security:
  34007. - ApiKeyAuth: []
  34008. summary: 查询大厅行情列表
  34009. tags:
  34010. - 仓单贸易v2
  34011. /WrTrade2/QueryOrderQuoteDetail:
  34012. get:
  34013. parameters:
  34014. - description: 页码
  34015. in: query
  34016. name: page
  34017. type: integer
  34018. - description: 每页条数
  34019. in: query
  34020. name: pagesize
  34021. type: integer
  34022. - description: 仓单贸易市场id
  34023. in: query
  34024. name: marketid
  34025. type: integer
  34026. - description: 价格方式 - 1:固定价 2-浮动价
  34027. in: query
  34028. name: wrpricetype
  34029. required: true
  34030. type: integer
  34031. - description: 0:仓单预售 1:仓单贸易
  34032. in: query
  34033. name: haswr
  34034. type: integer
  34035. - description: 仓单要素id
  34036. in: query
  34037. name: wrfactortypeid
  34038. required: true
  34039. type: integer
  34040. - description: 期货商品id(浮动价方式时填)
  34041. in: query
  34042. name: goodsid
  34043. type: integer
  34044. - description: 买卖方向 0-买 1-卖
  34045. in: query
  34046. name: buyorsell
  34047. required: true
  34048. type: integer
  34049. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  34050. in: query
  34051. name: deliverymonth
  34052. type: string
  34053. produces:
  34054. - application/json
  34055. responses:
  34056. "200":
  34057. description: OK
  34058. schema:
  34059. items:
  34060. $ref: '#/definitions/models.WrOrderQuoteDetail'
  34061. type: array
  34062. "500":
  34063. description: Internal Server Error
  34064. schema:
  34065. $ref: '#/definitions/app.Response'
  34066. security:
  34067. - ApiKeyAuth: []
  34068. summary: 查询买卖大厅
  34069. tags:
  34070. - 仓单贸易v2
  34071. /WrTrade2/QueryOrderQuoteMyq:
  34072. get:
  34073. parameters:
  34074. - description: 页码
  34075. in: query
  34076. name: page
  34077. type: integer
  34078. - description: 每页条数
  34079. in: query
  34080. name: pagesize
  34081. type: integer
  34082. - description: 用户id
  34083. in: query
  34084. name: userid
  34085. required: true
  34086. type: integer
  34087. - description: 仓单贸易市场id
  34088. in: query
  34089. name: marketid
  34090. type: integer
  34091. - description: 0:仓单预售 1:仓单贸易
  34092. in: query
  34093. name: haswr
  34094. type: integer
  34095. - description: 买卖方向 0-买 1-卖
  34096. in: query
  34097. name: buyorsell
  34098. required: true
  34099. type: integer
  34100. - description: 品种id
  34101. in: query
  34102. name: deliverygoodsid
  34103. type: integer
  34104. - description: 品类id
  34105. in: query
  34106. name: wrstandardid
  34107. type: integer
  34108. - description: 交收月(yyyy-mm) 仓单预售填写
  34109. in: query
  34110. name: deliverymonth
  34111. type: string
  34112. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  34113. in: query
  34114. name: dgitemname
  34115. type: string
  34116. produces:
  34117. - application/json
  34118. responses:
  34119. "200":
  34120. description: OK
  34121. schema:
  34122. items:
  34123. $ref: '#/definitions/models.WrQuoteOrderMyq'
  34124. type: array
  34125. "500":
  34126. description: Internal Server Error
  34127. schema:
  34128. $ref: '#/definitions/app.Response'
  34129. security:
  34130. - ApiKeyAuth: []
  34131. summary: 查询贸易圈挂牌大厅
  34132. tags:
  34133. - 仓单贸易v2
  34134. /WrTrade2/QueryPerformancePlan:
  34135. get:
  34136. parameters:
  34137. - description: 用户id
  34138. in: query
  34139. name: userid
  34140. required: true
  34141. type: integer
  34142. - description: 买卖方向 0-买 1-卖
  34143. in: query
  34144. name: buyorsell
  34145. required: true
  34146. type: integer
  34147. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  34148. 8:释放冻结失败 9:超时待处理 10:超时关闭
  34149. in: query
  34150. name: status
  34151. type: string
  34152. - description: 开始交易日(yyyymmdd)
  34153. in: query
  34154. name: begindate
  34155. type: string
  34156. - description: 结束交易日(yyyymmdd)
  34157. in: query
  34158. name: enddate
  34159. type: string
  34160. produces:
  34161. - application/json
  34162. responses:
  34163. "200":
  34164. description: OK
  34165. schema:
  34166. items:
  34167. $ref: '#/definitions/models.WrPerformancePlan'
  34168. type: array
  34169. "500":
  34170. description: Internal Server Error
  34171. schema:
  34172. $ref: '#/definitions/app.Response'
  34173. security:
  34174. - ApiKeyAuth: []
  34175. summary: 查询履约信息
  34176. tags:
  34177. - 仓单贸易v2
  34178. /WrTrade2/QueryPermancePlanTmp:
  34179. get:
  34180. description: |-
  34181. 返回指定用户的模板和公共模板(用户id为空)
  34182. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  34183. parameters:
  34184. - description: 用户id
  34185. in: query
  34186. name: userid
  34187. type: integer
  34188. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  34189. (无仓单) 5:挂牌期权 6:竞拍-降价式
  34190. in: query
  34191. name: tmptype
  34192. type: string
  34193. - description: 是否包含公共模板(用户id为空的) 1-包含
  34194. in: query
  34195. name: includepub
  34196. type: integer
  34197. - description: 市场id(天津麦顿指定此参数,其它不用)
  34198. in: query
  34199. name: marketid
  34200. type: integer
  34201. produces:
  34202. - application/json
  34203. responses:
  34204. "200":
  34205. description: OK
  34206. schema:
  34207. items:
  34208. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  34209. type: array
  34210. "500":
  34211. description: Internal Server Error
  34212. schema:
  34213. $ref: '#/definitions/app.Response'
  34214. security:
  34215. - ApiKeyAuth: []
  34216. summary: 查询履约模板
  34217. tags:
  34218. - 仓单贸易v2
  34219. /WrTrade2/QuerySiteColumnConfig:
  34220. get:
  34221. parameters:
  34222. - description: 页码
  34223. in: query
  34224. name: page
  34225. type: integer
  34226. - description: 每页条数
  34227. in: query
  34228. name: pagesize
  34229. type: integer
  34230. - description: 栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色
  34231. in: query
  34232. name: columntype
  34233. type: integer
  34234. produces:
  34235. - application/json
  34236. responses:
  34237. "200":
  34238. description: OK
  34239. schema:
  34240. items:
  34241. $ref: '#/definitions/models.Sitecolumnconfig'
  34242. type: array
  34243. "500":
  34244. description: Internal Server Error
  34245. schema:
  34246. $ref: '#/definitions/app.Response'
  34247. security:
  34248. - ApiKeyAuth: []
  34249. summary: 查询资讯栏目配置
  34250. tags:
  34251. - 仓单贸易v2
  34252. /WrTrade2/QuerySiteColumnDetail:
  34253. get:
  34254. parameters:
  34255. - description: 页码
  34256. in: query
  34257. name: page
  34258. type: integer
  34259. - description: 每页条数
  34260. in: query
  34261. name: pagesize
  34262. type: integer
  34263. - description: 所属栏目id
  34264. in: query
  34265. name: columnid
  34266. type: integer
  34267. produces:
  34268. - application/json
  34269. responses:
  34270. "200":
  34271. description: OK
  34272. schema:
  34273. items:
  34274. $ref: '#/definitions/models.WrSiteColumnDetail'
  34275. type: array
  34276. "500":
  34277. description: Internal Server Error
  34278. schema:
  34279. $ref: '#/definitions/app.Response'
  34280. security:
  34281. - ApiKeyAuth: []
  34282. summary: 查询资讯
  34283. tags:
  34284. - 仓单贸易v2
  34285. /WrTrade2/QuerySpotGroupTradeSum:
  34286. get:
  34287. produces:
  34288. - application/json
  34289. responses:
  34290. "200":
  34291. description: OK
  34292. schema:
  34293. items:
  34294. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  34295. type: array
  34296. "500":
  34297. description: Internal Server Error
  34298. schema:
  34299. $ref: '#/definitions/app.Response'
  34300. security:
  34301. - ApiKeyAuth: []
  34302. summary: 查询指数
  34303. tags:
  34304. - 仓单贸易v2
  34305. /WrTrade2/QuerySpotGroupTradeSumDetail:
  34306. get:
  34307. description: 查询的结果将会按日期 从小到大 排序
  34308. parameters:
  34309. - description: 现货商品id
  34310. in: query
  34311. name: deliverygoodsid
  34312. required: true
  34313. type: integer
  34314. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  34315. in: query
  34316. name: lastnum
  34317. type: integer
  34318. produces:
  34319. - application/json
  34320. responses:
  34321. "200":
  34322. description: OK
  34323. schema:
  34324. items:
  34325. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  34326. type: array
  34327. "500":
  34328. description: Internal Server Error
  34329. schema:
  34330. $ref: '#/definitions/app.Response'
  34331. security:
  34332. - ApiKeyAuth: []
  34333. summary: 查询指数详细(价格走势图)
  34334. tags:
  34335. - 仓单贸易v2
  34336. /WrTrade2/QueryWrAverageTradePrice:
  34337. get:
  34338. parameters:
  34339. - description: 页码
  34340. in: query
  34341. name: page
  34342. type: integer
  34343. - description: 每页条数
  34344. in: query
  34345. name: pagesize
  34346. type: integer
  34347. - description: 0:仓单预售 1:仓单贸易
  34348. in: query
  34349. name: haswr
  34350. required: true
  34351. type: integer
  34352. - description: 仓单要素id
  34353. in: query
  34354. name: wrfactortypeid
  34355. required: true
  34356. type: integer
  34357. produces:
  34358. - application/json
  34359. responses:
  34360. "200":
  34361. description: OK
  34362. schema:
  34363. items:
  34364. $ref: '#/definitions/models.WrAverageTradePrice'
  34365. type: array
  34366. "500":
  34367. description: Internal Server Error
  34368. schema:
  34369. $ref: '#/definitions/app.Response'
  34370. security:
  34371. - ApiKeyAuth: []
  34372. summary: 查询成交价(历史走势)
  34373. tags:
  34374. - 仓单贸易v2
  34375. /WrTrade2/QueryWrBrandAndYears:
  34376. get:
  34377. produces:
  34378. - application/json
  34379. responses:
  34380. "200":
  34381. description: OK
  34382. schema:
  34383. items:
  34384. $ref: '#/definitions/models.WrBrandAndYears'
  34385. type: array
  34386. "500":
  34387. description: Internal Server Error
  34388. schema:
  34389. $ref: '#/definitions/app.Response'
  34390. security:
  34391. - ApiKeyAuth: []
  34392. summary: 查询品牌和年份
  34393. tags:
  34394. - 仓单贸易v2
  34395. /WrTrade2/QueryWrBsGoodsInfo:
  34396. get:
  34397. description: 合约交易/买卖大厅/详情
  34398. parameters:
  34399. - description: 商品id
  34400. in: query
  34401. name: goodsid
  34402. required: true
  34403. type: integer
  34404. produces:
  34405. - application/json
  34406. responses:
  34407. "200":
  34408. description: OK
  34409. schema:
  34410. items:
  34411. $ref: '#/definitions/models.WrBsGoodsInfo'
  34412. type: array
  34413. "500":
  34414. description: Internal Server Error
  34415. schema:
  34416. $ref: '#/definitions/app.Response'
  34417. security:
  34418. - ApiKeyAuth: []
  34419. summary: 查询合约交易买卖大厅详情
  34420. tags:
  34421. - 仓单贸易v2
  34422. /WrTrade2/QueryWrBuybackDetail:
  34423. get:
  34424. parameters:
  34425. - description: 融资合同id
  34426. in: query
  34427. name: scfcontractid
  34428. type: integer
  34429. produces:
  34430. - application/json
  34431. responses:
  34432. "200":
  34433. description: OK
  34434. schema:
  34435. items:
  34436. $ref: '#/definitions/models.WrBuybackDetail'
  34437. type: array
  34438. "500":
  34439. description: Internal Server Error
  34440. schema:
  34441. $ref: '#/definitions/app.Response'
  34442. security:
  34443. - ApiKeyAuth: []
  34444. summary: 查询仓单回购明细
  34445. tags:
  34446. - 仓单贸易v2
  34447. /WrTrade2/QueryWrClientAdSpaceConfig:
  34448. get:
  34449. produces:
  34450. - application/json
  34451. responses:
  34452. "200":
  34453. description: OK
  34454. schema:
  34455. items:
  34456. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  34457. type: array
  34458. "500":
  34459. description: Internal Server Error
  34460. schema:
  34461. $ref: '#/definitions/app.Response'
  34462. security:
  34463. - ApiKeyAuth: []
  34464. summary: 查询固定广告配置
  34465. tags:
  34466. - 仓单贸易v2
  34467. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  34468. get:
  34469. parameters:
  34470. - description: 资金账号
  34471. in: query
  34472. name: accountid
  34473. required: true
  34474. type: integer
  34475. - description: 商品id
  34476. in: query
  34477. name: goodsid
  34478. required: true
  34479. type: integer
  34480. produces:
  34481. - application/json
  34482. responses:
  34483. "200":
  34484. description: OK
  34485. schema:
  34486. items:
  34487. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  34488. type: array
  34489. "500":
  34490. description: Internal Server Error
  34491. schema:
  34492. $ref: '#/definitions/app.Response'
  34493. security:
  34494. - ApiKeyAuth: []
  34495. summary: 查询合约交收可点选仓单
  34496. tags:
  34497. - 仓单贸易v2
  34498. /WrTrade2/QueryWrDeliveryDetail:
  34499. get:
  34500. parameters:
  34501. - description: 用户id
  34502. in: query
  34503. name: userid
  34504. required: true
  34505. type: integer
  34506. - description: 资金账号id
  34507. in: query
  34508. name: accountid
  34509. type: integer
  34510. - description: 开始交易日(yyyymmdd)
  34511. in: query
  34512. name: begindate
  34513. type: string
  34514. - description: 结束交易日(yyyymmdd)
  34515. in: query
  34516. name: enddate
  34517. type: string
  34518. produces:
  34519. - application/json
  34520. responses:
  34521. "200":
  34522. description: OK
  34523. schema:
  34524. items:
  34525. $ref: '#/definitions/models.WrDeliveryDetail'
  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/QueryWrDraftUserInfo:
  34537. get:
  34538. parameters:
  34539. - description: 用户ID
  34540. in: query
  34541. name: userid
  34542. required: true
  34543. type: integer
  34544. - description: 用户状态 1:正常 2:注销
  34545. in: query
  34546. name: userstatus
  34547. type: integer
  34548. produces:
  34549. - application/json
  34550. responses:
  34551. "200":
  34552. description: OK
  34553. schema:
  34554. items:
  34555. $ref: '#/definitions/models.WrDraftUserInfo'
  34556. type: array
  34557. "500":
  34558. description: Internal Server Error
  34559. schema:
  34560. $ref: '#/definitions/app.Response'
  34561. security:
  34562. - ApiKeyAuth: []
  34563. summary: 查询实名认证信息
  34564. tags:
  34565. - 仓单贸易v2
  34566. /WrTrade2/QueryWrFactorTypeInfo:
  34567. get:
  34568. parameters:
  34569. - description: 仓单要素id
  34570. in: query
  34571. name: wrfactortypeid
  34572. required: true
  34573. type: integer
  34574. produces:
  34575. - application/json
  34576. responses:
  34577. "200":
  34578. description: OK
  34579. schema:
  34580. items:
  34581. $ref: '#/definitions/models.WrFactorTypeInfo'
  34582. type: array
  34583. "500":
  34584. description: Internal Server Error
  34585. schema:
  34586. $ref: '#/definitions/app.Response'
  34587. security:
  34588. - ApiKeyAuth: []
  34589. summary: 查询仓单要素详细信息
  34590. tags:
  34591. - 仓单贸易v2
  34592. /WrTrade2/QueryWrFactorTypeInfoEx:
  34593. get:
  34594. parameters:
  34595. - description: 仓单要素id
  34596. in: query
  34597. name: wrfactortypeid
  34598. required: true
  34599. type: integer
  34600. produces:
  34601. - application/json
  34602. responses:
  34603. "200":
  34604. description: OK
  34605. schema:
  34606. items:
  34607. $ref: '#/definitions/models.WrTypeItem'
  34608. type: array
  34609. "500":
  34610. description: Internal Server Error
  34611. schema:
  34612. $ref: '#/definitions/app.Response'
  34613. security:
  34614. - ApiKeyAuth: []
  34615. summary: 查询仓单要素详细信息列表项
  34616. tags:
  34617. - 仓单贸易v2
  34618. /WrTrade2/QueryWrFinanceBuyApply:
  34619. get:
  34620. description: 页面 融资信息+ / 申请单
  34621. parameters:
  34622. - description: 用户id
  34623. in: query
  34624. name: userid
  34625. required: true
  34626. type: integer
  34627. produces:
  34628. - application/json
  34629. responses:
  34630. "200":
  34631. description: OK
  34632. schema:
  34633. items:
  34634. $ref: '#/definitions/models.WrFinanceBuyApply'
  34635. type: array
  34636. "500":
  34637. description: Internal Server Error
  34638. schema:
  34639. $ref: '#/definitions/app.Response'
  34640. security:
  34641. - ApiKeyAuth: []
  34642. summary: 查询融资购买申请
  34643. tags:
  34644. - 仓单贸易v2
  34645. /WrTrade2/QueryWrFriendApply:
  34646. get:
  34647. parameters:
  34648. - description: 用户id
  34649. in: query
  34650. name: userid
  34651. required: true
  34652. type: integer
  34653. produces:
  34654. - application/json
  34655. responses:
  34656. "200":
  34657. description: OK
  34658. schema:
  34659. items:
  34660. $ref: '#/definitions/models.WrFriendApply'
  34661. type: array
  34662. "500":
  34663. description: Internal Server Error
  34664. schema:
  34665. $ref: '#/definitions/app.Response'
  34666. security:
  34667. - ApiKeyAuth: []
  34668. summary: 查询好友申请记录
  34669. tags:
  34670. - 仓单贸易v2
  34671. /WrTrade2/QueryWrGoodsInfo:
  34672. get:
  34673. parameters:
  34674. - description: 仓单贸易市场id
  34675. in: query
  34676. name: marketid
  34677. type: integer
  34678. - description: 0:仓单预售 1:仓单贸易
  34679. in: query
  34680. name: haswr
  34681. required: true
  34682. type: integer
  34683. - description: 仓单要素id
  34684. in: query
  34685. name: wrfactortypeid
  34686. required: true
  34687. type: integer
  34688. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  34689. in: query
  34690. name: tmplateid
  34691. type: integer
  34692. produces:
  34693. - application/json
  34694. responses:
  34695. "200":
  34696. description: OK
  34697. schema:
  34698. items:
  34699. $ref: '#/definitions/models.WrGoodsInfo'
  34700. type: array
  34701. "500":
  34702. description: Internal Server Error
  34703. schema:
  34704. $ref: '#/definitions/app.Response'
  34705. security:
  34706. - ApiKeyAuth: []
  34707. summary: 查询仓单商品信息
  34708. tags:
  34709. - 仓单贸易v2
  34710. /WrTrade2/QueryWrMarketTradeConfig:
  34711. get:
  34712. parameters:
  34713. - description: 市场id
  34714. in: query
  34715. name: marketid
  34716. type: integer
  34717. produces:
  34718. - application/json
  34719. responses:
  34720. "200":
  34721. description: OK
  34722. schema:
  34723. items:
  34724. $ref: '#/definitions/models.WrMarketTradeConfig'
  34725. type: array
  34726. "500":
  34727. description: Internal Server Error
  34728. schema:
  34729. $ref: '#/definitions/app.Response'
  34730. security:
  34731. - ApiKeyAuth: []
  34732. summary: 查询市场交易参数配置
  34733. tags:
  34734. - 仓单贸易v2
  34735. /WrTrade2/QueryWrOrderDetail:
  34736. get:
  34737. description: 页面 现货仓单 | 预售仓单 -> 委托单
  34738. parameters:
  34739. - description: 页码
  34740. in: query
  34741. name: page
  34742. type: integer
  34743. - description: 每页条数
  34744. in: query
  34745. name: pagesize
  34746. type: integer
  34747. - description: 用户id
  34748. in: query
  34749. name: userid
  34750. required: true
  34751. type: integer
  34752. - description: 仓单贸易市场id
  34753. in: query
  34754. name: marketid
  34755. type: integer
  34756. - description: 0:仓单预售 1:仓单贸易
  34757. in: query
  34758. name: haswr
  34759. required: true
  34760. type: integer
  34761. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  34762. in: query
  34763. name: bcancel
  34764. type: integer
  34765. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  34766. in: query
  34767. name: wrtradetype
  34768. type: integer
  34769. - description: 开始交易日(yyyymmdd)
  34770. in: query
  34771. name: begindate
  34772. type: string
  34773. - description: 结束交易日(yyyymmdd)
  34774. in: query
  34775. name: enddate
  34776. type: string
  34777. produces:
  34778. - application/json
  34779. responses:
  34780. "200":
  34781. description: OK
  34782. schema:
  34783. items:
  34784. $ref: '#/definitions/models.WrOrderDetail'
  34785. type: array
  34786. "500":
  34787. description: Internal Server Error
  34788. schema:
  34789. $ref: '#/definitions/app.Response'
  34790. security:
  34791. - ApiKeyAuth: []
  34792. summary: 查询仓单委托单
  34793. tags:
  34794. - 仓单贸易v2
  34795. /WrTrade2/QueryWrOutInApply:
  34796. get:
  34797. parameters:
  34798. - description: 页码
  34799. in: query
  34800. name: page
  34801. type: integer
  34802. - description: 每页条数
  34803. in: query
  34804. name: pagesize
  34805. type: integer
  34806. - description: 用户id
  34807. in: query
  34808. name: userid
  34809. required: true
  34810. type: integer
  34811. - description: 开始交易日(yyyymmdd)
  34812. in: query
  34813. name: begindate
  34814. type: string
  34815. - description: 结束交易日(yyyymmdd)
  34816. in: query
  34817. name: enddate
  34818. type: string
  34819. produces:
  34820. - application/json
  34821. responses:
  34822. "200":
  34823. description: OK
  34824. schema:
  34825. items:
  34826. $ref: '#/definitions/models.WrOutInApply'
  34827. type: array
  34828. "500":
  34829. description: Internal Server Error
  34830. schema:
  34831. $ref: '#/definitions/app.Response'
  34832. security:
  34833. - ApiKeyAuth: []
  34834. summary: 查询提货申请
  34835. tags:
  34836. - 仓单贸易v2
  34837. /WrTrade2/QueryWrPerformancePlanStep:
  34838. get:
  34839. parameters:
  34840. - description: 履约计划id(performanceplanid)
  34841. in: query
  34842. name: planid
  34843. required: true
  34844. type: integer
  34845. - description: 当前步骤id
  34846. in: query
  34847. name: curstepid
  34848. type: integer
  34849. produces:
  34850. - application/json
  34851. responses:
  34852. "200":
  34853. description: OK
  34854. schema:
  34855. items:
  34856. $ref: '#/definitions/models.WrPerformancePlanStep'
  34857. type: array
  34858. "500":
  34859. description: Internal Server Error
  34860. schema:
  34861. $ref: '#/definitions/app.Response'
  34862. security:
  34863. - ApiKeyAuth: []
  34864. summary: 查询履约信息详情
  34865. tags:
  34866. - 仓单贸易v2
  34867. /WrTrade2/QueryWrPerformanceStepType:
  34868. get:
  34869. produces:
  34870. - application/json
  34871. responses:
  34872. "200":
  34873. description: OK
  34874. schema:
  34875. items:
  34876. $ref: '#/definitions/models.WrPerformanceStepType'
  34877. type: array
  34878. "500":
  34879. description: Internal Server Error
  34880. schema:
  34881. $ref: '#/definitions/app.Response'
  34882. security:
  34883. - ApiKeyAuth: []
  34884. summary: 查询履约步骤枚举
  34885. tags:
  34886. - 仓单贸易v2
  34887. /WrTrade2/QueryWrPosition:
  34888. get:
  34889. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  34890. parameters:
  34891. - description: 用户id
  34892. in: query
  34893. name: userid
  34894. required: true
  34895. type: integer
  34896. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  34897. in: query
  34898. name: querytype
  34899. required: true
  34900. type: integer
  34901. - description: 0:仓单预售 1:仓单贸易
  34902. in: query
  34903. name: haswr
  34904. required: true
  34905. type: integer
  34906. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  34907. in: query
  34908. name: dgitemname
  34909. type: string
  34910. - description: 仓库id(筛选条件)
  34911. in: query
  34912. name: warehouseid
  34913. type: integer
  34914. - description: 品种id
  34915. in: query
  34916. name: deliverygoodsid
  34917. type: integer
  34918. - description: 品类id
  34919. in: query
  34920. name: wrstandardid
  34921. type: integer
  34922. produces:
  34923. - application/json
  34924. responses:
  34925. "200":
  34926. description: OK
  34927. schema:
  34928. items:
  34929. $ref: '#/definitions/models.WrPosition'
  34930. type: array
  34931. "500":
  34932. description: Internal Server Error
  34933. schema:
  34934. $ref: '#/definitions/app.Response'
  34935. security:
  34936. - ApiKeyAuth: []
  34937. summary: 查询现货(预售)仓单持仓
  34938. tags:
  34939. - 仓单贸易v2
  34940. /WrTrade2/QueryWrPreSaleInfo:
  34941. get:
  34942. parameters:
  34943. - description: 市场id
  34944. in: query
  34945. name: marketid
  34946. type: integer
  34947. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  34948. in: query
  34949. name: presalestatus
  34950. type: string
  34951. - description: 摇号标识 - 0:未摇号 1:已摇号
  34952. in: query
  34953. name: lotteryflag
  34954. type: integer
  34955. - description: 最近多少条记录(按创建时间倒序)
  34956. in: query
  34957. name: lastnum
  34958. type: integer
  34959. produces:
  34960. - application/json
  34961. responses:
  34962. "200":
  34963. description: OK
  34964. schema:
  34965. items:
  34966. $ref: '#/definitions/models.WrPreSaleInfo'
  34967. type: array
  34968. "500":
  34969. description: Internal Server Error
  34970. schema:
  34971. $ref: '#/definitions/app.Response'
  34972. security:
  34973. - ApiKeyAuth: []
  34974. summary: 查询新品发布
  34975. tags:
  34976. - 仓单贸易v2
  34977. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  34978. get:
  34979. parameters:
  34980. - description: 市场id
  34981. in: query
  34982. name: marketid
  34983. required: true
  34984. type: integer
  34985. - description: 现货商品id
  34986. in: query
  34987. name: wrstandardid
  34988. required: true
  34989. type: integer
  34990. - description: 开始交易日(yyyymmdd)
  34991. in: query
  34992. name: begindate
  34993. type: string
  34994. - description: 结束交易日(yyyymmdd)
  34995. in: query
  34996. name: enddate
  34997. type: string
  34998. - description: 最近多少条记录(按交易日倒序)
  34999. in: query
  35000. name: lastnum
  35001. type: integer
  35002. - description: 是否今日
  35003. in: query
  35004. name: istoday
  35005. type: boolean
  35006. produces:
  35007. - application/json
  35008. responses:
  35009. "200":
  35010. description: OK
  35011. schema:
  35012. items:
  35013. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  35014. type: array
  35015. "500":
  35016. description: Internal Server Error
  35017. schema:
  35018. $ref: '#/definitions/app.Response'
  35019. security:
  35020. - ApiKeyAuth: []
  35021. summary: 查询价格走势
  35022. tags:
  35023. - 仓单贸易v2
  35024. /WrTrade2/QueryWrScfContract:
  35025. get:
  35026. parameters:
  35027. - description: 用户id
  35028. in: query
  35029. name: userid
  35030. required: true
  35031. type: integer
  35032. - description: 融资合同id
  35033. in: query
  35034. name: scfcontractid
  35035. type: integer
  35036. produces:
  35037. - application/json
  35038. responses:
  35039. "200":
  35040. description: OK
  35041. schema:
  35042. items:
  35043. $ref: '#/definitions/models.WrScfContract'
  35044. type: array
  35045. "500":
  35046. description: Internal Server Error
  35047. schema:
  35048. $ref: '#/definitions/app.Response'
  35049. security:
  35050. - ApiKeyAuth: []
  35051. summary: 查询仓单贸易融资合同
  35052. tags:
  35053. - 仓单贸易v2
  35054. /WrTrade2/QueryWrScfContractInterest:
  35055. get:
  35056. parameters:
  35057. - description: 融资合同id
  35058. in: query
  35059. name: scfcontractid
  35060. type: integer
  35061. produces:
  35062. - application/json
  35063. responses:
  35064. "200":
  35065. description: OK
  35066. schema:
  35067. items:
  35068. $ref: '#/definitions/models.WrScfContractInterest'
  35069. type: array
  35070. "500":
  35071. description: Internal Server Error
  35072. schema:
  35073. $ref: '#/definitions/app.Response'
  35074. security:
  35075. - ApiKeyAuth: []
  35076. summary: 查询融资合同费用明细
  35077. tags:
  35078. - 仓单贸易v2
  35079. /WrTrade2/QueryWrSearchUser:
  35080. get:
  35081. parameters:
  35082. - description: 用户名称(模糊匹配)
  35083. in: query
  35084. name: username
  35085. required: true
  35086. type: string
  35087. produces:
  35088. - application/json
  35089. responses:
  35090. "200":
  35091. description: OK
  35092. schema:
  35093. items:
  35094. $ref: '#/definitions/models.WrSearchUser'
  35095. type: array
  35096. "500":
  35097. description: Internal Server Error
  35098. schema:
  35099. $ref: '#/definitions/app.Response'
  35100. security:
  35101. - ApiKeyAuth: []
  35102. summary: 查询用户
  35103. tags:
  35104. - 仓单贸易v2
  35105. /WrTrade2/QueryWrSpecialMatchOrder:
  35106. get:
  35107. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  35108. parameters:
  35109. - description: 页码
  35110. in: query
  35111. name: page
  35112. type: integer
  35113. - description: 每页条数
  35114. in: query
  35115. name: pagesize
  35116. type: integer
  35117. - description: 用户id
  35118. in: query
  35119. name: userid
  35120. required: true
  35121. type: integer
  35122. - description: 仓单贸易市场id
  35123. in: query
  35124. name: marketid
  35125. type: integer
  35126. - description: 0:仓单预售 1:仓单贸易
  35127. in: query
  35128. name: haswr
  35129. required: true
  35130. type: integer
  35131. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  35132. in: query
  35133. name: isspecified
  35134. type: integer
  35135. produces:
  35136. - application/json
  35137. responses:
  35138. "200":
  35139. description: OK
  35140. schema:
  35141. items:
  35142. $ref: '#/definitions/models.WrSpecialMatchOrder'
  35143. type: array
  35144. "500":
  35145. description: Internal Server Error
  35146. schema:
  35147. $ref: '#/definitions/app.Response'
  35148. security:
  35149. - ApiKeyAuth: []
  35150. summary: 查询指定成交
  35151. tags:
  35152. - 仓单贸易v2
  35153. /WrTrade2/QueryWrStandardFactoryItem:
  35154. get:
  35155. parameters:
  35156. - description: 品类id
  35157. in: query
  35158. name: wrstandardid
  35159. required: true
  35160. type: integer
  35161. produces:
  35162. - application/json
  35163. responses:
  35164. "200":
  35165. description: OK
  35166. schema:
  35167. items:
  35168. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  35169. type: array
  35170. "500":
  35171. description: Internal Server Error
  35172. schema:
  35173. $ref: '#/definitions/app.Response'
  35174. security:
  35175. - ApiKeyAuth: []
  35176. summary: 查询品类要素定义项
  35177. tags:
  35178. - 仓单贸易v2
  35179. /WrTrade2/QueryWrTradeBargainApply:
  35180. get:
  35181. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  35182. 议价->对方议价 填写matchuserid=登录用户id
  35183. parameters:
  35184. - description: 议价人id(摘牌方)
  35185. in: query
  35186. name: userid
  35187. type: integer
  35188. - description: 挂牌方id(查对方议价时,填写此项)
  35189. in: query
  35190. name: matchuserid
  35191. type: integer
  35192. - description: 关联委托单id
  35193. in: query
  35194. name: wrtradeorderid
  35195. type: integer
  35196. - description: 0:仓单预售 1:仓单贸易
  35197. in: query
  35198. name: haswr
  35199. required: true
  35200. type: integer
  35201. - description: 开始交易日(yyyymmdd)
  35202. in: query
  35203. name: begindate
  35204. type: string
  35205. - description: 结束交易日(yyyymmdd)
  35206. in: query
  35207. name: enddate
  35208. type: string
  35209. produces:
  35210. - application/json
  35211. responses:
  35212. "200":
  35213. description: OK
  35214. schema:
  35215. items:
  35216. $ref: '#/definitions/models.WRTradeBargainApply'
  35217. type: array
  35218. "500":
  35219. description: Internal Server Error
  35220. schema:
  35221. $ref: '#/definitions/app.Response'
  35222. security:
  35223. - ApiKeyAuth: []
  35224. summary: 查询议价单
  35225. tags:
  35226. - 仓单贸易v2
  35227. /WrTrade2/QueryWrTradeDetail:
  35228. get:
  35229. parameters:
  35230. - description: 页码
  35231. in: query
  35232. name: page
  35233. type: integer
  35234. - description: 每页条数
  35235. in: query
  35236. name: pagesize
  35237. type: integer
  35238. - description: 用户id
  35239. in: query
  35240. name: userid
  35241. required: true
  35242. type: integer
  35243. - description: 仓单贸易市场id
  35244. in: query
  35245. name: marketid
  35246. type: integer
  35247. - description: 0:仓单预售 1:仓单贸易
  35248. in: query
  35249. name: haswr
  35250. required: true
  35251. type: integer
  35252. - description: 开始交易日(yyyymmdd)
  35253. in: query
  35254. name: begindate
  35255. type: string
  35256. - description: 结束交易日(yyyymmdd)
  35257. in: query
  35258. name: enddate
  35259. type: string
  35260. produces:
  35261. - application/json
  35262. responses:
  35263. "200":
  35264. description: OK
  35265. schema:
  35266. items:
  35267. $ref: '#/definitions/models.WrTradeDetail'
  35268. type: array
  35269. "500":
  35270. description: Internal Server Error
  35271. schema:
  35272. $ref: '#/definitions/app.Response'
  35273. security:
  35274. - ApiKeyAuth: []
  35275. summary: 查询仓单成交明细
  35276. tags:
  35277. - 仓单贸易v2
  35278. /WrTrade2/QueryWrTradeOrderDetail:
  35279. get:
  35280. parameters:
  35281. - description: 页码
  35282. in: query
  35283. name: page
  35284. type: integer
  35285. - description: 每页条数
  35286. in: query
  35287. name: pagesize
  35288. type: integer
  35289. - description: 商品id
  35290. in: query
  35291. name: goodsid
  35292. required: true
  35293. type: integer
  35294. - description: 买卖方向 0-买 1-卖
  35295. in: query
  35296. name: buyorsell
  35297. required: true
  35298. type: integer
  35299. produces:
  35300. - application/json
  35301. responses:
  35302. "200":
  35303. description: OK
  35304. schema:
  35305. items:
  35306. $ref: '#/definitions/models.WrTradeOrderDetail'
  35307. type: array
  35308. "500":
  35309. description: Internal Server Error
  35310. schema:
  35311. $ref: '#/definitions/app.Response'
  35312. security:
  35313. - ApiKeyAuth: []
  35314. summary: 查询合约交易买卖大厅
  35315. tags:
  35316. - 仓单贸易v2
  35317. /WrTrade2/QueryWrTradeQuote:
  35318. get:
  35319. parameters:
  35320. - description: 现货商品id
  35321. in: query
  35322. name: wrstandardid
  35323. required: true
  35324. type: integer
  35325. - description: 开始日期(yyyymmdd)
  35326. in: query
  35327. name: begindate
  35328. required: true
  35329. type: string
  35330. - description: 结束日期(yyyymmdd)
  35331. in: query
  35332. name: enddate
  35333. required: true
  35334. type: string
  35335. - description: 市场id
  35336. in: query
  35337. name: marketid
  35338. type: integer
  35339. produces:
  35340. - application/json
  35341. responses:
  35342. "200":
  35343. description: OK
  35344. schema:
  35345. items:
  35346. $ref: '#/definitions/models.Wrtradetradequote'
  35347. type: array
  35348. "500":
  35349. description: Internal Server Error
  35350. schema:
  35351. $ref: '#/definitions/app.Response'
  35352. security:
  35353. - ApiKeyAuth: []
  35354. summary: 查询仓单贸易成交行情
  35355. tags:
  35356. - 仓单贸易v2
  35357. /WrTrade2/QueryWrUserFriend:
  35358. get:
  35359. parameters:
  35360. - description: 用户id
  35361. in: query
  35362. name: userid
  35363. required: true
  35364. type: integer
  35365. - description: 新朋友userid, 如果填写了此项则查找新朋友
  35366. in: query
  35367. name: newuserid
  35368. type: integer
  35369. produces:
  35370. - application/json
  35371. responses:
  35372. "200":
  35373. description: OK
  35374. schema:
  35375. items:
  35376. $ref: '#/definitions/models.WrUserFriend'
  35377. type: array
  35378. "500":
  35379. description: Internal Server Error
  35380. schema:
  35381. $ref: '#/definitions/app.Response'
  35382. security:
  35383. - ApiKeyAuth: []
  35384. summary: 查询我的朋友
  35385. tags:
  35386. - 仓单贸易v2
  35387. /WrTrade2/QueryWrUserReceiptInfo:
  35388. get:
  35389. parameters:
  35390. - description: 用户id
  35391. in: query
  35392. name: userid
  35393. type: integer
  35394. - description: 发票类型 - 1:个人 2:企业
  35395. in: query
  35396. name: receipttype
  35397. type: integer
  35398. produces:
  35399. - application/json
  35400. responses:
  35401. "200":
  35402. description: OK
  35403. schema:
  35404. items:
  35405. $ref: '#/definitions/models.WrUserReceiptInfo'
  35406. type: array
  35407. "500":
  35408. description: Internal Server Error
  35409. schema:
  35410. $ref: '#/definitions/app.Response'
  35411. security:
  35412. - ApiKeyAuth: []
  35413. summary: 查询发票信息
  35414. tags:
  35415. - 仓单贸易v2
  35416. /WrTrade2/QueryXhcpSellBackApply:
  35417. get:
  35418. parameters:
  35419. - description: 用户ID
  35420. in: query
  35421. name: userid
  35422. required: true
  35423. type: integer
  35424. produces:
  35425. - application/json
  35426. responses:
  35427. "200":
  35428. description: OK
  35429. schema:
  35430. items:
  35431. $ref: '#/definitions/models.Xhcpsellbackapply'
  35432. type: array
  35433. "500":
  35434. description: Internal Server Error
  35435. schema:
  35436. $ref: '#/definitions/app.Response'
  35437. security:
  35438. - ApiKeyAuth: []
  35439. summary: 查询我的回收申请(新会陈皮)
  35440. tags:
  35441. - 仓单贸易v2
  35442. /ZJ/GetBankTip:
  35443. get:
  35444. produces:
  35445. - application/json
  35446. responses:
  35447. "200":
  35448. description: OK
  35449. schema:
  35450. type: string
  35451. "500":
  35452. description: Internal Server Error
  35453. schema:
  35454. $ref: '#/definitions/app.Response'
  35455. summary: 获取中江网银端出入金提示信息
  35456. tags:
  35457. - 中江
  35458. /ZJ/GetCusBankChannels:
  35459. get:
  35460. produces:
  35461. - application/json
  35462. responses:
  35463. "200":
  35464. description: OK
  35465. schema:
  35466. items:
  35467. type: string
  35468. type: array
  35469. "500":
  35470. description: Internal Server Error
  35471. schema:
  35472. $ref: '#/definitions/app.Response'
  35473. summary: 获取中江出入金渠道显示列表
  35474. tags:
  35475. - 中江
  35476. securityDefinitions:
  35477. ApiKeyAuth:
  35478. in: header
  35479. name: Authorization
  35480. type: apiKey
  35481. Group:
  35482. in: header
  35483. name: Group
  35484. type: apiKey
  35485. LoginID:
  35486. in: header
  35487. name: LoginID
  35488. type: apiKey
  35489. swagger: "2.0"