swagger.yaml 939 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814
  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.GZGoods:
  9647. properties:
  9648. address:
  9649. description: 详细地址
  9650. type: string
  9651. cerno:
  9652. description: 证书编号 - 类型:2,4,5
  9653. type: string
  9654. cityname:
  9655. description: 城市名称
  9656. type: string
  9657. countryname:
  9658. description: 国家名称
  9659. type: string
  9660. cpcertno:
  9661. description: 金伯利证书编号 - 类型:3
  9662. type: string
  9663. districtname:
  9664. description: 地区名称
  9665. type: string
  9666. goodsno:
  9667. description: 商品编号
  9668. type: string
  9669. imagepath:
  9670. description: 商品照片(相对地址)
  9671. type: string
  9672. isvalid:
  9673. description: 是否有效 - 0:无效 1:有效
  9674. type: integer
  9675. kppath:
  9676. description: 金伯利证书图片(相对地址) - 类型:3
  9677. type: string
  9678. kpweight:
  9679. description: 金伯利证书重量 - 类型:3
  9680. type: string
  9681. marketprice:
  9682. description: 市场价
  9683. type: string
  9684. mobile:
  9685. description: 手机号码
  9686. type: string
  9687. origin:
  9688. description: 原产地 - 类型:3
  9689. type: string
  9690. performancetemplateid:
  9691. description: 履约计划模板ID
  9692. type: integer
  9693. price:
  9694. description: 总价(价格) - 类型:1,2,3,4,5
  9695. type: number
  9696. priceper:
  9697. description: 克拉单价 - 类型:1,2,3,5
  9698. type: string
  9699. provincename:
  9700. description: 省名称
  9701. type: string
  9702. remainqty:
  9703. description: 剩余重量
  9704. type: number
  9705. remark:
  9706. description: 备注
  9707. type: string
  9708. sellusername:
  9709. description: 账户名称(机构名称)
  9710. type: string
  9711. settingmaterial:
  9712. description: 镶嵌材料 - 类型:4
  9713. type: string
  9714. size1:
  9715. description: 尺寸1 - 类型:2,4,5
  9716. type: string
  9717. size2:
  9718. description: 尺寸2 - 类型:2,4,5
  9719. type: string
  9720. size3:
  9721. description: 尺寸3 - 类型:2,4,5
  9722. type: string
  9723. sizedisplay:
  9724. description: 尺寸
  9725. type: string
  9726. stonedesc:
  9727. description: 配石描述 - 类型:4
  9728. type: string
  9729. userid:
  9730. description: 用户ID
  9731. type: integer
  9732. warehouseid:
  9733. description: 仓库ID
  9734. type: integer
  9735. warehousenamedisplay:
  9736. type: string
  9737. weight:
  9738. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9739. type: number
  9740. weightavg:
  9741. description: 平均单颗重量 - 类型:1,3
  9742. type: number
  9743. wrpath:
  9744. description: 仓单扫描件(相对地址)
  9745. type: string
  9746. wrstandardid:
  9747. description: 现货商品ID
  9748. type: integer
  9749. wrtradeorderid:
  9750. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  9751. type: string
  9752. zscategory:
  9753. description: 钻石分类 - 枚举”ZSCategory“
  9754. type: integer
  9755. zscategorydisplay:
  9756. type: string
  9757. zscerttype:
  9758. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9759. type: integer
  9760. zscerttypedisplay:
  9761. type: string
  9762. zsclaritytype1:
  9763. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9764. type: integer
  9765. zsclaritytype1display:
  9766. type: string
  9767. zsclaritytype2:
  9768. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9769. type: integer
  9770. zsclaritytype2display:
  9771. type: string
  9772. zscolortype1:
  9773. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9774. type: integer
  9775. zscolortype1display:
  9776. type: string
  9777. zscolortype2:
  9778. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9779. type: integer
  9780. zscolortype2display:
  9781. type: string
  9782. zscrystaltype:
  9783. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  9784. type: string
  9785. zscrystaltypedisplay:
  9786. type: string
  9787. zscurrencytype:
  9788. description: 货币类型 - 枚举“ZSCurrencyType”
  9789. type: integer
  9790. zscurrencytypedisplay:
  9791. type: string
  9792. zscurrencytypedisplayunit:
  9793. type: string
  9794. zscuttype1:
  9795. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  9796. type: integer
  9797. zscuttype1display:
  9798. type: string
  9799. zscuttype2:
  9800. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  9801. type: integer
  9802. zscuttype2display:
  9803. type: string
  9804. zsczcolor1type:
  9805. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  9806. type: integer
  9807. zsczcolor1typedisplay:
  9808. type: string
  9809. zsczcolor2type:
  9810. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  9811. type: integer
  9812. zsczcolor2typedisplay:
  9813. type: string
  9814. zsczcolor3type:
  9815. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  9816. type: integer
  9817. zsczcolor3typedisplay:
  9818. type: string
  9819. zsfluorescencetype1:
  9820. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  9821. type: integer
  9822. zsfluorescencetype1display:
  9823. type: string
  9824. zsfluorescencetype2:
  9825. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  9826. type: integer
  9827. zsfluorescencetype2display:
  9828. type: string
  9829. zspolishtype1:
  9830. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  9831. type: integer
  9832. zspolishtype1display:
  9833. type: string
  9834. zspolishtype2:
  9835. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  9836. type: integer
  9837. zspolishtype2display:
  9838. type: string
  9839. zsshapetype:
  9840. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  9841. type: string
  9842. zsshapetypedisplay:
  9843. type: string
  9844. zsstyletype:
  9845. description: 款式 - 类型:4
  9846. type: integer
  9847. zsstyletypedisplay:
  9848. type: string
  9849. zssymmetrytype1:
  9850. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  9851. type: integer
  9852. zssymmetrytype1display:
  9853. type: string
  9854. zssymmetrytype2:
  9855. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  9856. type: integer
  9857. zssymmetrytype2display:
  9858. type: string
  9859. required:
  9860. - goodsno
  9861. type: object
  9862. models.GZHomeData:
  9863. properties:
  9864. purchasedtransactions:
  9865. description: 已购买的交易
  9866. type: integer
  9867. transactioninpurchase:
  9868. description: 求购中的交易
  9869. type: integer
  9870. transactionsonsale:
  9871. description: 出售中的交易
  9872. type: integer
  9873. transactionssold:
  9874. description: 已卖出的交易
  9875. type: integer
  9876. unhandledmessage:
  9877. description: 未处理消息
  9878. type: integer
  9879. type: object
  9880. models.GZWarehouseinfo:
  9881. properties:
  9882. address:
  9883. description: 详细地址
  9884. type: string
  9885. areauserid:
  9886. description: 所属机构
  9887. type: integer
  9888. autoid:
  9889. description: 自增ID
  9890. type: integer
  9891. cityid:
  9892. description: 市
  9893. type: integer
  9894. cityname:
  9895. description: 城市名称
  9896. type: string
  9897. contactname:
  9898. description: 联系人
  9899. type: string
  9900. contactnum:
  9901. description: 联系电话
  9902. type: string
  9903. countryid:
  9904. description: 国家
  9905. type: integer
  9906. countryname:
  9907. description: 国家名称
  9908. type: string
  9909. createtime:
  9910. description: 创建时间
  9911. type: string
  9912. districtid:
  9913. description: 区
  9914. type: integer
  9915. districtname:
  9916. description: 地区名称
  9917. type: string
  9918. hasvideo:
  9919. description: 是否有视频 - 0:无 1:有
  9920. type: integer
  9921. provinceid:
  9922. description: 省
  9923. type: integer
  9924. provincename:
  9925. description: 省名称
  9926. type: string
  9927. remark:
  9928. description: 审核备注
  9929. type: string
  9930. videourl:
  9931. description: 视频地址
  9932. type: string
  9933. warehousecode:
  9934. description: 仓库代码
  9935. type: string
  9936. warehousename:
  9937. description: 仓库名称
  9938. type: string
  9939. warehousestatus:
  9940. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9941. type: integer
  9942. warehousetype:
  9943. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9944. type: integer
  9945. type: object
  9946. models.Goods:
  9947. properties:
  9948. agreeunit:
  9949. description: 合约单位
  9950. type: number
  9951. areauserid:
  9952. description: 所属机构
  9953. type: integer
  9954. auditaccountid:
  9955. description: 审核操作员账号
  9956. type: integer
  9957. audittime:
  9958. description: 审核时间
  9959. type: string
  9960. cancelaccountid:
  9961. description: 注销操作员账号
  9962. type: integer
  9963. canceltime:
  9964. description: 注销时间
  9965. type: string
  9966. closepricemode:
  9967. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9968. type: integer
  9969. closepriceparam:
  9970. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9971. type: number
  9972. createtime:
  9973. description: 创建时间
  9974. type: string
  9975. creatorid:
  9976. description: 创建人
  9977. type: integer
  9978. currencyid:
  9979. description: 报价货币ID
  9980. type: integer
  9981. cutmode:
  9982. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9983. type: integer
  9984. decimalplace:
  9985. description: 报价小数位
  9986. type: integer
  9987. delistingdate:
  9988. description: 商品退市时间(状态:退市) -- 已作废
  9989. type: string
  9990. delistingmode:
  9991. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9992. type: integer
  9993. deliveryflag:
  9994. description: 交割标志 - 0:不可交割 1:可交割
  9995. type: integer
  9996. forceclosemode:
  9997. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9998. type: integer
  9999. forceclosevalue:
  10000. description: 定期强平参数 [收益权]
  10001. type: integer
  10002. goodscode:
  10003. description: 商品代码(内部)
  10004. type: string
  10005. goodscurrencyid:
  10006. description: 合约货币ID
  10007. type: integer
  10008. goodsgroupid:
  10009. description: 所属商品组ID
  10010. type: integer
  10011. goodsid:
  10012. description: 商品ID(自增ID SEQ_GOODS)
  10013. type: integer
  10014. goodsname:
  10015. description: 商品名称
  10016. type: string
  10017. goodsquotetype:
  10018. description: '合约报价类型: 1-直接报价 2-间接报价'
  10019. type: integer
  10020. goodsstatus:
  10021. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10022. type: integer
  10023. goodstradetype:
  10024. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  10025. type: integer
  10026. goodunitid:
  10027. description: 报价单位ID
  10028. type: integer
  10029. hasquoter:
  10030. description: 是否有报价商 - 0:无报价商 1:有报价商
  10031. type: integer
  10032. hqprotecttime:
  10033. description: 行情保护时间(秒)
  10034. type: integer
  10035. innerdealmode:
  10036. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10037. type: integer
  10038. isbuylimited:
  10039. description: 是否限制建仓量 - 0:不限制 1:限制
  10040. type: integer
  10041. isvisible:
  10042. description: 游客是否可见 - 0:不可见 1:可见
  10043. type: integer
  10044. lasttradedate:
  10045. description: 最后交易日期(状态:待退市)
  10046. type: string
  10047. listingdate:
  10048. description: 交易开始日期
  10049. type: string
  10050. marketid:
  10051. description: 所属市场ID
  10052. type: integer
  10053. modifierid:
  10054. description: 修改人
  10055. type: integer
  10056. modifystatus:
  10057. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  10058. type: integer
  10059. modifytime:
  10060. description: 修改时间
  10061. type: string
  10062. outerdealmode:
  10063. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10064. type: integer
  10065. outgoodscode:
  10066. description: 商品代码(外部)
  10067. type: string
  10068. pictureurl:
  10069. description: 商品图片
  10070. type: string
  10071. qtydecimalplace:
  10072. description: 成交量小数位
  10073. type: integer
  10074. quotegear:
  10075. description: 行情档位(1-10)
  10076. type: integer
  10077. quoteminunit:
  10078. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10079. type: integer
  10080. quoteshowtype:
  10081. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10082. type: integer
  10083. quoteshowtypeinterval:
  10084. description: 行情报价间隔时间(秒)(成交价时为0)
  10085. type: integer
  10086. remark:
  10087. description: 备注
  10088. type: string
  10089. required:
  10090. - goodscode
  10091. - goodsid
  10092. - goodsname
  10093. - marketid
  10094. type: object
  10095. models.GoodsIDAndName:
  10096. properties:
  10097. goodscode:
  10098. description: 商品代码(内部)
  10099. type: string
  10100. goodsid:
  10101. description: 商品ID(自增ID SEQ_GOODS)
  10102. type: integer
  10103. goodsname:
  10104. description: 商品名称
  10105. type: string
  10106. marketid:
  10107. description: 所属市场ID
  10108. type: integer
  10109. required:
  10110. - goodscode
  10111. - goodsid
  10112. - goodsname
  10113. - marketid
  10114. type: object
  10115. models.Goodsgroup:
  10116. properties:
  10117. agreeunit:
  10118. description: 合约单位
  10119. type: number
  10120. canshort:
  10121. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10122. type: integer
  10123. closepricemode:
  10124. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10125. type: integer
  10126. closepriceparam:
  10127. description: 强平最新价浮动比例 - 方式为2时使用
  10128. type: number
  10129. createtime:
  10130. description: 创建时间
  10131. type: string
  10132. creatorid:
  10133. description: 创建人
  10134. type: integer
  10135. currencyid:
  10136. description: 报价货币ID
  10137. type: integer
  10138. decimalplace:
  10139. description: 报价小数位
  10140. type: integer
  10141. exercisetype:
  10142. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10143. type: integer
  10144. exexchangeid:
  10145. description: 外部交易所ID[通道交易]
  10146. type: integer
  10147. goodsgroupid:
  10148. description: 商品组ID(自增ID)
  10149. type: integer
  10150. goodsgroupname:
  10151. description: 商品组名称
  10152. type: string
  10153. goodsgroupstatus:
  10154. description: 商品组状态 - 1:正常 2:注销
  10155. type: integer
  10156. goodunitid:
  10157. description: 报价单位ID
  10158. type: integer
  10159. innerdealmode:
  10160. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10161. type: integer
  10162. isbuylimited:
  10163. description: 是否限制建仓量 - 0:不限制 1:限制
  10164. type: integer
  10165. marketid:
  10166. description: 所属市场ID
  10167. type: integer
  10168. modifierid:
  10169. description: 修改人
  10170. type: integer
  10171. modifytime:
  10172. description: 修改时间
  10173. type: string
  10174. outerdealmode:
  10175. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10176. type: integer
  10177. outergroupcode:
  10178. description: 外部商品组代码[通道交易]
  10179. type: string
  10180. premiumdecimalplace:
  10181. description: 权利金小数位[场外期权]
  10182. type: integer
  10183. premiumspreadalgorithm:
  10184. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10185. type: integer
  10186. premiumspreadvalue:
  10187. description: 权利金点差值[场外期权]
  10188. type: number
  10189. qtydecimalplace:
  10190. description: 成交量小数位
  10191. type: integer
  10192. quotegear:
  10193. description: 行情档位(1-10)
  10194. type: integer
  10195. quoteminunit:
  10196. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10197. type: integer
  10198. quoterid:
  10199. description: 报价商ID[场外期权]
  10200. type: integer
  10201. quotesourcegroupid:
  10202. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10203. type: integer
  10204. syncgoodsqty:
  10205. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10206. type: integer
  10207. required:
  10208. - goodsgroupid
  10209. - goodsgroupname
  10210. - goodsgroupstatus
  10211. - marketid
  10212. type: object
  10213. models.Goodssortbypreposition:
  10214. properties:
  10215. goodscode:
  10216. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10217. type: string
  10218. goodsgroupcode:
  10219. description: 品种代码
  10220. type: string
  10221. prepositionqty:
  10222. description: 昨持仓量
  10223. type: integer
  10224. sortindex:
  10225. description: 排序
  10226. type: integer
  10227. tradedate:
  10228. description: 交易日
  10229. type: string
  10230. updatetime:
  10231. description: 更新时间
  10232. type: string
  10233. required:
  10234. - goodscode
  10235. - tradedate
  10236. type: object
  10237. models.GzbsfworderM:
  10238. properties:
  10239. accountid:
  10240. description: 资金账户ID
  10241. type: integer
  10242. addresscn:
  10243. description: 地址(中文)
  10244. type: string
  10245. addressen:
  10246. description: 地址(英文)
  10247. type: string
  10248. advanceamount:
  10249. description: 总预付款
  10250. type: number
  10251. colorrange:
  10252. description: 颜色范围
  10253. type: string
  10254. companynamecn:
  10255. description: 收货人(中文)
  10256. type: string
  10257. companynameen:
  10258. description: 收货人(英文)
  10259. type: string
  10260. contactfax:
  10261. description: 收货人传真
  10262. type: string
  10263. contactname:
  10264. description: 收货人姓名
  10265. type: string
  10266. contactphoneno:
  10267. description: 收货人电话
  10268. type: string
  10269. contentrange:
  10270. description: 【内容】内容范围
  10271. type: string
  10272. createtime:
  10273. description: 创建时间
  10274. type: string
  10275. executestatus:
  10276. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10277. type: integer
  10278. gzbsdeliverytype:
  10279. description: 收货方式 - 枚举"GZBSDeliveryType"
  10280. type: integer
  10281. gzbsstatus:
  10282. description: 单据状态(保税服务) - 枚举"GZBSStatus"
  10283. type: integer
  10284. gzbsstatusdisplay:
  10285. description: 单据状态
  10286. type: string
  10287. handlestatus:
  10288. description: 处理状态
  10289. type: integer
  10290. orderdate:
  10291. description: 单据日期
  10292. type: string
  10293. orderid:
  10294. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10295. type: integer
  10296. orderno:
  10297. description: 单据编号 - GZDEBSFW+单据流水号
  10298. type: string
  10299. ordersn:
  10300. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10301. type: string
  10302. origincountry:
  10303. description: 原产国
  10304. type: string
  10305. otherlogistics:
  10306. description: 指定其它物流
  10307. type: string
  10308. priceper:
  10309. description: 单价(美元/克拉) = 总值(美元) / 总净重(克拉)
  10310. type: number
  10311. settleamount:
  10312. description: 总结算费用 - 实际扣除资金,不含税费保证金
  10313. type: number
  10314. shaperange:
  10315. description: 形状范围
  10316. type: string
  10317. taxmargin:
  10318. description: 税费保证金 - 确认结算费用时退回
  10319. type: number
  10320. totalamount:
  10321. description: 总值(美元)
  10322. type: number
  10323. totalgrossweightgm:
  10324. description: 总毛重(克)
  10325. type: number
  10326. totalnetweightgm:
  10327. description: 总净重(克)
  10328. type: number
  10329. totalnetweigthct:
  10330. description: 总净重(克拉)
  10331. type: number
  10332. totalnumber:
  10333. description: 总粒数
  10334. type: integer
  10335. userid:
  10336. description: 用户ID
  10337. type: integer
  10338. weightrange:
  10339. description: 重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)
  10340. type: string
  10341. required:
  10342. - userid
  10343. type: object
  10344. models.GzbsfworderdetailM:
  10345. properties:
  10346. colorinfo:
  10347. description: 彩钻信息
  10348. type: string
  10349. createtime:
  10350. description: 创建时间
  10351. type: string
  10352. grossweightgm:
  10353. description: 毛重(克)
  10354. type: number
  10355. gzcjshape:
  10356. description: 形状(字符)
  10357. type: string
  10358. netweigthct:
  10359. description: 净重(克拉)
  10360. type: number
  10361. netweigthgm:
  10362. description: 净重(克)
  10363. type: number
  10364. ordercontent:
  10365. description: 内容
  10366. type: string
  10367. orderdetailid:
  10368. description: 单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)
  10369. type: integer
  10370. orderid:
  10371. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10372. type: integer
  10373. orderindex:
  10374. description: 顺序
  10375. type: integer
  10376. perprice:
  10377. description: 单价(美元/克拉) = 总值(美元) / 净重(克拉)
  10378. type: number
  10379. remark:
  10380. description: 备注(其它)
  10381. type: string
  10382. totalamount:
  10383. description: 总值(美元)
  10384. type: number
  10385. type: object
  10386. models.Gzbsfworderoperate:
  10387. properties:
  10388. advanceproofaddr:
  10389. description: 预付款收款凭证(确认结算费用时)
  10390. type: string
  10391. bankfee:
  10392. description: 汇款银行手续费
  10393. type: number
  10394. bankproofaddr:
  10395. description: 广钻汇款银行手续费凭证(确认结算费用时)
  10396. type: string
  10397. customsproofaddr:
  10398. description: 海关税费保证金收据(确认结算费用时)
  10399. type: string
  10400. gzbsstatus:
  10401. description: 操作后单据状态 - 枚举"GZBSStatus"
  10402. type: integer
  10403. logisticsfee:
  10404. description: 代缴物流保险费
  10405. type: number
  10406. logisticsproofaddr:
  10407. description: 代缴物流保险费凭证(确认结算费用时)
  10408. type: string
  10409. operatetime:
  10410. description: 操作时间
  10411. type: string
  10412. operatoraccount:
  10413. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10414. type: string
  10415. operatorid:
  10416. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10417. type: integer
  10418. operatorname:
  10419. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  10420. type: string
  10421. operatorsrc:
  10422. description: 操作人来源 - 1:管理端 2:终端
  10423. type: integer
  10424. orderid:
  10425. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10426. type: integer
  10427. otherfee:
  10428. description: 其它费用
  10429. type: number
  10430. remark:
  10431. description: 操作备注
  10432. type: string
  10433. servicefee:
  10434. description: 综合服务费
  10435. type: number
  10436. taxmargin:
  10437. description: 税费保证金
  10438. type: number
  10439. totalfee:
  10440. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  10441. type: number
  10442. required:
  10443. - orderid
  10444. type: object
  10445. models.Gzcertaddressconfig:
  10446. properties:
  10447. certregion:
  10448. description: 证书地域 - 1:国内 2:国际
  10449. type: integer
  10450. certtype:
  10451. description: 证书类型
  10452. type: string
  10453. orderindex:
  10454. description: 显示顺序
  10455. type: integer
  10456. orgcnname:
  10457. description: 机构名称(中文)
  10458. type: string
  10459. orgenname:
  10460. description: 机构名称(英文)
  10461. type: string
  10462. queryaddress:
  10463. description: 查询地址
  10464. type: string
  10465. remark:
  10466. description: 备注
  10467. type: string
  10468. updatetime:
  10469. description: 更新时间
  10470. type: string
  10471. type: object
  10472. models.Gzcertaddressparam:
  10473. properties:
  10474. certtype:
  10475. description: 证书类型
  10476. type: string
  10477. orderindex:
  10478. description: 参数顺序
  10479. type: integer
  10480. paramkey:
  10481. description: 参数Key
  10482. type: string
  10483. paramname:
  10484. description: 参数名称
  10485. type: string
  10486. updatetime:
  10487. description: 更新时间
  10488. type: string
  10489. type: object
  10490. models.GzcjbsorderfileM:
  10491. properties:
  10492. canmembervisit:
  10493. description: 会员是否可访问 - 1:可 2:不可
  10494. type: integer
  10495. fileaddress:
  10496. description: 文件地址
  10497. type: string
  10498. filegentype:
  10499. description: 文件生成类型 - 1:系统生成 2:手动上传
  10500. type: integer
  10501. filename:
  10502. description: 文件名称
  10503. type: string
  10504. operatetime:
  10505. description: 操作时间
  10506. type: string
  10507. operatoraccount:
  10508. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10509. type: string
  10510. operatorid:
  10511. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10512. type: integer
  10513. operatorsrc:
  10514. description: 操作人来源 - 1:管理端 2:终端
  10515. type: integer
  10516. orderfileid:
  10517. description: 单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)
  10518. type: integer
  10519. orderid:
  10520. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10521. type: integer
  10522. required:
  10523. - orderid
  10524. type: object
  10525. models.GzcjjcorderM:
  10526. properties:
  10527. accountid:
  10528. description: 资金账户ID
  10529. type: integer
  10530. addresscn:
  10531. description: 地址(中文)
  10532. type: string
  10533. addressen:
  10534. description: 地址(英文)
  10535. type: string
  10536. advanceamount:
  10537. description: 总预付款
  10538. type: number
  10539. colorrange:
  10540. description: 颜色范围
  10541. type: string
  10542. companynamecn:
  10543. description: 公司名称(中文)
  10544. type: string
  10545. companynameen:
  10546. description: 公司名称(英文)
  10547. type: string
  10548. contactname:
  10549. description: 联系人姓名
  10550. type: string
  10551. contactphoneno:
  10552. description: 联系人电话
  10553. type: string
  10554. contactposition:
  10555. description: 联系人职位
  10556. type: string
  10557. createtime:
  10558. description: 创建时间
  10559. type: string
  10560. email:
  10561. description: 邮箱
  10562. type: string
  10563. executestatus:
  10564. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10565. type: integer
  10566. gzcjaccount:
  10567. description: 送检账户
  10568. type: string
  10569. gzcjaccounttype:
  10570. description: 检测账户类型 - 枚举"GZCJAccountType"
  10571. type: integer
  10572. gzcjcategorytype:
  10573. description: 货物品类 - 枚举"GZCJCategoryType"
  10574. type: integer
  10575. gzcjcategorytypedisplay:
  10576. description: 货物品类
  10577. type: string
  10578. gzcjdeliverytype:
  10579. description: 收货方式 - 枚举"GZCJDeliveryType"
  10580. type: integer
  10581. gzcjdeliverytypedisplay:
  10582. description: 收货方式
  10583. type: string
  10584. gzcjstatus:
  10585. description: 单据状态(出境检测) - 枚举"GZCJStatus"
  10586. type: integer
  10587. gzcjstatusdisplay:
  10588. description: 单据状态(出境检测)
  10589. type: string
  10590. handlestatus:
  10591. description: 处理状态
  10592. type: integer
  10593. invoiceremark:
  10594. description: 复核备注 - 发票装箱单使用
  10595. type: string
  10596. orderid:
  10597. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10598. type: integer
  10599. orderno:
  10600. description: 单据编号 - 合同编号:GZDECJJC+单据流水号
  10601. type: string
  10602. ordersn:
  10603. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10604. type: string
  10605. origincountry:
  10606. description: 原产国
  10607. type: string
  10608. processingcountry:
  10609. description: 成品钻石加工国
  10610. type: string
  10611. realservicefee:
  10612. description: 应收综合服务费
  10613. type: number
  10614. servicefeesum:
  10615. description: 汇总综合服务费 - 明细上值汇总
  10616. type: number
  10617. settleamount:
  10618. description: 总结算费用
  10619. type: number
  10620. shaperange:
  10621. description: 形状范围
  10622. type: string
  10623. totalamount:
  10624. description: 总金额(美元)
  10625. type: number
  10626. totalgrossweight:
  10627. description: 总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整)
  10628. * 200
  10629. type: number
  10630. totalnumber:
  10631. description: 总粒数
  10632. type: integer
  10633. totalweight:
  10634. description: 总克拉数(保留3位小数)
  10635. type: number
  10636. totalweightgm:
  10637. description: 总净重(克) = TotalWeight * 0.2 (2位小数)
  10638. type: number
  10639. userid:
  10640. description: 用户ID
  10641. type: integer
  10642. weightrange:
  10643. description: 重量规格范围 - Min(Weight) - Max(Weight)
  10644. type: string
  10645. zsorigin:
  10646. description: 天然钻石毛坯原产地
  10647. type: string
  10648. required:
  10649. - userid
  10650. type: object
  10651. models.GzcjjcorderdetailM:
  10652. properties:
  10653. amount:
  10654. description: 参考货值(USD)
  10655. type: number
  10656. colorinfo:
  10657. description: 彩钻信息
  10658. type: string
  10659. createtime:
  10660. description: 创建时间
  10661. type: string
  10662. gzcjmarktype:
  10663. description: 刻印服务 - 枚举"GZCJMarkType" 【送检账户为“广钻账户”】
  10664. type: integer
  10665. gzcjpublishtype:
  10666. description: 是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】
  10667. type: integer
  10668. gzcjpublishtypestring:
  10669. description: 是否披露处理 - 枚举 GZCJPublishType 对应的显示值
  10670. type: string
  10671. gzcjservicetype:
  10672. description: 服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】
  10673. type: integer
  10674. gzcjservicetypestring:
  10675. description: 服务类别 - 枚举 GZCJServiceType 对应的显示值
  10676. type: string
  10677. gzcjshapetype:
  10678. description: 形状 - 枚举"GZCJShapeType"
  10679. type: integer
  10680. gzcjshapetypestring:
  10681. description: 形状(字符) - 枚举"GZCJShapeType"对应的显示值
  10682. type: string
  10683. gzno:
  10684. description: 货物编号
  10685. type: string
  10686. orderdetailid:
  10687. description: 单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)
  10688. type: integer
  10689. orderid:
  10690. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10691. type: integer
  10692. orderindex:
  10693. description: 顺序
  10694. type: integer
  10695. origincertno:
  10696. description: 原证书号【送检账户为“广钻账户”】
  10697. type: string
  10698. remark:
  10699. description: 备注(其它)
  10700. type: string
  10701. servicefee:
  10702. description: 综合服务费 - 根据市场配置计算
  10703. type: number
  10704. weight:
  10705. description: 重量(CT)
  10706. type: number
  10707. type: object
  10708. models.Gzrapaportprice:
  10709. properties:
  10710. dollar:
  10711. description: 美元
  10712. type: string
  10713. rmb:
  10714. description: 人民币
  10715. type: string
  10716. type: object
  10717. models.Hedgeinnerholderdetail:
  10718. properties:
  10719. accountid:
  10720. description: 账号ID
  10721. type: integer
  10722. buyorsell:
  10723. description: 方向 - 0:买 1:卖
  10724. type: integer
  10725. freezeqty:
  10726. description: 冻结数量 - 按单平使用
  10727. type: integer
  10728. goodsid:
  10729. description: 商品ID
  10730. type: integer
  10731. holderamount:
  10732. description: 持仓金额 [商品币种]
  10733. type: number
  10734. holderdays:
  10735. description: 剩余冻结天数
  10736. type: integer
  10737. holderprice:
  10738. description: 持仓价格
  10739. type: number
  10740. holderqty:
  10741. description: 持仓数量
  10742. type: integer
  10743. marketid:
  10744. description: 市场ID
  10745. type: integer
  10746. openprice:
  10747. description: 建仓价格
  10748. type: number
  10749. openqty:
  10750. description: 建仓数量
  10751. type: integer
  10752. parentaccountid:
  10753. description: 所属母账户
  10754. type: integer
  10755. releaseamount:
  10756. description: 释放持仓金额[商品币种]
  10757. type: number
  10758. tradeamount:
  10759. description: 成交金额[账户]
  10760. type: number
  10761. tradedate:
  10762. description: 交易日(yyyyMMdd)
  10763. type: string
  10764. tradeid:
  10765. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10766. type: string
  10767. tradetime:
  10768. description: 交易时间
  10769. type: string
  10770. required:
  10771. - buyorsell
  10772. - tradeid
  10773. type: object
  10774. models.Hedgemarketopenlog:
  10775. properties:
  10776. accountid:
  10777. description: 资金账号[外部母账户]
  10778. type: integer
  10779. fcname:
  10780. description: 期货公司名称
  10781. type: string
  10782. handlestatus:
  10783. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10784. type: integer
  10785. marketid:
  10786. description: 市场ID
  10787. type: integer
  10788. status:
  10789. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10790. type: integer
  10791. tradedate:
  10792. description: 交易日(yyyyMMdd)
  10793. type: string
  10794. updatetime:
  10795. description: 更新时间
  10796. type: string
  10797. required:
  10798. - accountid
  10799. type: object
  10800. models.InternalEnableTradeDetail:
  10801. properties:
  10802. agreeunit:
  10803. description: 合约乘数
  10804. type: number
  10805. areauserid:
  10806. description: 企业ID
  10807. type: integer
  10808. convertratio:
  10809. description: 品种系数
  10810. type: number
  10811. deliverygoodscode:
  10812. description: 现货品种代码
  10813. type: string
  10814. deliverygoodsid:
  10815. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10816. type: integer
  10817. deliverygoodsname:
  10818. description: 现货品种名称
  10819. type: string
  10820. futurehedgeqty:
  10821. description: '[已关联数量]期货持仓套期量'
  10822. type: number
  10823. goodsid:
  10824. description: 期货合约ID
  10825. type: integer
  10826. hedgeditemid:
  10827. description: 被套期项目ID
  10828. type: string
  10829. hedgeditemnum:
  10830. description: 项目编号
  10831. type: string
  10832. tradeuserid:
  10833. description: 交易用户ID
  10834. type: integer
  10835. unexehedgeqty:
  10836. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10837. type: number
  10838. unexespotqty:
  10839. description: 未执行现货量
  10840. type: number
  10841. wrstandardcode:
  10842. description: 现货品类代码
  10843. type: string
  10844. wrstandardid:
  10845. description: 现货品类ID(SEQ_WRSTANDARD)
  10846. type: integer
  10847. wrstandardname:
  10848. description: 现货品类名称
  10849. type: string
  10850. required:
  10851. - areauserid
  10852. - goodsid
  10853. - tradeuserid
  10854. type: object
  10855. models.InternalUncorrelatedTradeDetail:
  10856. properties:
  10857. accountid:
  10858. description: 账号ID
  10859. type: integer
  10860. accountname:
  10861. description: 套期主体
  10862. type: string
  10863. agreeunit:
  10864. description: 合约乘数
  10865. type: number
  10866. areauserid:
  10867. description: 所属机构
  10868. type: integer
  10869. bizsubjectid:
  10870. description: 归属业务部门ID - SubjectID
  10871. type: integer
  10872. buyorsell:
  10873. description: 方向 - 0:买 1:卖
  10874. type: integer
  10875. channelbuildtype:
  10876. description: 委托单据类型 0:无 1:建仓 2:平仓
  10877. type: integer
  10878. convertratio:
  10879. description: 品种系数
  10880. type: number
  10881. createtime:
  10882. description: 创建时间
  10883. type: string
  10884. creatorid:
  10885. description: 创建人ID
  10886. type: integer
  10887. creatorsrc:
  10888. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10889. type: integer
  10890. enableqty:
  10891. description: 项目可关联数量 = 套保品种数量 - 关联数量
  10892. type: number
  10893. enumdicname:
  10894. description: 单位
  10895. type: string
  10896. goodscode:
  10897. description: 合约代码
  10898. type: string
  10899. goodsgroupid:
  10900. description: 对冲品种ID[期货合约商品组ID]
  10901. type: integer
  10902. goodsid:
  10903. description: 商品ID
  10904. type: integer
  10905. goodsname:
  10906. description: 合约名称
  10907. type: string
  10908. hedgeditemid:
  10909. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10910. type: integer
  10911. hedgeflag:
  10912. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10913. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10914. type: integer
  10915. linkdetailid:
  10916. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10917. type: string
  10918. linkstatus:
  10919. description: 关联状态 - 1:成功 2:失败 3:解绑
  10920. type: integer
  10921. middlegoodsid:
  10922. description: 套保品种ID
  10923. type: integer
  10924. middlegoodsqty:
  10925. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  10926. type: number
  10927. relatedlot:
  10928. description: '[数量]关联手数'
  10929. type: number
  10930. relatedmode:
  10931. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10932. type: integer
  10933. relatedqty:
  10934. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  10935. type: number
  10936. retcode:
  10937. description: 返回码
  10938. type: integer
  10939. saleuserid:
  10940. description: 业务员ID
  10941. type: integer
  10942. tradedate:
  10943. description: 关联交易日(yyyyMMdd)
  10944. type: string
  10945. tradeid:
  10946. description: 成交单号
  10947. type: string
  10948. tradelot:
  10949. description: 成交手数
  10950. type: integer
  10951. tradeprice:
  10952. description: 成交价
  10953. type: number
  10954. tradetime:
  10955. description: 成交时间
  10956. type: string
  10957. tradetradedate:
  10958. description: 成交交易日(yyyyMMdd)
  10959. type: string
  10960. tradeuserid:
  10961. description: 交易用户ID
  10962. type: integer
  10963. type: object
  10964. models.Loginaccount:
  10965. properties:
  10966. accountname:
  10967. description: 账户名称
  10968. type: string
  10969. canoutin:
  10970. description: 是否可出入金 - 0:不可 1:可
  10971. type: integer
  10972. clientroleid:
  10973. description: 终端角色ID
  10974. type: integer
  10975. haslogined:
  10976. description: 是否已登录 - 0:未登录 1:已登录
  10977. type: integer
  10978. hasupdatedpwd:
  10979. description: 是否已更改密码 - 0:未修改 1:已修改
  10980. type: integer
  10981. lastloginip:
  10982. description: 最新登录地址
  10983. type: string
  10984. lastloginmode:
  10985. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10986. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10987. type: integer
  10988. lastloginremark:
  10989. description: 最新登录描述
  10990. type: string
  10991. lastlogintime:
  10992. description: 最新登录时间
  10993. type: string
  10994. logincode:
  10995. description: 登录代码
  10996. type: string
  10997. loginfailnum:
  10998. description: 连续登录失败次数(登录成功时清零)
  10999. type: integer
  11000. loginid:
  11001. description: 登陆账号
  11002. type: integer
  11003. loginport:
  11004. description: 最新登录端口
  11005. type: integer
  11006. loginstatus:
  11007. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  11008. type: integer
  11009. loginusertype:
  11010. description: 登录账号类型 - 1:投资者 2:机构交易员
  11011. type: integer
  11012. mobile:
  11013. description: 手机号码(加密存储)
  11014. type: string
  11015. modifierid:
  11016. description: 修改人
  11017. type: integer
  11018. modifysrc:
  11019. description: 审核来源 - 1:管理端 2:终端
  11020. type: integer
  11021. modifytime:
  11022. description: 修改时间
  11023. type: string
  11024. pwdwrongcount:
  11025. description: 密码错误次数
  11026. type: integer
  11027. relateduserid:
  11028. description: 关联用户ID(机构)
  11029. type: integer
  11030. taaccountrighttype:
  11031. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11032. type: integer
  11033. unfreezetime:
  11034. description: 账户解冻时间
  11035. type: string
  11036. userid:
  11037. description: 用户ID
  11038. type: integer
  11039. required:
  11040. - loginid
  11041. type: object
  11042. models.MainAccountInfo:
  11043. properties:
  11044. accountid:
  11045. description: 账号id
  11046. type: integer
  11047. accountname:
  11048. description: 账号名称(taaccount表中的名称)
  11049. type: string
  11050. appid:
  11051. description: AppID
  11052. type: string
  11053. authcode:
  11054. description: 授权码
  11055. type: string
  11056. brokerid:
  11057. description: 经纪商id
  11058. type: string
  11059. fcid:
  11060. description: 期货公司id
  11061. type: integer
  11062. fcname:
  11063. description: 期货公司代码
  11064. type: string
  11065. hedgeaccountcode:
  11066. description: 外部账号代码(主账号登录代码)
  11067. type: string
  11068. hedgeaccountpwd:
  11069. description: 密码
  11070. type: string
  11071. ismain:
  11072. description: 是否主账号
  11073. type: integer
  11074. relateduserid:
  11075. description: 关联用户id
  11076. type: integer
  11077. userid:
  11078. description: 关联用户id
  11079. type: integer
  11080. type: object
  11081. models.Market:
  11082. properties:
  11083. auctionwrtype:
  11084. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11085. type: integer
  11086. canacceptquote:
  11087. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11088. type: integer
  11089. cangoodsexercise:
  11090. description: '[期权]是否可现货行权- 0:否 1:是'
  11091. type: integer
  11092. cangoodsexercisetype:
  11093. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11094. type: integer
  11095. canmanualquotestrike:
  11096. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11097. type: integer
  11098. canmutistage:
  11099. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11100. type: integer
  11101. canpreexercise:
  11102. description: '[期权]是否可预申报- 0:否 1:是'
  11103. type: integer
  11104. clearinterval:
  11105. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11106. type: integer
  11107. contracttmp:
  11108. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11109. type: string
  11110. exchareaid:
  11111. description: 所属交易所,可以没有
  11112. type: integer
  11113. goodstype:
  11114. description: 商品类型 - 1:交易商品 2:仓单商品
  11115. type: integer
  11116. hasrebate:
  11117. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11118. type: integer
  11119. hastradecredit:
  11120. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11121. type: integer
  11122. haswr:
  11123. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11124. type: integer
  11125. isdeductmargin:
  11126. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11127. type: integer
  11128. isrecordsource:
  11129. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11130. type: integer
  11131. isreleasemargin:
  11132. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11133. type: integer
  11134. marginformula:
  11135. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11136. type: integer
  11137. marginformula2:
  11138. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11139. type: integer
  11140. marketid:
  11141. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11142. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11143. type: integer
  11144. marketname:
  11145. description: 市场名称
  11146. type: string
  11147. marketserviceid:
  11148. description: 市场服务ID
  11149. type: integer
  11150. marketstatus:
  11151. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11152. type: integer
  11153. markettype:
  11154. description: 市场类型- 1:非交易服务 2:交易服务
  11155. type: integer
  11156. matchermode:
  11157. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11158. type: integer
  11159. openmethod:
  11160. description: 开盘模式 - 0 自动 1手动
  11161. type: integer
  11162. otcuserid:
  11163. description: 场外期权做市商[场外期权]
  11164. type: integer
  11165. outersynctime:
  11166. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11167. type: string
  11168. pendingflag:
  11169. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11170. type: integer
  11171. pendingtime:
  11172. description: 待开市时间[通道交易-对冲](HH:mm)
  11173. type: string
  11174. performancetempid:
  11175. description: 履约计划模板ID - 作废
  11176. type: integer
  11177. premiumquotemode:
  11178. description: 权利金报价方式 - 1:自动 2:手动
  11179. type: integer
  11180. rebateratio:
  11181. description: 返利比率[竞价式]
  11182. type: number
  11183. reckonorder:
  11184. description: 结算顺序
  11185. type: integer
  11186. reckonpricealgorithm:
  11187. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11188. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11189. type: integer
  11190. reckonpriceparam:
  11191. description: 结算价参数
  11192. type: integer
  11193. reckontime:
  11194. description: 结算时间[通道交易-对冲](HH:mm)
  11195. type: string
  11196. roleprioritytype:
  11197. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11198. type: integer
  11199. selllistingauditflag:
  11200. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11201. type: integer
  11202. trademarkettype:
  11203. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11204. type: integer
  11205. trademode:
  11206. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11207. 21:竞拍-大宗式 22:受托竞价
  11208. type: integer
  11209. tradeproperty:
  11210. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11211. 8:场外期权
  11212. type: integer
  11213. tradetype:
  11214. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11215. type: integer
  11216. required:
  11217. - marketid
  11218. - marketstatus
  11219. - openmethod
  11220. - reckonpricealgorithm
  11221. - trademode
  11222. - tradeproperty
  11223. type: object
  11224. models.Marketcalendar:
  11225. properties:
  11226. holidaydate:
  11227. description: 节假日期(yyyy-MM-dd)
  11228. type: string
  11229. marketid:
  11230. description: 市场ID
  11231. type: integer
  11232. type: object
  11233. models.Marketrun:
  11234. properties:
  11235. afternexttradedate:
  11236. description: 下下交易日
  11237. type: string
  11238. clearquoteflag:
  11239. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11240. type: integer
  11241. lastreckondate:
  11242. description: 最新交易日(结算成功)
  11243. type: string
  11244. machinedate:
  11245. description: 机器时间
  11246. type: string
  11247. manualflag:
  11248. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11249. type: integer
  11250. marketid:
  11251. description: 市场ID
  11252. type: integer
  11253. nexttradedate:
  11254. description: 下一交易日
  11255. type: string
  11256. pretradedate:
  11257. description: 上一交易日
  11258. type: string
  11259. reckonflag:
  11260. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11261. type: integer
  11262. runstatus:
  11263. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11264. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11265. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11266. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11267. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11268. 62.今日免清算
  11269. type: integer
  11270. sectionid:
  11271. description: 时间段号[多时段时用]
  11272. type: integer
  11273. tradedate:
  11274. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11275. type: string
  11276. tradedate2:
  11277. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11278. type: string
  11279. updatetime:
  11280. description: 更新时间
  11281. type: string
  11282. required:
  11283. - marketid
  11284. - nexttradedate
  11285. - reckonflag
  11286. - runstatus
  11287. - tradedate
  11288. - tradedate2
  11289. type: object
  11290. models.Messageboard:
  11291. properties:
  11292. contactnum:
  11293. description: 联系电话
  11294. type: string
  11295. createtime:
  11296. description: 创建时间
  11297. type: string
  11298. message:
  11299. description: 留言信息
  11300. type: string
  11301. messageboardid:
  11302. description: 留言簿ID(SEQ_MessageBoard)
  11303. type: integer
  11304. userid:
  11305. description: 用户ID
  11306. type: integer
  11307. required:
  11308. - messageboardid
  11309. type: object
  11310. models.MyBargainApply:
  11311. properties:
  11312. accountid:
  11313. description: 摘牌资金账号
  11314. type: integer
  11315. applyprice:
  11316. description: 申请价格
  11317. type: string
  11318. applyremark:
  11319. description: 申请备注
  11320. type: string
  11321. applystatus:
  11322. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11323. type: integer
  11324. applytime:
  11325. description: 申请时间
  11326. type: string
  11327. buyorsell:
  11328. description: 买卖 - 0:买 1:卖
  11329. type: integer
  11330. buyusername:
  11331. description: 买方
  11332. type: string
  11333. confirmprice:
  11334. description: 可接受价格(拒绝时填写)-作废
  11335. type: number
  11336. confirmqty:
  11337. description: 可接受数量(拒绝时填写)-作废
  11338. type: integer
  11339. confirmremark:
  11340. description: 确认备注
  11341. type: string
  11342. confirmtime:
  11343. description: 确认时间
  11344. type: string
  11345. confirmuserid:
  11346. description: 确认人
  11347. type: integer
  11348. goodsno:
  11349. description: 商品编号
  11350. type: string
  11351. handlestatus:
  11352. description: 处理状态
  11353. type: integer
  11354. ladingbillid:
  11355. description: 摘牌方提单ID [卖]
  11356. type: integer
  11357. marketid:
  11358. description: 市场ID
  11359. type: integer
  11360. matchaccountid:
  11361. description: 挂牌方资金账号
  11362. type: integer
  11363. matchuserid:
  11364. description: 挂牌方用户ID
  11365. type: integer
  11366. performancetemplateid:
  11367. description: 履约计划模板ID
  11368. type: integer
  11369. price:
  11370. description: 价格
  11371. type: number
  11372. priceper:
  11373. description: 克拉单价 - 类型:1,2,3,5
  11374. type: string
  11375. qty:
  11376. description: 申请数量
  11377. type: number
  11378. refprice:
  11379. description: 参考价格
  11380. type: string
  11381. retcode:
  11382. description: 委托返回代码
  11383. type: integer
  11384. sellusername:
  11385. description: 卖方
  11386. type: string
  11387. sizedisplay:
  11388. description: 尺寸
  11389. type: string
  11390. subnum:
  11391. description: 摘牌方提单子单号 [卖]
  11392. type: integer
  11393. tradedate:
  11394. description: 交易日(yyyyMMdd)
  11395. type: string
  11396. userid:
  11397. description: 摘牌人用户ID
  11398. type: integer
  11399. warehousenamedisplay:
  11400. type: string
  11401. wrbargainid:
  11402. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  11403. type: string
  11404. wrtradeorderid:
  11405. description: 关联委托单ID
  11406. type: string
  11407. zscerttypedisplay:
  11408. type: string
  11409. zsclaritytype1display:
  11410. type: string
  11411. zsclaritytype2display:
  11412. type: string
  11413. zscolortype1display:
  11414. type: string
  11415. zscolortype2display:
  11416. type: string
  11417. zscrystaltypedisplay:
  11418. type: string
  11419. zscurrencytypedisplay:
  11420. type: string
  11421. zscurrencytypedisplayunit:
  11422. type: string
  11423. zscuttype1display:
  11424. type: string
  11425. zscuttype2display:
  11426. type: string
  11427. zsczcolor1typedisplay:
  11428. type: string
  11429. zsczcolor2typedisplay:
  11430. type: string
  11431. zsczcolor3typedisplay:
  11432. type: string
  11433. zsfluorescencetype1display:
  11434. type: string
  11435. zsfluorescencetype2display:
  11436. type: string
  11437. zspolishtype1display:
  11438. type: string
  11439. zspolishtype2display:
  11440. type: string
  11441. zsshapetypedisplay:
  11442. type: string
  11443. zsstyletypedisplay:
  11444. type: string
  11445. zssymmetrytype1display:
  11446. type: string
  11447. zssymmetrytype2display:
  11448. type: string
  11449. required:
  11450. - userid
  11451. type: object
  11452. models.MyBuyOrder:
  11453. properties:
  11454. accountid:
  11455. description: 资金账户ID
  11456. type: integer
  11457. marketid:
  11458. description: 市场ID
  11459. type: integer
  11460. ordertime:
  11461. description: 委托时间
  11462. type: string
  11463. origin:
  11464. description: 原产地
  11465. type: string
  11466. performancetemplateid:
  11467. description: 履约计划模板ID
  11468. type: integer
  11469. remark:
  11470. description: 备注
  11471. type: string
  11472. userid:
  11473. description: 用户ID
  11474. type: integer
  11475. validtime:
  11476. description: 有效期限
  11477. type: string
  11478. warehouseids:
  11479. description: 仓库ID - 多个, 逗号分隔
  11480. type: string
  11481. warehouseinfosdisplay:
  11482. type: string
  11483. wrtradeorderid:
  11484. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  11485. type: string
  11486. wrtradeorderstatus:
  11487. 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、
  11488. type: integer
  11489. zscategory:
  11490. description: 钻石分类 - 枚举”ZSCategory“
  11491. type: integer
  11492. zscategorydisplay:
  11493. type: string
  11494. zsclaritytype:
  11495. description: 净度 - 两个, 逗号分隔
  11496. type: string
  11497. zsclaritytypedisplay:
  11498. type: string
  11499. zscolortype:
  11500. description: 颜色 - 两个, 逗号分隔
  11501. type: string
  11502. zscolortypedisplay:
  11503. type: string
  11504. zscrystaltype:
  11505. description: 晶型 - 多个,逗号分隔
  11506. type: string
  11507. zscrystaltypedisplay:
  11508. type: string
  11509. zscurrencytype:
  11510. description: 货币类型 - 多个, 逗号分隔
  11511. type: string
  11512. zscurrencytypedisplay:
  11513. type: string
  11514. zscuttype:
  11515. description: 切工 - 两个, 逗号分隔
  11516. type: string
  11517. zscuttypedisplay:
  11518. type: string
  11519. zsczcolor1type:
  11520. description: 彩钻颜色1, 逗号分隔
  11521. type: string
  11522. zsczcolor1typedisplay:
  11523. type: string
  11524. zsczcolor2type:
  11525. description: 彩钻颜色2, 逗号分隔
  11526. type: string
  11527. zsczcolor2typedisplay:
  11528. type: string
  11529. zsczcolor3type:
  11530. description: 彩钻颜色3, 逗号分隔
  11531. type: string
  11532. zsczcolor3typedisplay:
  11533. type: string
  11534. zsfluorescencetype:
  11535. description: 荧光 - 多个, 逗号分隔
  11536. type: string
  11537. zsfluorescencetypedisplay:
  11538. type: string
  11539. zspolishtype:
  11540. description: 抛光度 - 两个, 逗号分隔
  11541. type: string
  11542. zspolishtypedisplay:
  11543. type: string
  11544. zsshapetype:
  11545. description: 形状 - 多个, 逗号分隔
  11546. type: string
  11547. zsshapetypedisplay:
  11548. type: string
  11549. zssize:
  11550. description: 尺寸 - 两个小数, 逗号分隔
  11551. type: string
  11552. zsstyletype:
  11553. description: 款式 - 多个, 逗号分隔
  11554. type: string
  11555. zsstyletypedisplay:
  11556. type: string
  11557. zssymmetrytype:
  11558. description: 对称度 - 两个, 逗号分隔
  11559. type: string
  11560. zssymmetrytypedisplay:
  11561. type: string
  11562. zstabledisplay:
  11563. description: 求购信息
  11564. type: string
  11565. required:
  11566. - userid
  11567. type: object
  11568. models.MyDeListing:
  11569. properties:
  11570. buyaccountid:
  11571. description: 买方账号ID
  11572. type: integer
  11573. buychargevalue:
  11574. description: 买方手续费
  11575. type: number
  11576. buyuserid:
  11577. description: 买方用户ID
  11578. type: integer
  11579. deliverygoodsid:
  11580. description: 现货品种ID
  11581. type: integer
  11582. exchangerate:
  11583. description: 汇率
  11584. type: number
  11585. goodsno:
  11586. description: 商品编号
  11587. type: string
  11588. marketid:
  11589. description: 市场ID
  11590. type: integer
  11591. matchusername:
  11592. description: 对手方
  11593. type: string
  11594. oritradeamount:
  11595. description: 成交金额[商品币种]
  11596. type: number
  11597. performanceplanid:
  11598. description: 履约计划ID/合同ID
  11599. type: string
  11600. price:
  11601. description: 价格
  11602. type: number
  11603. qty:
  11604. description: 成交重量
  11605. type: number
  11606. sellaccountid:
  11607. description: 卖方账号ID
  11608. type: integer
  11609. sellchargevalue:
  11610. description: 卖方手续费
  11611. type: number
  11612. selluserid:
  11613. description: 卖方用户ID
  11614. type: integer
  11615. sizedisplay:
  11616. description: 尺寸
  11617. type: string
  11618. tradeamount:
  11619. description: 成交金额
  11620. type: number
  11621. tradedate:
  11622. description: 交易日(yyyyMMdd)
  11623. type: string
  11624. tradeprice:
  11625. description: 成交价格
  11626. type: number
  11627. tradetime:
  11628. description: 成交时间
  11629. type: string
  11630. userid:
  11631. description: 用户ID
  11632. type: integer
  11633. warehousenamedisplay:
  11634. type: string
  11635. wrfactortypeid:
  11636. description: 仓单要素类型ID
  11637. type: integer
  11638. wrstandardid:
  11639. description: 现货商品ID
  11640. type: integer
  11641. wrtradedetailid:
  11642. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  11643. type: string
  11644. zscategory:
  11645. description: 钻石分类 - 枚举”ZSCategory“
  11646. type: integer
  11647. zscategorydisplay:
  11648. type: string
  11649. zscerttypedisplay:
  11650. type: string
  11651. zsclaritytype1display:
  11652. type: string
  11653. zsclaritytype2display:
  11654. type: string
  11655. zscolortype1display:
  11656. type: string
  11657. zscolortype2display:
  11658. type: string
  11659. zscrystaltypedisplay:
  11660. type: string
  11661. zscurrencytype:
  11662. description: 货币类型 - 枚举“ZSCurrencyType”
  11663. type: integer
  11664. zscurrencytypedisplay:
  11665. type: string
  11666. zscurrencytypedisplayunit:
  11667. type: string
  11668. zscuttype1display:
  11669. type: string
  11670. zscuttype2display:
  11671. type: string
  11672. zsczcolor1typedisplay:
  11673. type: string
  11674. zsczcolor2typedisplay:
  11675. type: string
  11676. zsczcolor3typedisplay:
  11677. type: string
  11678. zsfluorescencetype1display:
  11679. type: string
  11680. zsfluorescencetype2display:
  11681. type: string
  11682. zspolishtype1display:
  11683. type: string
  11684. zspolishtype2display:
  11685. type: string
  11686. zsshapetypedisplay:
  11687. type: string
  11688. zsstyletypedisplay:
  11689. type: string
  11690. zssymmetrytype1display:
  11691. type: string
  11692. zssymmetrytype2display:
  11693. type: string
  11694. required:
  11695. - userid
  11696. type: object
  11697. models.MyDelistingApply:
  11698. properties:
  11699. applyprice:
  11700. description: 申请价格
  11701. type: number
  11702. applyqty:
  11703. description: 申请数量
  11704. type: number
  11705. applyremark:
  11706. description: 申请备注
  11707. type: string
  11708. applystatus:
  11709. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11710. type: integer
  11711. applytime:
  11712. description: 申请时间
  11713. type: string
  11714. auditremark:
  11715. description: 确认备注
  11716. type: string
  11717. audittime:
  11718. description: 确认时间
  11719. type: string
  11720. buyuserid:
  11721. description: 买方用户ID
  11722. type: integer
  11723. buyusername:
  11724. description: 买方
  11725. type: string
  11726. buywrtradeorderid:
  11727. description: 买委托单ID
  11728. type: string
  11729. goodsno:
  11730. description: 商品编号
  11731. type: string
  11732. ladingbillid:
  11733. description: 卖方提单ID
  11734. type: string
  11735. marketid:
  11736. description: 市场ID
  11737. type: integer
  11738. performancetemplateid:
  11739. description: 履约计划模板ID
  11740. type: integer
  11741. price:
  11742. description: 价格
  11743. type: number
  11744. sellaccountid:
  11745. description: 卖方账户ID
  11746. type: integer
  11747. selldelistingapplyid:
  11748. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  11749. type: string
  11750. selltradeorderid:
  11751. description: 卖方委托ID(买方确认成交后更新)
  11752. type: string
  11753. selluserid:
  11754. description: 卖方用户ID
  11755. type: integer
  11756. sellusername:
  11757. description: 卖方
  11758. type: string
  11759. sizedisplay:
  11760. description: 尺寸
  11761. type: string
  11762. subnum:
  11763. description: 卖方提单子单号
  11764. type: integer
  11765. warehouseinfosdisplay:
  11766. type: string
  11767. weight:
  11768. description: 克拉重量
  11769. type: number
  11770. wrfactortypeid:
  11771. description: 仓单要素类型ID
  11772. type: string
  11773. wrstandardid:
  11774. description: 现货商品ID
  11775. type: integer
  11776. zsallproperties:
  11777. type: string
  11778. zscategorydisplay:
  11779. type: string
  11780. zsclaritytypedisplay:
  11781. type: string
  11782. zscolortypedisplay:
  11783. type: string
  11784. zscrystaltypedisplay:
  11785. type: string
  11786. zscurrencytypedisplay:
  11787. type: string
  11788. zscurrencytypedisplayunit:
  11789. description: 价格单位
  11790. type: string
  11791. zscuttypedisplay:
  11792. type: string
  11793. zsczcolor1typedisplay:
  11794. type: string
  11795. zsczcolor2typedisplay:
  11796. type: string
  11797. zsczcolor3typedisplay:
  11798. type: string
  11799. zsfluorescencetypedisplay:
  11800. type: string
  11801. zspolishtypedisplay:
  11802. type: string
  11803. zsshapetypedisplay:
  11804. type: string
  11805. zssizedisplay:
  11806. type: string
  11807. zsstyletypedisplay:
  11808. type: string
  11809. zssymmetrytypedisplay:
  11810. type: string
  11811. zstabledisplay:
  11812. type: string
  11813. required:
  11814. - selluserid
  11815. type: object
  11816. models.MyFavorite:
  11817. properties:
  11818. accountname:
  11819. description: 账户名称(机构名称)
  11820. type: string
  11821. buyorsell:
  11822. description: 买卖 - 0:买 1:卖
  11823. type: integer
  11824. favoritestatus:
  11825. description: 收藏状态 - 1:正常 2:失效
  11826. type: integer
  11827. goodsno:
  11828. description: 商品编号
  11829. type: string
  11830. marketid:
  11831. description: 市场ID
  11832. type: integer
  11833. price:
  11834. description: 价格
  11835. type: number
  11836. priceper:
  11837. description: 克拉单价
  11838. type: string
  11839. sizedisplay:
  11840. description: 尺寸
  11841. type: string
  11842. userid:
  11843. description: 用户ID
  11844. type: integer
  11845. warehousenamedisplay:
  11846. type: string
  11847. weight:
  11848. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11849. type: number
  11850. weightavg:
  11851. description: 平均单颗重量 - 类型:1,3
  11852. type: number
  11853. wrfactortypeid:
  11854. description: 仓单要素类型ID/商品ID(77)
  11855. type: string
  11856. wrstandardid:
  11857. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  11858. type: integer
  11859. wrtradeorderid:
  11860. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11861. type: string
  11862. zscategory:
  11863. description: 钻石分类 - 枚举”ZSCategory“
  11864. type: integer
  11865. zscategorydisplay:
  11866. type: string
  11867. zscerttypedisplay:
  11868. type: string
  11869. zsclaritytype1display:
  11870. type: string
  11871. zsclaritytype2display:
  11872. type: string
  11873. zscolortype1display:
  11874. type: string
  11875. zscolortype2display:
  11876. type: string
  11877. zscrystaltypedisplay:
  11878. type: string
  11879. zscurrencytypedisplay:
  11880. type: string
  11881. zscurrencytypedisplayunit:
  11882. type: string
  11883. zscuttype1display:
  11884. type: string
  11885. zscuttype2display:
  11886. type: string
  11887. zsczcolor1typedisplay:
  11888. type: string
  11889. zsczcolor2typedisplay:
  11890. type: string
  11891. zsczcolor3typedisplay:
  11892. type: string
  11893. zsfluorescencetype1display:
  11894. type: string
  11895. zsfluorescencetype2display:
  11896. type: string
  11897. zspolishtype1display:
  11898. type: string
  11899. zspolishtype2display:
  11900. type: string
  11901. zsshapetypedisplay:
  11902. type: string
  11903. zsstyletypedisplay:
  11904. type: string
  11905. zssymmetrytype1display:
  11906. type: string
  11907. zssymmetrytype2display:
  11908. type: string
  11909. required:
  11910. - userid
  11911. type: object
  11912. models.MyPerformanc:
  11913. properties:
  11914. accountname:
  11915. description: '[对手方]账户名称(机构名称)'
  11916. type: string
  11917. amount:
  11918. description: 履约金额
  11919. type: number
  11920. buyaccountid:
  11921. description: 买方账号
  11922. type: integer
  11923. buyerfreezeamount:
  11924. description: 买方履约前冻结资金
  11925. type: number
  11926. buyerfreezeamountremain:
  11927. description: 买方履约前冻结资金剩余
  11928. type: number
  11929. buyerinfo:
  11930. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11931. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  11932. type: string
  11933. buyorsell:
  11934. description: 方向 - 0:买 1:卖
  11935. type: integer
  11936. buypaidamount:
  11937. description: 买方已冻/已扣金额
  11938. type: number
  11939. buytodayamount:
  11940. description: 买方今日扣/冻金额 (待开市时清零)
  11941. type: number
  11942. curstepid:
  11943. description: 当前步骤ID
  11944. type: string
  11945. goodsno:
  11946. description: 商品编号
  11947. type: string
  11948. overshortamount:
  11949. description: 溢短金额
  11950. type: number
  11951. paymenttype:
  11952. description: 买方支付方式 - 1:冻结 2:扣款
  11953. type: integer
  11954. performanceplanid:
  11955. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  11956. type: string
  11957. performancestatus:
  11958. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  11959. 9:超时待处理 10:超时关闭
  11960. type: integer
  11961. price:
  11962. description: 价格
  11963. type: number
  11964. priceper:
  11965. description: 克拉单价
  11966. type: string
  11967. relatedorderid:
  11968. description: 关联单号(履约类型的关联单号)
  11969. type: string
  11970. remaindays:
  11971. description: 剩余天数
  11972. type: integer
  11973. sellerfreezeamount:
  11974. description: 卖方履约前冻结资金
  11975. type: number
  11976. sellerfreezeamountremain:
  11977. description: 卖方履约前冻结资金剩余
  11978. type: number
  11979. sellerinfo:
  11980. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11981. "xxxxxxxx"}'
  11982. type: string
  11983. sellreceivedamount:
  11984. description: 卖方已收金额
  11985. type: number
  11986. selltodayamount:
  11987. description: 卖方今日收取金额(待开市时清零)
  11988. type: number
  11989. sizedisplay:
  11990. description: 尺寸
  11991. type: string
  11992. steptypeid:
  11993. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  11994. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  11995. type: integer
  11996. warehousenamedisplay:
  11997. type: string
  11998. zscategorydisplay:
  11999. type: string
  12000. zscerttypedisplay:
  12001. type: string
  12002. zsclaritytype1display:
  12003. type: string
  12004. zsclaritytype2display:
  12005. type: string
  12006. zscolortype1display:
  12007. type: string
  12008. zscolortype2display:
  12009. type: string
  12010. zscrystaltypedisplay:
  12011. type: string
  12012. zscurrencytypedisplay:
  12013. type: string
  12014. zscurrencytypedisplayunit:
  12015. type: string
  12016. zscuttype1display:
  12017. type: string
  12018. zscuttype2display:
  12019. type: string
  12020. zsczcolor1typedisplay:
  12021. type: string
  12022. zsczcolor2typedisplay:
  12023. type: string
  12024. zsczcolor3typedisplay:
  12025. type: string
  12026. zsfluorescencetype1display:
  12027. type: string
  12028. zsfluorescencetype2display:
  12029. type: string
  12030. zspolishtype1display:
  12031. type: string
  12032. zspolishtype2display:
  12033. type: string
  12034. zsshapetypedisplay:
  12035. type: string
  12036. zsstyletypedisplay:
  12037. type: string
  12038. zssymmetrytype1display:
  12039. type: string
  12040. zssymmetrytype2display:
  12041. type: string
  12042. type: object
  12043. models.MySellOrder:
  12044. properties:
  12045. accountid:
  12046. description: 资金账号
  12047. type: integer
  12048. applyid:
  12049. description: 申请单ID
  12050. type: integer
  12051. attachment1:
  12052. description: 附件1
  12053. type: string
  12054. attachment2:
  12055. description: 附件2
  12056. type: string
  12057. buyorsell:
  12058. description: 买卖 - 0:买 1:卖
  12059. type: integer
  12060. canbargain:
  12061. description: 是否可议价 - 0:不可 1:可
  12062. type: integer
  12063. cancelqty:
  12064. description: 撤销数量
  12065. type: integer
  12066. canceltime:
  12067. description: 撤销时间
  12068. type: string
  12069. cerno:
  12070. type: string
  12071. chargealgorithm:
  12072. description: 手续费收取方式 1:比率 2:固定
  12073. type: integer
  12074. chargealgorithmvalue:
  12075. description: 手续费设置值(交易所部分)
  12076. type: number
  12077. chargealgorithmvalue2:
  12078. description: 手续费设置值(会员部分)
  12079. type: number
  12080. clientordertime:
  12081. description: 客户端委托时间
  12082. type: string
  12083. cpcertno:
  12084. type: string
  12085. exchangerate:
  12086. description: 汇率[67]
  12087. type: number
  12088. firstratio:
  12089. description: 首付比率 - [挂牌时指定,摘牌时使用]
  12090. type: number
  12091. fixedprice:
  12092. description: '[克拉单价]固定价格 - [挂牌]'
  12093. type: number
  12094. freezecharge:
  12095. description: 冻结手续费
  12096. type: number
  12097. freezefirstamount:
  12098. description: 冻结首付金额 - [摘牌]
  12099. type: number
  12100. freezemargin:
  12101. description: 冻结保证金
  12102. type: number
  12103. goodsno:
  12104. description: 商品编号
  12105. type: string
  12106. imagepath:
  12107. type: string
  12108. isspecified:
  12109. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  12110. type: integer
  12111. kppath:
  12112. type: string
  12113. kpweight:
  12114. type: string
  12115. marginalgorithm:
  12116. description: 保证金方式 - 1:比率 2:固定
  12117. type: integer
  12118. marginvalue:
  12119. description: 保证金设置值
  12120. type: number
  12121. marketid:
  12122. description: 市场ID
  12123. type: integer
  12124. marketprice:
  12125. type: string
  12126. orderamount:
  12127. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  12128. type: number
  12129. ordertime:
  12130. description: 委托时间
  12131. type: string
  12132. performancetemplateid:
  12133. description: 履约计划模板ID
  12134. type: integer
  12135. price:
  12136. description: 价格
  12137. type: number
  12138. pricefactor:
  12139. description: 价格系数(浮动价时填写) - [挂牌]
  12140. type: number
  12141. pricemove:
  12142. description: 升贴水(浮动价时填写) - [挂牌]
  12143. type: number
  12144. priceper:
  12145. type: string
  12146. relatedwrtradeorderid:
  12147. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  12148. type: integer
  12149. remark:
  12150. type: string
  12151. retcode:
  12152. description: 错误代码
  12153. type: integer
  12154. selledqty:
  12155. description: 成交重量
  12156. type: number
  12157. settingmaterial:
  12158. type: string
  12159. size1:
  12160. type: string
  12161. size2:
  12162. type: string
  12163. size3:
  12164. type: string
  12165. sizedisplay:
  12166. description: 尺寸
  12167. type: string
  12168. stonedesc:
  12169. type: string
  12170. totalqty:
  12171. description: 总重量
  12172. type: number
  12173. tradedate:
  12174. description: 交易日(yyyyMMdd)
  12175. type: string
  12176. tradeprice:
  12177. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  12178. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  12179. type: number
  12180. unfreezecharge:
  12181. description: 解冻手续费
  12182. type: number
  12183. unfreezefirstamount:
  12184. description: 解冻首付金额 - [摘牌]
  12185. type: number
  12186. unfreezemargin:
  12187. description: 解冻保证金
  12188. type: number
  12189. userid:
  12190. description: 用户ID
  12191. type: integer
  12192. uuid:
  12193. description: 发起端唯一id
  12194. type: string
  12195. validtime:
  12196. description: 有效期限
  12197. type: string
  12198. validtype:
  12199. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  12200. type: integer
  12201. warehousenamedisplay:
  12202. type: string
  12203. wrbargainid:
  12204. description: 议价申请单ID
  12205. type: integer
  12206. wrfactortypeid:
  12207. description: 仓单要素类型ID/商品ID(77)
  12208. type: integer
  12209. wrpath:
  12210. type: string
  12211. wrpricetype:
  12212. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  12213. type: integer
  12214. wrstandardid:
  12215. description: 现货商品ID
  12216. type: integer
  12217. wrtradeorderid:
  12218. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12219. type: string
  12220. wrtradeorderstatus:
  12221. 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:撤单解冻贷款失败
  12222. type: integer
  12223. wrtradetype:
  12224. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  12225. type: integer
  12226. wrtransferuserid:
  12227. description: 仓单受让用户 - [摘牌]
  12228. type: integer
  12229. zscategory:
  12230. description: 钻石分类 - 枚举”ZSCategory“
  12231. type: integer
  12232. zscategorydisplay:
  12233. description: 钻石分类 - 描述
  12234. type: string
  12235. zscerttypedisplay:
  12236. type: string
  12237. zsclaritytype1display:
  12238. type: string
  12239. zsclaritytype2display:
  12240. type: string
  12241. zscolortype1display:
  12242. type: string
  12243. zscolortype2display:
  12244. type: string
  12245. zscrystaltype:
  12246. type: string
  12247. zscrystaltypedisplay:
  12248. type: string
  12249. zscurrencytype:
  12250. description: 货币类型 - 枚举“ZSCurrencyType”
  12251. type: integer
  12252. zscurrencytypedisplay:
  12253. type: string
  12254. zscurrencytypedisplayunit:
  12255. type: string
  12256. zscuttype1display:
  12257. type: string
  12258. zscuttype2display:
  12259. type: string
  12260. zsczcolor1typedisplay:
  12261. type: string
  12262. zsczcolor2typedisplay:
  12263. type: string
  12264. zsczcolor3typedisplay:
  12265. type: string
  12266. zsfluorescencetype1display:
  12267. type: string
  12268. zsfluorescencetype2display:
  12269. type: string
  12270. zspolishtype1display:
  12271. type: string
  12272. zspolishtype2display:
  12273. type: string
  12274. zsshapetypedisplay:
  12275. type: string
  12276. zsstyletypedisplay:
  12277. type: string
  12278. zssymmetrytype1display:
  12279. type: string
  12280. zssymmetrytype2display:
  12281. type: string
  12282. required:
  12283. - userid
  12284. type: object
  12285. models.MyWRPosition:
  12286. properties:
  12287. cerno:
  12288. description: 证书编号 - 类型:2,4,5
  12289. type: string
  12290. cpcertno:
  12291. description: 金伯利证书编号 - 类型:3
  12292. type: string
  12293. ffreezeqty:
  12294. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  12295. type: number
  12296. ftotalqty:
  12297. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  12298. type: number
  12299. goodsno:
  12300. description: 商品编号
  12301. type: string
  12302. imagepath:
  12303. description: 商品照片(相对地址)
  12304. type: string
  12305. isvalid:
  12306. description: 是否有效 - 0:无效 1:有效
  12307. type: integer
  12308. kppath:
  12309. description: 金伯利证书图片(相对地址) - 类型:3
  12310. type: string
  12311. kpweight:
  12312. description: 金伯利证书重量 - 类型:3
  12313. type: string
  12314. ladingbillid:
  12315. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  12316. type: string
  12317. marketflag:
  12318. description: 是否上架,0-全部 1-是 2-否
  12319. type: integer
  12320. marketprice:
  12321. description: 市场价
  12322. type: string
  12323. origin:
  12324. description: 原产地 - 类型:3
  12325. type: string
  12326. price:
  12327. description: 总价(价格) - 类型:1,2,3,4,5
  12328. type: number
  12329. priceper:
  12330. description: 克拉单价 - 类型:1,2,3,5
  12331. type: string
  12332. remark:
  12333. description: 备注
  12334. type: string
  12335. sellmobile:
  12336. description: 手机号码(加密存储)
  12337. type: string
  12338. sellusername:
  12339. description: 账户名称(机构名称)
  12340. type: string
  12341. settingmaterial:
  12342. description: 镶嵌材料 - 类型:4
  12343. type: string
  12344. size1:
  12345. description: 尺寸1 - 类型:2,4,5
  12346. type: string
  12347. size2:
  12348. description: 尺寸2 - 类型:2,4,5
  12349. type: string
  12350. size3:
  12351. description: 尺寸3 - 类型:2,4,5
  12352. type: string
  12353. sizedisplay:
  12354. description: 尺寸
  12355. type: string
  12356. stonedesc:
  12357. description: 配石描述 - 类型:4
  12358. type: string
  12359. subnum:
  12360. description: 提单子单号
  12361. type: integer
  12362. userid:
  12363. description: 用户ID
  12364. type: integer
  12365. warehouseid:
  12366. description: 仓库ID
  12367. type: integer
  12368. warehousenamedisplay:
  12369. type: string
  12370. weight:
  12371. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  12372. type: number
  12373. weightavg:
  12374. description: 平均单颗重量 - 类型:1,3
  12375. type: number
  12376. wrpath:
  12377. description: 仓单扫描件(相对地址)
  12378. type: string
  12379. wrstandardid:
  12380. description: 现货商品ID
  12381. type: integer
  12382. wrtradeorderid:
  12383. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12384. type: string
  12385. wruserid:
  12386. description: 登录用户ID
  12387. type: integer
  12388. zscategory:
  12389. description: 钻石分类 - 枚举”ZSCategory“
  12390. type: integer
  12391. zscategorydisplay:
  12392. type: string
  12393. zscerttype:
  12394. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  12395. type: integer
  12396. zscerttypedisplay:
  12397. type: string
  12398. zsclaritytype1:
  12399. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  12400. type: integer
  12401. zsclaritytype1display:
  12402. type: string
  12403. zsclaritytype2:
  12404. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  12405. type: integer
  12406. zsclaritytype2display:
  12407. type: string
  12408. zscolortype1:
  12409. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  12410. type: integer
  12411. zscolortype1display:
  12412. type: string
  12413. zscolortype2:
  12414. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  12415. type: integer
  12416. zscolortype2display:
  12417. type: string
  12418. zscrystaltype:
  12419. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  12420. type: string
  12421. zscrystaltypedisplay:
  12422. type: string
  12423. zscurrencytype:
  12424. description: 货币类型 - 枚举“ZSCurrencyType”
  12425. type: integer
  12426. zscurrencytypedisplay:
  12427. type: string
  12428. zscurrencytypedisplayunit:
  12429. type: string
  12430. zscuttype1:
  12431. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  12432. type: integer
  12433. zscuttype1display:
  12434. type: string
  12435. zscuttype2:
  12436. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  12437. type: integer
  12438. zscuttype2display:
  12439. type: string
  12440. zsczcolor1type:
  12441. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  12442. type: integer
  12443. zsczcolor1typedisplay:
  12444. type: string
  12445. zsczcolor2type:
  12446. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  12447. type: integer
  12448. zsczcolor2typedisplay:
  12449. type: string
  12450. zsczcolor3type:
  12451. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  12452. type: integer
  12453. zsczcolor3typedisplay:
  12454. type: string
  12455. zsfluorescencetype1:
  12456. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  12457. type: integer
  12458. zsfluorescencetype1display:
  12459. type: string
  12460. zsfluorescencetype2:
  12461. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  12462. type: integer
  12463. zsfluorescencetype2display:
  12464. type: string
  12465. zspolishtype1:
  12466. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  12467. type: integer
  12468. zspolishtype1display:
  12469. type: string
  12470. zspolishtype2:
  12471. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  12472. type: integer
  12473. zspolishtype2display:
  12474. type: string
  12475. zsshapetype:
  12476. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  12477. type: string
  12478. zsshapetypedisplay:
  12479. type: string
  12480. zsstyletype:
  12481. description: 款式 - 类型:4
  12482. type: integer
  12483. zsstyletypedisplay:
  12484. type: string
  12485. zssymmetrytype1:
  12486. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  12487. type: integer
  12488. zssymmetrytype1display:
  12489. type: string
  12490. zssymmetrytype2:
  12491. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  12492. type: integer
  12493. zssymmetrytype2display:
  12494. type: string
  12495. required:
  12496. - wruserid
  12497. type: object
  12498. models.NewFuncmenulist:
  12499. properties:
  12500. authtype:
  12501. description: 权限类型 - 1:菜单 2:组件 3:按钮
  12502. type: integer
  12503. buttonname:
  12504. description: 按钮名称
  12505. type: string
  12506. buttontype:
  12507. description: 按钮类型 - 存按钮样式
  12508. type: string
  12509. component:
  12510. description: 组件名或组件地址
  12511. type: string
  12512. hidden:
  12513. description: 是否隐藏 - 0:显示 1:隐藏
  12514. type: integer
  12515. iconame:
  12516. description: 菜单图标
  12517. type: string
  12518. menutype:
  12519. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  12520. type: integer
  12521. parentcode:
  12522. description: 上级资源代码
  12523. type: string
  12524. remark:
  12525. description: Remark
  12526. type: string
  12527. resourcecode:
  12528. description: 资源代码
  12529. type: string
  12530. resourcelevel:
  12531. description: 级别1-一级 2-二级 3-三级4-四级
  12532. type: integer
  12533. resourcename:
  12534. description: 资源名(Title)
  12535. type: string
  12536. sort:
  12537. description: 排序
  12538. type: integer
  12539. url:
  12540. description: Url
  12541. type: string
  12542. urltype:
  12543. description: 地址类型 - 1:路由 2:外链 3:内联框架
  12544. type: integer
  12545. required:
  12546. - resourcecode
  12547. type: object
  12548. models.OperationPrimaryMenu:
  12549. properties:
  12550. Children:
  12551. description: 二级功能菜单
  12552. items:
  12553. $ref: '#/definitions/models.OperationSecondaryMenu'
  12554. type: array
  12555. Key:
  12556. description: 菜单KEY
  12557. type: string
  12558. Label:
  12559. description: 菜单标题
  12560. type: string
  12561. type: object
  12562. models.OperationSecondaryMenu:
  12563. properties:
  12564. Key:
  12565. description: 菜单KEY
  12566. type: string
  12567. Label:
  12568. description: 菜单标题
  12569. type: string
  12570. TabList:
  12571. description: 三级功能菜单
  12572. items:
  12573. $ref: '#/definitions/models.OperationTabMenu'
  12574. type: array
  12575. type: object
  12576. models.OperationTabMenu:
  12577. properties:
  12578. Key:
  12579. description: 菜单KEY
  12580. type: string
  12581. Label:
  12582. description: 菜单标题
  12583. type: string
  12584. type: object
  12585. models.Patradelinkdetail:
  12586. properties:
  12587. accountname:
  12588. description: 套期主体
  12589. type: string
  12590. agreeunit:
  12591. description: 合约乘数
  12592. type: number
  12593. amount:
  12594. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  12595. type: number
  12596. areauserid:
  12597. description: 所属机构
  12598. type: integer
  12599. bizsubjectid:
  12600. description: 归属业务部门ID - SubjectID
  12601. type: integer
  12602. buyorsell:
  12603. description: 方向 - 0:买 1:卖
  12604. type: integer
  12605. convertratio:
  12606. description: 品种系数
  12607. type: number
  12608. convertratiochange:
  12609. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  12610. type: number
  12611. createtime:
  12612. description: '[日期时间]创建时间'
  12613. type: string
  12614. creatorid:
  12615. description: 创建人ID
  12616. type: integer
  12617. creatorsrc:
  12618. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12619. type: integer
  12620. goodscode:
  12621. description: 商品代码(内部)
  12622. type: string
  12623. goodsgroupid:
  12624. description: 对冲品种ID[期货合约商品组ID]
  12625. type: integer
  12626. goodsid:
  12627. description: 商品ID
  12628. type: integer
  12629. hedgeditemid:
  12630. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12631. type: integer
  12632. hedgeflag:
  12633. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12634. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12635. type: integer
  12636. linkdetailid:
  12637. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12638. type: string
  12639. linkstatus:
  12640. description: 关联状态 - 1:成功 2:失败 3:解绑
  12641. type: integer
  12642. middlegoodsid:
  12643. description: 套保品种ID
  12644. type: integer
  12645. name:
  12646. description: 账户名/子账户
  12647. type: string
  12648. optioncode:
  12649. description: '[期货合约]期权代码 [期权]'
  12650. type: string
  12651. ordertype:
  12652. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  12653. type: integer
  12654. relatedlot:
  12655. description: '[数量]关联手数'
  12656. type: number
  12657. relatedmode:
  12658. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12659. type: integer
  12660. relatedqty:
  12661. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12662. type: number
  12663. retcode:
  12664. description: 返回码
  12665. type: integer
  12666. saleuserid:
  12667. description: 业务员ID
  12668. type: integer
  12669. tradedate:
  12670. description: 关联交易日(yyyyMMdd)
  12671. type: string
  12672. tradeid:
  12673. description: '[成交单号]内部成交单ID'
  12674. type: string
  12675. tradelot:
  12676. description: 成交手数
  12677. type: integer
  12678. tradeprice:
  12679. description: '[价格]成交价格'
  12680. type: number
  12681. tradetradedate:
  12682. description: 成交交易日(yyyyMMdd)
  12683. type: string
  12684. type: object
  12685. models.QhjAccountOutInApply:
  12686. properties:
  12687. accountcode:
  12688. description: 资金账号
  12689. type: string
  12690. accountname:
  12691. description: 用户名称(名称)
  12692. type: string
  12693. accountpwd:
  12694. description: 资金密码
  12695. type: string
  12696. accountticket:
  12697. description: 最新账户服务流水号
  12698. type: string
  12699. amount:
  12700. description: 金额
  12701. type: number
  12702. applyremark:
  12703. description: 申请备注
  12704. type: string
  12705. applystatus:
  12706. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12707. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12708. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12709. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12710. type: integer
  12711. auditid:
  12712. description: 审核人
  12713. type: integer
  12714. audittime:
  12715. description: 审核时间
  12716. type: string
  12717. bank_apply_ticket:
  12718. description: 银行申请流水
  12719. type: string
  12720. bankaccountname:
  12721. description: 银行账户名
  12722. type: string
  12723. bankaccountno:
  12724. description: 银行卡号
  12725. type: string
  12726. bankid:
  12727. description: 银行编号
  12728. type: string
  12729. bankticket:
  12730. description: 银行流水
  12731. type: string
  12732. branchbankid:
  12733. description: 银行支行号
  12734. type: string
  12735. branchbankname:
  12736. description: 银行支行名称
  12737. type: string
  12738. capamountout:
  12739. description: 出金(劣后本金) - 外部子账户
  12740. type: number
  12741. certificatephotourl:
  12742. description: 凭证地址
  12743. type: string
  12744. charge:
  12745. description: 手续费
  12746. type: number
  12747. checkerrorflag:
  12748. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12749. type: integer
  12750. currency:
  12751. description: 币种
  12752. type: string
  12753. cusbankid:
  12754. description: 托管银行编号
  12755. type: string
  12756. cusbankname:
  12757. description: 托管银行名称
  12758. type: string
  12759. cusbankshortname:
  12760. description: 托管银行简称
  12761. type: string
  12762. exchticket:
  12763. description: 银行服务流水号
  12764. type: string
  12765. executetype:
  12766. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12767. 7:外部子账户:入金 8:外部子账户:出金'
  12768. type: integer
  12769. extendinfo:
  12770. description: 扩展信息
  12771. type: string
  12772. extoperateid:
  12773. description: 交易服务流水号
  12774. type: integer
  12775. infamount:
  12776. description: 劣后金额(自有)
  12777. type: number
  12778. logincode:
  12779. description: 登录账号(账号)
  12780. type: string
  12781. netaddr:
  12782. description: 调转网址
  12783. type: string
  12784. priamount:
  12785. description: 优先金额(授信)
  12786. type: number
  12787. reauditid:
  12788. description: 复审人
  12789. type: integer
  12790. reauditremark:
  12791. description: 复审备注
  12792. type: string
  12793. reaudittime:
  12794. description: 复审时间
  12795. type: string
  12796. relatedorderid:
  12797. description: 三方关联ID
  12798. type: string
  12799. remark:
  12800. description: 备注
  12801. type: string
  12802. remark2:
  12803. description: 备注(失败原因)
  12804. type: string
  12805. soucreamount:
  12806. description: 原始出入金金额
  12807. type: number
  12808. soucrecurrencyid:
  12809. description: 原始出入金币种
  12810. type: integer
  12811. tradedate:
  12812. description: 交易日(yyyyMMdd)
  12813. type: string
  12814. updatetime:
  12815. description: 更新时间(申请时间)
  12816. type: string
  12817. userid:
  12818. description: 用户id
  12819. type: integer
  12820. userinfotype:
  12821. description: 账户类型 1-个人 2-企业
  12822. type: integer
  12823. type: object
  12824. models.QhjAgreementChangeLog:
  12825. properties:
  12826. agreementcontent:
  12827. description: 协议内容
  12828. type: string
  12829. agreementfrequency:
  12830. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12831. type: integer
  12832. agreementid:
  12833. description: 协议ID
  12834. type: integer
  12835. agreementname:
  12836. description: 协议名称
  12837. type: string
  12838. agreementno:
  12839. description: 协议编号
  12840. type: string
  12841. agreementtype:
  12842. description: 协议类型 - 1:注册 2:登录 3:交易
  12843. type: integer
  12844. agreementversion:
  12845. description: 协议版本号
  12846. type: integer
  12847. logid:
  12848. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12849. type: integer
  12850. reviserid:
  12851. description: 修改人
  12852. type: integer
  12853. revisersrc:
  12854. description: 修改来源 - 1:管理端 2:终端
  12855. type: integer
  12856. updatetime:
  12857. description: 更新时间
  12858. type: string
  12859. type: object
  12860. models.QhjAgreementConfig:
  12861. properties:
  12862. agreementcontent:
  12863. description: 协议内容
  12864. type: string
  12865. agreementfrequency:
  12866. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12867. type: integer
  12868. agreementid:
  12869. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12870. type: integer
  12871. agreementname:
  12872. description: 协议名称
  12873. type: string
  12874. agreementno:
  12875. description: 协议编号
  12876. type: string
  12877. agreementtype:
  12878. description: 协议类型 - 1:注册 2:登录 3:交易
  12879. type: integer
  12880. agreementversion:
  12881. description: 协议版本号(从1开始每次修改加1)
  12882. type: integer
  12883. createtime:
  12884. description: 创建时间
  12885. type: string
  12886. creatorid:
  12887. description: 创建人
  12888. type: integer
  12889. creatorsrc:
  12890. description: 创建来源 - 1:管理端 2:终端
  12891. type: integer
  12892. isvalid:
  12893. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12894. type: integer
  12895. reviserid:
  12896. description: 修改人
  12897. type: integer
  12898. revisersrc:
  12899. description: 修改来源 - 1:管理端 2:终端
  12900. type: integer
  12901. updatetime:
  12902. description: 更新时间
  12903. type: string
  12904. type: object
  12905. models.QhjAreaFinanceConfig:
  12906. properties:
  12907. additionalratio:
  12908. description: 追加款比例
  12909. type: number
  12910. advanceratio:
  12911. description: 预付款比例
  12912. type: number
  12913. alarmratio:
  12914. description: 告警比例
  12915. type: number
  12916. consumptiondirectreward:
  12917. description: 消费直推奖励值
  12918. type: number
  12919. consumptionenabled:
  12920. description: 是否启用消费奖励 - 0:不启用 1:启用
  12921. type: integer
  12922. consumptionindirectreward:
  12923. description: 消费间推奖励值
  12924. type: number
  12925. consumptionmodel:
  12926. description: 消费奖励方式 - 1:比率 2:固定
  12927. type: integer
  12928. customerservicenum:
  12929. description: 客服电话
  12930. type: string
  12931. dayinterestrate:
  12932. description: 日利率
  12933. type: number
  12934. disableconsumptiontips:
  12935. description: 关闭消费奖励提示
  12936. type: string
  12937. modifierid:
  12938. description: 修改人ID
  12939. type: integer
  12940. modifysrc:
  12941. description: 审核来源 - 1:管理端 2:终端
  12942. type: integer
  12943. modifytime:
  12944. description: 修改时间
  12945. type: string
  12946. promotionvalue:
  12947. description: 推广奖励值(固定)
  12948. type: number
  12949. scoreconfigvalue1:
  12950. description: 提货积分配置1
  12951. type: integer
  12952. scoreconfigvalue2:
  12953. description: 提货积分配置2
  12954. type: integer
  12955. userid:
  12956. description: 机构用户ID其他做市关系,都设置为 1
  12957. type: integer
  12958. username:
  12959. description: 用户名称
  12960. type: string
  12961. type: object
  12962. models.QhjBankAccountSign:
  12963. properties:
  12964. accountcode:
  12965. description: 资金账号
  12966. type: string
  12967. accountname:
  12968. description: 资金账号对应的账号名(UserName)
  12969. type: string
  12970. accountname2:
  12971. description: 资金账号对应的账号名(UserName) - 密文
  12972. type: string
  12973. accounttype:
  12974. description: 账户类型(UserType)
  12975. type: integer
  12976. applicationtime:
  12977. description: 最后一次更新的时间
  12978. type: string
  12979. applyexchticket:
  12980. description: 申请流水
  12981. type: string
  12982. auditid:
  12983. description: 审核人
  12984. type: integer
  12985. audittime:
  12986. description: 审核时间
  12987. type: string
  12988. bankaccountname:
  12989. description: 签约银行卡账号名
  12990. type: string
  12991. bankaccountname2:
  12992. description: 签约银行卡账号名 - 密文
  12993. type: string
  12994. bankaccountno:
  12995. description: 银行卡号
  12996. type: string
  12997. bankaccountno2:
  12998. description: 银行卡号 - 密文
  12999. type: string
  13000. bankaccounttype:
  13001. description: 银行账户类型 - 1-对私; 2-对公
  13002. type: integer
  13003. bankcardtype:
  13004. description: 银行卡类型
  13005. type: integer
  13006. bankchildaccount:
  13007. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  13008. type: string
  13009. bankcity:
  13010. description: 开户行城市
  13011. type: string
  13012. bankid:
  13013. description: 签约银行ID
  13014. type: string
  13015. bankname:
  13016. description: 签约银行名称
  13017. type: string
  13018. bankprovince:
  13019. description: 开户行省份
  13020. type: string
  13021. branchbankid:
  13022. description: 签约银行支行号
  13023. type: string
  13024. branchbankname:
  13025. description: 签约银行支行名称
  13026. type: string
  13027. cardno:
  13028. description: 证件号码
  13029. type: string
  13030. cardno2:
  13031. description: 证件号码 - 密文
  13032. type: string
  13033. cardtype:
  13034. description: 证件类型
  13035. type: string
  13036. currency:
  13037. description: 币种
  13038. type: string
  13039. cusbankid:
  13040. description: 托管银行编号
  13041. type: string
  13042. direct:
  13043. description: 方向(可以判断那方先发起的签约)
  13044. type: integer
  13045. exchticket:
  13046. description: 最后一次签约成功的流水号
  13047. type: string
  13048. extendinfo:
  13049. description: 扩展信息(JSON字符串)
  13050. type: string
  13051. mobilephone:
  13052. description: 手机号
  13053. type: string
  13054. mobilephone2:
  13055. description: 手机号 - 密文
  13056. type: string
  13057. netaddr:
  13058. description: 调转网址
  13059. type: string
  13060. relateduserid:
  13061. description: 关联使用者userid
  13062. type: integer
  13063. signstatus:
  13064. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13065. 10:审核拒绝 11:换签待审核
  13066. type: integer
  13067. updatetime:
  13068. description: 更新时间(签解约更新时间)
  13069. type: string
  13070. type: object
  13071. models.QhjBankInfo:
  13072. properties:
  13073. bankid:
  13074. description: 银行ID
  13075. type: string
  13076. bankname:
  13077. description: 银行名称
  13078. type: string
  13079. clearbankno:
  13080. description: 清算系统银行编号
  13081. type: string
  13082. orderindex:
  13083. description: 排序顺序
  13084. type: integer
  13085. status:
  13086. description: 状态 - 0:正常 1:注销
  13087. type: integer
  13088. type: object
  13089. models.QhjBrokerApply:
  13090. properties:
  13091. applicantid:
  13092. description: 申请人
  13093. type: integer
  13094. applysrc:
  13095. description: 申请来源 - 1:管理端 2:终端
  13096. type: integer
  13097. applystatus:
  13098. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13099. type: integer
  13100. applytime:
  13101. description: 申请时间
  13102. type: string
  13103. auditorid:
  13104. description: 审核人
  13105. type: integer
  13106. auditremark:
  13107. description: 审核备注
  13108. type: string
  13109. auditsrc:
  13110. description: 审核来源 - 1:管理端 2:终端
  13111. type: integer
  13112. audittime:
  13113. description: 审核时间
  13114. type: string
  13115. audittradedate:
  13116. description: 审核交易日(yyyyMMdd)
  13117. type: string
  13118. brokerapplyid:
  13119. description: 申请ID(SEQ_BROKERAPPLY)
  13120. type: integer
  13121. cardbackphotourl:
  13122. description: 证件背面图片地址
  13123. type: string
  13124. cardfrontphotourl:
  13125. description: 证件正面图片地址
  13126. type: string
  13127. cardnum:
  13128. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13129. type: string
  13130. customername:
  13131. description: 姓名
  13132. type: string
  13133. logincode:
  13134. description: 登录代码
  13135. type: string
  13136. mobile:
  13137. description: 手机号码
  13138. type: string
  13139. parentuserid:
  13140. description: 所属机构id
  13141. type: integer
  13142. parentusername:
  13143. description: 所属机构名称
  13144. type: string
  13145. refereeuserid:
  13146. description: 推荐人id(经纪人)
  13147. type: integer
  13148. refernum:
  13149. description: 推荐码
  13150. type: string
  13151. remark:
  13152. description: 备注
  13153. type: string
  13154. subarealevelpath:
  13155. description: 层级路径
  13156. type: string
  13157. tradedate:
  13158. description: 交易日(yyyyMMdd)
  13159. type: string
  13160. userid:
  13161. description: 申请人用户ID
  13162. type: integer
  13163. userinfotype:
  13164. description: 用户类型 1-个人 2-企业
  13165. type: integer
  13166. username:
  13167. description: 用户名称
  13168. type: string
  13169. type: object
  13170. models.QhjBrokerApplyEx:
  13171. properties:
  13172. applylist:
  13173. description: 经纪人申请记录(只返回最新一条)
  13174. items:
  13175. $ref: '#/definitions/models.QhjBrokerApply'
  13176. type: array
  13177. canrecommend:
  13178. description: 是否经纪人 0-不是 1-是
  13179. type: integer
  13180. refernum:
  13181. description: 推荐码
  13182. type: string
  13183. userid:
  13184. description: 用户id
  13185. type: integer
  13186. userinfotype:
  13187. description: 用户类型 1-个人 2-企业
  13188. type: integer
  13189. type: object
  13190. models.QhjBrokerRewardLog:
  13191. properties:
  13192. accountid:
  13193. description: 资金账号ID
  13194. type: integer
  13195. createtime:
  13196. description: 创建时间(时间)
  13197. type: string
  13198. handlestatus:
  13199. description: 处理状态
  13200. type: integer
  13201. logid:
  13202. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13203. type: string
  13204. marketid:
  13205. description: 市场ID
  13206. type: integer
  13207. mmaccountid:
  13208. description: 做市商资金账号ID
  13209. type: string
  13210. mmuserid:
  13211. description: 做市商用户ID
  13212. type: string
  13213. rewardamount:
  13214. description: 奖励金额
  13215. type: number
  13216. rewardmodel:
  13217. description: 消费奖励方式 - 1:比率 2:固定
  13218. type: integer
  13219. rewardtype:
  13220. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  13221. type: integer
  13222. rewardvalue:
  13223. description: 配置奖励值
  13224. type: number
  13225. srcamount:
  13226. description: 成交金额 [消费奖励] (金额)
  13227. type: number
  13228. srcgoodsid:
  13229. description: 来源商品ID [消费奖励]
  13230. type: string
  13231. srctime:
  13232. description: 来源时间 (成交时间) [消费奖励]
  13233. type: string
  13234. srctradeid:
  13235. description: 来源成交单ID [消费奖励] - 排除提货成交
  13236. type: string
  13237. srcuserid:
  13238. description: 来源用户ID(推广账户)
  13239. type: string
  13240. srcusername:
  13241. description: 推广账户名称
  13242. type: string
  13243. tradedate:
  13244. description: 交易日(yyyyMMdd)
  13245. type: string
  13246. userid:
  13247. description: 经纪人用户ID
  13248. type: integer
  13249. type: object
  13250. models.QhjContract:
  13251. properties:
  13252. contractconfirmtime:
  13253. description: 合同确认时间(时间)
  13254. type: string
  13255. currisklevel:
  13256. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13257. type: integer
  13258. decimalplace:
  13259. description: 商品报价小数位
  13260. type: integer
  13261. enumdicname:
  13262. description: 单位名称
  13263. type: string
  13264. goodscode:
  13265. description: 商品代码
  13266. type: string
  13267. goodsid:
  13268. description: 商品ID [5:融资单]
  13269. type: integer
  13270. goodsname:
  13271. description: 商品名称
  13272. type: string
  13273. goodunitid:
  13274. description: 商品单位id
  13275. type: integer
  13276. initmargin:
  13277. description: 初始保证金(首付款)
  13278. type: number
  13279. lenderamount:
  13280. description: 贷款金额(总额|订单总额)
  13281. type: number
  13282. marginratio:
  13283. description: 保证金比率(首付比例)
  13284. type: number
  13285. payamount:
  13286. description: 已付(已付货款)
  13287. type: number
  13288. reckonrecovermargin:
  13289. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13290. type: number
  13291. recoveredmargin:
  13292. description: 已追缴保证金
  13293. type: number
  13294. remainamount:
  13295. description: 合同剩余金额(融资额)
  13296. type: number
  13297. scfcontractid:
  13298. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13299. type: string
  13300. scfcontractstatus:
  13301. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13302. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13303. type: integer
  13304. scfcontracttype:
  13305. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13306. type: integer
  13307. totalinterest:
  13308. description: 已计总利息(利息)
  13309. type: number
  13310. tradeprice:
  13311. description: 成交价格(成本价格)
  13312. type: number
  13313. userid:
  13314. description: 用户ID
  13315. type: integer
  13316. username:
  13317. description: 用户名称
  13318. type: string
  13319. wrqty:
  13320. description: 仓单数量(数量)
  13321. type: number
  13322. type: object
  13323. models.QhjContractLog:
  13324. properties:
  13325. amount:
  13326. description: 支付金额
  13327. type: number
  13328. amounttype:
  13329. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  13330. type: integer
  13331. logid:
  13332. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13333. type: string
  13334. remainamount:
  13335. description: 剩余货款
  13336. type: number
  13337. scfcontractid:
  13338. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13339. type: integer
  13340. updatetime:
  13341. description: 更新时间
  13342. type: string
  13343. type: object
  13344. models.QhjCusBankSignBankEx:
  13345. properties:
  13346. banklst:
  13347. description: 银行列表
  13348. items:
  13349. $ref: '#/definitions/models.QhjBankInfo'
  13350. type: array
  13351. canallot:
  13352. description: 是否支持跨行调拨 - 0:不支持 1:支持
  13353. type: integer
  13354. canallotquery:
  13355. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  13356. type: integer
  13357. canbindcard:
  13358. description: 是否可绑卡与解卡 - 0:不可 1:可以
  13359. type: integer
  13360. caninamount:
  13361. description: 是否可入金 - 0:不可 1:可以
  13362. type: integer
  13363. caninamount2:
  13364. description: 是否可入金(网银端) - 0:不可 1:可以
  13365. type: integer
  13366. canmodifybankcard:
  13367. description: 是否可修改银行卡号 - 0:不可 1:可以
  13368. type: integer
  13369. canmodifyphone:
  13370. description: 是否可修改手机号 - 0:不可 1:可以
  13371. type: integer
  13372. canmodifysigninfo:
  13373. description: 是否可修改签约信息 - 0:不可 1:可以
  13374. type: integer
  13375. canoutamount:
  13376. description: 是否可出金 - 0:不可 1:可以
  13377. type: integer
  13378. canoutamount2:
  13379. description: 是否可出金(网银端) - 0:不可 1:可以
  13380. type: integer
  13381. canrelease:
  13382. description: 是否可解约 - 0:不可 1:可以
  13383. type: integer
  13384. canrelease2:
  13385. description: 是否可解约(网银端) - 0:不可 1:可以
  13386. type: integer
  13387. cansign:
  13388. description: 是否可签约 - 0:不可 1:可以
  13389. type: integer
  13390. cansign2:
  13391. description: 是否可签约(网银端) - 0:不可 1:可以
  13392. type: integer
  13393. currency:
  13394. description: 币种
  13395. type: string
  13396. cusbankid:
  13397. description: 托管银行编号(对应清算中心TRAN_NO)
  13398. type: string
  13399. cusbankname:
  13400. description: 银行业务名称
  13401. type: string
  13402. cusbankshortname:
  13403. description: 银行业务简称
  13404. type: string
  13405. exchbankid:
  13406. description: 交易所开户银行ID
  13407. type: string
  13408. exchpaybankaccname:
  13409. description: 交易所支出结算账户户名
  13410. type: string
  13411. exchpaybankaccno:
  13412. description: 交易所支出结算账户
  13413. type: string
  13414. isneedcheck:
  13415. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  13416. type: integer
  13417. isneedclear:
  13418. description: 是否需要清算 - 0:不需要 1:需要
  13419. type: integer
  13420. lastcheckstatus:
  13421. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  13422. type: integer
  13423. lastchecktime:
  13424. description: 最后对账时间
  13425. type: string
  13426. lastclearstatus:
  13427. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  13428. type: integer
  13429. lastcleartime:
  13430. description: 最后清算时间
  13431. type: string
  13432. lastsignintime:
  13433. description: 最后签到时间
  13434. type: string
  13435. lastsignouttime:
  13436. description: 最后签退时间
  13437. type: string
  13438. riskinfo:
  13439. description: 签约风险提示书
  13440. type: string
  13441. signstatus:
  13442. description: 当前签到/签退状态 - 1:签到 2:签退
  13443. type: integer
  13444. tradedate:
  13445. description: 交易日(yyyyMMdd)
  13446. type: string
  13447. updatetime:
  13448. description: 当前签到/签退更新时间
  13449. type: string
  13450. type: object
  13451. models.QhjCustomer:
  13452. properties:
  13453. address:
  13454. description: 通讯地址
  13455. type: string
  13456. attachment1:
  13457. description: 附件1
  13458. type: string
  13459. attachment2:
  13460. description: 附件2
  13461. type: string
  13462. audittime:
  13463. description: 审核时间
  13464. type: string
  13465. cardbackphotourl:
  13466. description: 证件反面图片地址
  13467. type: string
  13468. cardfrontphotourl:
  13469. description: 证件正面图片地址
  13470. type: string
  13471. cardnum:
  13472. description: 证件号码
  13473. type: string
  13474. cardtype:
  13475. description: 证件类型
  13476. type: integer
  13477. cardtypename:
  13478. description: 证件类型名称
  13479. type: string
  13480. cityid:
  13481. description: 市
  13482. type: integer
  13483. cityname:
  13484. description: 城市名称
  13485. type: string
  13486. contactname:
  13487. description: 联系人
  13488. type: string
  13489. countryid:
  13490. description: 国家
  13491. type: integer
  13492. countryname:
  13493. description: 国家名称
  13494. type: string
  13495. createtime:
  13496. description: 创建时间
  13497. type: string
  13498. customername:
  13499. description: 客户名称
  13500. type: string
  13501. districtid:
  13502. description: 区域
  13503. type: integer
  13504. districtname:
  13505. description: 地区名称
  13506. type: string
  13507. email:
  13508. description: 邮件
  13509. type: string
  13510. legalpersonname:
  13511. description: 法人姓名(企业)
  13512. type: string
  13513. logincode:
  13514. description: 登录账号(代码)
  13515. type: string
  13516. memberuserid:
  13517. description: 所属机构ID(所属会员)
  13518. type: integer
  13519. memberusername:
  13520. description: 所属会员名称
  13521. type: string
  13522. mobile:
  13523. description: 手机号码
  13524. type: string
  13525. modifytime:
  13526. description: 修改时间
  13527. type: string
  13528. nickname:
  13529. description: 昵称
  13530. type: string
  13531. parentuserid:
  13532. description: 上级机构(所属机构)
  13533. type: integer
  13534. parentusername:
  13535. description: 所属机构名称
  13536. type: string
  13537. provinceid:
  13538. description: 省
  13539. type: integer
  13540. provincename:
  13541. description: 省名称
  13542. type: string
  13543. proxystatementurl:
  13544. description: 授权委托书
  13545. type: string
  13546. remark:
  13547. description: 备注
  13548. type: string
  13549. status:
  13550. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  13551. type: integer
  13552. statusdesc:
  13553. description: 账户状态中文描述
  13554. type: string
  13555. taxpayernum:
  13556. description: 纳税人识别号
  13557. type: string
  13558. telphone:
  13559. description: 联系电话
  13560. type: string
  13561. userid:
  13562. description: 用户ID
  13563. type: integer
  13564. userinfotype:
  13565. description: 客户类型 1-个人 2-企业
  13566. type: integer
  13567. username:
  13568. description: 用户名称
  13569. type: string
  13570. type: object
  13571. models.QhjCustomerSignLog:
  13572. properties:
  13573. agreementcontent:
  13574. description: 协议内容
  13575. type: string
  13576. agreementid:
  13577. description: 协议ID
  13578. type: integer
  13579. agreementname:
  13580. description: 协议名称
  13581. type: string
  13582. agreementno:
  13583. description: 协议编号
  13584. type: string
  13585. agreementtype:
  13586. description: 协议类型 - 1:注册 2:登录 3:交易
  13587. type: integer
  13588. agreementversion:
  13589. description: 协议版本号
  13590. type: integer
  13591. createtime:
  13592. description: 创建时间
  13593. type: string
  13594. goodscode:
  13595. description: 商品代码
  13596. type: string
  13597. goodsid:
  13598. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13599. type: integer
  13600. goodsname:
  13601. description: 商品名称
  13602. type: string
  13603. logid:
  13604. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  13605. type: integer
  13606. nodetype:
  13607. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13608. type: integer
  13609. signadressurl:
  13610. description: 签约文件地址
  13611. type: string
  13612. signtimestamp:
  13613. description: 签约状态时间戳
  13614. type: string
  13615. userid:
  13616. description: 客户ID
  13617. type: integer
  13618. username:
  13619. description: 客户名称
  13620. type: string
  13621. type: object
  13622. models.QhjCustomerSignStatus:
  13623. properties:
  13624. createtime:
  13625. description: 创建时间
  13626. type: string
  13627. goodscode:
  13628. description: 商品代码
  13629. type: string
  13630. goodsid:
  13631. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13632. type: integer
  13633. goodsname:
  13634. description: 商品名称
  13635. type: string
  13636. nodetype:
  13637. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  13638. type: integer
  13639. signtimestamp:
  13640. description: 签约状态时间戳
  13641. type: string
  13642. tradedate:
  13643. description: 创建交易日(yyyyMMdd)
  13644. type: string
  13645. updatetime:
  13646. description: 更新时间
  13647. type: string
  13648. userid:
  13649. description: 客户ID
  13650. type: integer
  13651. username:
  13652. description: 客户名称
  13653. type: string
  13654. type: object
  13655. models.QhjMgrAccountOutInApply:
  13656. properties:
  13657. accountcode:
  13658. description: 资金账号
  13659. type: string
  13660. accountname:
  13661. description: 用户名称(名称)
  13662. type: string
  13663. accountpwd:
  13664. description: 资金密码
  13665. type: string
  13666. accountticket:
  13667. description: 最新账户服务流水号
  13668. type: string
  13669. amount:
  13670. description: 金额
  13671. type: number
  13672. applyremark:
  13673. description: 申请备注
  13674. type: string
  13675. applystatus:
  13676. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  13677. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  13678. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  13679. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  13680. type: integer
  13681. auditid:
  13682. description: 审核人
  13683. type: integer
  13684. audittime:
  13685. description: 审核时间
  13686. type: string
  13687. bank_apply_ticket:
  13688. description: 银行申请流水
  13689. type: string
  13690. bankaccountname:
  13691. description: 银行账户名
  13692. type: string
  13693. bankaccountno:
  13694. description: 银行卡号
  13695. type: string
  13696. bankid:
  13697. description: 银行编号
  13698. type: string
  13699. bankname:
  13700. description: 银行名称
  13701. type: string
  13702. bankticket:
  13703. description: 银行流水
  13704. type: string
  13705. branchbankid:
  13706. description: 银行支行号
  13707. type: string
  13708. branchbankname:
  13709. description: 银行支行名称
  13710. type: string
  13711. capamountout:
  13712. description: 出金(劣后本金) - 外部子账户
  13713. type: number
  13714. certificatephotourl:
  13715. description: 凭证地址
  13716. type: string
  13717. charge:
  13718. description: 手续费
  13719. type: number
  13720. checkerrorflag:
  13721. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  13722. type: integer
  13723. currency:
  13724. description: 币种
  13725. type: string
  13726. cusbankid:
  13727. description: 托管银行编号
  13728. type: string
  13729. exchticket:
  13730. description: 银行服务流水号
  13731. type: string
  13732. executetype:
  13733. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  13734. 7:外部子账户:入金 8:外部子账户:出金'
  13735. type: integer
  13736. extendinfo:
  13737. description: 扩展信息
  13738. type: string
  13739. extoperateid:
  13740. description: 交易服务流水号
  13741. type: integer
  13742. infamount:
  13743. description: 劣后金额(自有)
  13744. type: number
  13745. logincode:
  13746. description: 登录账号(账号)
  13747. type: string
  13748. netaddr:
  13749. description: 调转网址
  13750. type: string
  13751. priamount:
  13752. description: 优先金额(授信)
  13753. type: number
  13754. reauditid:
  13755. description: 复审人
  13756. type: integer
  13757. reauditremark:
  13758. description: 复审备注
  13759. type: string
  13760. reaudittime:
  13761. description: 复审时间
  13762. type: string
  13763. relatedorderid:
  13764. description: 三方关联ID
  13765. type: string
  13766. remark:
  13767. description: 备注
  13768. type: string
  13769. remark2:
  13770. description: 备注(失败原因)
  13771. type: string
  13772. soucreamount:
  13773. description: 原始出入金金额
  13774. type: number
  13775. soucrecurrencyid:
  13776. description: 原始出入金币种
  13777. type: integer
  13778. tradedate:
  13779. description: 交易日(yyyyMMdd)
  13780. type: string
  13781. updatetime:
  13782. description: 更新时间(申请时间)
  13783. type: string
  13784. userid:
  13785. description: 用户id
  13786. type: integer
  13787. userinfotype:
  13788. description: 账户类型 1-个人 2-企业
  13789. type: integer
  13790. type: object
  13791. models.QhjMgrBrokerApply:
  13792. properties:
  13793. applicantid:
  13794. description: 申请人
  13795. type: integer
  13796. applysrc:
  13797. description: 申请来源 - 1:管理端 2:终端
  13798. type: integer
  13799. applystatus:
  13800. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13801. type: integer
  13802. applytime:
  13803. description: 申请时间
  13804. type: string
  13805. auditorid:
  13806. description: 审核人
  13807. type: integer
  13808. auditremark:
  13809. description: 审核备注
  13810. type: string
  13811. auditsrc:
  13812. description: 审核来源 - 1:管理端 2:终端
  13813. type: integer
  13814. audittime:
  13815. description: 审核时间
  13816. type: string
  13817. audittradedate:
  13818. description: 审核交易日(yyyyMMdd)
  13819. type: string
  13820. brokerapplyid:
  13821. description: 申请ID(SEQ_BROKERAPPLY)
  13822. type: integer
  13823. cardbackphotourl:
  13824. description: 证件背面图片地址
  13825. type: string
  13826. cardfrontphotourl:
  13827. description: 证件正面图片地址
  13828. type: string
  13829. cardnum:
  13830. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13831. type: string
  13832. customername:
  13833. description: 姓名
  13834. type: string
  13835. filterstatus:
  13836. description: 筛选条件
  13837. type: string
  13838. logincode:
  13839. description: 登录代码
  13840. type: string
  13841. mobile:
  13842. description: 手机号码
  13843. type: string
  13844. parentuserid:
  13845. description: 所属机构id
  13846. type: integer
  13847. parentusername:
  13848. description: 所属机构名称
  13849. type: string
  13850. refereeuserid:
  13851. description: 推荐人id(经纪人)
  13852. type: integer
  13853. refernum:
  13854. description: 推荐码
  13855. type: string
  13856. remark:
  13857. description: 备注
  13858. type: string
  13859. subarealevelpath:
  13860. description: 层级路径
  13861. type: string
  13862. tradedate:
  13863. description: 交易日(yyyyMMdd)
  13864. type: string
  13865. userid:
  13866. description: 申请人用户ID
  13867. type: integer
  13868. userinfotype:
  13869. description: 用户类型 1-个人 2-企业
  13870. type: integer
  13871. username:
  13872. description: 用户名称
  13873. type: string
  13874. type: object
  13875. models.QhjMgrBrokerRewardReport:
  13876. properties:
  13877. createtime:
  13878. description: 创建时间(注册时间)
  13879. type: string
  13880. cycletime:
  13881. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13882. type: string
  13883. cycletype:
  13884. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13885. type: integer
  13886. directtotalnum:
  13887. description: 直推总人数【期末】
  13888. type: integer
  13889. indirecttotalnum:
  13890. description: 间推总人数【期末】
  13891. type: integer
  13892. mobile:
  13893. description: 电话号码
  13894. type: string
  13895. refereeuserid:
  13896. description: 推荐人id(经纪人id)
  13897. type: integer
  13898. refereeusername:
  13899. description: 推荐人名称(经纪人) 上级经纪人名称
  13900. type: string
  13901. refernum:
  13902. description: 推荐码
  13903. type: string
  13904. subarealevelpath:
  13905. description: 用户层级路径
  13906. type: string
  13907. todayrewardamount:
  13908. description: 奖励总金额【汇总】
  13909. type: number
  13910. updatetime:
  13911. description: 更新时间
  13912. type: string
  13913. userid:
  13914. description: 经纪人用户ID
  13915. type: integer
  13916. userinfotype:
  13917. description: 用户类型 1-个人 2-企业
  13918. type: integer
  13919. username:
  13920. description: 用户名称
  13921. type: string
  13922. type: object
  13923. models.QhjMgrContract:
  13924. properties:
  13925. contractconfirmtime:
  13926. description: 合同确认时间(时间)
  13927. type: string
  13928. currisklevel:
  13929. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13930. type: integer
  13931. decimalplace:
  13932. description: 商品报价小数位
  13933. type: integer
  13934. enumdicname:
  13935. description: 单位名称
  13936. type: string
  13937. goodscode:
  13938. description: 商品代码
  13939. type: string
  13940. goodsid:
  13941. description: 商品ID [5:融资单]
  13942. type: integer
  13943. goodsname:
  13944. description: 商品名称
  13945. type: string
  13946. goodunitid:
  13947. description: 商品单位id
  13948. type: integer
  13949. initmargin:
  13950. description: 初始保证金(首付款)
  13951. type: number
  13952. lenderamount:
  13953. description: 贷款金额(总额|订单总额)
  13954. type: number
  13955. logincode:
  13956. description: 账号(登录代码)
  13957. type: string
  13958. marginratio:
  13959. description: 保证金比率(首付比例)
  13960. type: number
  13961. mobile:
  13962. description: 电话号码(用户资料里的电话)
  13963. type: string
  13964. payamount:
  13965. description: 已付(已付货款)
  13966. type: number
  13967. reckonrecovermargin:
  13968. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13969. type: number
  13970. recoveredmargin:
  13971. description: 已追缴保证金
  13972. type: number
  13973. remainamount:
  13974. description: 合同剩余金额(融资额)
  13975. type: number
  13976. scfcontractid:
  13977. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13978. type: string
  13979. scfcontractstatus:
  13980. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13981. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13982. type: integer
  13983. scfcontracttype:
  13984. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13985. type: integer
  13986. totalinterest:
  13987. description: 已计总利息(利息)
  13988. type: number
  13989. tradedate:
  13990. description: 交易日
  13991. type: string
  13992. tradeprice:
  13993. description: 成交价格(成本价格)
  13994. type: number
  13995. userid:
  13996. description: 用户ID
  13997. type: integer
  13998. userinfotype:
  13999. description: 用户类型 1-个人 2-企业
  14000. type: integer
  14001. username:
  14002. description: 用户名称
  14003. type: string
  14004. wrqty:
  14005. description: 仓单数量(数量)
  14006. type: number
  14007. type: object
  14008. models.QhjMgrCustomer:
  14009. properties:
  14010. address:
  14011. description: 通讯地址
  14012. type: string
  14013. attachment1:
  14014. description: 附件1
  14015. type: string
  14016. audittime:
  14017. description: 审核时间
  14018. type: string
  14019. birthday:
  14020. description: 生日
  14021. type: string
  14022. brokerid:
  14023. description: 所属客户经理id
  14024. type: integer
  14025. brokername:
  14026. description: 所属客户经理名称
  14027. type: string
  14028. cardbackphotourl:
  14029. description: 证件反面图片地址
  14030. type: string
  14031. cardfrontphotourl:
  14032. description: 证件正面图片地址
  14033. type: string
  14034. cardnum:
  14035. description: 证件号码
  14036. type: string
  14037. cardtype:
  14038. description: 证件类型
  14039. type: integer
  14040. cardtypename:
  14041. description: 证件类型名称
  14042. type: string
  14043. cityid:
  14044. description: 市
  14045. type: integer
  14046. cityname:
  14047. description: 城市名称
  14048. type: string
  14049. contactname:
  14050. description: 联系人
  14051. type: string
  14052. countryid:
  14053. description: 国家
  14054. type: integer
  14055. countryname:
  14056. description: 国家名称
  14057. type: string
  14058. createtime:
  14059. description: 创建时间
  14060. type: string
  14061. customername:
  14062. description: 客户名称
  14063. type: string
  14064. districtid:
  14065. description: 区域
  14066. type: integer
  14067. districtname:
  14068. description: 地区名称
  14069. type: string
  14070. email:
  14071. description: 邮件
  14072. type: string
  14073. legalpersonname:
  14074. description: 法人姓名(企业)
  14075. type: string
  14076. logincode:
  14077. description: 登录账号(代码)
  14078. type: string
  14079. memberuserid:
  14080. description: 所属机构ID(所属会员)
  14081. type: integer
  14082. memberusername:
  14083. description: 所属会员名称
  14084. type: string
  14085. mobile:
  14086. description: 手机号码
  14087. type: string
  14088. modifytime:
  14089. description: 修改时间
  14090. type: string
  14091. nickname:
  14092. description: 昵称
  14093. type: string
  14094. parentuserid:
  14095. description: 上级机构(所属机构)
  14096. type: integer
  14097. parentusername:
  14098. description: 所属机构名称
  14099. type: string
  14100. provinceid:
  14101. description: 省
  14102. type: integer
  14103. provincename:
  14104. description: 省名称
  14105. type: string
  14106. proxystatementurl:
  14107. description: 授权委托书
  14108. type: string
  14109. querytype:
  14110. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  14111. type: integer
  14112. remark:
  14113. description: 备注
  14114. type: string
  14115. sex:
  14116. description: 性别 0-女 1-男
  14117. type: integer
  14118. status:
  14119. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  14120. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  14121. type: integer
  14122. statusdesc:
  14123. description: 账户状态中文描述
  14124. type: string
  14125. taxpayernum:
  14126. description: 纳税人识别号
  14127. type: string
  14128. telphone:
  14129. description: 联系电话
  14130. type: string
  14131. userid:
  14132. description: 用户ID
  14133. type: integer
  14134. userinfotype:
  14135. description: 客户类型 1-个人 2-企业
  14136. type: integer
  14137. username:
  14138. description: 用户名称
  14139. type: string
  14140. type: object
  14141. models.QhjMgrPickGoods:
  14142. properties:
  14143. enumdicname:
  14144. description: 单位名称(提货商品)
  14145. type: string
  14146. goodsid:
  14147. description: 商品id
  14148. type: integer
  14149. imageaddress:
  14150. description: 图片
  14151. type: string
  14152. modifierid:
  14153. description: 修改人
  14154. type: integer
  14155. modifiername:
  14156. description: 修改人名称
  14157. type: string
  14158. modifysrc:
  14159. description: 修改来源 - 1:管理端 2:终端
  14160. type: integer
  14161. pickupgoodsagreeunit:
  14162. description: 合约乘数
  14163. type: number
  14164. pickupgoodsdesc:
  14165. description: 描述
  14166. type: string
  14167. pickupgoodsid:
  14168. description: 提货商品ID
  14169. type: string
  14170. pickupgoodsname:
  14171. description: 提货商品名称
  14172. type: string
  14173. pickupgoodsstatus:
  14174. description: 状态 - 1:正常 2:停用 3:注销
  14175. type: integer
  14176. pickupgoodsunitid:
  14177. description: 单位ID
  14178. type: integer
  14179. pickupratio:
  14180. description: 提货系数
  14181. type: number
  14182. preparedays:
  14183. description: 备货期(天)
  14184. type: integer
  14185. remark:
  14186. description: 备注
  14187. type: string
  14188. updatetime:
  14189. description: 更新时间
  14190. type: string
  14191. type: object
  14192. models.QhjMgrPositionRsp:
  14193. properties:
  14194. accountid:
  14195. description: 账号Id
  14196. type: integer
  14197. accountname:
  14198. description: 用户名称
  14199. type: string
  14200. agreeunit:
  14201. description: 合约乘数
  14202. type: number
  14203. averageprice:
  14204. description: 均价
  14205. type: number
  14206. avialqty:
  14207. description: 可用数量
  14208. type: number
  14209. decimalplace:
  14210. description: 报价小数位
  14211. type: integer
  14212. enumdicname:
  14213. description: 单位名称(商品)
  14214. type: string
  14215. frozenqty:
  14216. description: 冻结数量
  14217. type: number
  14218. goodscode:
  14219. description: 商品代码(内部)
  14220. type: string
  14221. goodsid:
  14222. description: 商品Id
  14223. type: integer
  14224. goodsname:
  14225. description: 商品名称
  14226. type: string
  14227. goodunitid:
  14228. description: 报价单位ID
  14229. type: integer
  14230. holderamount:
  14231. description: 金额
  14232. type: number
  14233. holderqty:
  14234. description: 持有数量
  14235. type: number
  14236. holdertype:
  14237. description: 持仓类别 - 1:单边持仓 2:双边持仓
  14238. type: integer
  14239. logincode:
  14240. description: 登录代码(账户)
  14241. type: string
  14242. marketid:
  14243. description: 市场id
  14244. type: integer
  14245. qtydecimalplace:
  14246. description: 成交量小数位
  14247. type: integer
  14248. trademode:
  14249. description: 交易模式
  14250. type: integer
  14251. userid:
  14252. description: 用户id
  14253. type: integer
  14254. userinfotype:
  14255. description: 账户类型 1-个人 2-企业
  14256. type: integer
  14257. type: object
  14258. models.QhjMgrSubArea:
  14259. properties:
  14260. accountname:
  14261. description: 账户名称(机构名称)
  14262. type: string
  14263. memberuserid:
  14264. description: 所属会员ID
  14265. type: integer
  14266. parenttopuser:
  14267. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14268. type: string
  14269. parentuserid:
  14270. description: 所属机构ID
  14271. type: integer
  14272. rootuserid:
  14273. description: 根用户ID
  14274. type: string
  14275. subaccountlevel:
  14276. description: 子账户层数
  14277. type: integer
  14278. subarealevelpath:
  14279. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14280. type: string
  14281. userid:
  14282. description: 用户ID
  14283. type: integer
  14284. usertype:
  14285. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14286. type: integer
  14287. type: object
  14288. models.QhjMgrTradeDetailRsp:
  14289. properties:
  14290. accountid:
  14291. description: 资金账号
  14292. type: integer
  14293. accountname:
  14294. description: 用户名称
  14295. type: string
  14296. agreeunit:
  14297. description: 合约乘数
  14298. type: number
  14299. buyorsell:
  14300. description: 成交类型(方向) 0:买 1:卖
  14301. type: integer
  14302. decimalplace:
  14303. description: 报价小数位
  14304. type: integer
  14305. enumdicname:
  14306. description: 单位名称(商品)
  14307. type: string
  14308. goodscode:
  14309. description: 商品代码(内部)
  14310. type: string
  14311. goodsid:
  14312. description: 商品id
  14313. type: integer
  14314. goodsname:
  14315. description: 商品名称
  14316. type: string
  14317. goodunitid:
  14318. description: 报价单位ID
  14319. type: integer
  14320. logincode:
  14321. description: 登录代码(账户)
  14322. type: string
  14323. marketid:
  14324. description: 市场id
  14325. type: integer
  14326. orderid:
  14327. description: 关联委托单号
  14328. type: string
  14329. qtydecimalplace:
  14330. description: 成交量小数位
  14331. type: integer
  14332. tradeamount:
  14333. description: 金额
  14334. type: number
  14335. tradedate:
  14336. description: 交易日
  14337. type: string
  14338. tradeid:
  14339. description: 成交单号
  14340. type: string
  14341. trademode:
  14342. description: 交易模式
  14343. type: integer
  14344. tradeprice:
  14345. description: 价格
  14346. type: number
  14347. tradeqty:
  14348. description: 数量
  14349. type: number
  14350. tradetime:
  14351. description: 成交时间
  14352. type: string
  14353. userid:
  14354. description: 用户id
  14355. type: integer
  14356. userinfotype:
  14357. description: 账户类型 1-个人 2-企业
  14358. type: integer
  14359. type: object
  14360. models.QhjMgrTradeOrderDetailRsp:
  14361. properties:
  14362. accountid:
  14363. description: 资金账号
  14364. type: integer
  14365. accountname:
  14366. description: 用户名称
  14367. type: string
  14368. agreeunit:
  14369. description: 合约乘数
  14370. type: number
  14371. amount:
  14372. description: 金额
  14373. type: number
  14374. decimalplace:
  14375. description: 报价小数位
  14376. type: integer
  14377. enumdicname:
  14378. description: 单位名称(商品)
  14379. type: string
  14380. goodscode:
  14381. description: 商品代码(内部)
  14382. type: string
  14383. goodsid:
  14384. description: 商品id
  14385. type: integer
  14386. goodsname:
  14387. description: 商品名称
  14388. type: string
  14389. goodunitid:
  14390. description: 报价单位ID
  14391. type: integer
  14392. logincode:
  14393. description: 登录代码(账户)
  14394. type: string
  14395. marketid:
  14396. description: 市场id
  14397. type: integer
  14398. orderid:
  14399. description: 关联委托单号
  14400. type: string
  14401. orderprice:
  14402. description: 价格
  14403. type: number
  14404. orderqty:
  14405. description: 数量
  14406. type: number
  14407. orderstatus:
  14408. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14409. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14410. 16:成交失败违约(荷兰式竞拍专用)
  14411. type: integer
  14412. ordertime:
  14413. description: 委托时间
  14414. type: string
  14415. qtydecimalplace:
  14416. description: 成交量小数位
  14417. type: integer
  14418. tradedate:
  14419. description: 交易日
  14420. type: string
  14421. trademode:
  14422. description: 交易模式
  14423. type: integer
  14424. userid:
  14425. description: 用户id
  14426. type: integer
  14427. userinfotype:
  14428. description: 账户类型 1-个人 2-企业
  14429. type: integer
  14430. type: object
  14431. models.QhjMgrTradePayOrder:
  14432. properties:
  14433. accountname:
  14434. description: 用户名称
  14435. type: string
  14436. advanceratio:
  14437. description: 首付比率
  14438. type: number
  14439. agreeunit:
  14440. description: 合约乘数
  14441. type: number
  14442. buyaccountid:
  14443. description: 买方账号ID[报价币种]
  14444. type: integer
  14445. buyorderid:
  14446. description: 买方委托单号(关联单号)
  14447. type: string
  14448. createtime:
  14449. description: 创建时间
  14450. type: string
  14451. decimalplace:
  14452. description: 报价小数位
  14453. type: integer
  14454. enumdicname:
  14455. description: 单位名称(商品)
  14456. type: string
  14457. goodscode:
  14458. description: 商品代码(内部)
  14459. type: string
  14460. goodsid:
  14461. description: 商品ID
  14462. type: integer
  14463. goodsname:
  14464. description: 商品名称
  14465. type: string
  14466. goodunitid:
  14467. description: 报价单位ID
  14468. type: integer
  14469. logincode:
  14470. description: 登录代码(账户)
  14471. type: string
  14472. marketid:
  14473. description: 市场id
  14474. type: integer
  14475. offamount:
  14476. description: 优惠金额
  14477. type: number
  14478. operatetype:
  14479. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14480. type: integer
  14481. payamount:
  14482. description: 支付金额(金额)
  14483. type: number
  14484. payflag:
  14485. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14486. type: integer
  14487. paylimitedtime:
  14488. description: 支付期限
  14489. type: string
  14490. paytime:
  14491. description: 付款时间
  14492. type: string
  14493. qtydecimalplace:
  14494. description: 成交量小数位
  14495. type: integer
  14496. sellaccountid:
  14497. description: 卖方账号ID[报价币种]
  14498. type: integer
  14499. sellorderid:
  14500. description: 卖方委托单号
  14501. type: string
  14502. tradeamount:
  14503. description: 成交金额(优惠后金额)
  14504. type: number
  14505. tradecharge:
  14506. description: 成交手续费(买方)
  14507. type: number
  14508. tradedate:
  14509. description: 交易日(yyyyMMdd)
  14510. type: string
  14511. tradeid:
  14512. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14513. type: string
  14514. trademode:
  14515. description: 交易模式
  14516. type: integer
  14517. tradeprice:
  14518. description: 成交价格(价格)
  14519. type: number
  14520. tradeqty:
  14521. description: 成交数量(数量)
  14522. type: number
  14523. tradetime:
  14524. description: 成交时间
  14525. type: string
  14526. userid:
  14527. description: 用户id
  14528. type: integer
  14529. userinfotype:
  14530. description: 账户类型 1-个人 2-企业
  14531. type: integer
  14532. type: object
  14533. models.QhjMyTeamEx:
  14534. properties:
  14535. accountname:
  14536. description: 用户名称
  14537. type: string
  14538. accountstatus:
  14539. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14540. type: integer
  14541. createtime:
  14542. description: 创建时间
  14543. type: string
  14544. mobile:
  14545. description: 手机号码
  14546. type: string
  14547. refereeuserid:
  14548. description: 推荐人id
  14549. type: integer
  14550. refernum:
  14551. description: 推荐码
  14552. type: string
  14553. subList:
  14554. items:
  14555. $ref: '#/definitions/models.QhjMyTeamEx'
  14556. type: array
  14557. userid:
  14558. description: 用户id
  14559. type: integer
  14560. userinfotype:
  14561. description: 用户类型 1-个人 2-企业
  14562. type: integer
  14563. type: object
  14564. models.QhjNodeAgreementConfig:
  14565. properties:
  14566. agreementcontent:
  14567. description: 协议内容
  14568. type: string
  14569. agreementid:
  14570. description: 协议ID
  14571. type: integer
  14572. agreementname:
  14573. description: 协议名称
  14574. type: string
  14575. agreementno:
  14576. description: 协议编号
  14577. type: string
  14578. agreementtype:
  14579. description: 协议类型 - 1:注册 2:登录 3:交易
  14580. type: integer
  14581. agreementversion:
  14582. description: 协议版本号
  14583. type: integer
  14584. configid:
  14585. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14586. type: integer
  14587. createtime:
  14588. description: 创建时间
  14589. type: string
  14590. goodsid:
  14591. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14592. type: integer
  14593. nodetype:
  14594. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14595. type: integer
  14596. type: object
  14597. models.QhjParentAreaList:
  14598. properties:
  14599. accountname:
  14600. description: 账户名称(机构名称)
  14601. type: string
  14602. userid:
  14603. description: 用户ID
  14604. type: integer
  14605. usertype:
  14606. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14607. type: integer
  14608. type: object
  14609. models.QhjPayOrder:
  14610. properties:
  14611. advanceratio:
  14612. description: 首付比率
  14613. type: number
  14614. buyaccountid:
  14615. description: 买方账号ID[报价币种]
  14616. type: integer
  14617. buyorderid:
  14618. description: 买方委托单号
  14619. type: string
  14620. createtime:
  14621. description: 创建时间
  14622. type: string
  14623. decimalplace:
  14624. description: 商品报价小数位
  14625. type: integer
  14626. enumdicname:
  14627. description: 单位名称
  14628. type: string
  14629. goodscode:
  14630. description: 商品代码
  14631. type: string
  14632. goodsid:
  14633. description: 商品ID
  14634. type: integer
  14635. goodsname:
  14636. description: 商品名称
  14637. type: string
  14638. goodunitid:
  14639. description: 商品单位id
  14640. type: integer
  14641. marketid:
  14642. description: 市场ID
  14643. type: integer
  14644. offamount:
  14645. description: 优惠金额
  14646. type: number
  14647. operatetype:
  14648. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14649. type: integer
  14650. payamount:
  14651. description: 支付金额
  14652. type: number
  14653. payflag:
  14654. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14655. type: integer
  14656. paylimitedtime:
  14657. description: 支付期限
  14658. type: string
  14659. paytime:
  14660. description: 付款时间
  14661. type: string
  14662. qtydecimalplace:
  14663. description: 成交量小数位
  14664. type: integer
  14665. sellaccountid:
  14666. description: 卖方账号ID[报价币种]
  14667. type: integer
  14668. sellorderid:
  14669. description: 卖方委托单号
  14670. type: string
  14671. tradeamount:
  14672. description: 成交金额(优惠后金额)
  14673. type: number
  14674. tradecharge:
  14675. description: 成交手续费(买方)
  14676. type: number
  14677. tradedate:
  14678. description: 交易日(yyyyMMdd)
  14679. type: string
  14680. tradeid:
  14681. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14682. type: string
  14683. tradeprice:
  14684. description: 成交价格
  14685. type: number
  14686. tradeqty:
  14687. description: 成交数量
  14688. type: number
  14689. type: object
  14690. models.QhjPickArea:
  14691. properties:
  14692. address:
  14693. description: 详细地址
  14694. type: string
  14695. cityid:
  14696. description: 市
  14697. type: integer
  14698. cityname:
  14699. description: 城市名称
  14700. type: string
  14701. countryid:
  14702. description: 国家
  14703. type: integer
  14704. countryname:
  14705. description: 国家名称
  14706. type: string
  14707. districtid:
  14708. description: 地区
  14709. type: integer
  14710. districtname:
  14711. description: 地区名称
  14712. type: string
  14713. fromuserid:
  14714. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  14715. type: integer
  14716. fromusername:
  14717. description: 所属机构名称
  14718. type: string
  14719. provinceid:
  14720. description: 省
  14721. type: integer
  14722. provincename:
  14723. description: 省名称
  14724. type: string
  14725. suborgtype:
  14726. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  14727. type: integer
  14728. userid:
  14729. description: 机构用户ID 其他做市关系,都设置为 1
  14730. type: integer
  14731. username:
  14732. description: 机构用户名称(门店门称)
  14733. type: string
  14734. type: object
  14735. models.QhjPickGoods:
  14736. properties:
  14737. enumdicname:
  14738. description: 单位名称(提货商品)
  14739. type: string
  14740. goodsid:
  14741. description: 商品id
  14742. type: integer
  14743. imageaddress:
  14744. description: 图片
  14745. type: string
  14746. modifierid:
  14747. description: 修改人
  14748. type: integer
  14749. modifiername:
  14750. description: 修改人名称
  14751. type: string
  14752. modifysrc:
  14753. description: 修改来源 - 1:管理端 2:终端
  14754. type: integer
  14755. pickupgoodsagreeunit:
  14756. description: 合约乘数
  14757. type: number
  14758. pickupgoodsdesc:
  14759. description: 描述
  14760. type: string
  14761. pickupgoodsid:
  14762. description: 提货商品ID
  14763. type: string
  14764. pickupgoodsname:
  14765. description: 提货商品名称
  14766. type: string
  14767. pickupgoodsstatus:
  14768. description: 状态 - 1:正常 2:停用 3:注销
  14769. type: integer
  14770. pickupgoodsunitid:
  14771. description: 单位ID
  14772. type: integer
  14773. pickupratio:
  14774. description: 提货系数
  14775. type: number
  14776. preparedays:
  14777. description: 备货期(天)
  14778. type: integer
  14779. remark:
  14780. description: 备注
  14781. type: string
  14782. updatetime:
  14783. description: 更新时间
  14784. type: string
  14785. type: object
  14786. models.QhjRSTriggerLog:
  14787. properties:
  14788. accountid:
  14789. description: 用户资金账户
  14790. type: integer
  14791. accountname:
  14792. description: 账号名称(ACCOUNTID对应的名称)
  14793. type: string
  14794. currencyid:
  14795. description: 币种id
  14796. type: integer
  14797. currencyname:
  14798. description: 币种名称
  14799. type: string
  14800. decimalplace:
  14801. description: 商品报价小数位
  14802. type: integer
  14803. enumdicname:
  14804. description: 单位名称
  14805. type: string
  14806. goodscode:
  14807. description: 定投商品代码
  14808. type: string
  14809. goodsid:
  14810. description: 定投商品ID
  14811. type: integer
  14812. goodsname:
  14813. description: 定投商品名称
  14814. type: string
  14815. goodunitid:
  14816. description: 定投商品单位id
  14817. type: integer
  14818. logid:
  14819. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14820. type: string
  14821. logincode:
  14822. description: 账号(登录代码)
  14823. type: string
  14824. qtydecimalplace:
  14825. description: 成交量小数位
  14826. type: integer
  14827. regularlycycle:
  14828. description: 定投频率 - 1:每周 2:每月
  14829. type: integer
  14830. regularlycyclevalue:
  14831. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14832. type: string
  14833. regularlymode:
  14834. description: 定投方式 - 1:按数量 2:按金额
  14835. type: integer
  14836. regularlymodevalue:
  14837. description: 定投方式值 - 数量或金额
  14838. type: number
  14839. regularlystrategyid:
  14840. description: 定投策略ID
  14841. type: integer
  14842. retcode:
  14843. description: 错误码
  14844. type: string
  14845. tradeid:
  14846. description: 成交单ID
  14847. type: string
  14848. triggeramount:
  14849. description: 触发金额
  14850. type: number
  14851. triggerqty:
  14852. description: 触发数量
  14853. type: number
  14854. triggerstatus:
  14855. description: 触发状态 - 1:成功 2:失败
  14856. type: integer
  14857. triggertime:
  14858. description: 触发时间
  14859. type: string
  14860. triggertradedate:
  14861. description: 触发交易日
  14862. type: string
  14863. userid:
  14864. description: 所属用户ID
  14865. type: integer
  14866. userinfotype:
  14867. description: 用户类型 1-个人 2-企业
  14868. type: integer
  14869. username:
  14870. description: 用户名称(userid对应的名称)
  14871. type: string
  14872. type: object
  14873. models.QhjRStrategy:
  14874. properties:
  14875. accountid:
  14876. description: 用户资金账户
  14877. type: integer
  14878. accountname:
  14879. description: 账号名称(ACCOUNTID对应的名称)
  14880. type: string
  14881. currencyid:
  14882. description: 币种id
  14883. type: integer
  14884. currencyname:
  14885. description: 币种名称
  14886. type: string
  14887. decimalplace:
  14888. description: 商品报价小数位
  14889. type: integer
  14890. enumdicname:
  14891. description: 单位名称
  14892. type: string
  14893. goodscode:
  14894. description: 定投商品代码
  14895. type: string
  14896. goodsid:
  14897. description: 定投商品ID
  14898. type: integer
  14899. goodsname:
  14900. description: 定投商品名称
  14901. type: string
  14902. goodunitid:
  14903. description: 定投商品单位id
  14904. type: integer
  14905. lasteffecttradedate:
  14906. description: 最新生效交易日
  14907. type: string
  14908. laststoptradedate:
  14909. description: 最新暂停交易日
  14910. type: string
  14911. lasttriggertradedate:
  14912. description: 最新触发交易日
  14913. type: string
  14914. logincode:
  14915. description: 账号(登录代码)
  14916. type: string
  14917. nexttriggeramount:
  14918. description: 下次触发金额
  14919. type: number
  14920. nexttriggerdate:
  14921. description: 下次触发日期
  14922. type: string
  14923. nexttriggerqty:
  14924. description: 下次触发数量 [按小数位放大值]
  14925. type: number
  14926. qtydecimalplace:
  14927. description: 成交量小数位
  14928. type: integer
  14929. regularlycycle:
  14930. description: 定投频率 - 1:每周 2:每月
  14931. type: integer
  14932. regularlycyclevalue:
  14933. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14934. type: string
  14935. regularlymode:
  14936. description: 定投方式 - 1:按数量 2:按金额
  14937. type: integer
  14938. regularlymodevalue:
  14939. description: 定投方式值 - 数量或金额
  14940. type: number
  14941. regularlystrategyid:
  14942. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14943. type: integer
  14944. regularlystrategystatus:
  14945. description: 策略状态 - 1:正常 2:暂停 3:终止
  14946. type: integer
  14947. remark:
  14948. description: 备注
  14949. type: string
  14950. triggersuccesstimes:
  14951. description: 累计定投成功次数
  14952. type: string
  14953. triggertotalamount:
  14954. description: 累计定投金额(成功)
  14955. type: number
  14956. triggertotalqty:
  14957. description: 累计定投数量(成功) [按小数位放大值]
  14958. type: number
  14959. triggertotaltimes:
  14960. description: 累计定投总次数
  14961. type: string
  14962. updatesrc:
  14963. description: 更新来源 - 1:管理端 2:终端
  14964. type: integer
  14965. updatetime:
  14966. description: 更新时间
  14967. type: string
  14968. updatorid:
  14969. description: 更新人
  14970. type: string
  14971. userid:
  14972. description: 所属用户ID
  14973. type: integer
  14974. userinfotype:
  14975. description: 用户类型 1-个人 2-企业
  14976. type: integer
  14977. username:
  14978. description: 用户名称(userid对应的名称)
  14979. type: string
  14980. type: object
  14981. models.QhjReckonPriceLog:
  14982. properties:
  14983. decimalplace:
  14984. description: 商品报价小数位
  14985. type: integer
  14986. goodscode:
  14987. description: 商品代码
  14988. type: string
  14989. goodsid:
  14990. description: 商品ID
  14991. type: integer
  14992. goodsname:
  14993. description: 商品名称
  14994. type: string
  14995. lastreckonprice:
  14996. description: 上日结算价
  14997. type: number
  14998. nextdnlimitprice:
  14999. description: 下个交易日跌停价
  15000. type: number
  15001. nexttrade:
  15002. description: 下个交易日
  15003. type: string
  15004. nextuplimitprice:
  15005. description: 下个交易日涨停价
  15006. type: number
  15007. reckonprice:
  15008. description: 今日结算价(定投价)
  15009. type: number
  15010. reckontime:
  15011. description: 结算时间
  15012. type: string
  15013. totalholderqty:
  15014. description: 总持仓数
  15015. type: integer
  15016. totalstock:
  15017. description: 总库存
  15018. type: integer
  15019. tradedate:
  15020. description: 交易日
  15021. type: string
  15022. updowncount:
  15023. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  15024. type: integer
  15025. updownflag:
  15026. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  15027. type: integer
  15028. updownrate:
  15029. description: 今日涨跌幅
  15030. type: number
  15031. updownrate_2d:
  15032. description: 连续两日涨跌幅
  15033. type: number
  15034. updownrate_3d:
  15035. description: 连续三日涨跌幅
  15036. type: number
  15037. type: object
  15038. models.QhjScoreLog:
  15039. properties:
  15040. accountid:
  15041. description: 账户ID
  15042. type: integer
  15043. createtime:
  15044. description: 创建时间(时间)
  15045. type: string
  15046. goodsid:
  15047. description: 商品ID
  15048. type: integer
  15049. hasuploaded:
  15050. description: 是否已同步(千海金) 0:未同步 1;已同步
  15051. type: integer
  15052. logid:
  15053. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15054. type: string
  15055. marketid:
  15056. description: 市场ID
  15057. type: integer
  15058. relatedamount:
  15059. description: 关联金额
  15060. type: number
  15061. relatedorderid:
  15062. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  15063. type: string
  15064. scoreconfigvalue1:
  15065. description: 积分配置1
  15066. type: integer
  15067. scoreconfigvalue2:
  15068. description: 积分配置1
  15069. type: integer
  15070. scoretype:
  15071. description: 积分类型 - 1:提货积分
  15072. type: integer
  15073. scorevalue:
  15074. description: 积分
  15075. type: number
  15076. tradedate:
  15077. description: 交易日(yyyyMMdd)
  15078. type: string
  15079. uploadedtime:
  15080. description: 同步时间
  15081. type: string
  15082. userid:
  15083. description: 用户ID
  15084. type: integer
  15085. type: object
  15086. models.QhjSiteColumnDetail:
  15087. properties:
  15088. author:
  15089. description: 作者
  15090. type: string
  15091. brief:
  15092. description: 简介
  15093. type: string
  15094. columnid:
  15095. description: 所属栏目
  15096. type: integer
  15097. context:
  15098. description: 内容
  15099. type: string
  15100. coverimage:
  15101. description: 封面图片
  15102. type: string
  15103. creaedate:
  15104. description: 创建时间
  15105. type: string
  15106. creatorid:
  15107. description: 创建人
  15108. type: integer
  15109. hits:
  15110. description: 点击数
  15111. type: integer
  15112. id:
  15113. description: ID(SEQ_SITE_COLUMNDETAIL)
  15114. type: integer
  15115. isshow:
  15116. description: 是否展示 - 0:不展示 1:展示
  15117. type: integer
  15118. istop:
  15119. description: 是否置顶 - 0:不置 1:置顶
  15120. type: integer
  15121. modifierid:
  15122. description: 操作人
  15123. type: integer
  15124. publishdate:
  15125. description: 发布日期
  15126. type: string
  15127. status:
  15128. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  15129. type: integer
  15130. title:
  15131. description: 标题
  15132. type: string
  15133. updatedate:
  15134. description: 修改时间
  15135. type: string
  15136. userid:
  15137. description: 用户ID(默认为0, 核心为为机构用户ID)
  15138. type: integer
  15139. username:
  15140. description: 用户名称
  15141. type: string
  15142. type: object
  15143. models.QhjTeamOrder:
  15144. properties:
  15145. accountid:
  15146. description: 账户ID[报价币种]
  15147. type: integer
  15148. accountname:
  15149. description: 账户名称
  15150. type: string
  15151. agreeunit:
  15152. description: 合约乘数
  15153. type: number
  15154. buyorsell:
  15155. description: 方向 - 0:买 1:卖
  15156. type: integer
  15157. decimalplace:
  15158. description: 报价小数位
  15159. type: integer
  15160. enumdicname:
  15161. description: 单位名称
  15162. type: string
  15163. goodscode:
  15164. description: 商品代码(内部)
  15165. type: string
  15166. goodsid:
  15167. description: 商品ID
  15168. type: integer
  15169. goodsname:
  15170. description: 商品名称
  15171. type: string
  15172. goodunitid:
  15173. description: 报价单位ID
  15174. type: integer
  15175. marketid:
  15176. description: 市场ID
  15177. type: integer
  15178. marketname:
  15179. description: 市场名称
  15180. type: string
  15181. qtydecimalplace:
  15182. description: 成交量小数位
  15183. type: integer
  15184. refereeuserid:
  15185. description: 推荐人ID
  15186. type: integer
  15187. tradeamount:
  15188. description: 成交金额[账户币种,用于所有权]
  15189. type: number
  15190. tradedate:
  15191. description: 交易日(yyyyMMdd)
  15192. type: string
  15193. trademode:
  15194. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15195. 21:竞拍-大宗式 22:受托竞价
  15196. type: integer
  15197. tradeprice:
  15198. description: 成交价格
  15199. type: number
  15200. tradeqty:
  15201. description: 成交数量
  15202. type: number
  15203. tradetime:
  15204. description: 成交时间
  15205. type: string
  15206. userid:
  15207. description: 用户ID
  15208. type: integer
  15209. type: object
  15210. models.QhjTradeGoodsPickup:
  15211. properties:
  15212. accountid:
  15213. description: 账户ID
  15214. type: integer
  15215. address:
  15216. description: 提货人详细地址
  15217. type: string
  15218. amount:
  15219. description: 提货金额
  15220. type: number
  15221. artradedate:
  15222. description: 自动收货交易日(yyyyMMdd)
  15223. type: string
  15224. auditer:
  15225. description: 审核人
  15226. type: integer
  15227. auditsrc:
  15228. description: 更新来源 - 1:管理端 2:终端
  15229. type: integer
  15230. audittime:
  15231. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  15232. type: string
  15233. audittradedate:
  15234. description: 审核交易日(yyyyMMdd)
  15235. type: string
  15236. cardnum:
  15237. description: 提货人证件号码
  15238. type: string
  15239. cardtypeid:
  15240. description: 提货人证件类型
  15241. type: integer
  15242. checkremark:
  15243. description: 审核备注
  15244. type: string
  15245. cityid:
  15246. description: 市
  15247. type: integer
  15248. cityname:
  15249. description: 城市名称
  15250. type: string
  15251. confirmtime:
  15252. description: 取货时间 或 收货时间
  15253. type: string
  15254. countryid:
  15255. description: 国家
  15256. type: integer
  15257. countryname:
  15258. description: 国家名称
  15259. type: string
  15260. decimalplace:
  15261. description: 商品报价小数位
  15262. type: integer
  15263. districtid:
  15264. description: 地区
  15265. type: integer
  15266. districtname:
  15267. description: 地区名称
  15268. type: string
  15269. enumdicname:
  15270. description: 单位名称(提货商品)
  15271. type: string
  15272. expresscompany:
  15273. description: 物流公司
  15274. type: string
  15275. expressnum:
  15276. description: 物流单号
  15277. type: string
  15278. goodsagreeunit:
  15279. description: 交易商品乘数
  15280. type: number
  15281. goodscode:
  15282. description: 商品代码
  15283. type: string
  15284. goodsid:
  15285. description: 商品ID
  15286. type: integer
  15287. goodsname:
  15288. description: 商品名称
  15289. type: string
  15290. goodsqty:
  15291. description: 交易商品手数(69模式按成交量小数位放大取整)
  15292. type: number
  15293. handlestatus:
  15294. description: 处理状态
  15295. type: integer
  15296. logincode:
  15297. description: 账号(登录代码, 有可能为空)
  15298. type: string
  15299. marketid:
  15300. description: 市场ID
  15301. type: integer
  15302. phonenum:
  15303. description: 提货人联系方式
  15304. type: string
  15305. pickupgoodsagreeunit:
  15306. description: 提货商品合约乘数
  15307. type: number
  15308. pickupgoodsid:
  15309. description: 提货商品ID
  15310. type: string
  15311. pickupgoodsname:
  15312. description: 提货商品名称
  15313. type: string
  15314. pickupgoodsqty:
  15315. description: 提货商品手数(数量)
  15316. type: number
  15317. pickupgoodsunitid:
  15318. description: 单位ID(提货商品)
  15319. type: integer
  15320. pickupratio:
  15321. description: 提货系数
  15322. type: number
  15323. preparedays:
  15324. description: 备货期(天)-提货单明细表
  15325. type: integer
  15326. provinceid:
  15327. description: 省
  15328. type: integer
  15329. provincename:
  15330. description: 省名称
  15331. type: string
  15332. qty:
  15333. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  15334. type: number
  15335. qtydecimalplace:
  15336. description: 商品数量小数位
  15337. type: integer
  15338. recivername:
  15339. description: 提货人姓名
  15340. type: string
  15341. reqtime:
  15342. description: 提货申请时间
  15343. type: string
  15344. storeuserid:
  15345. description: 门店用户ID (千海金)
  15346. type: integer
  15347. storeusername:
  15348. description: 门店用户名称
  15349. type: string
  15350. takemode:
  15351. description: 提货方式 - 2:自提 3:配送(邮寄)
  15352. type: integer
  15353. takeorderid:
  15354. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  15355. type: string
  15356. takeorderstatus:
  15357. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  15358. 7:已拒绝 8:已撤销
  15359. type: integer
  15360. takeremark:
  15361. description: 提货备注
  15362. type: string
  15363. tradedate:
  15364. description: 交易日(yyyyMMdd)
  15365. type: string
  15366. updatetime:
  15367. description: 更新时间
  15368. type: string
  15369. userid:
  15370. description: 用户ID
  15371. type: integer
  15372. userinfotype:
  15373. description: 客户类型 1-个人 2-企业
  15374. type: integer
  15375. username:
  15376. description: 用户名称
  15377. type: string
  15378. type: object
  15379. models.QhjUserNodeCfgAndStatus:
  15380. properties:
  15381. agreementcontent:
  15382. description: 协议内容
  15383. type: string
  15384. agreementid:
  15385. description: 协议ID
  15386. type: integer
  15387. agreementname:
  15388. description: 协议名称
  15389. type: string
  15390. agreementno:
  15391. description: 协议编号
  15392. type: string
  15393. agreementtype:
  15394. description: 协议类型 - 1:注册 2:登录 3:交易
  15395. type: integer
  15396. agreementversion:
  15397. description: 协议版本号
  15398. type: integer
  15399. configid:
  15400. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  15401. type: integer
  15402. createtime:
  15403. description: 创建时间
  15404. type: string
  15405. goodsid:
  15406. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15407. type: integer
  15408. nodetype:
  15409. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  15410. type: integer
  15411. signtimestamp:
  15412. description: 签约状态时间戳(最近一次)
  15413. type: string
  15414. tradedate:
  15415. description: 签约交易日(yyyyMMdd)
  15416. type: string
  15417. userid:
  15418. description: 客户ID
  15419. type: integer
  15420. type: object
  15421. models.Qhjgoodsex:
  15422. properties:
  15423. canfinance:
  15424. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  15425. type: integer
  15426. canregularlybuy:
  15427. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  15428. type: integer
  15429. defaulttradeuserid:
  15430. description: 默认交易用户ID
  15431. type: integer
  15432. deliverygoodsid:
  15433. description: 现货品种ID
  15434. type: integer
  15435. goodsid:
  15436. description: 商品ID(自增ID SEQ_GOODS)
  15437. type: integer
  15438. minamount:
  15439. description: 最小购买金额
  15440. type: number
  15441. regularlybuyminamount:
  15442. description: 定投最小金额
  15443. type: number
  15444. regularlybuyminqty:
  15445. description: 定投最小数量
  15446. type: number
  15447. spotgoodsbrandid:
  15448. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  15449. type: integer
  15450. visibilityforenterprise:
  15451. description: 企业客户是否可见 - 0:不可见 1:可见
  15452. type: integer
  15453. visibilityforpersonal:
  15454. description: 个人客户是否可见 - 0:不可见 1:可见
  15455. type: integer
  15456. wrstandardid:
  15457. description: 现货商品ID
  15458. type: integer
  15459. type: object
  15460. models.QueryErrorInfosRsp:
  15461. properties:
  15462. description:
  15463. description: 异常描述
  15464. type: string
  15465. errorcode:
  15466. description: 异常代码
  15467. type: string
  15468. errorid:
  15469. description: 异常ID
  15470. type: integer
  15471. modulecode:
  15472. description: 所属模块
  15473. type: string
  15474. operatecode:
  15475. description: 所属操作
  15476. type: string
  15477. rownumber:
  15478. description: 行号
  15479. type: string
  15480. required:
  15481. - errorid
  15482. type: object
  15483. models.QueryHedgeOrderDetailRsp:
  15484. properties:
  15485. accountid:
  15486. description: 账户ID
  15487. type: integer
  15488. buyorsell:
  15489. description: 买卖 - 0:买 1:卖
  15490. type: integer
  15491. cancellogincode:
  15492. description: 撤单人
  15493. type: string
  15494. channelbuildtype:
  15495. description: 开平标志 - 0:无 1:建仓 2:平仓
  15496. type: integer
  15497. channelinnerorderstatus:
  15498. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  15499. 9:全部成交
  15500. type: integer
  15501. channeloperatetype:
  15502. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  15503. type: integer
  15504. closetype:
  15505. description: 平仓方式 - 0:无 1:平今 2:平昨
  15506. type: integer
  15507. curexchangerate:
  15508. description: 当前汇率
  15509. type: number
  15510. decimalplace:
  15511. description: 商品报价小数位
  15512. type: integer
  15513. exchangefullname:
  15514. description: 外部交易所全称
  15515. type: string
  15516. goodscode:
  15517. description: 商品代码(内部)
  15518. type: string
  15519. goodsid:
  15520. description: 商品ID
  15521. type: integer
  15522. goodsname:
  15523. description: 商品名称
  15524. type: string
  15525. marketid:
  15526. description: 市场ID
  15527. type: integer
  15528. openfreezemargin:
  15529. description: 冻结保证金(冻结交易金额)
  15530. type: number
  15531. orderid:
  15532. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15533. type: string
  15534. orderlogincode:
  15535. description: 委托人
  15536. type: string
  15537. orderprice:
  15538. description: 委托价格(账户)
  15539. type: number
  15540. orderqty:
  15541. description: 委托数量
  15542. type: integer
  15543. ordertime:
  15544. description: 委托时间
  15545. type: string
  15546. pricemode:
  15547. description: '取价方式 - 1:市价 2: 限价'
  15548. type: integer
  15549. tradedate:
  15550. description: 交易日(yyyyMMdd)
  15551. type: string
  15552. tradeqty:
  15553. description: 成交数量
  15554. type: integer
  15555. type: object
  15556. models.QueryHedgeTradeDetailRsp:
  15557. properties:
  15558. accountid:
  15559. description: 账号ID
  15560. type: integer
  15561. buyorsell:
  15562. description: 方向 - 0:买 1:卖
  15563. type: integer
  15564. channelbuildtype:
  15565. description: 委托单据类型 0:无 1:建仓 2:平仓
  15566. type: integer
  15567. closecharge:
  15568. description: 平仓手续费(账户)
  15569. type: number
  15570. closecharge2:
  15571. description: 平仓手续费(商品)
  15572. type: number
  15573. closepl:
  15574. description: 平仓盈亏(账户)
  15575. type: number
  15576. closepl2:
  15577. description: 平仓盈亏(商品)
  15578. type: number
  15579. closepl3:
  15580. description: 平仓盈亏(账户)(逐笔)
  15581. type: number
  15582. closepl4:
  15583. description: 平仓盈亏(商品)(逐笔)
  15584. type: number
  15585. closetype:
  15586. description: 平仓方式 - 0:无 1:平今 2:平昨
  15587. type: integer
  15588. curexchangerate:
  15589. description: 当前汇率
  15590. type: number
  15591. decimalplace:
  15592. description: 商品报价小数位
  15593. type: integer
  15594. exchangefullname:
  15595. description: 外部交易所全称
  15596. type: string
  15597. goodscode:
  15598. description: 商品代码(内部)
  15599. type: string
  15600. goodsid:
  15601. description: 商品ID
  15602. type: integer
  15603. goodsname:
  15604. description: 商品名称
  15605. type: string
  15606. marketid:
  15607. description: 市场ID
  15608. type: integer
  15609. opencharge:
  15610. description: 建仓手续费(账户)
  15611. type: number
  15612. opencharge2:
  15613. description: 建仓手续费(商品)
  15614. type: number
  15615. orderid:
  15616. description: 委托单号
  15617. type: string
  15618. orderlogincode:
  15619. description: 委托人
  15620. type: string
  15621. tradeamount:
  15622. description: 成交金额(账户)
  15623. type: number
  15624. tradedate:
  15625. description: 交易日(yyyyMMdd)
  15626. type: string
  15627. tradeid:
  15628. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15629. type: string
  15630. tradeprice:
  15631. description: 成交价格
  15632. type: number
  15633. tradeqty:
  15634. description: 成交数量
  15635. type: integer
  15636. tradetime:
  15637. description: 成交时间
  15638. type: string
  15639. tradetype:
  15640. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  15641. type: integer
  15642. type: object
  15643. models.QuotePrimaryMenu:
  15644. properties:
  15645. Index:
  15646. description: 序号
  15647. type: integer
  15648. Key:
  15649. description: 键名
  15650. type: string
  15651. Name:
  15652. description: 菜单名称
  15653. type: string
  15654. SubMenus:
  15655. description: 子菜单
  15656. items:
  15657. $ref: '#/definitions/models.QuoteSecondaryMenu'
  15658. type: array
  15659. SubTitleType:
  15660. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  15661. type: integer
  15662. TradeModes:
  15663. description: 包含市场交易类型
  15664. type: string
  15665. type: object
  15666. models.QuoteSecondaryMenu:
  15667. properties:
  15668. ExExchangeCode:
  15669. description: 外部交易所代码
  15670. type: string
  15671. ExExchangeID:
  15672. description: 外部交易所ID
  15673. type: integer
  15674. GoodsGroupIDs:
  15675. description: 商品组ID列表
  15676. items:
  15677. type: integer
  15678. type: array
  15679. Index:
  15680. description: 序号
  15681. type: integer
  15682. MarketID:
  15683. description: 市场ID
  15684. type: integer
  15685. MenuTitle:
  15686. description: 菜单标题(市场名称或外部交易所名称)
  15687. type: string
  15688. TradeMode:
  15689. description: 交易模式
  15690. type: integer
  15691. type: object
  15692. models.Reckondaytaaccount:
  15693. properties:
  15694. accountid:
  15695. description: 资金账户ID
  15696. type: integer
  15697. accountname:
  15698. description: 账户名称
  15699. type: string
  15700. accountpl:
  15701. description: 今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新
  15702. type: number
  15703. avaiablemoney:
  15704. description: 可用资金
  15705. type: number
  15706. avaiableoutmoney:
  15707. description: 可出资金
  15708. type: number
  15709. balance:
  15710. description: 期初余额
  15711. type: number
  15712. capitalbalance:
  15713. description: 本金余额[外部子账户实际出入金余额]
  15714. type: number
  15715. changeflag:
  15716. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15717. type: integer
  15718. clearbalance:
  15719. description: 清算余额 = 期末余额 - 授信金额 - 其它授信金额
  15720. type: number
  15721. clearpl:
  15722. description: 真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费
  15723. - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 =
  15724. 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费
  15725. type: number
  15726. closepl:
  15727. description: 今日平仓盈亏
  15728. type: number
  15729. closepl2:
  15730. description: 平仓盈亏(逐笔)
  15731. type: number
  15732. creditdecrease:
  15733. description: 今日授信减少
  15734. type: number
  15735. creditincrease:
  15736. description: 今日授信增加
  15737. type: number
  15738. curdebt:
  15739. description: 期末欠款
  15740. type: number
  15741. currencyid:
  15742. description: 货币ID
  15743. type: integer
  15744. currentbalance:
  15745. description: 期末余额
  15746. type: number
  15747. cycletype:
  15748. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  15749. type: integer
  15750. defercharge:
  15751. description: 今日递延费2支出[111, 112]
  15752. type: number
  15753. deliveryamountin:
  15754. description: 今日交收货款收入
  15755. type: number
  15756. deliveryamountout:
  15757. description: 今日交收货款支出
  15758. type: number
  15759. deliverycharge:
  15760. description: 今日交收手续费支出 [105,106]
  15761. type: number
  15762. deliverycompensationfeein:
  15763. description: 今日交收补偿费收入
  15764. type: number
  15765. deliverycompensationfeeout:
  15766. description: 今日交收补偿费支出
  15767. type: number
  15768. dividedcharge:
  15769. description: 今日已收手续费分成
  15770. type: number
  15771. floatnetvalue:
  15772. description: 浮动净值 = 净值 + 浮动盈亏
  15773. type: number
  15774. floatpl:
  15775. description: 浮动盈亏 - 每日有负债类商品
  15776. type: number
  15777. freezecharge:
  15778. description: 手续费冻结
  15779. type: number
  15780. freezemargin:
  15781. description: 冻结保证金
  15782. type: number
  15783. fromaccountid:
  15784. description: 所属上级账户
  15785. type: integer
  15786. holdcharge:
  15787. description: 今日持仓过夜费支出[108,109,110]
  15788. type: number
  15789. inamount:
  15790. description: 今日入金金额
  15791. type: number
  15792. interestcharge:
  15793. description: 今日递延费支出[103, 104]
  15794. type: number
  15795. ismain:
  15796. description: 是否账号 0:不是母账户 1:是母账户
  15797. type: integer
  15798. ismarketaccount:
  15799. description: 是否机构接单账号 0:不是 1:是
  15800. type: integer
  15801. isreckonaccount:
  15802. description: 是否机构分润账号 0:不是 1:是
  15803. type: integer
  15804. mortgagecredit:
  15805. description: 授信金额
  15806. type: number
  15807. netvalue:
  15808. description: 净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新
  15809. type: number
  15810. oridebt:
  15811. description: 期初欠款
  15812. type: number
  15813. orifreezecharge:
  15814. description: 期初手续费冻结
  15815. type: number
  15816. orifreezemargin:
  15817. description: 期初冻结保证金
  15818. type: number
  15819. orimortgagecredit:
  15820. description: 期初授信金额
  15821. type: number
  15822. oriothercredit:
  15823. description: 期初其它授信金额
  15824. type: number
  15825. oriotherfreezemargin:
  15826. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15827. type: number
  15828. orioutamountfreeze:
  15829. description: 期初出金冻结
  15830. type: number
  15831. oriusedmargin:
  15832. description: 期初占用保证金
  15833. type: number
  15834. othercredit:
  15835. description: 其它授信金额
  15836. type: number
  15837. othercreditdecrease:
  15838. description: 今日其它授信减少
  15839. type: number
  15840. othercreditincrease:
  15841. description: 今日其它授信增加
  15842. type: number
  15843. otherfreezemargin:
  15844. description: 其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15845. type: number
  15846. otherincome:
  15847. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  15848. type: number
  15849. otherpay:
  15850. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  15851. type: number
  15852. outamount:
  15853. description: 今日出金金额
  15854. type: number
  15855. outamountfreeze:
  15856. description: 出金冻结
  15857. type: number
  15858. outthreshold:
  15859. description: 出金阈值
  15860. type: number
  15861. ownershipvalue:
  15862. description: 所有权市值
  15863. type: number
  15864. parentaccountid:
  15865. description: 所属根账户
  15866. type: integer
  15867. password:
  15868. description: 资金密码
  15869. type: string
  15870. paycharge:
  15871. description: 今日手续费支出
  15872. type: number
  15873. paycharge2:
  15874. description: 今日手续费支出(外部配置)
  15875. type: number
  15876. payexchcharge:
  15877. description: 今日应付交易所手续费
  15878. type: number
  15879. reckondate:
  15880. description: 日照日期(yyyyMMdd)
  15881. type: string
  15882. reckonpl:
  15883. description: 今日结算盈亏
  15884. type: number
  15885. reckonpl2:
  15886. description: 结算盈亏(逐笔) - 汇总取期末
  15887. type: number
  15888. relatedaccountstatus:
  15889. description: 关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15890. type: integer
  15891. relateuserid:
  15892. description: 关联用户
  15893. type: integer
  15894. riskrate:
  15895. description: 风险率 = 占用/ 浮动净值 或 浮动净值/占用
  15896. type: number
  15897. signstatus:
  15898. description: 签约状态 - 1:未签约 2:已签约 3:已解约
  15899. type: integer
  15900. spotvalue:
  15901. description: 现货市值-统计服务更新
  15902. type: number
  15903. sublevelpath:
  15904. description: 账号层级路径(逗号分隔,首尾加逗号)
  15905. type: string
  15906. taaccounttype:
  15907. description: 外部/内部账号 - 1:外部账号 2:内部账号
  15908. type: integer
  15909. thirdinamount:
  15910. description: 今日三方入金
  15911. type: number
  15912. thirdoutamount:
  15913. description: 今日三方出金
  15914. type: number
  15915. tradeamount:
  15916. description: 今日成交金额
  15917. type: number
  15918. tradecharge:
  15919. description: 今日交易手续费支出 [101,102]
  15920. type: number
  15921. tradeqty:
  15922. description: 今日成交量
  15923. type: integer
  15924. tradestatus:
  15925. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)
  15926. type: integer
  15927. transferamount:
  15928. description: 今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)
  15929. type: number
  15930. usedmargin:
  15931. description: 占用保证金
  15932. type: number
  15933. userid:
  15934. description: 用户ID
  15935. type: integer
  15936. required:
  15937. - userid
  15938. type: object
  15939. models.RelatedTaAccount:
  15940. properties:
  15941. accountid:
  15942. description: 资金账户ID
  15943. type: integer
  15944. type: object
  15945. models.RoleMenu:
  15946. properties:
  15947. hasright:
  15948. description: 是否有权限 0-没有权限 1-有权限
  15949. type: integer
  15950. iconame:
  15951. description: 菜单图标
  15952. type: string
  15953. menutype:
  15954. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  15955. type: integer
  15956. parentcode:
  15957. description: 上级资源代码
  15958. type: string
  15959. remark:
  15960. description: 菜单备注
  15961. type: string
  15962. resourcecode:
  15963. description: 菜单代码
  15964. type: string
  15965. resourcelevel:
  15966. description: 级别
  15967. type: integer
  15968. resourcename:
  15969. description: 菜单名称
  15970. type: string
  15971. roleid:
  15972. description: 角色id
  15973. type: integer
  15974. sort:
  15975. description: 排序
  15976. type: integer
  15977. subMenu:
  15978. description: 子级菜单(结构同上层一样, swag解析不出来)
  15979. items:
  15980. $ref: '#/definitions/models.RoleMenu'
  15981. type: array
  15982. url:
  15983. description: URL
  15984. type: string
  15985. userid:
  15986. description: 用户id
  15987. type: integer
  15988. type: object
  15989. models.SearchGoods:
  15990. properties:
  15991. goodscode:
  15992. description: 商品代码(内部)
  15993. type: string
  15994. goodsid:
  15995. description: 商品ID(自增ID SEQ_GOODS)
  15996. type: integer
  15997. goodsname:
  15998. description: 商品名称
  15999. type: string
  16000. marketid:
  16001. description: 所属市场ID
  16002. type: integer
  16003. marketname:
  16004. description: 市场名称
  16005. type: string
  16006. trademode:
  16007. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16008. 21:竞拍-大宗式 22:受托竞价
  16009. type: integer
  16010. required:
  16011. - goodscode
  16012. - goodsid
  16013. - goodsname
  16014. - marketid
  16015. - trademode
  16016. type: object
  16017. models.SellOrder:
  16018. properties:
  16019. accountid:
  16020. description: 资金账号
  16021. type: integer
  16022. applyid:
  16023. description: 申请单ID
  16024. type: integer
  16025. attachment1:
  16026. description: 附件1
  16027. type: string
  16028. attachment2:
  16029. description: 附件2
  16030. type: string
  16031. buyorsell:
  16032. description: 买卖 - 0:买 1:卖
  16033. type: integer
  16034. canbargain:
  16035. description: 是否可议价 - 0:不可 1:可
  16036. type: integer
  16037. cancelqty:
  16038. description: 撤销数量
  16039. type: integer
  16040. canceltime:
  16041. description: 撤销时间
  16042. type: string
  16043. cerno:
  16044. type: string
  16045. chargealgorithm:
  16046. description: 手续费收取方式 1:比率 2:固定
  16047. type: integer
  16048. chargealgorithmvalue:
  16049. description: 手续费设置值(交易所部分)
  16050. type: number
  16051. chargealgorithmvalue2:
  16052. description: 手续费设置值(会员部分)
  16053. type: number
  16054. clientordertime:
  16055. description: 客户端委托时间
  16056. type: string
  16057. cpcertno:
  16058. type: string
  16059. exchangerate:
  16060. description: 汇率[67]
  16061. type: number
  16062. firstratio:
  16063. description: 首付比率 - [挂牌时指定,摘牌时使用]
  16064. type: number
  16065. fixedprice:
  16066. description: '[克拉单价]固定价格 - [挂牌]'
  16067. type: number
  16068. freezecharge:
  16069. description: 冻结手续费
  16070. type: number
  16071. freezefirstamount:
  16072. description: 冻结首付金额 - [摘牌]
  16073. type: number
  16074. freezemargin:
  16075. description: 冻结保证金
  16076. type: number
  16077. goodsno:
  16078. description: 商品编号
  16079. type: string
  16080. imagepath:
  16081. type: string
  16082. isQueryDiamond:
  16083. description: 是否钻石查询
  16084. type: boolean
  16085. isspecified:
  16086. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16087. type: integer
  16088. kppath:
  16089. type: string
  16090. kpweight:
  16091. type: string
  16092. marginalgorithm:
  16093. description: 保证金方式 - 1:比率 2:固定
  16094. type: integer
  16095. marginvalue:
  16096. description: 保证金设置值
  16097. type: number
  16098. marketid:
  16099. description: 市场ID
  16100. type: integer
  16101. marketprice:
  16102. type: string
  16103. orderamount:
  16104. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  16105. type: number
  16106. ordertime:
  16107. description: 委托时间
  16108. type: string
  16109. performancetemplateid:
  16110. description: 履约计划模板ID
  16111. type: integer
  16112. price:
  16113. description: 价格
  16114. type: number
  16115. pricefactor:
  16116. description: 价格系数(浮动价时填写) - [挂牌]
  16117. type: number
  16118. pricemove:
  16119. description: 升贴水(浮动价时填写) - [挂牌]
  16120. type: number
  16121. priceper:
  16122. type: string
  16123. relatedwrtradeorderid:
  16124. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  16125. type: integer
  16126. remainqty:
  16127. description: 剩余重量
  16128. type: number
  16129. remark:
  16130. type: string
  16131. retcode:
  16132. description: 错误代码
  16133. type: integer
  16134. sellusername:
  16135. description: 卖方(查询字段-模糊查询)
  16136. type: string
  16137. settingmaterial:
  16138. description: 镶嵌材料
  16139. type: string
  16140. size1:
  16141. type: string
  16142. size2:
  16143. type: string
  16144. size3:
  16145. type: string
  16146. sizedisplay:
  16147. description: 尺寸
  16148. type: string
  16149. stonedesc:
  16150. description: 配石描述
  16151. type: string
  16152. totalqty:
  16153. description: 总重量
  16154. type: number
  16155. tradedate:
  16156. description: 交易日(yyyyMMdd)
  16157. type: string
  16158. tradeprice:
  16159. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  16160. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  16161. type: number
  16162. unfreezecharge:
  16163. description: 解冻手续费
  16164. type: number
  16165. unfreezefirstamount:
  16166. description: 解冻首付金额 - [摘牌]
  16167. type: number
  16168. unfreezemargin:
  16169. description: 解冻保证金
  16170. type: number
  16171. userid:
  16172. description: 用户ID
  16173. type: integer
  16174. uuid:
  16175. description: 发起端唯一id
  16176. type: string
  16177. validtime:
  16178. description: 有效期限
  16179. type: string
  16180. validtype:
  16181. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16182. type: integer
  16183. warehousenamedisplay:
  16184. type: string
  16185. wrbargainid:
  16186. description: 议价申请单ID
  16187. type: integer
  16188. wrfactortypeid:
  16189. description: 仓单要素类型ID/商品ID(77)
  16190. type: integer
  16191. wrpath:
  16192. type: string
  16193. wrpricetype:
  16194. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16195. type: integer
  16196. wrstandardid:
  16197. description: 现货商品ID
  16198. type: integer
  16199. wrtradeorderid:
  16200. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16201. type: string
  16202. wrtradeorderstatus:
  16203. 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:撤单解冻贷款失败
  16204. type: integer
  16205. wrtradetype:
  16206. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16207. type: integer
  16208. wrtransferuserid:
  16209. description: 仓单受让用户 - [摘牌]
  16210. type: integer
  16211. zscategory:
  16212. description: 钻石分类 - 枚举”ZSCategory“
  16213. type: integer
  16214. zscategorydisplay:
  16215. description: 钻石分类 - 描述
  16216. type: string
  16217. zscerttypedisplay:
  16218. type: string
  16219. zsclaritytype1display:
  16220. type: string
  16221. zsclaritytype2display:
  16222. type: string
  16223. zscolortype1display:
  16224. type: string
  16225. zscolortype2display:
  16226. type: string
  16227. zscrystaltype:
  16228. type: string
  16229. zscrystaltypedisplay:
  16230. type: string
  16231. zscurrencytype:
  16232. description: 货币类型 - 枚举“ZSCurrencyType”
  16233. type: integer
  16234. zscurrencytypedisplay:
  16235. type: string
  16236. zscurrencytypedisplayunit:
  16237. type: string
  16238. zscuttype1display:
  16239. type: string
  16240. zscuttype2display:
  16241. type: string
  16242. zsczcolor1typedisplay:
  16243. type: string
  16244. zsczcolor2typedisplay:
  16245. type: string
  16246. zsczcolor3typedisplay:
  16247. type: string
  16248. zsfluorescencetype1display:
  16249. type: string
  16250. zsfluorescencetype2display:
  16251. type: string
  16252. zspolishtype1display:
  16253. type: string
  16254. zspolishtype2display:
  16255. type: string
  16256. zsshapetypedisplay:
  16257. type: string
  16258. zsstyletypedisplay:
  16259. type: string
  16260. zssymmetrytype1display:
  16261. type: string
  16262. zssymmetrytype2display:
  16263. type: string
  16264. type: object
  16265. models.SellOrderQueryReq:
  16266. properties:
  16267. origin:
  16268. description: 原产地
  16269. type: string
  16270. page:
  16271. description: 页码
  16272. type: integer
  16273. pagesize:
  16274. description: 每页大小
  16275. type: integer
  16276. total:
  16277. description: 总条数
  16278. type: integer
  16279. warehouseid:
  16280. description: 仓库ID
  16281. type: integer
  16282. weight1:
  16283. description: 总重量(克拉重量)-从
  16284. type: number
  16285. weight2:
  16286. description: 总重量(克拉重量)-至
  16287. type: number
  16288. weightavg1:
  16289. description: 平均单颗重量-从
  16290. type: number
  16291. weightavg2:
  16292. description: 平均单颗重量-至
  16293. type: number
  16294. zscategory:
  16295. description: 钻石分类 - 枚举”ZSCategory“
  16296. type: integer
  16297. zscerttype:
  16298. description: 证书类型
  16299. items:
  16300. type: string
  16301. type: array
  16302. zsclaritytype:
  16303. description: 净度
  16304. items:
  16305. type: integer
  16306. type: array
  16307. zscolortype:
  16308. description: 颜色
  16309. items:
  16310. type: integer
  16311. type: array
  16312. zscurrencytype:
  16313. description: 货币类型 - 枚举“ZSCurrencyType”
  16314. items:
  16315. type: string
  16316. type: array
  16317. zscuttype:
  16318. description: 切工
  16319. items:
  16320. type: integer
  16321. type: array
  16322. zsczcolor1type:
  16323. description: 彩钻颜色1
  16324. items:
  16325. type: string
  16326. type: array
  16327. zsfluorescencetype:
  16328. description: 荧光
  16329. items:
  16330. type: integer
  16331. type: array
  16332. zspolishtype:
  16333. description: 抛光度
  16334. items:
  16335. type: integer
  16336. type: array
  16337. zsshapetype:
  16338. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  16339. items:
  16340. type: string
  16341. type: array
  16342. zsstyletype:
  16343. description: 款式
  16344. items:
  16345. type: string
  16346. type: array
  16347. zssymmetrytype:
  16348. description: 对称度
  16349. items:
  16350. type: integer
  16351. type: array
  16352. required:
  16353. - zscategory
  16354. type: object
  16355. models.Systemparam:
  16356. properties:
  16357. loginid:
  16358. description: 更新用户账号,登录账号
  16359. type: string
  16360. modifyflag:
  16361. description: 修改标志0 不允许修改 1 允许修改
  16362. type: integer
  16363. paramcode:
  16364. description: 参数代码
  16365. type: string
  16366. paramname:
  16367. description: 参数名
  16368. type: string
  16369. paramtype:
  16370. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  16371. type: integer
  16372. paramvalue:
  16373. description: 参数值
  16374. type: string
  16375. paramvalue2:
  16376. description: 参数值(CLOB)
  16377. type: string
  16378. regexpress:
  16379. description: 正则表达式
  16380. type: string
  16381. remark:
  16382. description: 备注
  16383. type: string
  16384. serverip:
  16385. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  16386. type: string
  16387. showflag:
  16388. description: 是否显示0 不显示 1 显示
  16389. type: integer
  16390. updatetime:
  16391. description: 更新时间
  16392. type: string
  16393. userid:
  16394. description: 更新用户ID
  16395. type: integer
  16396. required:
  16397. - paramcode
  16398. type: object
  16399. models.Szdz3convertconfig:
  16400. properties:
  16401. canin:
  16402. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  16403. type: integer
  16404. canout:
  16405. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  16406. type: integer
  16407. converttype:
  16408. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  16409. 6:交易转花生米(不设置)
  16410. type: integer
  16411. createtime:
  16412. description: 创建时间
  16413. type: string
  16414. creatorid:
  16415. description: 创建人
  16416. type: integer
  16417. daymaxvalue:
  16418. description: 当日最大转入限制
  16419. type: number
  16420. freezedays:
  16421. description: 冻结天数 [5:花生米转交易]
  16422. type: integer
  16423. innergoodsid:
  16424. description: 内部商品ID[交易]
  16425. type: integer
  16426. inratio:
  16427. description: 目标值
  16428. type: integer
  16429. modifierid:
  16430. description: 修改人
  16431. type: integer
  16432. modifytime:
  16433. description: 修改时间
  16434. type: string
  16435. outergoodscode:
  16436. description: 外部商品代码[JD\PD]
  16437. type: string
  16438. outratio:
  16439. description: 源值
  16440. type: integer
  16441. pddecimalplace:
  16442. description: PD小数位
  16443. type: integer
  16444. timemaxvalue:
  16445. description: 单次最大转入限制
  16446. type: number
  16447. timeminvalue:
  16448. description: 单次最小转入限制
  16449. type: number
  16450. required:
  16451. - converttype
  16452. - innergoodsid
  16453. - outergoodscode
  16454. type: object
  16455. models.Szdz3searchwhitelist:
  16456. properties:
  16457. createtime:
  16458. description: 创建时间
  16459. type: string
  16460. creatorid:
  16461. description: 创建人
  16462. type: integer
  16463. modifierid:
  16464. description: 修改人
  16465. type: integer
  16466. modifytime:
  16467. description: 修改时间
  16468. type: string
  16469. userid:
  16470. description: 用户ID
  16471. type: integer
  16472. required:
  16473. - userid
  16474. type: object
  16475. models.TBGoods:
  16476. properties:
  16477. agreeunit:
  16478. description: 合约乘数
  16479. type: number
  16480. enumdicname:
  16481. description: 单位名称
  16482. type: string
  16483. goodscode:
  16484. description: 商品代码(内部)
  16485. type: string
  16486. goodsid:
  16487. description: 商品ID(自增ID SEQ_GOODS)
  16488. type: integer
  16489. goodsname:
  16490. description: 商品名称
  16491. type: string
  16492. type: object
  16493. models.TBGoodsGroup:
  16494. properties:
  16495. GDLST:
  16496. description: 商品列表
  16497. items:
  16498. $ref: '#/definitions/models.TBGoods'
  16499. type: array
  16500. convertratio:
  16501. description: 折算系数
  16502. type: number
  16503. enumdicname:
  16504. description: 单位名称
  16505. type: string
  16506. exexchangecode:
  16507. description: 交易所代码
  16508. type: string
  16509. exexchangename:
  16510. description: 交易所名称
  16511. type: string
  16512. goodsgroupid:
  16513. description: 商品组ID(自增ID)
  16514. type: integer
  16515. goodsgroupname:
  16516. description: 商品组名称
  16517. type: string
  16518. goodunitid:
  16519. description: 报价单位ID
  16520. type: integer
  16521. type: object
  16522. models.TBMiddleGoods:
  16523. properties:
  16524. GPLST:
  16525. description: 期货品种列表
  16526. items:
  16527. $ref: '#/definitions/models.TBGoodsGroup'
  16528. type: array
  16529. WDLST:
  16530. description: 商品信息列表(现货品类)
  16531. items:
  16532. $ref: '#/definitions/models.TBWrstandard'
  16533. type: array
  16534. areauserid:
  16535. description: 机构用户ID
  16536. type: integer
  16537. enumdicname:
  16538. description: 单位名称
  16539. type: string
  16540. goodsunitid:
  16541. description: 套保品种单位id
  16542. type: integer
  16543. middlegoodscode:
  16544. description: 套保品种代码
  16545. type: string
  16546. middlegoodsid:
  16547. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  16548. type: integer
  16549. middlegoodsname:
  16550. description: 套保品种名称
  16551. type: string
  16552. needarbitrageratio:
  16553. description: 套利比率
  16554. type: number
  16555. needhedgeratio:
  16556. description: 套保比率
  16557. type: number
  16558. type: object
  16559. models.TBWrstandard:
  16560. properties:
  16561. convertratio:
  16562. description: 折算系数
  16563. type: number
  16564. deliverygoodsname:
  16565. description: 品种名称
  16566. type: string
  16567. enumdicname:
  16568. description: 单位名称
  16569. type: string
  16570. vatrate:
  16571. description: 增值税率
  16572. type: number
  16573. wrstandardcode:
  16574. description: 现货商品代码
  16575. type: string
  16576. wrstandardid:
  16577. description: 现货商品ID(SEQ_WRSTANDARD)
  16578. type: integer
  16579. wrstandardname:
  16580. description: 现货商品名称
  16581. type: string
  16582. type: object
  16583. models.Taaccount:
  16584. properties:
  16585. accountflag:
  16586. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  16587. type: integer
  16588. accountid:
  16589. description: 资金账户ID
  16590. type: integer
  16591. accountname:
  16592. description: 账户名称
  16593. type: string
  16594. balance:
  16595. description: 期初余额
  16596. type: number
  16597. capitalbalance:
  16598. description: 本金余额[外部子账户实际出入金余额]
  16599. type: number
  16600. changeflag:
  16601. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  16602. type: integer
  16603. changetime:
  16604. description: 账户状态变更时间
  16605. type: string
  16606. closepl:
  16607. description: 今日平仓盈亏
  16608. type: number
  16609. creditdecrease:
  16610. description: 今日授信减少
  16611. type: number
  16612. creditincrease:
  16613. description: 今日授信增加
  16614. type: number
  16615. curamount:
  16616. description: 总市值(从持仓中统计)
  16617. type: number
  16618. currencyid:
  16619. description: 货币ID
  16620. type: integer
  16621. currentbalance:
  16622. description: 期末余额
  16623. type: number
  16624. freezecharge:
  16625. description: 手续费冻结
  16626. type: number
  16627. freezemargin:
  16628. description: 冻结保证金
  16629. type: number
  16630. fromaccountid:
  16631. description: 所属上级账户
  16632. type: integer
  16633. inamount:
  16634. description: 今日入金金额(包括三方入金)
  16635. type: number
  16636. ismain:
  16637. description: 是否母账号 0:不是母账户 1:是母账户
  16638. type: integer
  16639. ismarketaccount:
  16640. description: 是否机构接单账号 0:不是 1:是
  16641. type: integer
  16642. isreckonaccount:
  16643. description: 是否机构分润账号 0:不是 1:是
  16644. type: integer
  16645. mortgagecredit:
  16646. description: 授信金额
  16647. type: number
  16648. orifreezecharge:
  16649. description: 期初手续费冻结
  16650. type: number
  16651. orifreezemargin:
  16652. description: 期初冻结保证金
  16653. type: number
  16654. orimortgagecredit:
  16655. description: 期初授信金额
  16656. type: number
  16657. oriothercredit:
  16658. description: 期初其它授信金额
  16659. type: number
  16660. oriotherfreezemargin:
  16661. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  16662. type: number
  16663. orioutamountfreeze:
  16664. description: 期初出金冻结
  16665. type: number
  16666. oriusedmargin:
  16667. description: 期初占用保证金
  16668. type: number
  16669. othercredit:
  16670. description: 其它授信金额
  16671. type: number
  16672. othercreditdecrease:
  16673. description: 今日其它授信减少
  16674. type: number
  16675. othercreditincrease:
  16676. description: 今日其它授信增加
  16677. type: number
  16678. otherfreezemargin:
  16679. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  16680. type: number
  16681. otherincome:
  16682. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  16683. type: number
  16684. otherpay:
  16685. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  16686. type: number
  16687. outamount:
  16688. description: 今日出金金额(包括三方出金)
  16689. type: number
  16690. outamountfreeze:
  16691. description: 出金冻结
  16692. type: number
  16693. outthreshold:
  16694. description: 出金阈值
  16695. type: number
  16696. parentaccountid:
  16697. description: 所属根账号
  16698. type: integer
  16699. paycharge:
  16700. description: 今日手续费支出
  16701. type: number
  16702. relatedaccountstatus:
  16703. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  16704. type: integer
  16705. relateduserid:
  16706. description: 关联用户
  16707. type: integer
  16708. remainamount:
  16709. description: 融资额(从融资合同中统计)
  16710. type: number
  16711. serivcegroup:
  16712. description: 服务分组
  16713. type: integer
  16714. signstatus:
  16715. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  16716. type: integer
  16717. sublevelpath:
  16718. description: 账号层级路径(逗号分隔,首尾加逗号)
  16719. type: string
  16720. taaccounttype:
  16721. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  16722. type: integer
  16723. thirdinamount:
  16724. description: 今日三方入金
  16725. type: number
  16726. thirdoutamount:
  16727. description: 今日三方出金
  16728. type: number
  16729. tradestatus:
  16730. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  16731. type: integer
  16732. tradestatuschangetime:
  16733. description: 激活时间
  16734. type: string
  16735. transferamount:
  16736. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  16737. type: number
  16738. usedmargin:
  16739. description: 占用保证金
  16740. type: number
  16741. userid:
  16742. description: 用户ID
  16743. type: integer
  16744. required:
  16745. - accountid
  16746. - userid
  16747. type: object
  16748. models.Tablecolumnconfig:
  16749. properties:
  16750. aligntype:
  16751. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  16752. type: integer
  16753. autoid:
  16754. description: AutoID
  16755. type: integer
  16756. columnfield:
  16757. description: 列字段
  16758. type: string
  16759. columntitle:
  16760. description: 列Title
  16761. type: string
  16762. columnwidth:
  16763. description: 列宽
  16764. type: string
  16765. fixed:
  16766. description: 固定类型 - 空 | left | right
  16767. type: string
  16768. formatterstring:
  16769. description: 格式化字符
  16770. type: string
  16771. formattertype:
  16772. description: 格式化类型
  16773. type: string
  16774. groupname:
  16775. description: 表头分组名称
  16776. type: string
  16777. ismerge:
  16778. description: 是否合并显示 - 0:不合并 1:合并
  16779. type: integer
  16780. isshow:
  16781. description: 是否显示 - 0:不显示 1:显示
  16782. type: integer
  16783. needsummary:
  16784. description: 是否需要汇总 - 0:不需要 1:需要
  16785. type: integer
  16786. orderindex:
  16787. description: 顺序
  16788. type: integer
  16789. remark:
  16790. description: 备注
  16791. type: string
  16792. summarytype:
  16793. description: 汇总类型 - 1:加总 2:最后一个
  16794. type: integer
  16795. tablekey:
  16796. description: 列表Key
  16797. type: string
  16798. required:
  16799. - autoid
  16800. type: object
  16801. models.TjmdHolderDetailTradeInfo:
  16802. properties:
  16803. agreeunit:
  16804. description: 合约乘数
  16805. type: number
  16806. buyaccountid:
  16807. description: 买方账户
  16808. type: string
  16809. buyusername:
  16810. description: 买方
  16811. type: string
  16812. delistingdate:
  16813. description: 最后结算日
  16814. type: string
  16815. expiredate:
  16816. description: 到期结算价定价日
  16817. type: string
  16818. exprieprice:
  16819. description: 到期清算价格
  16820. type: string
  16821. goodscode:
  16822. description: 商品代码
  16823. type: string
  16824. goodsid:
  16825. description: 商品ID
  16826. type: integer
  16827. goodsname:
  16828. description: 商品名称(交易标的)
  16829. type: string
  16830. lasttradedate:
  16831. description: 最后交易日
  16832. type: string
  16833. listingdate:
  16834. description: 开始交易日
  16835. type: string
  16836. openprice:
  16837. description: 成交价
  16838. type: number
  16839. openqty:
  16840. description: 交易数量
  16841. type: integer
  16842. sellaccountid:
  16843. description: 卖方账户
  16844. type: string
  16845. sellusername:
  16846. description: 卖方
  16847. type: string
  16848. tradeamount:
  16849. description: 初始名义价值
  16850. type: number
  16851. tradedate:
  16852. description: 成交日期
  16853. type: string
  16854. tradeid:
  16855. description: 成交编号
  16856. type: string
  16857. type: object
  16858. models.TjmdMarketSection:
  16859. properties:
  16860. marketsectionid:
  16861. description: 市场版块ID(SEQ_MARKETSECTION)
  16862. type: integer
  16863. marketsectionname:
  16864. description: 市场版块名称
  16865. type: string
  16866. mlist:
  16867. description: 市场列表(板块下面有多少个市场)
  16868. items:
  16869. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  16870. type: array
  16871. orderindex:
  16872. description: 排序
  16873. type: integer
  16874. pictureurl:
  16875. description: 图片url, 规格(90*90)
  16876. type: string
  16877. remark:
  16878. description: 备注
  16879. type: string
  16880. type: object
  16881. models.TjmdMarketSectionConfig:
  16882. properties:
  16883. auctionwrtype:
  16884. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  16885. type: integer
  16886. canacceptquote:
  16887. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  16888. type: integer
  16889. cangoodsexercise:
  16890. description: '[期权]是否可现货行权- 0:否 1:是'
  16891. type: integer
  16892. cangoodsexercisetype:
  16893. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  16894. type: integer
  16895. canmanualquotestrike:
  16896. description: 是否可手动报行权价- 0:否 1:是 [期权]
  16897. type: integer
  16898. canmutistage:
  16899. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  16900. type: integer
  16901. canpreexercise:
  16902. description: '[期权]是否可预申报- 0:否 1:是'
  16903. type: integer
  16904. clearinterval:
  16905. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  16906. type: integer
  16907. contracttmp:
  16908. description: 合同模板[荷兰式][竞价式][仓单贸易]
  16909. type: string
  16910. exchareaid:
  16911. description: 所属交易所,可以没有
  16912. type: integer
  16913. financemarketid:
  16914. description: 融资回购市场ID [仓单贸易]
  16915. type: integer
  16916. goodstype:
  16917. description: 商品类型 - 1:交易商品 2:仓单商品
  16918. type: integer
  16919. hasrebate:
  16920. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  16921. type: integer
  16922. hastradecredit:
  16923. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  16924. type: integer
  16925. haswr:
  16926. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  16927. type: integer
  16928. isdeductmargin:
  16929. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  16930. type: integer
  16931. isrecordsource:
  16932. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  16933. type: integer
  16934. isreleasemargin:
  16935. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  16936. type: integer
  16937. isupdatereckonprice:
  16938. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  16939. type: integer
  16940. listingmode:
  16941. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  16942. type: integer
  16943. marginformula:
  16944. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16945. type: integer
  16946. marginformula2:
  16947. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16948. type: integer
  16949. marketid:
  16950. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  16951. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  16952. type: integer
  16953. marketname:
  16954. description: 市场名称
  16955. type: string
  16956. marketsectionid:
  16957. description: 市场版块ID(SEQ_MARKETSECTION)
  16958. type: integer
  16959. marketserviceid:
  16960. description: 市场服务ID
  16961. type: integer
  16962. marketstatus:
  16963. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  16964. type: integer
  16965. markettype:
  16966. description: 市场类型- 1:非交易服务 2:交易服务
  16967. type: integer
  16968. matchermode:
  16969. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  16970. type: integer
  16971. nowrquotaflag:
  16972. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  16973. type: integer
  16974. openmethod:
  16975. description: 开盘模式 - 0 自动 1手动
  16976. type: integer
  16977. orderindex:
  16978. description: 排序
  16979. type: integer
  16980. otcuserid:
  16981. description: 场外期权做市商[场外期权]
  16982. type: integer
  16983. outersynctime:
  16984. description: 外部同步时间点(h24:mi:ss)[场外期权]
  16985. type: string
  16986. paylaterflag:
  16987. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  16988. type: integer
  16989. pendingflag:
  16990. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  16991. type: integer
  16992. pendingtime:
  16993. description: 待开市时间[通道交易-对冲](HH:mm)
  16994. type: string
  16995. performancetempid:
  16996. description: 履约计划模板ID - 作废
  16997. type: integer
  16998. premiumquotemode:
  16999. description: 权利金报价方式 - 1:自动 2:手动
  17000. type: integer
  17001. rebateratio:
  17002. description: 返利比率[竞价式]
  17003. type: number
  17004. reckonorder:
  17005. description: 结算顺序
  17006. type: integer
  17007. reckonpricealgorithm:
  17008. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  17009. 6.卖一价 7.买一卖一均价 8.外部结算价'
  17010. type: integer
  17011. reckonpriceparam:
  17012. description: 结算价参数
  17013. type: integer
  17014. reckontime:
  17015. description: 结算时间[通道交易-对冲](HH:mm)
  17016. type: string
  17017. roleprioritytype:
  17018. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  17019. type: integer
  17020. selllistingauditflag:
  17021. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  17022. type: integer
  17023. trademarkettype:
  17024. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  17025. type: integer
  17026. trademode:
  17027. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17028. 21:竞拍-大宗式 22:受托竞价
  17029. type: integer
  17030. tradeproperty:
  17031. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  17032. 8:场外期权
  17033. type: integer
  17034. tradetype:
  17035. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  17036. type: integer
  17037. updatereckonpriceinterval:
  17038. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  17039. type: integer
  17040. type: object
  17041. models.TjmdQuoteGoods:
  17042. properties:
  17043. buyqty:
  17044. description: 买量(暂不做, 无值, 保留字段)
  17045. type: number
  17046. decimalplace:
  17047. description: 报价小数位
  17048. type: integer
  17049. goodscode:
  17050. description: 合约代码
  17051. type: string
  17052. goodsgroupid:
  17053. description: 商品组ID(自增ID)
  17054. type: integer
  17055. goodsgroupname:
  17056. description: 商品组名称
  17057. type: string
  17058. goodsid:
  17059. description: 合约id
  17060. type: integer
  17061. goodsname:
  17062. description: 合约名称
  17063. type: string
  17064. refgoodscode:
  17065. description: 标的合约代码
  17066. type: string
  17067. refgoodsid:
  17068. description: 标的合约id
  17069. type: integer
  17070. refgoodsname:
  17071. description: 标的合约名称
  17072. type: string
  17073. sellqty:
  17074. description: 卖量(暂不做, 无值, 保留字段)
  17075. type: number
  17076. type: object
  17077. models.TjmdTodayAccountMargin:
  17078. properties:
  17079. accountid:
  17080. description: 账号ID
  17081. type: integer
  17082. goodsid:
  17083. description: 商品ID
  17084. type: integer
  17085. infoc:
  17086. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  17087. description: 配置参数
  17088. marketid:
  17089. description: 市场ID
  17090. type: integer
  17091. type: object
  17092. models.TjmdTradeOrderDetail:
  17093. properties:
  17094. buyorsell:
  17095. description: 买卖方向 0-买 1-卖
  17096. type: integer
  17097. goodsid:
  17098. description: 商品id
  17099. type: integer
  17100. marketmaxsub:
  17101. description: 市价最大偏移范围 [浮动价 - 点差]
  17102. type: number
  17103. orderid:
  17104. description: 委托单号
  17105. type: string
  17106. orderprice:
  17107. description: 期初均价
  17108. type: number
  17109. orderqty:
  17110. description: 委托数量
  17111. type: integer
  17112. pricemode:
  17113. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  17114. type: integer
  17115. userid:
  17116. description: 用户id
  17117. type: integer
  17118. username:
  17119. description: 用户名称(已脱敏)
  17120. type: string
  17121. type: object
  17122. models.TjmdTransferApply:
  17123. properties:
  17124. applyid:
  17125. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  17126. type: integer
  17127. applystatus:
  17128. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  17129. type: integer
  17130. applytime:
  17131. description: 申请时间(时间)
  17132. type: string
  17133. auditremark:
  17134. description: 审核备注(拒绝原因?)
  17135. type: string
  17136. begindate:
  17137. description: 开始交易日(yyyymmdd)
  17138. type: string
  17139. buyorsell:
  17140. description: 买卖 - 0:买 1:卖
  17141. type: integer
  17142. enddate:
  17143. description: 结束交易日(yyyymmdd)
  17144. type: string
  17145. goodscode:
  17146. description: 商品代码
  17147. type: string
  17148. goodsid:
  17149. description: 商品ID
  17150. type: integer
  17151. goodsname:
  17152. description: 商品名称
  17153. type: string
  17154. marketid:
  17155. description: 市场ID
  17156. type: integer
  17157. qty:
  17158. description: 期初均价
  17159. type: number
  17160. tradeid:
  17161. description: 成交单号(关联持仓)
  17162. type: string
  17163. transferamount:
  17164. description: 转让总金额(金额)
  17165. type: number
  17166. transferprice:
  17167. description: 转让价格(协议价格)
  17168. type: number
  17169. type: object
  17170. models.TradeHolderDetail:
  17171. properties:
  17172. accountid:
  17173. description: 账号ID
  17174. type: integer
  17175. agreeunit:
  17176. description: 合约乘数
  17177. type: number
  17178. buyorsell:
  17179. description: 方向 - 0:买 1:卖
  17180. type: integer
  17181. currencyid:
  17182. description: 商品币种id
  17183. type: integer
  17184. currencyname:
  17185. description: 币种名称
  17186. type: string
  17187. decimalplace:
  17188. description: 商品价格小数位
  17189. type: integer
  17190. enumdicname:
  17191. description: 商品单位名称
  17192. type: string
  17193. expirecycle:
  17194. description: 行权周期(天) - 1:滚动行权时填写
  17195. type: integer
  17196. expiredate:
  17197. description: 行权日(yyyyMMdd) - 到期日
  17198. type: string
  17199. expiretype:
  17200. description: 行权日类型 - 1:滚动行权 2:固定日行权
  17201. type: integer
  17202. freezeqty:
  17203. description: 期初均价
  17204. type: number
  17205. goodscode:
  17206. description: 商品代码
  17207. type: string
  17208. goodsid:
  17209. description: 商品ID
  17210. type: integer
  17211. goodsname:
  17212. description: 商品名称
  17213. type: string
  17214. goodunitid:
  17215. description: 商品单位id
  17216. type: integer
  17217. holderamount:
  17218. description: 持仓金额
  17219. type: number
  17220. holdercredit:
  17221. description: 持仓授信金额
  17222. type: number
  17223. holderdays:
  17224. description: 剩余冻结天数
  17225. type: integer
  17226. holderprice:
  17227. description: 持仓价格
  17228. type: number
  17229. holderqty:
  17230. description: 期初均价
  17231. type: number
  17232. isconfirmexercise:
  17233. description: 是否确认行权- 0:否 1:是
  17234. type: integer
  17235. ispreexercise:
  17236. description: 是否预申报- 0:否 1:是 2:不可行权
  17237. type: integer
  17238. marketid:
  17239. description: 市场id
  17240. type: integer
  17241. marketname:
  17242. description: 市场名称
  17243. type: string
  17244. openprice:
  17245. description: 建仓价格
  17246. type: number
  17247. openqty:
  17248. description: 期初均价
  17249. type: number
  17250. optiontype:
  17251. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17252. type: integer
  17253. preexerciseprice:
  17254. description: 预申报价格
  17255. type: number
  17256. premium:
  17257. description: 权利金
  17258. type: number
  17259. qtydecimalplace:
  17260. description: 商品成交量小数位
  17261. type: integer
  17262. refgoodscode:
  17263. description: 标的合约代码
  17264. type: string
  17265. refgoodsid:
  17266. description: 标的合约id
  17267. type: integer
  17268. releaseamount:
  17269. description: 释放持仓金额
  17270. type: number
  17271. releaseholdercredit:
  17272. description: 释放持仓授信金额
  17273. type: number
  17274. taname:
  17275. description: 资金账号名称
  17276. type: string
  17277. tradeamount:
  17278. description: 成交金额
  17279. type: number
  17280. tradedate:
  17281. description: 交易日(yyyyMMdd)
  17282. type: string
  17283. tradeid:
  17284. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17285. type: string
  17286. trademode:
  17287. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17288. 21:竞拍-大宗式 22:受托竞价 46:掉期
  17289. type: integer
  17290. tradeproperty:
  17291. description: 交易属性
  17292. type: integer
  17293. tradetime:
  17294. description: 交易时间
  17295. type: string
  17296. userid:
  17297. description: 用户id
  17298. type: integer
  17299. username:
  17300. description: 用户名称
  17301. type: string
  17302. type: object
  17303. models.Unlinkermcphedgeplan:
  17304. properties:
  17305. accountid:
  17306. description: 期货账户ID - 作废
  17307. type: integer
  17308. accountname:
  17309. description: 交易用户
  17310. type: string
  17311. applyid:
  17312. description: 申请人
  17313. type: integer
  17314. applysrc:
  17315. description: 申请来源 - 1:管理端 2:终端
  17316. type: integer
  17317. applytime:
  17318. description: 申请时间
  17319. type: string
  17320. areauserid:
  17321. description: '[企业ID]机构ID'
  17322. type: integer
  17323. auditid:
  17324. description: 审核人
  17325. type: integer
  17326. auditremark:
  17327. description: 审核备注
  17328. type: string
  17329. auditsrc:
  17330. description: 审核来源 - 1:管理端 2:终端
  17331. type: integer
  17332. audittime:
  17333. description: 审核时间
  17334. type: string
  17335. audittradedate:
  17336. description: 审核交易日(yyyyMMdd)
  17337. type: string
  17338. biztype:
  17339. description: 业务类型 - 1:套保
  17340. type: integer
  17341. contracttype:
  17342. description: 计划类型 - 1:采购 -1:销售
  17343. type: integer
  17344. convertfactor:
  17345. description: 标仓系数 - 作废
  17346. type: number
  17347. createtime:
  17348. description: 创建时间
  17349. type: string
  17350. currencyid:
  17351. description: 结算币种ID - 作废
  17352. type: integer
  17353. deliverygoodsid:
  17354. description: 现货品种ID
  17355. type: integer
  17356. enumdicname:
  17357. description: 结算币种
  17358. type: string
  17359. hedgeplanid:
  17360. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  17361. type: string
  17362. hedgeplanno:
  17363. description: '[计划编号]套保计划编号,模糊查询'
  17364. type: string
  17365. hedgeplanstatus:
  17366. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  17367. type: integer
  17368. isrelated:
  17369. description: 是否已关联计划项目 - 0:否 1:是
  17370. type: integer
  17371. planqty:
  17372. description: '[计划量]计划数量'
  17373. type: number
  17374. plantime:
  17375. description: 计划时间
  17376. type: string
  17377. producttype:
  17378. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  17379. type: integer
  17380. remark:
  17381. description: 备注
  17382. type: string
  17383. spotgoodsdesc:
  17384. description: 商品型号
  17385. type: string
  17386. tradedate:
  17387. description: 交易日(yyyyMMdd)
  17388. type: string
  17389. tradeuserid:
  17390. description: 交易用户ID
  17391. type: integer
  17392. updatetime:
  17393. description: 更新时间
  17394. type: string
  17395. wrstandardid:
  17396. description: 现货商品ID
  17397. type: integer
  17398. wrstandardname:
  17399. description: 现货商品,模糊查询
  17400. type: string
  17401. required:
  17402. - areauserid
  17403. type: object
  17404. models.UserCollectConfig:
  17405. properties:
  17406. accountstatus:
  17407. description: 账户状态 - 1:正常 2:停用 3:注销
  17408. type: integer
  17409. collectaccountname:
  17410. description: 收款人账户名称
  17411. type: string
  17412. collectaccountno:
  17413. description: 收款人账户
  17414. type: string
  17415. collectbankname:
  17416. description: 收款人开户行
  17417. type: string
  17418. collectbranchbankname:
  17419. description: 收款人开户支行
  17420. type: string
  17421. collectconfigid:
  17422. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  17423. type: string
  17424. remark:
  17425. description: 备注
  17426. type: string
  17427. userid:
  17428. description: 收款人用户ID
  17429. type: integer
  17430. type: object
  17431. models.UserReceiveInfo:
  17432. properties:
  17433. address:
  17434. description: 提货人详细地址
  17435. type: string
  17436. autoid:
  17437. description: AutoID
  17438. type: integer
  17439. cardnum:
  17440. description: 证件号码(加密存储)
  17441. type: string
  17442. cardtypeid:
  17443. description: 证件类型
  17444. type: integer
  17445. cityid:
  17446. description: 市
  17447. type: integer
  17448. cityname:
  17449. description: 城市名称
  17450. type: string
  17451. countryid:
  17452. description: 国家
  17453. type: integer
  17454. countryname:
  17455. description: 国家名称
  17456. type: string
  17457. districtid:
  17458. description: 地区
  17459. type: integer
  17460. districtname:
  17461. description: 地区名称
  17462. type: string
  17463. hasencrypt:
  17464. description: 数据是否已加密 - 0:未加密 1:已加密
  17465. type: integer
  17466. isdefault:
  17467. description: 是否默认地址 - 0:否 1:是
  17468. type: integer
  17469. phonenum:
  17470. description: 提货人联系方式(加密存储)
  17471. type: string
  17472. provinceid:
  17473. description: 省
  17474. type: integer
  17475. provincename:
  17476. description: 省名称
  17477. type: string
  17478. receivername:
  17479. description: 提货人姓名
  17480. type: string
  17481. takeremark:
  17482. description: 提货备注
  17483. type: string
  17484. userid:
  17485. description: 用户ID
  17486. type: integer
  17487. type: object
  17488. models.Useraccount:
  17489. properties:
  17490. accountname:
  17491. description: 账户名称(机构名称)
  17492. type: string
  17493. accountstatus:
  17494. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  17495. type: integer
  17496. applysrc:
  17497. description: 申请来源 - 1:管理端 2:终端
  17498. type: integer
  17499. auditremark:
  17500. description: 审核备注
  17501. type: string
  17502. auditsrc:
  17503. description: 审核来源 - 1:管理端 2:终端
  17504. type: integer
  17505. audittime:
  17506. description: 审核时间
  17507. type: string
  17508. audituserid:
  17509. description: 审核人
  17510. type: integer
  17511. broker:
  17512. description: 所属经纪人ID
  17513. type: integer
  17514. canceltime:
  17515. description: 销户时间
  17516. type: string
  17517. canceluserid:
  17518. description: 销户人
  17519. type: integer
  17520. canrecommend:
  17521. description: 是否可推荐 - 0:不可 1;可
  17522. type: integer
  17523. createtime:
  17524. description: 创建时间
  17525. type: string
  17526. creatorid:
  17527. description: 创建人
  17528. type: integer
  17529. hasauth:
  17530. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  17531. type: integer
  17532. isanonymous:
  17533. description: 是否匿名下单 - 0:否 1:是
  17534. type: integer
  17535. maxinvestornum:
  17536. description: 最大用户数(经纪会员下投资者个数)
  17537. type: integer
  17538. memberuserid:
  17539. description: 所属会员ID
  17540. type: integer
  17541. modifierid:
  17542. description: 修改人
  17543. type: integer
  17544. modifyremark:
  17545. description: 变更备注
  17546. type: string
  17547. modifystatus:
  17548. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  17549. type: integer
  17550. modifytime:
  17551. description: 修改时间
  17552. type: string
  17553. parenttopuser:
  17554. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  17555. type: string
  17556. parentuserid:
  17557. description: 所属机构ID
  17558. type: integer
  17559. reckonaccountid:
  17560. description: 默认结算资金账号ID(机构分润使用) 作废
  17561. type: integer
  17562. refercount:
  17563. description: 推荐总人数
  17564. type: integer
  17565. refereeuserid:
  17566. description: 推荐人ID
  17567. type: integer
  17568. refernum:
  17569. description: 推荐码
  17570. type: string
  17571. rootuserid:
  17572. description: 根用户ID
  17573. type: integer
  17574. subaccountlevel:
  17575. description: 子账户层数
  17576. type: integer
  17577. subarealevelpath:
  17578. description: 子机构层级路径(逗号分隔,首尾加逗号)
  17579. type: string
  17580. userid:
  17581. description: 用户ID
  17582. type: integer
  17583. usertype:
  17584. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  17585. type: integer
  17586. required:
  17587. - userid
  17588. type: object
  17589. models.Userfavoritegoods:
  17590. properties:
  17591. goodsid:
  17592. description: 商品ID
  17593. type: integer
  17594. required:
  17595. - goodsid
  17596. type: object
  17597. models.Userinfo:
  17598. properties:
  17599. address:
  17600. description: 地址
  17601. type: string
  17602. attachment1:
  17603. description: 附件1
  17604. type: string
  17605. attachment2:
  17606. description: 附件2
  17607. type: string
  17608. bankaccount:
  17609. description: 银行帐号 (加密存储)
  17610. type: string
  17611. bankaccountname:
  17612. description: 收款人名称
  17613. type: string
  17614. bankcardfrontphotourl:
  17615. description: 银行卡正面照地址
  17616. type: string
  17617. bankid:
  17618. description: 银行编码
  17619. type: string
  17620. bankname:
  17621. description: 银行名称
  17622. type: string
  17623. biznature:
  17624. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17625. type: integer
  17626. bizscope:
  17627. description: 企业经营范围(企业)
  17628. type: string
  17629. cardbackphotourl:
  17630. description: 证件背面图片地址
  17631. type: string
  17632. cardfrontphotourl:
  17633. description: 证件正面图片地址
  17634. type: string
  17635. cardnum:
  17636. description: 证件号码(加密存储)
  17637. type: string
  17638. cardtypeid:
  17639. description: 证件类型ID
  17640. type: integer
  17641. cityid:
  17642. description: 市
  17643. type: integer
  17644. company:
  17645. description: 公司(个人)
  17646. type: string
  17647. contactname:
  17648. description: 联系人
  17649. type: string
  17650. countryid:
  17651. description: 国家
  17652. type: integer
  17653. createtime:
  17654. description: 创建时间
  17655. type: string
  17656. creatorid:
  17657. description: 创建人
  17658. type: integer
  17659. customername:
  17660. description: 客户名称(企业名称)
  17661. type: string
  17662. districtid:
  17663. description: 地区
  17664. type: integer
  17665. email:
  17666. description: 邮件(加密存储)
  17667. type: string
  17668. fax:
  17669. description: 传真(加密存储)
  17670. type: string
  17671. halfbodyphotourl:
  17672. description: 半身照地址
  17673. type: string
  17674. hasencrypt:
  17675. description: 数据是否已加密 - 0:未加密 1:已加密
  17676. type: integer
  17677. headurl:
  17678. description: 头像地址
  17679. type: string
  17680. legalcardbackphotourl:
  17681. description: 法人身份证背面照地址
  17682. type: string
  17683. legalcardfrontphotourl:
  17684. description: 法人身份证正面照地址
  17685. type: string
  17686. legalpersonname:
  17687. description: 法人姓名(企业)
  17688. type: string
  17689. mobile:
  17690. description: 手机号码(加密存储)
  17691. type: string
  17692. mobile2:
  17693. description: 手机号码[明文-尚志]
  17694. type: string
  17695. modifierid:
  17696. description: 修改人
  17697. type: integer
  17698. modifiertime:
  17699. description: 修改时间
  17700. type: string
  17701. needinvoice:
  17702. description: 是否需要发票 - 0:不需要 1:需要
  17703. type: integer
  17704. nickname:
  17705. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17706. type: string
  17707. openmode:
  17708. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  17709. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  17710. type: integer
  17711. otherurl:
  17712. description: 其它图片地址[使用分号分隔]
  17713. type: string
  17714. postalcode:
  17715. description: 邮政编码
  17716. type: string
  17717. provinceid:
  17718. description: 省
  17719. type: integer
  17720. qq:
  17721. description: QQ(加密存储
  17722. type: string
  17723. remark:
  17724. description: 备注
  17725. type: string
  17726. sex:
  17727. description: '用户性别 0: 女 1: 男'
  17728. type: integer
  17729. signpdfurl:
  17730. description: 签约pdf文件
  17731. type: string
  17732. telphone:
  17733. description: 联系电话(加密存储)
  17734. type: string
  17735. userid:
  17736. description: 用户ID
  17737. type: integer
  17738. userinfotype:
  17739. description: 用户信息类型 - 1:个人 2:企业
  17740. type: integer
  17741. userstatus:
  17742. description: 用户状态 - 1:正常 2:注销
  17743. type: integer
  17744. usertype:
  17745. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  17746. type: integer
  17747. wechat:
  17748. description: 微信(加密存储)
  17749. type: string
  17750. wskhinfo:
  17751. description: 开户申请信息(JSON)
  17752. type: string
  17753. required:
  17754. - userid
  17755. type: object
  17756. models.WRPositionReport:
  17757. properties:
  17758. accountid:
  17759. description: 帐户ID
  17760. type: integer
  17761. brandid:
  17762. description: 品牌ID(1交割品种升贴水参数表 AutoID) - 作废
  17763. type: integer
  17764. buylistinglot:
  17765. description: 买挂牌宗数
  17766. type: integer
  17767. buytradeamount:
  17768. description: 购买金额
  17769. type: number
  17770. buytradelot:
  17771. description: 购买宗数
  17772. type: integer
  17773. buytradeqty:
  17774. description: 购买数量
  17775. type: number
  17776. creditcurqty:
  17777. description: 授信当前数量
  17778. type: integer
  17779. creditfreezeqty:
  17780. description: 授信冻结数量
  17781. type: integer
  17782. credittotalqty:
  17783. description: 授信总数量
  17784. type: integer
  17785. credittradeqty:
  17786. description: 授信成交数量
  17787. type: integer
  17788. decreaseqty:
  17789. description: 今日减少数量
  17790. type: integer
  17791. deliverygoodsid:
  17792. description: 交割商品ID
  17793. type: integer
  17794. deliverymonthid:
  17795. description: 月份ID(1交割品种升贴水参数表 AutoID) - 作废
  17796. type: integer
  17797. freezeqty:
  17798. description: 总冻结数量
  17799. type: integer
  17800. increaseqty:
  17801. description: 今日增加数量
  17802. type: integer
  17803. marketvalue:
  17804. description: 市值
  17805. type: number
  17806. pickupqty:
  17807. description: 今日提货数量
  17808. type: integer
  17809. qualityid:
  17810. description: 品质ID(1交割品种升贴水参数表 AutoID) - 作废
  17811. type: integer
  17812. reckondate:
  17813. description: 日照时期(yyyyMMdd)
  17814. type: string
  17815. relatedqty:
  17816. description: 关联数量
  17817. type: integer
  17818. selllistingamount:
  17819. description: 卖挂牌金额
  17820. type: number
  17821. selllistinglot:
  17822. description: 卖挂牌宗数
  17823. type: integer
  17824. selllistingqty:
  17825. description: 卖挂牌数量
  17826. type: number
  17827. selltradeamount:
  17828. description: 销售金额
  17829. type: number
  17830. selltradelot:
  17831. description: 销售宗数
  17832. type: integer
  17833. selltradeqty:
  17834. description: 销售数量
  17835. type: number
  17836. specid:
  17837. description: 规格ID(1交割品种升贴水参数表 AutoID) - 作废
  17838. type: integer
  17839. totalprice:
  17840. description: 销售金额(¥)
  17841. type: number
  17842. totalqty:
  17843. description: 总数量
  17844. type: integer
  17845. totalweight:
  17846. description: 销售重量(ct)
  17847. type: number
  17848. tradewrqty:
  17849. description: 订单仓单头寸总数量
  17850. type: integer
  17851. transfertradewrqty:
  17852. description: 今日转订单数量
  17853. type: integer
  17854. warehouseid:
  17855. description: 仓库ID(1交割品种升贴水参数表 AutoID) - 作废
  17856. type: integer
  17857. wrfactortypeid:
  17858. description: 仓单要素类型ID
  17859. type: integer
  17860. wrpositionid:
  17861. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  17862. type: integer
  17863. wrstandardcode:
  17864. description: 现货商品代码
  17865. type: string
  17866. wrstandardid:
  17867. description: 现货商品ID
  17868. type: integer
  17869. wruserid:
  17870. description: 持有人ID
  17871. type: integer
  17872. zscategory:
  17873. description: 商品分类
  17874. type: integer
  17875. zscategorydisplay:
  17876. type: string
  17877. zscurrencytype:
  17878. description: 商品币种
  17879. type: integer
  17880. zscurrencytypedisplay:
  17881. type: string
  17882. zscurrencytypedisplayunit:
  17883. type: string
  17884. type: object
  17885. models.WRSConverTDetail:
  17886. properties:
  17887. convertratio:
  17888. description: 套保系数
  17889. type: number
  17890. deliverygoodscode:
  17891. description: 现货商品代码
  17892. type: string
  17893. deliverygoodsid:
  17894. description: 现货品种ID
  17895. type: integer
  17896. deliverygoodsname:
  17897. description: 现货商品名称
  17898. type: string
  17899. enumdicname:
  17900. description: 单位名称
  17901. type: string
  17902. goodsunitid:
  17903. description: 套保品种单位id
  17904. type: integer
  17905. middlegoodscode:
  17906. description: 套保品种代码
  17907. type: string
  17908. middlegoodsid:
  17909. description: 套保品种ID
  17910. type: integer
  17911. middlegoodsname:
  17912. description: 套保品种名称
  17913. type: string
  17914. modifytime:
  17915. description: 修改时间
  17916. type: string
  17917. wrstandardid:
  17918. description: 品类ID
  17919. type: integer
  17920. type: object
  17921. models.WRStandardInfo:
  17922. properties:
  17923. areauserid:
  17924. description: 所属机构
  17925. type: integer
  17926. convertfactor:
  17927. description: 标仓系数
  17928. type: number
  17929. createtime:
  17930. description: 创建时间
  17931. type: string
  17932. creatorid:
  17933. description: 创建人
  17934. type: integer
  17935. deliverygoodsid:
  17936. description: 品种ID
  17937. type: integer
  17938. deliverygoodsname:
  17939. description: 交割商品名称
  17940. type: string
  17941. factoryitemjson:
  17942. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  17943. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  17944. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  17945. 逗号分隔'
  17946. type: string
  17947. isvalid:
  17948. description: 是否有效 - 0:无效 1:有效
  17949. type: integer
  17950. minivalue:
  17951. description: 最小变动值
  17952. type: integer
  17953. minivaluedp:
  17954. description: 最小变动值小数位
  17955. type: integer
  17956. realminivalue:
  17957. description: 实际最小变动值
  17958. type: integer
  17959. realminivaluedp:
  17960. description: 实际最小变动值小数位
  17961. type: integer
  17962. remark:
  17963. description: 备注
  17964. type: string
  17965. unitid:
  17966. description: 单位ID
  17967. type: integer
  17968. unitname:
  17969. description: 单位
  17970. type: string
  17971. updatetime:
  17972. description: 更新时间
  17973. type: string
  17974. updatorid:
  17975. description: 更新人
  17976. type: integer
  17977. wrsstatus:
  17978. description: 状态 - 作废 - 0:未激活 1:正常
  17979. type: integer
  17980. wrstandardcode:
  17981. description: 现货品类代码
  17982. type: string
  17983. wrstandardid:
  17984. description: 现货品类ID(SEQ_WRSTANDARD)
  17985. type: integer
  17986. wrstandardname:
  17987. description: 现货品类名称
  17988. type: string
  17989. required:
  17990. - wrstandardid
  17991. type: object
  17992. models.WRTradeBargainApply:
  17993. properties:
  17994. accountid:
  17995. description: 摘牌资金账号
  17996. type: integer
  17997. applyprice:
  17998. description: 申请价格(议价价格)
  17999. type: string
  18000. applyqty:
  18001. description: 摘牌数量(议价数量)
  18002. type: number
  18003. applyremark:
  18004. description: 申请备注
  18005. type: string
  18006. applystatus:
  18007. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  18008. type: integer
  18009. applytime:
  18010. description: 申请时间(议价时间)
  18011. type: string
  18012. begindate:
  18013. description: 开始交易日(yyyymmdd)
  18014. type: string
  18015. buyorsell:
  18016. description: 买卖(挂牌类型) - 0:买 1:卖
  18017. type: integer
  18018. confirmremark:
  18019. description: 确认备注
  18020. type: string
  18021. confirmtime:
  18022. description: 确认时间
  18023. type: string
  18024. confirmuserid:
  18025. description: 确认人
  18026. type: integer
  18027. deliverygoodscode:
  18028. description: 品种代码
  18029. type: string
  18030. deliverygoodsid:
  18031. description: 品种ID
  18032. type: integer
  18033. deliverygoodsname:
  18034. description: 品种名称
  18035. type: string
  18036. deliverymonth:
  18037. description: 交收月
  18038. type: string
  18039. enddate:
  18040. description: 结束交易日(yyyymmdd)
  18041. type: string
  18042. enumdicname:
  18043. description: 单位名称
  18044. type: string
  18045. fixedprice:
  18046. description: 期初均价
  18047. type: number
  18048. handlestatus:
  18049. description: 处理状态
  18050. type: integer
  18051. marginvalue:
  18052. description: 期初均价
  18053. type: number
  18054. marketid:
  18055. description: 市场ID
  18056. type: integer
  18057. matchaccountid:
  18058. description: 挂牌方资金账号
  18059. type: integer
  18060. matchuserid:
  18061. description: 挂牌方用户id
  18062. type: integer
  18063. matchusername:
  18064. description: 挂牌方用户名称(已脱敏)
  18065. type: string
  18066. minivalue:
  18067. description: 现货商品最小变动值
  18068. type: integer
  18069. optioncompare:
  18070. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18071. type: string
  18072. orderqty:
  18073. description: 挂牌数量
  18074. type: integer
  18075. refprice:
  18076. description: 参考价格
  18077. type: string
  18078. retcode:
  18079. description: 委托返回代码
  18080. type: integer
  18081. templatename:
  18082. description: 履约方式(履约模板名称)
  18083. type: string
  18084. tradedate:
  18085. description: 交易日(yyyyMMdd)
  18086. type: string
  18087. userid:
  18088. description: 摘牌人用户ID(议价人ID)
  18089. type: integer
  18090. username:
  18091. description: 议价人名字(已脱敏)
  18092. type: string
  18093. validtime:
  18094. description: 有效期限
  18095. type: string
  18096. warehouseid:
  18097. description: 仓库ID
  18098. type: integer
  18099. warehousename:
  18100. description: 仓库名称
  18101. type: string
  18102. wrbargainid:
  18103. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  18104. type: string
  18105. wrfactortypeid:
  18106. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18107. type: string
  18108. wrfactortypename:
  18109. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18110. type: string
  18111. wrstandardcode:
  18112. description: 现货商品代码
  18113. type: string
  18114. wrstandardid:
  18115. description: 现货商品ID
  18116. type: integer
  18117. wrstandardname:
  18118. description: 商品名称
  18119. type: string
  18120. wrtradeorderid:
  18121. description: 关联委托单ID
  18122. type: string
  18123. wrtypename:
  18124. description: 商品
  18125. type: string
  18126. type: object
  18127. models.Warehouseinfo:
  18128. properties:
  18129. address:
  18130. description: 详细地址
  18131. type: string
  18132. areauserid:
  18133. description: 所属机构
  18134. type: integer
  18135. autoid:
  18136. description: 自增ID
  18137. type: integer
  18138. cityid:
  18139. description: 市
  18140. type: integer
  18141. contactname:
  18142. description: 联系人
  18143. type: string
  18144. contactnum:
  18145. description: 联系电话
  18146. type: string
  18147. countryid:
  18148. description: 国家
  18149. type: integer
  18150. createtime:
  18151. description: 创建时间
  18152. type: string
  18153. districtid:
  18154. description: 区
  18155. type: integer
  18156. hasvideo:
  18157. description: 是否有视频 - 0:无 1:有
  18158. type: integer
  18159. provinceid:
  18160. description: 省
  18161. type: integer
  18162. remark:
  18163. description: 审核备注
  18164. type: string
  18165. videourl:
  18166. description: 视频地址
  18167. type: string
  18168. warehousecode:
  18169. description: 仓库代码
  18170. type: string
  18171. warehousename:
  18172. description: 仓库名称
  18173. type: string
  18174. warehousestatus:
  18175. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  18176. type: integer
  18177. warehousetype:
  18178. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  18179. type: integer
  18180. required:
  18181. - autoid
  18182. - warehousecode
  18183. type: object
  18184. models.WrAverageTradePrice:
  18185. properties:
  18186. averageprice:
  18187. description: 期初均价
  18188. type: number
  18189. tradedate:
  18190. description: 交易日yyyymm
  18191. type: string
  18192. type: object
  18193. models.WrBrandAndYears:
  18194. properties:
  18195. brandlst:
  18196. description: 品牌列表
  18197. items:
  18198. $ref: '#/definitions/models.DgFactoryItem'
  18199. type: array
  18200. yearslst:
  18201. description: 年份列表
  18202. items:
  18203. $ref: '#/definitions/models.DgFactoryItem'
  18204. type: array
  18205. type: object
  18206. models.WrBsGoodsInfo:
  18207. properties:
  18208. buyorsell:
  18209. description: 买卖方向 0-买 1-卖
  18210. type: integer
  18211. goodsid:
  18212. description: 交易合约ID
  18213. type: integer
  18214. lstitem:
  18215. description: 商品信息项
  18216. items:
  18217. $ref: '#/definitions/models.WrTypeItem'
  18218. type: array
  18219. lststep:
  18220. description: 履约规则
  18221. items:
  18222. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18223. type: array
  18224. type: object
  18225. models.WrBuybackDetail:
  18226. properties:
  18227. buybackamount:
  18228. description: 回购金额
  18229. type: number
  18230. buybackqty:
  18231. description: 回购数量
  18232. type: number
  18233. buybackreleasemargin:
  18234. description: 回购释放保证金
  18235. type: number
  18236. buybacktime:
  18237. description: 回购时间
  18238. type: string
  18239. errordesc:
  18240. description: 错误描述
  18241. type: string
  18242. handlestatus:
  18243. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  18244. type: integer
  18245. relatedwrid:
  18246. description: 关联仓单ID
  18247. type: integer
  18248. scfcontractid:
  18249. description: SCF合同ID
  18250. type: string
  18251. scfwrbuybackid:
  18252. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  18253. type: integer
  18254. tradedate:
  18255. description: 交易日(yyyyMMdd)
  18256. type: string
  18257. type: object
  18258. models.WrClientAdSpaceConfig:
  18259. properties:
  18260. adspaceid:
  18261. description: 广告位ID
  18262. type: integer
  18263. adspacename:
  18264. description: 广告位名称
  18265. type: string
  18266. adspacetype:
  18267. description: 广告位类型 - 1:固定广告位
  18268. type: integer
  18269. areauserid:
  18270. description: 所属机构ID
  18271. type: integer
  18272. createdate:
  18273. description: 创建时间
  18274. type: string
  18275. imagepath:
  18276. description: 图片
  18277. type: string
  18278. modifierid:
  18279. description: 操作人
  18280. type: integer
  18281. recsize:
  18282. description: 推荐尺寸
  18283. type: string
  18284. title:
  18285. description: 标题
  18286. type: string
  18287. updatedate:
  18288. description: 更新时间
  18289. type: string
  18290. urlcontent:
  18291. description: 链接(地址\商品ID\功能菜单Key\appid)
  18292. type: string
  18293. urltype:
  18294. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  18295. type: integer
  18296. type: object
  18297. models.WrDeliveryAvalidHoldLB:
  18298. properties:
  18299. accountid:
  18300. description: 资金账号
  18301. type: integer
  18302. avalidqty:
  18303. description: 数量(可点选数量)
  18304. type: number
  18305. deliverygoodsid:
  18306. description: 品种id
  18307. type: integer
  18308. enumdicname:
  18309. description: 单位名称
  18310. type: string
  18311. goodsid:
  18312. description: x合约商品id
  18313. type: integer
  18314. ladingbillid:
  18315. description: 提单id
  18316. type: string
  18317. pgoodscode:
  18318. description: p商品代码(点价合约)
  18319. type: string
  18320. pgoodsid:
  18321. description: p商品id(点价合约)
  18322. type: integer
  18323. pgoodsname:
  18324. description: p商品名称(点价合约)
  18325. type: string
  18326. pricemove:
  18327. description: 升贴水
  18328. type: number
  18329. subnum:
  18330. description: 提单子id
  18331. type: integer
  18332. userid:
  18333. description: 用户id
  18334. type: integer
  18335. username:
  18336. description: 仓单持有人
  18337. type: string
  18338. warehousecode:
  18339. description: 仓库代码
  18340. type: string
  18341. warehouseid:
  18342. description: 仓库id
  18343. type: integer
  18344. warehousename:
  18345. description: 仓库名称
  18346. type: string
  18347. wrfactortypeid:
  18348. description: 仓单要素id
  18349. type: string
  18350. wrstandardcode:
  18351. description: 品代码
  18352. type: string
  18353. wrstandardid:
  18354. description: 品类d
  18355. type: integer
  18356. wrstandardname:
  18357. description: 品类名称
  18358. type: string
  18359. wrtypename:
  18360. description: 商品
  18361. type: string
  18362. xgoodscode:
  18363. description: x合约代码
  18364. type: string
  18365. xgoodsname:
  18366. description: x合约名称
  18367. type: string
  18368. type: object
  18369. models.WrDeliveryDetail:
  18370. properties:
  18371. accountid:
  18372. description: 账号ID
  18373. type: integer
  18374. averageprice:
  18375. description: 期初均价
  18376. type: number
  18377. begindate:
  18378. description: 开始交易日(yyyymmdd)
  18379. type: string
  18380. buyorsell:
  18381. description: 方向 - 0:买 1:卖
  18382. type: integer
  18383. deliveryamount:
  18384. description: 货款金额(X总货款+P总货款)
  18385. type: number
  18386. deliveryid:
  18387. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  18388. type: string
  18389. deliveryorderid:
  18390. description: 申报单号
  18391. type: string
  18392. deliverypricemove:
  18393. description: 升贴水(升贴水总额)
  18394. type: number
  18395. deliveryqty:
  18396. description: 交收数量(点选数量)
  18397. type: number
  18398. deliverystatus:
  18399. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  18400. type: integer
  18401. deliverytime:
  18402. description: 交割时间
  18403. type: string
  18404. deliverytotalamount:
  18405. description: 交收金额
  18406. type: number
  18407. enddate:
  18408. description: 结束交易日(yyyymmdd)
  18409. type: string
  18410. enumdicname:
  18411. description: 单位名称
  18412. type: string
  18413. matchaccountid:
  18414. description: 对手账号ID
  18415. type: integer
  18416. matchusername:
  18417. description: 对手方名称(仓单持有人)
  18418. type: string
  18419. p1goodsremainamount:
  18420. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  18421. type: number
  18422. pdeliverycloseqty:
  18423. description: p合约平仓数量
  18424. type: number
  18425. pdeliveryprice:
  18426. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  18427. type: number
  18428. pgoodscode:
  18429. description: 商品代码
  18430. type: string
  18431. pgoodsid:
  18432. description: p点选合约id
  18433. type: integer
  18434. pgoodsname:
  18435. description: 商品名称
  18436. type: string
  18437. ppricemode:
  18438. description: 点价价格方式 - 1:商品价 2:固定值
  18439. type: integer
  18440. tradedate:
  18441. description: 交易日(yyyymmdd)
  18442. type: string
  18443. userid:
  18444. description: 用户id
  18445. type: integer
  18446. username:
  18447. description: 用户名称
  18448. type: string
  18449. warehousename:
  18450. description: 仓库名称
  18451. type: string
  18452. wrfactortypeid:
  18453. description: 仓单要素类型ID
  18454. type: string
  18455. wrtypename:
  18456. description: 商品
  18457. type: string
  18458. xdeliverycloseqty:
  18459. description: 合约数量
  18460. type: number
  18461. xgoodsamount:
  18462. description: 期初均价
  18463. type: number
  18464. xgoodscode:
  18465. description: 商品代码
  18466. type: string
  18467. xgoodsid:
  18468. description: x交易合约ID
  18469. type: integer
  18470. xgoodsname:
  18471. description: 商品名称
  18472. type: string
  18473. type: object
  18474. models.WrDeliveryGoodsSection:
  18475. properties:
  18476. dglst:
  18477. description: 板块商品列表
  18478. items:
  18479. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  18480. type: array
  18481. imagepath:
  18482. description: 图片地址
  18483. type: string
  18484. orderindex:
  18485. description: 排序
  18486. type: integer
  18487. sectionid:
  18488. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  18489. = 1的版块1 - 云融指数
  18490. type: integer
  18491. sectionname:
  18492. description: 版块名称
  18493. type: string
  18494. sectiontype:
  18495. description: 版块类型 - 1:指数版块 2:普通版块
  18496. type: integer
  18497. type: object
  18498. models.WrDeliveryGoodsSectionConfig:
  18499. properties:
  18500. deliverygoodscode:
  18501. description: 现货商品代码
  18502. type: string
  18503. deliverygoodsid:
  18504. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18505. type: integer
  18506. deliverygoodsname:
  18507. description: 现货商品名称
  18508. type: string
  18509. orderindex:
  18510. description: 排序
  18511. type: integer
  18512. type: object
  18513. models.WrDraftUserInfo:
  18514. properties:
  18515. address:
  18516. description: 地址
  18517. type: string
  18518. attachment1:
  18519. description: 附件1
  18520. type: string
  18521. attachment2:
  18522. description: 附件2
  18523. type: string
  18524. attachment3:
  18525. description: 附件3
  18526. type: string
  18527. attachment4:
  18528. description: 附件4
  18529. type: string
  18530. attachment5:
  18531. description: 附件5
  18532. type: string
  18533. bankaccount:
  18534. description: 银行帐号 (加密存储)
  18535. type: string
  18536. bankaccountname:
  18537. description: 收款人名称
  18538. type: string
  18539. bankcardfrontphotourl:
  18540. description: 银行卡正面照地址
  18541. type: string
  18542. bankid:
  18543. description: 银行编码
  18544. type: string
  18545. bankname:
  18546. description: 银行名称
  18547. type: string
  18548. birthday:
  18549. description: 生日(个人:年月日)
  18550. type: string
  18551. biznature:
  18552. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  18553. type: integer
  18554. bizscope:
  18555. description: 企业经营范围(企业)
  18556. type: string
  18557. biztype:
  18558. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  18559. type: integer
  18560. cardbackphotourl:
  18561. description: 证件背面图片地址
  18562. type: string
  18563. cardfrontphotourl:
  18564. description: 证件正面图片地址
  18565. type: string
  18566. cardnum:
  18567. description: 证件号码(加密存储)
  18568. type: string
  18569. cardtypeid:
  18570. description: 证件类型ID
  18571. type: integer
  18572. cityid:
  18573. description: 市
  18574. type: integer
  18575. company:
  18576. description: 公司(个人)
  18577. type: string
  18578. contactcardbackphotourl:
  18579. description: 联系人证件背面图片地址
  18580. type: string
  18581. contactcardfrontphotourl:
  18582. description: 联系人证件正面图片地址
  18583. type: string
  18584. contactname:
  18585. description: 联系人
  18586. type: string
  18587. countryid:
  18588. description: 国家
  18589. type: integer
  18590. createtime:
  18591. description: 创建时间
  18592. type: string
  18593. creatorid:
  18594. description: 创建人
  18595. type: integer
  18596. creditquota:
  18597. description: 授信额度(金瑞)
  18598. type: number
  18599. customername:
  18600. description: 客户名称(企业名称)
  18601. type: string
  18602. districtid:
  18603. description: 地区
  18604. type: integer
  18605. email:
  18606. description: 邮件(加密存储)
  18607. type: string
  18608. fax:
  18609. description: 传真(加密存储)
  18610. type: string
  18611. halfbodyphotourl:
  18612. description: 半身照地址
  18613. type: string
  18614. hasencrypt:
  18615. description: 数据是否已加密 - 0:未加密 1:已加密
  18616. type: integer
  18617. headurl:
  18618. description: 头像地址
  18619. type: string
  18620. legalcardbackphotourl:
  18621. description: 法人身份证背面照地址
  18622. type: string
  18623. legalcardfrontphotourl:
  18624. description: 法人身份证正面照地址
  18625. type: string
  18626. legalpersonname:
  18627. description: 法人姓名(企业)
  18628. type: string
  18629. mobile:
  18630. description: 手机号码(加密存储)
  18631. type: string
  18632. mobile2:
  18633. description: 手机号码[明文-尚志]
  18634. type: string
  18635. modifierid:
  18636. description: 修改人
  18637. type: integer
  18638. modifiertime:
  18639. description: 修改时间
  18640. type: string
  18641. needinvoice:
  18642. description: 是否需要发票 - 0:不需要 1:需要
  18643. type: integer
  18644. nickname:
  18645. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  18646. type: string
  18647. openmode:
  18648. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  18649. 6:苹果手机端注册 7:PC交易端注册"
  18650. type: integer
  18651. otherurl:
  18652. description: 其它图片地址[使用分号分隔]
  18653. type: string
  18654. postalcode:
  18655. description: 邮政编码
  18656. type: string
  18657. provinceid:
  18658. description: 省
  18659. type: integer
  18660. proxystatementurl:
  18661. description: 授权委托书
  18662. type: string
  18663. qq:
  18664. description: QQ(加密存储
  18665. type: string
  18666. remark:
  18667. description: 备注
  18668. type: string
  18669. sex:
  18670. description: '用户性别 0: 女 1: 男'
  18671. type: integer
  18672. signpdfurl:
  18673. description: 签约pdf文件
  18674. type: string
  18675. taxpayernum:
  18676. description: 纳税人识别号
  18677. type: string
  18678. telphone:
  18679. description: 联系电话(加密存储)
  18680. type: string
  18681. userid:
  18682. description: 用户ID
  18683. type: integer
  18684. userinfotype:
  18685. description: 用户信息类型 - 1:个人 2:企业
  18686. type: integer
  18687. userstatus:
  18688. description: 用户状态 - 1:正常 2:注销
  18689. type: integer
  18690. usertype:
  18691. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  18692. type: integer
  18693. wechat:
  18694. description: 微信(加密存储)
  18695. type: string
  18696. wskhinfo:
  18697. description: 开户申请信息(JSON)
  18698. type: string
  18699. type: object
  18700. models.WrFAProductDetail:
  18701. properties:
  18702. accountid:
  18703. description: 资金账号
  18704. type: integer
  18705. areauserid:
  18706. description: 金融机构ID
  18707. type: integer
  18708. financingdays:
  18709. description: 天数(天)
  18710. type: integer
  18711. interestminlen:
  18712. description: 最小起息天数
  18713. type: integer
  18714. interestrate:
  18715. description: 利率
  18716. type: number
  18717. interestratemode:
  18718. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18719. type: integer
  18720. interestsettlemode:
  18721. description: 结息方式 - 1:按日结息 3:按月结息
  18722. type: integer
  18723. interestsettlevalue:
  18724. description: 结息方式值
  18725. type: integer
  18726. isautoloan:
  18727. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  18728. type: integer
  18729. loantag:
  18730. description: '放款标识: "放款快" 或者为空'
  18731. type: string
  18732. marginratio:
  18733. description: 保证金比率质押率 - [仓单质押]
  18734. type: number
  18735. productdetailid:
  18736. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  18737. type: integer
  18738. productid:
  18739. description: 金融产品ID
  18740. type: integer
  18741. productname:
  18742. description: 产品名称
  18743. type: string
  18744. updatetime:
  18745. description: 更新时间
  18746. type: string
  18747. username:
  18748. description: 融出方
  18749. type: string
  18750. type: object
  18751. models.WrFactorTypeInfo:
  18752. properties:
  18753. deliverygoodscode:
  18754. description: 品种代码
  18755. type: string
  18756. deliverygoodsname:
  18757. description: 品种名称
  18758. type: string
  18759. dgfactoryitemid:
  18760. description: 选择项id
  18761. type: integer
  18762. dgfactoryitemtypeid:
  18763. description: 要素选择项ID (1-仓库 2-品牌)
  18764. type: integer
  18765. dgfactoryitemvalue:
  18766. description: 要素项值
  18767. type: string
  18768. itemtypename:
  18769. description: 要素项名称
  18770. type: string
  18771. optioncompare:
  18772. description: 选择比较串
  18773. type: string
  18774. warehouseid:
  18775. description: 仓库id
  18776. type: integer
  18777. wrfactortypeid:
  18778. description: 仓单要素ID
  18779. type: string
  18780. wrfactortypename:
  18781. description: 要素名称
  18782. type: string
  18783. wrfactortypename2:
  18784. description: 要素名称(不含仓库)
  18785. type: string
  18786. wrstandardcode:
  18787. description: 品类代码
  18788. type: string
  18789. wrstandardid:
  18790. description: 品类id
  18791. type: integer
  18792. wrstandardname:
  18793. description: 品类名称
  18794. type: string
  18795. type: object
  18796. models.WrFilterItem:
  18797. properties:
  18798. itemcode:
  18799. description: 代码
  18800. type: string
  18801. itemid:
  18802. description: 项id
  18803. type: integer
  18804. itemname:
  18805. description: 名称
  18806. type: string
  18807. itemtype:
  18808. description: 类型 1-品种 2-品类(商品) 3-仓库
  18809. type: integer
  18810. type: object
  18811. models.WrFinanceBuyApply:
  18812. properties:
  18813. applydate:
  18814. description: 申请时间
  18815. type: string
  18816. applystatus:
  18817. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  18818. type: integer
  18819. applyuserid:
  18820. description: 申请人
  18821. type: integer
  18822. auditdate:
  18823. description: 审核时间
  18824. type: string
  18825. auditremark:
  18826. description: 审核备注
  18827. type: string
  18828. audituserid:
  18829. description: 审核人
  18830. type: integer
  18831. buyaccountid:
  18832. description: 买方资金账号
  18833. type: integer
  18834. buyorsell:
  18835. description: 买卖 - 0:买 1:卖
  18836. type: integer
  18837. buyuserid:
  18838. description: 买方用户ID
  18839. type: integer
  18840. buyusername:
  18841. description: 买方名称
  18842. type: string
  18843. buywrtradeorderid:
  18844. description: 融资方买委托单ID
  18845. type: string
  18846. deliverygoodscode:
  18847. description: 品种代码
  18848. type: string
  18849. deliverygoodsid:
  18850. description: 品种ID
  18851. type: integer
  18852. deliverygoodsname:
  18853. description: 品种名称
  18854. type: string
  18855. deliverymonth:
  18856. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  18857. type: string
  18858. enumdicname:
  18859. description: 单位名称
  18860. type: string
  18861. financeaccountid:
  18862. description: 融资方资金帐户ID
  18863. type: integer
  18864. financeapplyid:
  18865. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18866. type: string
  18867. financeareauserid:
  18868. description: 融资方用户ID
  18869. type: string
  18870. financename:
  18871. description: 融出方名称
  18872. type: string
  18873. financetype:
  18874. description: 融资类型 1-融资回购
  18875. type: integer
  18876. financingdays:
  18877. description: 天数(天)
  18878. type: integer
  18879. freezebuymargin:
  18880. description: 冻结融资保证金(买方)
  18881. type: number
  18882. handleremark:
  18883. description: 处理备注
  18884. type: string
  18885. handlestatus:
  18886. description: 处理状态
  18887. type: integer
  18888. interestminlen:
  18889. description: 最小起息天数
  18890. type: integer
  18891. interestrate:
  18892. description: 利率
  18893. type: number
  18894. interestratemode:
  18895. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18896. type: integer
  18897. interestsettlemode:
  18898. description: 结息方式 - 1:按日结息 3:按月结息
  18899. type: integer
  18900. interestsettlevalue:
  18901. description: 结息方式值
  18902. type: integer
  18903. isautoloan:
  18904. description: 是否自动放款 - 0:手动 1:自动
  18905. type: integer
  18906. marginratio:
  18907. description: 保证金比率质押率 - [仓单质押]
  18908. type: number
  18909. marketid:
  18910. description: 市场ID
  18911. type: integer
  18912. minivalue:
  18913. description: 现货商品最小变动值
  18914. type: integer
  18915. optioncompare:
  18916. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18917. type: string
  18918. orderqty:
  18919. description: 委托数量(商品数量)
  18920. type: number
  18921. productdetailid:
  18922. description: 产品组合ID
  18923. type: integer
  18924. productid:
  18925. description: 金融产品ID
  18926. type: integer
  18927. productname:
  18928. description: 产品名称
  18929. type: string
  18930. remark:
  18931. description: 备注
  18932. type: string
  18933. scfcontractid:
  18934. description: 仓单回购合同ID
  18935. type: string
  18936. sellaccountid:
  18937. description: 卖方资金账号
  18938. type: integer
  18939. selluserid:
  18940. description: 卖方用户ID
  18941. type: integer
  18942. sellwrtradeorderid:
  18943. description: 卖方委托单ID
  18944. type: string
  18945. tradeamount:
  18946. description: 成交金额(借款金额)
  18947. type: number
  18948. tradedate:
  18949. description: 交易日(yyyyMMdd)
  18950. type: string
  18951. tradeprice:
  18952. description: 成交价格
  18953. type: number
  18954. warehouseid:
  18955. description: 仓库ID
  18956. type: integer
  18957. warehousename:
  18958. description: 仓库名称
  18959. type: string
  18960. wrfactortypeid:
  18961. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18962. type: string
  18963. wrfactortypename:
  18964. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18965. type: string
  18966. wrpricetype:
  18967. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  18968. type: integer
  18969. wrstandardcode:
  18970. description: 现货商品代码
  18971. type: string
  18972. wrstandardid:
  18973. description: 现货商品ID
  18974. type: integer
  18975. wrstandardname:
  18976. description: 商品名称
  18977. type: string
  18978. wrtypename:
  18979. description: 商品
  18980. type: string
  18981. type: object
  18982. models.WrFriendApply:
  18983. properties:
  18984. applicantid:
  18985. description: 申请人
  18986. type: integer
  18987. applyname:
  18988. description: 申请人名称
  18989. type: string
  18990. applysrc:
  18991. description: 申请来源 - 1:管理端 2:终端
  18992. type: integer
  18993. applystatus:
  18994. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18995. type: integer
  18996. applytime:
  18997. description: 申请时间
  18998. type: string
  18999. auditname:
  19000. description: 审核人名称
  19001. type: string
  19002. auditorid:
  19003. description: 审核人
  19004. type: integer
  19005. auditremark:
  19006. description: 审核备注
  19007. type: string
  19008. auditsrc:
  19009. description: 审核来源 - 1:管理端 2:终端
  19010. type: integer
  19011. audittime:
  19012. description: 审核时间
  19013. type: string
  19014. friendapplyid:
  19015. description: 申请ID(SEQ_FRIENDAPPLY)
  19016. type: string
  19017. friendname:
  19018. description: 好友名字(已脱敏)
  19019. type: string
  19020. frienduserid:
  19021. description: 好友用户ID
  19022. type: string
  19023. remark:
  19024. description: 备注
  19025. type: string
  19026. userid:
  19027. description: 申请人用户ID
  19028. type: integer
  19029. type: object
  19030. models.WrFtDeliveryGoods:
  19031. properties:
  19032. deliverygoodscode:
  19033. description: 品种代码
  19034. type: string
  19035. deliverygoodsid:
  19036. description: 品种ID
  19037. type: integer
  19038. deliverygoodsname:
  19039. description: 品种名称
  19040. type: string
  19041. wdlst:
  19042. description: 商品列表
  19043. items:
  19044. $ref: '#/definitions/models.WrFtWrstandard'
  19045. type: array
  19046. type: object
  19047. models.WrFtWrstandard:
  19048. properties:
  19049. enumdicname:
  19050. description: 单位名称
  19051. type: string
  19052. minivalue:
  19053. description: 最小变动值
  19054. type: integer
  19055. wrstandardcode:
  19056. description: 现货商品代码
  19057. type: string
  19058. wrstandardid:
  19059. description: 现货商品ID
  19060. type: integer
  19061. wrstandardname:
  19062. description: 商品名称
  19063. type: string
  19064. type: object
  19065. models.WrGoodsInfo:
  19066. properties:
  19067. haswr:
  19068. description: 0:仓单预售 1:仓单贸易
  19069. type: integer
  19070. lstitem:
  19071. description: 商品信息项
  19072. items:
  19073. $ref: '#/definitions/models.WrTypeItem'
  19074. type: array
  19075. lststep:
  19076. description: 履约规则
  19077. items:
  19078. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19079. type: array
  19080. marketid:
  19081. description: 市场id
  19082. type: integer
  19083. type: object
  19084. models.WrGoodsPerformanceStep:
  19085. properties:
  19086. autoid:
  19087. description: AutoID
  19088. type: integer
  19089. isauto:
  19090. description: 是否自动 - 0:不自动 1:自动
  19091. type: integer
  19092. remark:
  19093. description: 备注
  19094. type: string
  19095. stepdate:
  19096. description: 天数信息(T+N)
  19097. type: string
  19098. stepdays:
  19099. description: 距离上一步天数
  19100. type: integer
  19101. stepindex:
  19102. description: 步骤序号
  19103. type: integer
  19104. stepinfo:
  19105. description: 步骤信息(步骤名称+步骤值)
  19106. type: string
  19107. steptypeid:
  19108. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19109. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19110. type: integer
  19111. steptypename:
  19112. description: 步骤名称
  19113. type: string
  19114. stepvalue:
  19115. description: 期初均价
  19116. type: number
  19117. templateid:
  19118. description: 履约计划模板ID
  19119. type: integer
  19120. type: object
  19121. models.WrHoldLB:
  19122. properties:
  19123. accountid:
  19124. description: 持有人帐户ID
  19125. type: integer
  19126. bannerpicurl:
  19127. description: Banner图
  19128. type: string
  19129. createtime:
  19130. description: 创建时间(过户时间)
  19131. type: string
  19132. deliverygoodscode:
  19133. description: 品种代码
  19134. type: string
  19135. deliverygoodsid:
  19136. description: 品种ID
  19137. type: integer
  19138. deliverygoodsname:
  19139. description: 品种名称
  19140. type: string
  19141. enableqty:
  19142. description: 可用数量
  19143. type: number
  19144. enumdicname:
  19145. description: 单位名称
  19146. type: string
  19147. freezerqty:
  19148. description: 冻结数量
  19149. type: number
  19150. ladingbillid:
  19151. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  19152. type: string
  19153. minivalue:
  19154. description: 现货商品最小变动值
  19155. type: integer
  19156. optioncompare:
  19157. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19158. type: string
  19159. parentsubnum:
  19160. description: 拆分父子单号
  19161. type: integer
  19162. pledgeqty:
  19163. description: 质押数量
  19164. type: number
  19165. qty:
  19166. description: 数量
  19167. type: number
  19168. subnum:
  19169. description: 提单子单号
  19170. type: integer
  19171. thumurls:
  19172. description: 缩略图
  19173. type: string
  19174. tradedate:
  19175. description: 交易日(yyyyMMdd)
  19176. type: string
  19177. userid:
  19178. description: 持有人ID
  19179. type: integer
  19180. warehouseid:
  19181. description: 仓库ID
  19182. type: integer
  19183. warehousename:
  19184. description: 仓库名称
  19185. type: string
  19186. wrfactortypeid:
  19187. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19188. type: string
  19189. wrfactortypename:
  19190. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19191. type: string
  19192. wrholdeno:
  19193. description: 仓单编号
  19194. type: string
  19195. wrid:
  19196. description: 仓单变更ID
  19197. type: string
  19198. wrstandardcode:
  19199. description: 现货商品代码
  19200. type: string
  19201. wrstandardid:
  19202. description: 现货商品ID
  19203. type: integer
  19204. wrstandardname:
  19205. description: 商品名称
  19206. type: string
  19207. wrtypename:
  19208. description: 商品
  19209. type: string
  19210. type: object
  19211. models.WrMarketTradeConfig:
  19212. properties:
  19213. basisdownratio:
  19214. description: 浮动价基差下限比例(仓单贸易)
  19215. type: number
  19216. basisupratio:
  19217. description: 浮动价基差上限比例(仓单贸易)
  19218. type: number
  19219. buychargealgorithm:
  19220. description: 买方手续费收取方式 1:比率 2:固定
  19221. type: integer
  19222. buychargealgorithm2:
  19223. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  19224. type: integer
  19225. buychargealgorithmvalue:
  19226. description: 买方手续费设置值(交易所部分)
  19227. type: number
  19228. buychargealgorithmvalue2:
  19229. description: 买方手续费设置值(会员部分)
  19230. type: number
  19231. buychargealgorithmvalue3:
  19232. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  19233. type: number
  19234. buychargealgorithmvalue4:
  19235. description: 回购买方手续费设置值(会员部分) --77:现货商城
  19236. type: number
  19237. buyfirstmarginalgorithm:
  19238. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  19239. type: integer
  19240. buyfirstmarginvalue:
  19241. description: 买方出价保证金设置值 - [竞拍]
  19242. type: number
  19243. buymarginalgorithm:
  19244. description: 买方保证金方式 - 1:比率 2:固定
  19245. type: integer
  19246. buymarginvalue:
  19247. description: 买方保证金设置值
  19248. type: number
  19249. buyreleaseratio:
  19250. description: 买方释放比率[2:分步履约]
  19251. type: number
  19252. executemode:
  19253. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  19254. type: integer
  19255. executeside:
  19256. description: 执行方[2:分步履约] - 1:买方 2:卖方
  19257. type: integer
  19258. failedchargealgorithm:
  19259. description: 流拍手续费收取方式 1:比率 2:固定
  19260. type: integer
  19261. failedchargevalue:
  19262. description: 流拍手续费设置值
  19263. type: number
  19264. failedchargevalue2:
  19265. description: 流拍卖方手续费设置值
  19266. type: number
  19267. holddays:
  19268. description: 合同期限[2:分步履约]
  19269. type: integer
  19270. listingmode:
  19271. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  19272. type: integer
  19273. marketid:
  19274. description: 市场ID-仓单贸易、竞拍、预售
  19275. type: integer
  19276. minqty:
  19277. description: 最小执行量[2:分步履约]
  19278. type: number
  19279. modifierid:
  19280. description: 修改人
  19281. type: integer
  19282. nowrquotaflag:
  19283. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  19284. type: integer
  19285. performancetempid:
  19286. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  19287. 立即执行(-1)
  19288. type: integer
  19289. performancetempid2:
  19290. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  19291. 立即执行
  19292. type: integer
  19293. performancetempid2s:
  19294. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  19295. - 履约方式: 立即执行
  19296. type: string
  19297. performancetempids:
  19298. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  19299. - 履约方式: 立即执行(-1)
  19300. type: string
  19301. performanceway:
  19302. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  19303. type: integer
  19304. sellchargealgorithm:
  19305. description: 卖方手续费收取方式 1:比率 2:固定
  19306. type: integer
  19307. sellchargealgorithm2:
  19308. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  19309. type: integer
  19310. sellchargealgorithmvalue:
  19311. description: 卖方手续费设置值(交易所部分)
  19312. type: number
  19313. sellchargealgorithmvalue2:
  19314. description: 卖方手续费设置值(会员部分)
  19315. type: number
  19316. sellchargealgorithmvalue3:
  19317. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  19318. type: number
  19319. sellchargealgorithmvalue4:
  19320. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  19321. type: number
  19322. sellmarginalgorithm:
  19323. description: 卖方保证金方式 - 1:比率 2:固定
  19324. type: integer
  19325. sellmarginvalue:
  19326. description: 卖方保证金设置值
  19327. type: number
  19328. sellmarginvalue2:
  19329. description: 卖方保证金设置值(无仓单)
  19330. type: number
  19331. sellreleaseratio:
  19332. description: 卖方释放比率[2:分步履约]
  19333. type: number
  19334. updatetime:
  19335. description: 更新时间
  19336. type: string
  19337. type: object
  19338. models.WrOrderDetail:
  19339. properties:
  19340. accountid:
  19341. description: 交易账号(资金账号)
  19342. type: integer
  19343. allfriendsflag:
  19344. description: 是否全好友可见 - 0:否 1:是
  19345. type: integer
  19346. amount:
  19347. description: 期初均价
  19348. type: number
  19349. bannerpicurl:
  19350. description: Banner图
  19351. type: string
  19352. begindate:
  19353. description: 开始交易日(yyyymmdd)
  19354. type: string
  19355. buyorsell:
  19356. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19357. type: integer
  19358. canbargain:
  19359. description: 是否可议价 - 0:不可 1:可
  19360. type: integer
  19361. cancelqty:
  19362. description: 撤销数量
  19363. type: number
  19364. canpart:
  19365. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  19366. type: integer
  19367. delistminqty:
  19368. description: 起摘数量
  19369. type: integer
  19370. deliverygoodscode:
  19371. description: 品种代码
  19372. type: string
  19373. deliverygoodsid:
  19374. description: 品种ID
  19375. type: integer
  19376. deliverygoodsname:
  19377. description: 品种名称
  19378. type: string
  19379. deliverymonth:
  19380. description: 交收月
  19381. type: string
  19382. enddate:
  19383. description: 结束交易日(yyyymmdd)
  19384. type: string
  19385. enumdicname:
  19386. description: 单位名称
  19387. type: string
  19388. fixedprice:
  19389. description: 固定价格 - [挂牌]
  19390. type: number
  19391. freezecharge:
  19392. description: 期初均价
  19393. type: number
  19394. freezemargin:
  19395. description: 期初均价
  19396. type: number
  19397. futupricemove:
  19398. description: 期货升贴水
  19399. type: number
  19400. futushow:
  19401. description: 期货合约/升贴水
  19402. type: string
  19403. goodscode:
  19404. description: 期货合约
  19405. type: string
  19406. goodsid:
  19407. description: 期货商品id
  19408. type: integer
  19409. goodsname:
  19410. description: 商品名称
  19411. type: string
  19412. haswr:
  19413. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19414. type: integer
  19415. isspecified:
  19416. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  19417. type: integer
  19418. ladingbillid:
  19419. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  19420. type: string
  19421. marginvalue:
  19422. description: 期初均价
  19423. type: number
  19424. marketid:
  19425. description: 市场ID
  19426. type: integer
  19427. matchusername:
  19428. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  19429. type: string
  19430. minivalue:
  19431. description: 现货商品最小变动值
  19432. type: integer
  19433. optioncompare:
  19434. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19435. type: string
  19436. orderqty:
  19437. description: 委托数量
  19438. type: number
  19439. ordertime:
  19440. description: 委托时间(挂牌时间)
  19441. type: string
  19442. performancetemplateid:
  19443. description: 履约模板id
  19444. type: integer
  19445. pricemove:
  19446. description: 升贴水(浮动价时填写) - [挂牌]
  19447. type: number
  19448. taname:
  19449. description: 交易用户名称(资金账号名称)
  19450. type: string
  19451. thumurls:
  19452. description: 缩略图
  19453. type: string
  19454. tradedate:
  19455. description: 交易日(yyyyMMdd)
  19456. type: string
  19457. tradeprice:
  19458. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  19459. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  19460. type: number
  19461. tradeqty:
  19462. description: 成交数量
  19463. type: number
  19464. userid:
  19465. description: 用户ID
  19466. type: integer
  19467. validtime:
  19468. description: 挂牌有效期
  19469. type: string
  19470. validtype:
  19471. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  19472. type: integer
  19473. warehouseid:
  19474. description: 仓库ID
  19475. type: integer
  19476. warehousename:
  19477. description: 仓库名称
  19478. type: string
  19479. wrfactortypeid:
  19480. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19481. type: string
  19482. wrfactortypename:
  19483. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19484. type: string
  19485. wrpricetype:
  19486. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19487. type: integer
  19488. wrstandardcode:
  19489. description: 现货商品代码
  19490. type: string
  19491. wrstandardid:
  19492. description: 现货商品ID
  19493. type: integer
  19494. wrstandardname:
  19495. description: 商品名称
  19496. type: string
  19497. wrtradeorderid:
  19498. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19499. type: string
  19500. wrtradeorderstatus:
  19501. 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:撤单解冻贷款失败
  19502. type: integer
  19503. wrtradetype:
  19504. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19505. type: integer
  19506. wrtypename:
  19507. description: 商品
  19508. type: string
  19509. type: object
  19510. models.WrOrderQuote:
  19511. properties:
  19512. bannerpicurl:
  19513. description: Banner图
  19514. type: string
  19515. buyprice:
  19516. description: 买价
  19517. type: number
  19518. buypricemove:
  19519. description: 买升贴水(基差)
  19520. type: number
  19521. buyqty:
  19522. description: 买量
  19523. type: number
  19524. deliverygoodscode:
  19525. description: 品种代码
  19526. type: string
  19527. deliverygoodsid:
  19528. description: 品种id
  19529. type: integer
  19530. deliverygoodsname:
  19531. description: 品种名称
  19532. type: string
  19533. deliverymonth:
  19534. description: 交收月
  19535. type: string
  19536. enumdicname:
  19537. description: 单位名称
  19538. type: string
  19539. goodscode:
  19540. description: 商品合约(浮动价列表才有)
  19541. type: string
  19542. goodsid:
  19543. description: 商品id(浮动价列表才有)
  19544. type: integer
  19545. minivalue:
  19546. description: 现货商品最小变动值
  19547. type: integer
  19548. pictureurls:
  19549. description: 详情图片(逗号分隔)
  19550. type: string
  19551. sellprice:
  19552. description: 卖价
  19553. type: number
  19554. sellpricemove:
  19555. description: 卖升贴水(基差)
  19556. type: number
  19557. sellqty:
  19558. description: 卖量
  19559. type: number
  19560. thumurls:
  19561. description: 缩略图片(1:1)(逗号分隔)
  19562. type: string
  19563. warehousecode:
  19564. description: 仓库代码
  19565. type: string
  19566. warehouseid:
  19567. description: 仓库id
  19568. type: integer
  19569. warehousename:
  19570. description: 仓库名称
  19571. type: string
  19572. wrfactortypeid:
  19573. description: 仓单要素id
  19574. type: string
  19575. wrfactortypename:
  19576. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19577. type: string
  19578. wrgoodsname:
  19579. description: 商品(商品名称+仓库要素名称 拼接)
  19580. type: string
  19581. wrstandardcode:
  19582. description: 商品代码
  19583. type: string
  19584. wrstandardid:
  19585. description: 商品id
  19586. type: integer
  19587. wrstandardname:
  19588. description: 商品名称
  19589. type: string
  19590. type: object
  19591. models.WrOrderQuoteDetail:
  19592. properties:
  19593. buyorsell:
  19594. description: 买卖 - 0:买 1:卖
  19595. type: integer
  19596. delistminqty:
  19597. description: 期初均价
  19598. type: number
  19599. deliverymonth:
  19600. description: 交收月
  19601. type: string
  19602. enumdicname:
  19603. description: 单位名称
  19604. type: string
  19605. fixedprice:
  19606. description: 买(卖)价
  19607. type: number
  19608. marketid:
  19609. description: 市场id
  19610. type: integer
  19611. minivalue:
  19612. description: 现货商品最小变动值
  19613. type: integer
  19614. orderqty:
  19615. description: 买(卖)量(=委托量-成交量)
  19616. type: number
  19617. ordertime:
  19618. description: 委托时间
  19619. type: string
  19620. pricemove:
  19621. description: 买(卖)升贴水- 基差
  19622. type: number
  19623. userid:
  19624. description: 购买方(销售方)用户ID
  19625. type: integer
  19626. username:
  19627. description: 购买方(销售方)
  19628. type: string
  19629. wrtradeorderid:
  19630. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19631. type: string
  19632. type: object
  19633. models.WrOutInApply:
  19634. properties:
  19635. applyid:
  19636. description: 申请单id
  19637. type: string
  19638. applystatus:
  19639. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  19640. 8:已撤销
  19641. type: integer
  19642. applytime:
  19643. description: 申请时间
  19644. type: string
  19645. applytype:
  19646. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  19647. type: integer
  19648. bannerpicurl:
  19649. description: Banner图
  19650. type: string
  19651. begindate:
  19652. description: 开始交易日(yyyymmdd)
  19653. type: string
  19654. deliverygoodscode:
  19655. description: 品种代码
  19656. type: string
  19657. deliverygoodsid:
  19658. description: 品种ID
  19659. type: integer
  19660. deliverygoodsname:
  19661. description: 品种名称
  19662. type: string
  19663. enddate:
  19664. description: 结束交易日(yyyymmdd)
  19665. type: string
  19666. enumdicname:
  19667. description: 单位名称
  19668. type: string
  19669. expresscompany:
  19670. description: 物流公司
  19671. type: string
  19672. expressnum:
  19673. description: 物流单号
  19674. type: string
  19675. minivalue:
  19676. description: 现货商品最小变动值
  19677. type: integer
  19678. optioncompare:
  19679. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19680. type: string
  19681. qty:
  19682. description: 数量
  19683. type: integer
  19684. userid:
  19685. description: 用户id
  19686. type: integer
  19687. warehouseid:
  19688. description: 仓库ID
  19689. type: integer
  19690. warehousename:
  19691. description: 仓库名称
  19692. type: string
  19693. wrfactortypeid:
  19694. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19695. type: string
  19696. wrfactortypename:
  19697. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19698. type: string
  19699. wrstandardcode:
  19700. description: 现货商品代码
  19701. type: string
  19702. wrstandardid:
  19703. description: 现货商品ID
  19704. type: integer
  19705. wrstandardname:
  19706. description: 商品名称
  19707. type: string
  19708. wrtypename:
  19709. description: 商品
  19710. type: string
  19711. type: object
  19712. models.WrPerformancePlan:
  19713. properties:
  19714. activatemonth:
  19715. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  19716. type: string
  19717. amount:
  19718. description: 履约金额(总金额)
  19719. type: number
  19720. begindate:
  19721. description: 开始交易日(yyyymmdd)
  19722. type: string
  19723. buyaccountid:
  19724. description: 买方账号
  19725. type: integer
  19726. buyerfreezeamount:
  19727. description: 履约冻结(买履约)
  19728. type: number
  19729. buyerfreezeamountremain:
  19730. description: 履约冻结剩余(买履约)
  19731. type: number
  19732. buyorsell:
  19733. description: 买卖方向 0-买 1-卖
  19734. type: integer
  19735. buypaidamount:
  19736. description: 买方已冻/已扣金额 (已付金额)
  19737. type: number
  19738. buyusername:
  19739. description: 买方名字
  19740. type: string
  19741. contractid:
  19742. description: 合同ID
  19743. type: integer
  19744. createtime:
  19745. description: 创建时间
  19746. type: string
  19747. creatorid:
  19748. description: 创建人
  19749. type: integer
  19750. curstepdeadline:
  19751. description: 当前步骤到期时间
  19752. type: string
  19753. curstepid:
  19754. description: 当前步骤ID
  19755. type: string
  19756. curstepname:
  19757. description: 当前步骤名称
  19758. type: string
  19759. deliverygoodscode:
  19760. description: 品种代码
  19761. type: string
  19762. deliverygoodsid:
  19763. description: 品种ID
  19764. type: integer
  19765. deliverygoodsname:
  19766. description: 品种名称
  19767. type: string
  19768. enddate:
  19769. description: 结束交易日(yyyymmdd)
  19770. type: string
  19771. enumdicname:
  19772. description: 单位名称
  19773. type: string
  19774. expressfee:
  19775. description: 运费
  19776. type: number
  19777. expressfeeconfirmed:
  19778. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  19779. type: integer
  19780. hasovershort:
  19781. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  19782. type: integer
  19783. haswr:
  19784. description: 类型 0-仓单预售 1-仓单贸易
  19785. type: integer
  19786. marketid:
  19787. description: 市场ID
  19788. type: integer
  19789. middleaccountid:
  19790. description: 中间商资金账号ID
  19791. type: integer
  19792. middleuserid:
  19793. description: 中间商用户ID
  19794. type: integer
  19795. minivalue:
  19796. description: 现货商品最小变动值
  19797. type: integer
  19798. optioncompare:
  19799. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19800. type: string
  19801. overshortamount:
  19802. description: 溢短金额
  19803. type: number
  19804. overshortqty:
  19805. description: 溢短数量
  19806. type: number
  19807. paymenttype:
  19808. description: 付款方式 - 1:冻结 2:扣款
  19809. type: integer
  19810. performanceplanid:
  19811. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  19812. type: string
  19813. performancestatus:
  19814. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  19815. 9:超时待处理 10:超时关闭
  19816. type: integer
  19817. performancetype:
  19818. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  19819. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  19820. type: integer
  19821. qty:
  19822. description: 履约数量
  19823. type: number
  19824. relatedorderid:
  19825. description: 关联单号(履约类型的关联单号)
  19826. type: string
  19827. remark:
  19828. description: 备注
  19829. type: string
  19830. sellaccountid:
  19831. description: 卖方账号
  19832. type: integer
  19833. sellerfreezeamount:
  19834. description: 履约冻结(卖履约)
  19835. type: number
  19836. sellerfreezeamountremain:
  19837. description: 履约冻结剩余(卖履约)
  19838. type: number
  19839. sellreceivedamount:
  19840. description: 卖方已收金额
  19841. type: number
  19842. sellusername:
  19843. description: 卖方名字
  19844. type: string
  19845. shipremark:
  19846. description: 发货备注[物流单号]
  19847. type: string
  19848. starttime:
  19849. description: 开始时间
  19850. type: string
  19851. steptypeid:
  19852. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19853. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19854. type: integer
  19855. typename:
  19856. description: 履约类型 名称
  19857. type: string
  19858. unpaidamount:
  19859. description: 期初均价
  19860. type: number
  19861. userid:
  19862. description: 用户id
  19863. type: integer
  19864. warehouseid:
  19865. description: 仓库ID
  19866. type: integer
  19867. warehousename:
  19868. description: 仓库名称
  19869. type: string
  19870. wrfactortypeid:
  19871. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19872. type: string
  19873. wrfactortypename:
  19874. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19875. type: string
  19876. wrstandardcode:
  19877. description: 现货商品代码
  19878. type: string
  19879. wrstandardid:
  19880. description: 现货商品ID
  19881. type: integer
  19882. wrstandardname:
  19883. description: 商品名称
  19884. type: string
  19885. wrtransferuserid:
  19886. description: 仓单受让用户
  19887. type: integer
  19888. wrtypename:
  19889. description: 商品
  19890. type: string
  19891. required:
  19892. - userid
  19893. type: object
  19894. models.WrPerformancePlanStep:
  19895. properties:
  19896. delaydays:
  19897. description: 延期申请天数
  19898. type: integer
  19899. deliverygoodscode:
  19900. description: 品种代码
  19901. type: string
  19902. deliverygoodsid:
  19903. description: 品种ID
  19904. type: integer
  19905. deliverygoodsname:
  19906. description: 品种名称
  19907. type: string
  19908. endtime:
  19909. description: 结束日期
  19910. type: string
  19911. enumdicname:
  19912. description: 单位名称
  19913. type: string
  19914. executeside:
  19915. description: 步骤执行方 - 1:买方 2:卖方
  19916. type: integer
  19917. handlestatus:
  19918. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  19919. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  19920. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  19921. type: integer
  19922. isauto:
  19923. description: 是否自动 - 0:不自动 1:自动
  19924. type: integer
  19925. islastreceivestep:
  19926. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  19927. type: integer
  19928. minivalue:
  19929. description: 现货商品最小变动值
  19930. type: integer
  19931. optioncompare:
  19932. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19933. type: string
  19934. overdays:
  19935. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  19936. type: integer
  19937. performancestepid:
  19938. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  19939. type: string
  19940. planid:
  19941. description: 所属履约计划ID
  19942. type: string
  19943. realamount:
  19944. description: 实际完成金额
  19945. type: number
  19946. relatedorderid:
  19947. description: 关联单号
  19948. type: string
  19949. remaindays:
  19950. description: 剩余天数
  19951. type: integer
  19952. remark:
  19953. description: 错误备注
  19954. type: string
  19955. starttime:
  19956. description: 开始日期
  19957. type: string
  19958. stepamount:
  19959. description: 步骤金额
  19960. type: number
  19961. stepdays:
  19962. description: 距离上一步天数(分钟)
  19963. type: integer
  19964. stepindex:
  19965. description: 步骤序号
  19966. type: integer
  19967. steplanchtype:
  19968. description: 步骤启动类型 - 1:系统自动 2:手动
  19969. type: integer
  19970. stepremark:
  19971. description: 步骤备注
  19972. type: string
  19973. stepstatus:
  19974. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  19975. type: integer
  19976. steptypeid:
  19977. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19978. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19979. type: integer
  19980. steptypename:
  19981. description: 步骤名称
  19982. type: string
  19983. stepvalue:
  19984. description: 步骤值
  19985. type: number
  19986. warehouseid:
  19987. description: 仓库ID
  19988. type: integer
  19989. warehousename:
  19990. description: 仓库名称
  19991. type: string
  19992. wrfactortypeid:
  19993. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19994. type: string
  19995. wrfactortypename:
  19996. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19997. type: string
  19998. wrstandardcode:
  19999. description: 现货商品代码
  20000. type: string
  20001. wrstandardid:
  20002. description: 现货商品ID
  20003. type: integer
  20004. wrstandardname:
  20005. description: 商品名称
  20006. type: string
  20007. wrtypename:
  20008. description: 商品
  20009. type: string
  20010. type: object
  20011. models.WrPerformanceStepType:
  20012. properties:
  20013. canauto:
  20014. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  20015. type: integer
  20016. steptypeid:
  20017. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  20018. type: integer
  20019. steptypename:
  20020. description: 步骤类型名称
  20021. type: string
  20022. type: object
  20023. models.WrPerformanceTemplateEx:
  20024. properties:
  20025. autoid:
  20026. description: AutoID 模板id
  20027. type: integer
  20028. createtime:
  20029. description: 创建时间
  20030. type: string
  20031. creatorid:
  20032. description: 创建人
  20033. type: integer
  20034. lstStep:
  20035. description: 步骤信息列表
  20036. items:
  20037. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  20038. type: array
  20039. paymenttype:
  20040. description: 支付方式 - 1:冻结 2:扣款
  20041. type: integer
  20042. takemode:
  20043. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  20044. type: integer
  20045. templatename:
  20046. description: 模板名称
  20047. type: string
  20048. templatetype:
  20049. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  20050. (无仓单) 5:挂牌期权 6:竞拍-降价式
  20051. type: integer
  20052. userid:
  20053. description: 所属用户
  20054. type: integer
  20055. type: object
  20056. models.WrPosition:
  20057. properties:
  20058. accountid:
  20059. description: 帐户ID
  20060. type: integer
  20061. buyexcuteqty:
  20062. description: 采购履约中数量
  20063. type: number
  20064. creditcurqty:
  20065. description: 授信当前数量(预售仓单:预售当前量)
  20066. type: number
  20067. creditenableqty:
  20068. description: '授信可用数量(预售仓单: 可用数量)'
  20069. type: number
  20070. creditfreezeqty:
  20071. description: '授信冻结数量(预售仓单: 当前数量)'
  20072. type: number
  20073. credittotalqty:
  20074. description: 授信总数量(预售仓单:预售总量)
  20075. type: number
  20076. credittradeqty:
  20077. description: 授信成交数量(预售仓单:成交总量)
  20078. type: number
  20079. deliverygoodscode:
  20080. description: 品种代码
  20081. type: string
  20082. deliverygoodsid:
  20083. description: 品种ID
  20084. type: integer
  20085. deliverygoodsname:
  20086. description: 品种名称
  20087. type: string
  20088. enalbeqty:
  20089. description: 可用数量
  20090. type: number
  20091. enumdicname:
  20092. description: 单位名称
  20093. type: string
  20094. freezeqty:
  20095. description: 总冻结数量
  20096. type: number
  20097. haswr:
  20098. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20099. type: integer
  20100. minivalue:
  20101. description: 现货商品最小变动值
  20102. type: integer
  20103. modifytime:
  20104. description: 修改时间(过户时间)
  20105. type: string
  20106. optioncompare:
  20107. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20108. type: string
  20109. pledgeqty:
  20110. description: 质押数量
  20111. type: number
  20112. querytype:
  20113. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  20114. type: integer
  20115. sellexcuteqty:
  20116. description: 销售履约中数量
  20117. type: number
  20118. totalqty:
  20119. description: 总数量(库存数量)
  20120. type: number
  20121. warehouseid:
  20122. description: 仓库ID
  20123. type: integer
  20124. warehousename:
  20125. description: 仓库名称
  20126. type: string
  20127. wrfactortypeid:
  20128. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20129. type: string
  20130. wrfactortypename:
  20131. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20132. type: string
  20133. wrpositionid:
  20134. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  20135. type: string
  20136. wrpositionno:
  20137. description: 仓单编号
  20138. type: string
  20139. wrstandardcode:
  20140. description: 现货商品代码
  20141. type: string
  20142. wrstandardid:
  20143. description: 现货商品ID
  20144. type: integer
  20145. wrstandardname:
  20146. description: 商品名称
  20147. type: string
  20148. wrtypename:
  20149. description: 商品
  20150. type: string
  20151. wruserid:
  20152. description: 持有人ID
  20153. type: integer
  20154. type: object
  20155. models.WrPreSaleInfo:
  20156. properties:
  20157. bannerpicurl:
  20158. description: Banner图
  20159. type: string
  20160. baseqty:
  20161. description: 中签基数
  20162. type: number
  20163. createtime:
  20164. description: 创建时间
  20165. type: string
  20166. deliverygoodsid:
  20167. description: 现货品种ID
  20168. type: integer
  20169. enddate:
  20170. description: 预售结束日期
  20171. type: string
  20172. enumdicname:
  20173. description: 单位名称
  20174. type: string
  20175. lotteryflag:
  20176. description: 摇号标识 - 0:未摇号 1:已摇号
  20177. type: integer
  20178. lotteryqty:
  20179. description: 摇号总量
  20180. type: number
  20181. luckyqty:
  20182. description: 已中签量
  20183. type: number
  20184. marketid:
  20185. description: 市场ID
  20186. type: integer
  20187. maxbuyqty:
  20188. description: 单人最大申购量
  20189. type: number
  20190. maxluckyqty:
  20191. description: 单人最大中签量
  20192. type: number
  20193. pictureurls:
  20194. description: 详情图片(逗号分隔)
  20195. type: string
  20196. placeqty:
  20197. description: 已配售量
  20198. type: number
  20199. presaleapplyid:
  20200. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  20201. example: "0"
  20202. type: string
  20203. presaleqty:
  20204. description: 预售总量
  20205. type: number
  20206. presalestatus:
  20207. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  20208. type: integer
  20209. sellaccountid:
  20210. description: 发行方资金账户ID
  20211. type: integer
  20212. selluserid:
  20213. description: 发行方用户ID
  20214. type: integer
  20215. sellwrtradeorderid:
  20216. description: 发行方卖委托单ID
  20217. type: string
  20218. startdate:
  20219. description: 预售开始日期
  20220. type: string
  20221. takestartdate:
  20222. description: 提货开始日期
  20223. type: string
  20224. thumurls:
  20225. description: 缩略图片(1:1)(逗号分隔)
  20226. type: string
  20227. tradedate:
  20228. description: 交易日
  20229. type: string
  20230. unitid:
  20231. description: 单位ID
  20232. type: integer
  20233. unitprice:
  20234. description: 商品单价
  20235. type: number
  20236. username:
  20237. description: 发行方用户名称
  20238. type: string
  20239. warehousecode:
  20240. description: 仓库代码(仓库简称)
  20241. type: string
  20242. warehouseid:
  20243. description: 仓库ID
  20244. type: integer
  20245. warehousename:
  20246. description: 仓库名称
  20247. type: string
  20248. wrfactortypeid:
  20249. description: 仓单要素类型ID - 根据现货商品\仓库生成
  20250. example: "0"
  20251. type: string
  20252. wrstandardid:
  20253. description: 现货商品ID
  20254. type: integer
  20255. wrstandardname:
  20256. description: 现货商品名称
  20257. type: string
  20258. type: object
  20259. models.WrQuoteOrderMyq:
  20260. properties:
  20261. buyorsell:
  20262. description: 买卖 - 0:买 1:卖
  20263. type: integer
  20264. canbargain:
  20265. description: 是否可议价 - 0:不可 1:可
  20266. type: integer
  20267. canpart:
  20268. description: 是否允许部份摘牌 - 0:不允许 1:允许
  20269. type: integer
  20270. delistminqty:
  20271. description: 期初均价
  20272. type: number
  20273. deliverygoodscode:
  20274. description: 品种代码
  20275. type: string
  20276. deliverygoodsid:
  20277. description: 品种ID
  20278. type: integer
  20279. deliverygoodsname:
  20280. description: 品种名称
  20281. type: string
  20282. deliverymonth:
  20283. description: 交收月
  20284. type: string
  20285. enumdicname:
  20286. description: 单位名称
  20287. type: string
  20288. fixedprice:
  20289. description: 买(卖)价
  20290. type: number
  20291. goodscode:
  20292. description: 商品合约代码
  20293. type: string
  20294. marginflag:
  20295. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  20296. type: integer
  20297. marginvalue:
  20298. description: 保证金设置值
  20299. type: number
  20300. minivalue:
  20301. description: 现货商品最小变动值
  20302. type: integer
  20303. orderqty:
  20304. description: 买(卖)量(=委托量-成交量)
  20305. type: number
  20306. ordertime:
  20307. description: 委托时间
  20308. type: string
  20309. performancetemplateid:
  20310. description: 履约模板id
  20311. type: integer
  20312. pricemove:
  20313. description: 买(卖)升贴水- 基差
  20314. type: number
  20315. templatename:
  20316. description: 履约模板名称
  20317. type: string
  20318. userid:
  20319. description: 购买方(销售方)用户ID
  20320. type: integer
  20321. username:
  20322. description: 购买方(销售方)
  20323. type: string
  20324. validtime:
  20325. description: 有效期限
  20326. type: string
  20327. validtype:
  20328. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  20329. type: integer
  20330. warehousename:
  20331. description: 仓库名称
  20332. type: string
  20333. wrfactortypeid:
  20334. description: 仓单要素id
  20335. type: string
  20336. wrstandardcode:
  20337. description: 现货商品代码
  20338. type: string
  20339. wrstandardid:
  20340. description: 现货商品ID
  20341. type: integer
  20342. wrstandardname:
  20343. description: 商品名称
  20344. type: string
  20345. wrtradeorderid:
  20346. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20347. type: string
  20348. wrtypename:
  20349. description: 商品
  20350. type: string
  20351. type: object
  20352. models.WrReckonSpotGoodsTradeSum:
  20353. properties:
  20354. begindate:
  20355. description: 开始日期(结果含开始日期) yyyymmdd
  20356. type: string
  20357. enddate:
  20358. description: 结束日期(结果含结束日期) yyyymmdd
  20359. type: string
  20360. istoday:
  20361. description: 是否当日
  20362. type: boolean
  20363. marketid:
  20364. description: 市场ID
  20365. type: integer
  20366. price:
  20367. description: 价格 = 日成交金额 / 日成交数量
  20368. type: string
  20369. reckondate:
  20370. description: 日期 格式 yyyymmdd
  20371. type: string
  20372. tradeamount:
  20373. description: 期初均价
  20374. type: number
  20375. tradeqty:
  20376. description: 期初均价
  20377. type: number
  20378. wrstandardid:
  20379. description: 现货商品ID
  20380. type: integer
  20381. type: object
  20382. models.WrScfContract:
  20383. properties:
  20384. borroweruserid:
  20385. description: 借款用户ID
  20386. type: integer
  20387. buybackwrpositionqty:
  20388. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  20389. type: number
  20390. closeinterest:
  20391. description: 已结利息 -> 已结费用
  20392. type: number
  20393. currisklevel:
  20394. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  20395. type: integer
  20396. deadline:
  20397. description: 截止日期(yyyyMMdd) -> 借款到期时间
  20398. type: string
  20399. deliverygoodscode:
  20400. description: 品种代码
  20401. type: string
  20402. deliverygoodsid:
  20403. description: 品种ID
  20404. type: integer
  20405. deliverygoodsname:
  20406. description: 品种名称
  20407. type: string
  20408. enumdicname:
  20409. description: 单位名称
  20410. type: string
  20411. financingdays:
  20412. description: 天数(天)
  20413. type: integer
  20414. initmargin:
  20415. description: 保证金 - [仓单回购]
  20416. type: number
  20417. interestamount:
  20418. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  20419. type: number
  20420. interestdebt:
  20421. description: 利息欠款(记录负数) -> 费用欠款
  20422. type: number
  20423. interestminlen:
  20424. description: 最小起息天数
  20425. type: integer
  20426. interestrate:
  20427. description: 利率
  20428. type: number
  20429. interestratemode:
  20430. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  20431. type: integer
  20432. interestsettlemode:
  20433. description: 结息方式 - 1:按日结息 3:按月结息
  20434. type: integer
  20435. interestsettlevalue:
  20436. description: 结息方式值
  20437. type: integer
  20438. isautoloan:
  20439. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  20440. type: integer
  20441. lastcloseinterestday:
  20442. description: 最近结息日(yyyyMMdd)
  20443. type: string
  20444. lenderamount:
  20445. description: 贷款金额 -> 借款金额
  20446. type: number
  20447. lenderuserid:
  20448. description: 贷款方用户ID -> 融出方用户ID
  20449. type: integer
  20450. lenderusername:
  20451. description: 融出方
  20452. type: string
  20453. marginratio:
  20454. description: 保证金比率质押率 - [仓单质押]
  20455. type: number
  20456. marketid:
  20457. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  20458. type: integer
  20459. minivalue:
  20460. description: 现货商品最小变动值
  20461. type: integer
  20462. optioncompare:
  20463. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20464. type: string
  20465. pricemove:
  20466. description: 估值升贴水值
  20467. type: number
  20468. productdetailid:
  20469. description: 产品组合ID
  20470. type: integer
  20471. productid:
  20472. description: 金融产品ID
  20473. type: integer
  20474. productname:
  20475. description: 产品名称
  20476. type: string
  20477. remainamount:
  20478. description: 合同剩余金额 -> 剩余金额
  20479. type: number
  20480. remainwrpositionqty:
  20481. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  20482. type: number
  20483. remark:
  20484. description: 备注
  20485. type: string
  20486. scfcontractid:
  20487. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  20488. type: string
  20489. scfcontractstatus:
  20490. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  20491. 9:违约结束 10:已注销 11:已关闭 99:未提交
  20492. type: integer
  20493. scfcontracttype:
  20494. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  20495. type: integer
  20496. startinterestday:
  20497. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  20498. type: string
  20499. totalinterest:
  20500. description: 已计利息 -> 已计费用
  20501. type: number
  20502. unpaidinterest:
  20503. description: 期初均价
  20504. type: number
  20505. updatetime:
  20506. description: 更新时间
  20507. type: string
  20508. warehouseid:
  20509. description: 仓库ID
  20510. type: integer
  20511. warehousename:
  20512. description: 仓库名称
  20513. type: string
  20514. wrfactortypeid:
  20515. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20516. type: string
  20517. wrfactortypename:
  20518. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20519. type: string
  20520. wrqty:
  20521. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  20522. type: number
  20523. wrstandardcode:
  20524. description: 现货商品代码
  20525. type: string
  20526. wrstandardid:
  20527. description: 现货商品ID
  20528. type: integer
  20529. wrstandardname:
  20530. description: 商品名称
  20531. type: string
  20532. wrtypename:
  20533. description: 商品
  20534. type: string
  20535. type: object
  20536. models.WrScfContractInterest:
  20537. properties:
  20538. closeinterest:
  20539. description: 已结利息
  20540. type: number
  20541. closeintereststatus:
  20542. description: 结息状态 - 1:未结 2:已结
  20543. type: integer
  20544. closetime:
  20545. description: 结息时间
  20546. type: string
  20547. closetradedate:
  20548. description: 结息交易日
  20549. type: string
  20550. creatorid:
  20551. description: 操作人ID
  20552. type: integer
  20553. dayrate:
  20554. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  20555. type: number
  20556. interest:
  20557. description: 利息
  20558. type: number
  20559. interestamount:
  20560. description: 计息金额
  20561. type: number
  20562. interestday:
  20563. description: 计息日(yyyyMMdd)
  20564. type: string
  20565. scfcontractid:
  20566. description: SCF合同ID
  20567. type: string
  20568. scfcontractinterestid:
  20569. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  20570. type: integer
  20571. updatetime:
  20572. description: 更新时间
  20573. type: string
  20574. type: object
  20575. models.WrSearchUser:
  20576. properties:
  20577. userid:
  20578. description: 用户ID
  20579. type: integer
  20580. username:
  20581. description: 用户名称(已脱敏)
  20582. type: string
  20583. username2:
  20584. description: 用户名称(未脱敏)
  20585. type: string
  20586. usertype:
  20587. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  20588. type: integer
  20589. required:
  20590. - username
  20591. type: object
  20592. models.WrSiteColumnDetail:
  20593. properties:
  20594. brief:
  20595. description: 简介
  20596. type: string
  20597. context:
  20598. description: 内容
  20599. type: string
  20600. coverimage:
  20601. description: 封面图片
  20602. type: string
  20603. creaedate:
  20604. description: 创建时间
  20605. type: string
  20606. id:
  20607. description: ID(SEQ_SITE_COLUMNDETAIL)
  20608. type: integer
  20609. istop:
  20610. description: 是否置顶 - 0:不置 1:置顶
  20611. type: integer
  20612. publishdate:
  20613. description: 发布日期
  20614. type: string
  20615. title:
  20616. description: 标题
  20617. type: string
  20618. updatedate:
  20619. description: 修改时间
  20620. type: string
  20621. type: object
  20622. models.WrSpecialMatchOrder:
  20623. properties:
  20624. amount:
  20625. description: 金额 = 数量 * 价格
  20626. type: number
  20627. buyorsell:
  20628. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  20629. type: integer
  20630. cancelqty:
  20631. description: 撤销数量
  20632. type: number
  20633. deliverygoodscode:
  20634. description: 品种代码
  20635. type: string
  20636. deliverygoodsid:
  20637. description: 品种ID
  20638. type: integer
  20639. deliverygoodsname:
  20640. description: 品种名称
  20641. type: string
  20642. enumdicname:
  20643. description: 单位名称
  20644. type: string
  20645. fixedprice:
  20646. description: 固定价格(价格)
  20647. type: number
  20648. haswr:
  20649. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20650. type: integer
  20651. isspecified:
  20652. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  20653. type: integer
  20654. marketid:
  20655. description: 市场ID
  20656. type: integer
  20657. matchuserid:
  20658. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  20659. type: integer
  20660. matchusername:
  20661. description: 指定方
  20662. type: string
  20663. minivalue:
  20664. description: 现货商品最小变动值
  20665. type: integer
  20666. optioncompare:
  20667. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20668. type: string
  20669. orderqty:
  20670. description: 委托数量
  20671. type: number
  20672. ordertime:
  20673. description: 委托时间
  20674. type: string
  20675. pricemove:
  20676. description: 升贴水(浮动价时填写) - [挂牌]
  20677. type: number
  20678. tradedate:
  20679. description: 交易日(yyyyMMdd)
  20680. type: string
  20681. tradeprice:
  20682. description: 成交价格
  20683. type: number
  20684. tradeqty:
  20685. description: 成交数量
  20686. type: number
  20687. userid:
  20688. description: 用户ID
  20689. type: integer
  20690. username:
  20691. description: 发起方
  20692. type: string
  20693. warehouseid:
  20694. description: 仓库ID
  20695. type: integer
  20696. warehousename:
  20697. description: 仓库名称
  20698. type: string
  20699. wrfactortypeid:
  20700. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20701. type: string
  20702. wrfactortypename:
  20703. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20704. type: string
  20705. wrpricetype:
  20706. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  20707. type: integer
  20708. wrstandardcode:
  20709. description: 现货商品代码
  20710. type: string
  20711. wrstandardid:
  20712. description: 现货商品ID
  20713. type: integer
  20714. wrstandardname:
  20715. description: 商品名称
  20716. type: string
  20717. wrtradeorderid:
  20718. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20719. type: string
  20720. wrtradeorderstatus:
  20721. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  20722. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  20723. type: integer
  20724. wrtradetype:
  20725. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  20726. type: integer
  20727. wrtypename:
  20728. description: 商品
  20729. type: string
  20730. type: object
  20731. models.WrSpotGroupTradeSum:
  20732. properties:
  20733. deliverygoodscode:
  20734. description: 现货品种代码
  20735. type: string
  20736. deliverygoodsid:
  20737. description: 现货品种ID(SEQ_DELIVERYGOODS)
  20738. type: integer
  20739. deliverygoodsname:
  20740. description: 现货品种名称
  20741. type: string
  20742. lastavgprice:
  20743. description: 上上个交易日价格(前2天价格)
  20744. type: string
  20745. lastreckondate:
  20746. description: 上上个交易日(前2天交易日)
  20747. type: string
  20748. reckondate:
  20749. description: 上个交易日(前1天交易日)
  20750. type: string
  20751. todayavgprice:
  20752. description: 上个交易日价格(前1天价格)
  20753. type: string
  20754. updown:
  20755. description: 涨跌
  20756. type: string
  20757. updownratio:
  20758. description: 涨幅(已格式化, 直接显示即可)
  20759. type: string
  20760. type: object
  20761. models.WrSpotGroupTradeSumDetail:
  20762. properties:
  20763. deliverygoodsid:
  20764. description: 现货商品id
  20765. type: integer
  20766. price:
  20767. description: 价格
  20768. type: number
  20769. reckondate:
  20770. description: 日期(yyymmdd, 如:20211031)
  20771. type: string
  20772. type: object
  20773. models.WrSpotGroupTradeSumEx:
  20774. properties:
  20775. lst:
  20776. description: 指数列表
  20777. items:
  20778. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  20779. type: array
  20780. prereckondate:
  20781. description: 上上个交易日(yyymmdd)
  20782. type: string
  20783. reckondate:
  20784. description: 上个交易日(yyyymmdd)
  20785. type: string
  20786. type: object
  20787. models.WrStandardFactoryItem:
  20788. properties:
  20789. dgfactoryitemid:
  20790. description: 选择项id
  20791. type: integer
  20792. dgfactoryitemvalue:
  20793. description: 要素项值
  20794. type: string
  20795. warehouseid:
  20796. description: 仓库id
  20797. type: integer
  20798. type: object
  20799. models.WrStandardFactoryItemEx:
  20800. properties:
  20801. dgfactoryitemtypeid:
  20802. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  20803. type: integer
  20804. itemlst:
  20805. description: 要素项列表
  20806. items:
  20807. $ref: '#/definitions/models.WrStandardFactoryItem'
  20808. type: array
  20809. itemtypename:
  20810. description: 要素项类型名称
  20811. type: string
  20812. wrstandardid:
  20813. description: 品类
  20814. type: integer
  20815. type: object
  20816. models.WrTradeDetail:
  20817. properties:
  20818. accountid:
  20819. description: 资金账号
  20820. type: integer
  20821. bannerpicurl:
  20822. description: Banner图
  20823. type: string
  20824. begindate:
  20825. description: 开始交易日(yyyymmdd)
  20826. type: string
  20827. buyorsell:
  20828. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  20829. type: integer
  20830. chargevalue:
  20831. description: 手续费
  20832. type: number
  20833. deliverygoodscode:
  20834. description: 品种代码
  20835. type: string
  20836. deliverygoodsid:
  20837. description: 品种ID
  20838. type: integer
  20839. deliverygoodsname:
  20840. description: 品种名称
  20841. type: string
  20842. deliverymonth:
  20843. description: 交收月
  20844. type: string
  20845. enddate:
  20846. description: 结束交易日(yyyymmdd)
  20847. type: string
  20848. enumdicname:
  20849. description: 单位名称
  20850. type: string
  20851. haswr:
  20852. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20853. type: integer
  20854. marketid:
  20855. description: 市场ID
  20856. type: integer
  20857. matchaccountid:
  20858. description: 对手账号
  20859. type: integer
  20860. matchusername:
  20861. description: 对手方
  20862. type: string
  20863. minivalue:
  20864. description: 现货商品最小变动值
  20865. type: integer
  20866. optioncompare:
  20867. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20868. type: string
  20869. thumurls:
  20870. description: 缩略图
  20871. type: string
  20872. tradedate:
  20873. description: 交易日(yyyyMMdd)
  20874. type: string
  20875. tradeprice:
  20876. description: 成交价格
  20877. type: number
  20878. tradeqty:
  20879. description: 成交数量
  20880. type: number
  20881. tradetime:
  20882. description: 成交时间
  20883. type: string
  20884. userid:
  20885. description: 用户ID
  20886. type: integer
  20887. warehouseid:
  20888. description: 仓库ID
  20889. type: integer
  20890. warehousename:
  20891. description: 仓库名称
  20892. type: string
  20893. wrfactortypeid:
  20894. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20895. type: string
  20896. wrfactortypename:
  20897. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20898. type: string
  20899. wrstandardcode:
  20900. description: 现货商品代码
  20901. type: string
  20902. wrstandardid:
  20903. description: 现货商品ID
  20904. type: integer
  20905. wrstandardname:
  20906. description: 商品名称
  20907. type: string
  20908. wrtradedetailid:
  20909. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  20910. type: string
  20911. wrtradetype:
  20912. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  20913. type: integer
  20914. wrtypename:
  20915. description: 商品
  20916. type: string
  20917. type: object
  20918. models.WrTradeOrderDetail:
  20919. properties:
  20920. buyorsell:
  20921. description: 买卖方向 0-买 1-卖
  20922. type: integer
  20923. goodsid:
  20924. description: 商品id
  20925. type: integer
  20926. orderid:
  20927. description: 委托单号
  20928. type: string
  20929. orderprice:
  20930. description: 期初均价
  20931. type: number
  20932. orderqty:
  20933. description: 委托数量
  20934. type: integer
  20935. userid:
  20936. description: 用户id
  20937. type: integer
  20938. username:
  20939. description: 用户名称(已脱敏)
  20940. type: string
  20941. type: object
  20942. models.WrTypeItem:
  20943. properties:
  20944. name:
  20945. description: 名称
  20946. type: string
  20947. value:
  20948. description: 值
  20949. type: string
  20950. type: object
  20951. models.WrUserFriend:
  20952. properties:
  20953. friendname:
  20954. description: 朋友名称(已脱敏)
  20955. type: string
  20956. frienduserid:
  20957. description: 朋友id
  20958. type: integer
  20959. isfriend:
  20960. description: 是否好友 0-不是 1-是
  20961. type: integer
  20962. userid:
  20963. description: 用户id
  20964. type: integer
  20965. type: object
  20966. models.WrUserReceiptInfo:
  20967. properties:
  20968. address:
  20969. description: 地址[发票类型:企业]
  20970. type: string
  20971. autoid:
  20972. description: AutoID
  20973. type: integer
  20974. contactinfo:
  20975. description: 联系方式
  20976. type: string
  20977. idnum:
  20978. description: 身份证号码[发票类型:个人]
  20979. type: string
  20980. isdefault:
  20981. description: 是否默认地址 - 0:否 1:是
  20982. type: integer
  20983. receiptaccount:
  20984. description: 发票帐号[发票类型:企业]
  20985. type: string
  20986. receiptbank:
  20987. description: 发票开户行[发票类型:企业]
  20988. type: string
  20989. receipttype:
  20990. description: 发票类型 - 1:个人 2:企业
  20991. type: integer
  20992. taxpayerid:
  20993. description: 纳税人识别号
  20994. type: string
  20995. userid:
  20996. description: 用户ID
  20997. type: integer
  20998. username:
  20999. description: 户名(个人姓名或企业名称)
  21000. type: string
  21001. type: object
  21002. models.Wrtradetradequote:
  21003. properties:
  21004. buyaccountid:
  21005. description: 买方账号ID
  21006. type: integer
  21007. buychargevalue:
  21008. description: 买方手续费
  21009. type: number
  21010. buyuserid:
  21011. description: 买方用户ID
  21012. type: integer
  21013. deliverygoodsid:
  21014. description: 现货品种ID
  21015. type: integer
  21016. exchangerate:
  21017. description: 汇率
  21018. type: number
  21019. marketid:
  21020. description: 市场ID
  21021. type: integer
  21022. oritradeamount:
  21023. description: 成交金额[商品币种]
  21024. type: number
  21025. performanceplanid:
  21026. description: 履约计划ID/合同ID
  21027. type: integer
  21028. sellaccountid:
  21029. description: 卖方账号ID
  21030. type: integer
  21031. sellchargevalue:
  21032. description: 卖方手续费
  21033. type: number
  21034. selluserid:
  21035. description: 卖方用户ID
  21036. type: integer
  21037. tradeamount:
  21038. description: 成交金额
  21039. type: number
  21040. tradedate:
  21041. description: 交易日(yyyyMMdd)
  21042. type: string
  21043. tradeprice:
  21044. description: 成交价格
  21045. type: number
  21046. tradeqty:
  21047. description: 成交数量
  21048. type: integer
  21049. tradetime:
  21050. description: 成交时间
  21051. type: string
  21052. wrfactortypeid:
  21053. description: 仓单要素类型ID
  21054. type: integer
  21055. wrstandardid:
  21056. description: 现货商品ID
  21057. type: integer
  21058. wrtradedetailid:
  21059. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  21060. type: integer
  21061. type: object
  21062. models.XHBRAND:
  21063. properties:
  21064. brandid:
  21065. description: 品牌id
  21066. type: integer
  21067. brandname:
  21068. description: 品牌名称
  21069. type: string
  21070. isvalid:
  21071. description: 是否有效 0-无效 1-有效
  21072. type: integer
  21073. type: object
  21074. models.XHDeliveryGoods:
  21075. properties:
  21076. areauserid:
  21077. description: 所属机构
  21078. type: integer
  21079. bdlst:
  21080. description: 品牌列表
  21081. items:
  21082. $ref: '#/definitions/models.XHBRAND'
  21083. type: array
  21084. deliverygoodscode:
  21085. description: 现货品种代码
  21086. type: string
  21087. deliverygoodsid:
  21088. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21089. type: integer
  21090. deliverygoodsname:
  21091. description: 现货品种名称
  21092. type: string
  21093. dgstatus:
  21094. description: 品种状态 - 作废 - 0:未激活 1:正常
  21095. type: integer
  21096. filterSubEmpty:
  21097. description: 过滤下级为空的
  21098. type: integer
  21099. isvalid:
  21100. description: 是否有效 - 0:无效 1:有效
  21101. type: integer
  21102. remark:
  21103. description: 备注
  21104. type: string
  21105. unitid:
  21106. description: 单位id(目前看,数据库中是空值)
  21107. type: integer
  21108. wdlst:
  21109. description: 品类(现货商品)列表
  21110. items:
  21111. $ref: '#/definitions/models.XHWrstandard'
  21112. type: array
  21113. type: object
  21114. models.XHMiddleGoods:
  21115. properties:
  21116. GPLST:
  21117. description: 期货品种列表
  21118. items:
  21119. $ref: '#/definitions/models.TBGoodsGroup'
  21120. type: array
  21121. convertratio:
  21122. description: 拆算系数
  21123. type: number
  21124. costratio:
  21125. description: 成本权重
  21126. type: number
  21127. deliverygoodsid:
  21128. description: 现货商品id
  21129. type: integer
  21130. enumdicname:
  21131. description: 单位名称
  21132. type: string
  21133. middlegoodscode:
  21134. description: 套保品种代码
  21135. type: string
  21136. middlegoodsid:
  21137. description: 套保品种id
  21138. type: integer
  21139. middlegoodsname:
  21140. description: 套保品种名称
  21141. type: string
  21142. unitid:
  21143. description: 单位id
  21144. type: integer
  21145. type: object
  21146. models.XHWrstandard:
  21147. properties:
  21148. bannerpicurl:
  21149. description: banner图
  21150. type: string
  21151. deliverygoodsid:
  21152. description: 品种ID
  21153. type: integer
  21154. enumdicname:
  21155. description: 单位名称
  21156. type: string
  21157. mglst:
  21158. description: 套保品列表
  21159. items:
  21160. $ref: '#/definitions/models.XHMiddleGoods'
  21161. type: array
  21162. pictureurls:
  21163. description: 详情图片(逗号分隔)
  21164. type: string
  21165. thumurls:
  21166. description: 缩略图片(1:1)(逗号分隔)
  21167. type: string
  21168. unitid:
  21169. description: 单位id
  21170. type: integer
  21171. vatrate:
  21172. description: 增值税率
  21173. type: number
  21174. wrstandardcode:
  21175. description: 现货商品代码
  21176. type: string
  21177. wrstandardid:
  21178. description: 现货商品ID(SEQ_WRSTANDARD)
  21179. type: integer
  21180. wrstandardname:
  21181. description: 现货商品名称
  21182. type: string
  21183. type: object
  21184. models.XhcpSellBackApplyEx:
  21185. properties:
  21186. applyremark:
  21187. description: 申请备注
  21188. type: string
  21189. expirytype:
  21190. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  21191. type: integer
  21192. goodsspec:
  21193. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  21194. type: integer
  21195. holeflag:
  21196. description: 是否破洞[原封] - 1:无破洞 2:破洞
  21197. type: integer
  21198. isunopened:
  21199. description: 是否原封 - 1:否 2:是
  21200. type: integer
  21201. mpflag:
  21202. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  21203. type: integer
  21204. openflag:
  21205. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  21206. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  21207. type: integer
  21208. phonenum:
  21209. description: 联系电话
  21210. type: string
  21211. userid:
  21212. description: 所属用户ID
  21213. type: integer
  21214. zpflag:
  21215. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  21216. type: integer
  21217. required:
  21218. - userid
  21219. type: object
  21220. models.Xhcpsellbackapply:
  21221. properties:
  21222. applyid:
  21223. description: 申请人
  21224. type: integer
  21225. applyremark:
  21226. description: 申请备注
  21227. type: string
  21228. applysrc:
  21229. description: 申请来源 - 1:管理端 2:终端
  21230. type: integer
  21231. applystatus:
  21232. description: 申请状态 - 1:待确认 2:已处理
  21233. type: integer
  21234. applytime:
  21235. description: 申请时间
  21236. type: string
  21237. auditremark:
  21238. description: 审核备注
  21239. type: string
  21240. auditsrc:
  21241. description: 审核来源 - 1:管理端 2:终端
  21242. type: integer
  21243. expirytype:
  21244. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  21245. type: integer
  21246. goodsspec:
  21247. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  21248. type: integer
  21249. holeflag:
  21250. description: 是否破洞[原封] - 1:无破洞 2:破洞
  21251. type: integer
  21252. isunopened:
  21253. description: 是否原封 - 1:否 2:是
  21254. type: integer
  21255. mpflag:
  21256. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  21257. type: integer
  21258. openflag:
  21259. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  21260. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  21261. type: integer
  21262. phonenum:
  21263. description: 联系电话
  21264. type: string
  21265. sellbackapplyid:
  21266. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  21267. type: string
  21268. userid:
  21269. description: 所属用户ID
  21270. type: integer
  21271. zpflag:
  21272. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  21273. type: integer
  21274. required:
  21275. - userid
  21276. type: object
  21277. order.QueryHisTradeDetailRsp:
  21278. properties:
  21279. accountid:
  21280. description: 账户ID[报价币种]
  21281. type: integer
  21282. advanceratio:
  21283. description: 首付比率
  21284. type: number
  21285. buildtype:
  21286. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  21287. type: integer
  21288. buyorsell:
  21289. description: 方向 - 0:买 1:卖
  21290. type: integer
  21291. charge:
  21292. description: 手续费
  21293. type: number
  21294. closecharge:
  21295. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21296. type: number
  21297. closeexchagechargevalue:
  21298. description: 平仓交易所手续费设置值
  21299. type: number
  21300. closefeealgorithm:
  21301. description: 平仓手续费收取方式 1:比率 2:固定
  21302. type: integer
  21303. closememberchargevalue:
  21304. description: 平仓会员手续费设置值
  21305. type: number
  21306. closepl:
  21307. description: 平仓盈亏
  21308. type: number
  21309. closepl2:
  21310. description: 平仓盈亏[逐笔]
  21311. type: number
  21312. closeqty:
  21313. description: 平仓数量(先建后平操作 需要记录)
  21314. type: number
  21315. creditamount:
  21316. description: 授信金额
  21317. type: number
  21318. decimalplace:
  21319. description: 商品报价小数位
  21320. type: integer
  21321. enumdicname:
  21322. description: 单位名称
  21323. type: string
  21324. gcaccountid:
  21325. description: 账户ID[合约币种]
  21326. type: integer
  21327. goodscode:
  21328. description: 商品代码
  21329. type: string
  21330. goodsid:
  21331. description: 商品ID
  21332. type: integer
  21333. goodsname:
  21334. description: 商品名称
  21335. type: string
  21336. goodunitid:
  21337. description: 商品单位id
  21338. type: integer
  21339. histradedate:
  21340. description: 历史交易日
  21341. type: string
  21342. intclosepl:
  21343. description: 整型盈亏(用于交易结算试算平衡-收益权)
  21344. type: integer
  21345. isconfirmexercise:
  21346. description: 是否确认行权- 0:否 1:是
  21347. type: integer
  21348. ismain:
  21349. description: 是否主单 - 0:不是 1:是
  21350. type: integer
  21351. ispreexercise:
  21352. description: 是否预申报- 0:否 1:是
  21353. type: integer
  21354. isreckoned:
  21355. description: 是否结算 - 0:未结算 1:已结算
  21356. type: integer
  21357. isvaliddata:
  21358. description: 是否有效 - 0:无效 1:有效
  21359. type: integer
  21360. listingselecttype:
  21361. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21362. type: integer
  21363. marketid:
  21364. description: 市场ID
  21365. type: integer
  21366. marketname:
  21367. description: 市场名称
  21368. type: string
  21369. matchaccountid:
  21370. description: 对手账号id
  21371. type: integer
  21372. memberuserid:
  21373. description: 会员id 个人投资者 需要填写
  21374. type: integer
  21375. opencharge:
  21376. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21377. type: number
  21378. openexchagechargevalue:
  21379. description: 建仓交易所手续费设置值
  21380. type: number
  21381. openfeealgorithm:
  21382. description: 建仓手续费收取方式 1:比率 2:固定
  21383. type: integer
  21384. openmemberchargevalue:
  21385. description: 建仓会员手续费设置值
  21386. type: number
  21387. openqty:
  21388. description: 开仓数量(先建后平操作 需要记录)
  21389. type: number
  21390. optiontype:
  21391. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21392. type: integer
  21393. orderid:
  21394. description: 委托单号
  21395. type: string
  21396. payamount:
  21397. description: 支付金额(付款金额)
  21398. type: number
  21399. performanceplanid:
  21400. description: 履约计划ID[期权]
  21401. type: integer
  21402. performancestatus:
  21403. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  21404. type: integer
  21405. preexerciseprice:
  21406. description: 预申报价格
  21407. type: number
  21408. premium:
  21409. description: 权利金 - [持仓单的权利金]
  21410. type: number
  21411. qtydecimalplace:
  21412. description: 商品报价小数位
  21413. type: integer
  21414. recvamount:
  21415. description: 到账金额 = 成交金额 - 手续费
  21416. type: number
  21417. relatedouttradeid:
  21418. description: 关联外部成交单ID
  21419. type: integer
  21420. status:
  21421. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  21422. type: integer
  21423. totalamount:
  21424. description: 订单总额 = 成交金额 + 手续费
  21425. type: number
  21426. tradeamount:
  21427. description: 成交金额[账户币种,用于所有权]
  21428. type: number
  21429. tradedate:
  21430. description: 交易日(yyyyMMdd)
  21431. type: string
  21432. tradeid:
  21433. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21434. type: string
  21435. trademode:
  21436. description: 交易模式
  21437. type: integer
  21438. tradeprice:
  21439. description: 成交价格
  21440. type: number
  21441. tradeproperty:
  21442. description: 交易属性
  21443. type: integer
  21444. tradeqty:
  21445. description: 成交数量
  21446. type: number
  21447. tradetime:
  21448. description: 成交时间
  21449. type: string
  21450. tradetype:
  21451. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  21452. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  21453. type: integer
  21454. required:
  21455. - accountid
  21456. - buyorsell
  21457. - goodsid
  21458. - histradedate
  21459. - marketid
  21460. - memberuserid
  21461. - orderid
  21462. - tradeamount
  21463. - tradedate
  21464. - tradeid
  21465. - tradeprice
  21466. - tradeqty
  21467. - tradetime
  21468. type: object
  21469. order.QueryHisTradeOrderDetailRsp:
  21470. properties:
  21471. accountid:
  21472. description: 账户ID[报价币种]
  21473. type: integer
  21474. buildtype:
  21475. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  21476. type: integer
  21477. buyorsell:
  21478. description: 买卖 - 0:买 1:卖
  21479. type: integer
  21480. cancelorderid:
  21481. description: 撤单单号(撤单时填写)
  21482. type: string
  21483. cancelqty:
  21484. description: 撤单数量
  21485. type: number
  21486. clientordertime:
  21487. description: 客户端委托时间
  21488. type: string
  21489. clientticket:
  21490. description: 客户端流水号
  21491. type: string
  21492. clienttype:
  21493. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  21494. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  21495. type: integer
  21496. closeexchagechargevalue:
  21497. description: 平仓交易所手续费设置值
  21498. type: number
  21499. closefeealgorithm:
  21500. description: 平仓手续费收取方式 1:比率 2:固定
  21501. type: integer
  21502. closefreezecharge:
  21503. description: 平仓冻结手续费(先建后平操作,需要记录)
  21504. type: number
  21505. closememberchargevalue:
  21506. description: 平仓会员手续费设置值
  21507. type: number
  21508. closeqty:
  21509. description: 平仓数量(先建后平操作 需要记录)
  21510. type: number
  21511. closetradeqty:
  21512. description: 平仓成交数量(先建后平操作,需要记录)
  21513. type: number
  21514. closeunfreezecharge:
  21515. description: 平仓解冻手续费(先建后平操作,需要记录)
  21516. type: number
  21517. decimalplace:
  21518. description: 商品报价小数位
  21519. type: integer
  21520. delistingtype:
  21521. description: 摘牌类型 - 1:价格最优 2:点选成交
  21522. type: integer
  21523. enumdicname:
  21524. description: 单位名称
  21525. type: string
  21526. freezecharge:
  21527. description: 冻结手续费
  21528. type: number
  21529. freezemargin:
  21530. description: 冻结保证金(冻结交易金额)
  21531. type: number
  21532. gcaccountid:
  21533. description: 账户ID[合约币种]
  21534. type: integer
  21535. goodscode:
  21536. description: 商品代码
  21537. type: string
  21538. goodsid:
  21539. description: 商品ID
  21540. type: integer
  21541. goodsname:
  21542. description: 商品名称
  21543. type: string
  21544. goodunitid:
  21545. description: 商品单位id
  21546. type: integer
  21547. histradedate:
  21548. description: 历史交易日
  21549. type: string
  21550. isconfirmexercise:
  21551. description: 是否确认行权- 0:否 1:是
  21552. type: integer
  21553. ispreexercise:
  21554. description: 是否预申报- 0:否 1:是
  21555. type: integer
  21556. isvaliddata:
  21557. description: 是否有效 - 0:无效 1:有效
  21558. type: integer
  21559. listingselecttype:
  21560. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21561. type: integer
  21562. marginalgorithm:
  21563. description: 保证金收取方式 1:比率 2:固定
  21564. type: integer
  21565. marginvalue:
  21566. description: 即市保证金设置值
  21567. type: number
  21568. marketid:
  21569. description: 市场ID
  21570. type: integer
  21571. marketmaxsub:
  21572. description: 市价最大偏移范围
  21573. type: number
  21574. marketname:
  21575. description: 市场名称
  21576. type: string
  21577. memberuserid:
  21578. description: 所属会员UserID
  21579. type: integer
  21580. openexchagechargevalue:
  21581. description: 建仓交易所手续费设置值
  21582. type: number
  21583. openfeealgorithm:
  21584. description: 建仓手续费收取方式 1:比率 2:固定
  21585. type: integer
  21586. openfreezecharge:
  21587. description: 开仓冻结手续费(先建后平操作,需要记录)
  21588. type: number
  21589. openmemberchargevalue:
  21590. description: 建仓会员手续费设置值
  21591. type: number
  21592. openqty:
  21593. description: 开仓数量(先建后平操作,需要记录)
  21594. type: number
  21595. opentradeqty:
  21596. description: 开仓成交数量(先建后平操作,需要记录)
  21597. type: number
  21598. openunfreezecharge:
  21599. description: 开仓解冻手续费(先建后平操作,需要记录)
  21600. type: number
  21601. operatetype:
  21602. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  21603. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  21604. 15:管理端协议转让
  21605. type: integer
  21606. operatorid:
  21607. description: 登录账号(LoginID)
  21608. type: integer
  21609. optiontype:
  21610. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21611. type: integer
  21612. orderid:
  21613. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21614. type: string
  21615. orderprice:
  21616. description: 委托价格
  21617. type: number
  21618. orderqty:
  21619. description: 委托数量
  21620. type: number
  21621. ordersrc:
  21622. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  21623. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  21624. type: integer
  21625. orderstatus:
  21626. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  21627. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  21628. 16:成交失败违约(荷兰式竞拍专用)
  21629. type: integer
  21630. ordertime:
  21631. description: 委托时间
  21632. type: string
  21633. preexerciseprice:
  21634. description: 预申报价格
  21635. type: number
  21636. premium:
  21637. description: 权利金
  21638. type: number
  21639. preorderid:
  21640. description: 关联预埋单号(止盈止损单时填写)
  21641. type: string
  21642. pricemode:
  21643. description: '取价方式 - 1:市价 2: 限价'
  21644. type: integer
  21645. qtydecimalplace:
  21646. description: 成交量小数位
  21647. type: integer
  21648. quoteid:
  21649. description: 报价单ID
  21650. type: integer
  21651. relatedid:
  21652. description: 关联单号(交割单)
  21653. type: string
  21654. retcode:
  21655. description: 错误代码
  21656. type: integer
  21657. sessionid:
  21658. description: 会话ID
  21659. type: integer
  21660. tradedate:
  21661. description: 交易日(yyyyMMdd)
  21662. type: string
  21663. trademode:
  21664. description: 交易模式
  21665. type: integer
  21666. tradeproperty:
  21667. description: 交易属性
  21668. type: integer
  21669. tradeqty:
  21670. description: 成交数量
  21671. type: number
  21672. unfreezecharge:
  21673. description: 解冻手续费
  21674. type: number
  21675. unfreezemargin:
  21676. description: 解冻保证金
  21677. type: number
  21678. updatetime:
  21679. description: 更新时间
  21680. type: string
  21681. uuid:
  21682. description: 发起端唯一id
  21683. type: string
  21684. validtime:
  21685. description: 有效期限
  21686. type: string
  21687. validtype:
  21688. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  21689. type: integer
  21690. volumetype:
  21691. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  21692. type: integer
  21693. required:
  21694. - accountid
  21695. - buildtype
  21696. - buyorsell
  21697. - goodsid
  21698. - histradedate
  21699. - marketid
  21700. - memberuserid
  21701. - operatetype
  21702. - orderid
  21703. - orderqty
  21704. - ordertime
  21705. - pricemode
  21706. - tradedate
  21707. - validtype
  21708. type: object
  21709. order.QueryTradeDetailRsp:
  21710. properties:
  21711. accountid:
  21712. description: 账户ID[报价币种]
  21713. type: integer
  21714. advanceratio:
  21715. description: 首付比率
  21716. type: number
  21717. buildtype:
  21718. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  21719. type: integer
  21720. buyorsell:
  21721. description: 方向 - 0:买 1:卖
  21722. type: integer
  21723. charge:
  21724. description: 手续费
  21725. type: number
  21726. closecharge:
  21727. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21728. type: number
  21729. closeexchagechargevalue:
  21730. description: 平仓交易所手续费设置值
  21731. type: number
  21732. closefeealgorithm:
  21733. description: 平仓手续费收取方式 1:比率 2:固定
  21734. type: integer
  21735. closememberchargevalue:
  21736. description: 平仓会员手续费设置值
  21737. type: number
  21738. closepl:
  21739. description: 平仓盈亏
  21740. type: number
  21741. closepl2:
  21742. description: 平仓盈亏[逐笔]
  21743. type: number
  21744. closeqty:
  21745. description: 平仓数量(先建后平操作 需要记录)
  21746. type: number
  21747. creditamount:
  21748. description: 授信金额
  21749. type: number
  21750. decimalplace:
  21751. description: 商品报价小数位
  21752. type: integer
  21753. enumdicname:
  21754. description: 单位名称
  21755. type: string
  21756. gcaccountid:
  21757. description: 账户ID[合约币种]
  21758. type: integer
  21759. goodscode:
  21760. description: 商品代码
  21761. type: string
  21762. goodsid:
  21763. description: 商品ID
  21764. type: integer
  21765. goodsname:
  21766. description: 商品名称
  21767. type: string
  21768. goodunitid:
  21769. description: 商品单位id
  21770. type: integer
  21771. intclosepl:
  21772. description: 整型盈亏(用于交易结算试算平衡-收益权)
  21773. type: integer
  21774. isconfirmexercise:
  21775. description: 是否确认行权- 0:否 1:是
  21776. type: integer
  21777. ismain:
  21778. description: 是否主单 - 0:不是 1:是
  21779. type: integer
  21780. ispreexercise:
  21781. description: 是否预申报- 0:否 1:是
  21782. type: integer
  21783. isreckoned:
  21784. description: 是否结算 - 0:未结算 1:已结算
  21785. type: integer
  21786. listingselecttype:
  21787. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21788. type: integer
  21789. marketid:
  21790. description: 市场ID
  21791. type: integer
  21792. marketname:
  21793. description: 市场名称
  21794. type: string
  21795. matchaccountid:
  21796. description: 对手账号id
  21797. type: integer
  21798. memberuserid:
  21799. description: 会员id 个人投资者 需要填写
  21800. type: integer
  21801. opencharge:
  21802. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21803. type: number
  21804. openexchagechargevalue:
  21805. description: 建仓交易所手续费设置值
  21806. type: number
  21807. openfeealgorithm:
  21808. description: 建仓手续费收取方式 1:比率 2:固定
  21809. type: integer
  21810. openmemberchargevalue:
  21811. description: 建仓会员手续费设置值
  21812. type: number
  21813. openqty:
  21814. description: 开仓数量(先建后平操作 需要记录)
  21815. type: number
  21816. optiontype:
  21817. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21818. type: integer
  21819. orderid:
  21820. description: 委托单号
  21821. type: string
  21822. payamount:
  21823. description: 支付金额(付款金额)
  21824. type: number
  21825. performanceplanid:
  21826. description: 履约计划ID[期权]
  21827. type: integer
  21828. performancestatus:
  21829. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  21830. type: integer
  21831. preexerciseprice:
  21832. description: 预申报价格
  21833. type: number
  21834. premium:
  21835. description: 权利金 - [持仓单的权利金]
  21836. type: number
  21837. qtydecimalplace:
  21838. description: 商品报价小数位
  21839. type: integer
  21840. recvamount:
  21841. description: 到账金额 = 成交金额 - 手续费
  21842. type: number
  21843. relatedouttradeid:
  21844. description: 关联外部成交单ID
  21845. type: integer
  21846. status:
  21847. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  21848. type: integer
  21849. totalamount:
  21850. description: 订单总额 = 成交金额 + 手续费
  21851. type: number
  21852. tradeamount:
  21853. description: 成交金额[账户币种,用于所有权]
  21854. type: number
  21855. tradedate:
  21856. description: 交易日(yyyyMMdd)
  21857. type: string
  21858. tradeid:
  21859. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21860. type: string
  21861. trademode:
  21862. description: 交易模式
  21863. type: integer
  21864. tradeprice:
  21865. description: 成交价格
  21866. type: number
  21867. tradeproperty:
  21868. description: 交易属性
  21869. type: integer
  21870. tradeqty:
  21871. description: 成交数量
  21872. type: number
  21873. tradetime:
  21874. description: 成交时间
  21875. type: string
  21876. tradetype:
  21877. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  21878. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  21879. type: integer
  21880. required:
  21881. - accountid
  21882. - buyorsell
  21883. - goodsid
  21884. - marketid
  21885. - memberuserid
  21886. - orderid
  21887. - tradeamount
  21888. - tradedate
  21889. - tradeid
  21890. - tradeprice
  21891. - tradeqty
  21892. - tradetime
  21893. type: object
  21894. order.QueryTradeOrderDetailRsp:
  21895. properties:
  21896. accountid:
  21897. description: 账户ID[报价币种]
  21898. type: integer
  21899. buildtype:
  21900. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  21901. type: integer
  21902. buyorsell:
  21903. description: 买卖 - 0:买 1:卖
  21904. type: integer
  21905. cancelorderid:
  21906. description: 撤单单号(撤单时填写)
  21907. type: string
  21908. cancelqty:
  21909. description: 撤单数量
  21910. type: number
  21911. clienttype:
  21912. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  21913. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  21914. type: integer
  21915. closefreezecharge:
  21916. description: 平仓冻结手续费(先建后平操作,需要记录)
  21917. type: number
  21918. closeqty:
  21919. description: 平仓数量(先建后平操作 需要记录)
  21920. type: number
  21921. closetradeqty:
  21922. description: 平仓成交数量(先建后平操作,需要记录)
  21923. type: number
  21924. closeunfreezecharge:
  21925. description: 平仓解冻手续费(先建后平操作,需要记录)
  21926. type: number
  21927. decimalplace:
  21928. description: 商品报价小数位
  21929. type: integer
  21930. delistingtype:
  21931. description: 摘牌类型 - 1:价格最优 2:点选成交
  21932. type: integer
  21933. enableqty:
  21934. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  21935. type: number
  21936. enumdicname:
  21937. description: 单位名称
  21938. type: string
  21939. freezecharge:
  21940. description: 冻结手续费
  21941. type: number
  21942. freezemargin:
  21943. description: 冻结保证金(冻结交易金额)
  21944. type: number
  21945. goodscode:
  21946. description: 商品代码
  21947. type: string
  21948. goodsid:
  21949. description: 商品ID
  21950. type: integer
  21951. goodsname:
  21952. description: 商品名称
  21953. type: string
  21954. goodunitid:
  21955. description: 商品单位id
  21956. type: integer
  21957. listingselecttype:
  21958. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21959. type: integer
  21960. marketid:
  21961. description: 市场ID
  21962. type: integer
  21963. marketname:
  21964. description: 市场名称
  21965. type: string
  21966. openfreezecharge:
  21967. description: 开仓冻结手续费(先建后平操作,需要记录)
  21968. type: number
  21969. openqty:
  21970. description: 开仓数量(先建后平操作,需要记录)
  21971. type: number
  21972. opentradeqty:
  21973. description: 开仓成交数量(先建后平操作,需要记录)
  21974. type: number
  21975. openunfreezecharge:
  21976. description: 开仓解冻手续费(先建后平操作,需要记录)
  21977. type: number
  21978. operatetype:
  21979. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  21980. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  21981. 15:管理端协议转让
  21982. type: integer
  21983. operatorid:
  21984. description: 登录账号(LoginID)
  21985. type: integer
  21986. orderid:
  21987. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21988. type: string
  21989. orderprice:
  21990. description: 委托价格
  21991. type: number
  21992. orderqty:
  21993. description: 委托数量
  21994. type: number
  21995. ordersrc:
  21996. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  21997. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  21998. type: integer
  21999. orderstatus:
  22000. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  22001. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  22002. 16:成交失败违约(荷兰式竞拍专用)
  22003. type: integer
  22004. ordertime:
  22005. description: 委托时间
  22006. type: string
  22007. preorderid:
  22008. description: 关联预埋单号(止盈止损单时填写)
  22009. type: string
  22010. pricemode:
  22011. description: '取价方式 - 1:市价 2: 限价'
  22012. type: integer
  22013. qtydecimalplace:
  22014. description: 商品报价小数位
  22015. type: integer
  22016. relatedid:
  22017. description: 关联单号(交割单)
  22018. type: string
  22019. tradedate:
  22020. description: 交易日(yyyyMMdd)
  22021. type: string
  22022. trademode:
  22023. description: 交易模式
  22024. type: integer
  22025. tradeqty:
  22026. description: 成交数量
  22027. type: number
  22028. unfreezecharge:
  22029. description: 解冻手续费
  22030. type: number
  22031. unfreezemargin:
  22032. description: 解冻保证金
  22033. type: number
  22034. validtime:
  22035. description: 有效期限
  22036. type: string
  22037. validtype:
  22038. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  22039. type: integer
  22040. volumetype:
  22041. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  22042. type: integer
  22043. required:
  22044. - accountid
  22045. - buildtype
  22046. - buyorsell
  22047. - goodsid
  22048. - marketid
  22049. - operatetype
  22050. - orderqty
  22051. - ordertime
  22052. - pricemode
  22053. - tradedate
  22054. - validtype
  22055. type: object
  22056. order.QueryTradePositionRsp:
  22057. properties:
  22058. accountid:
  22059. description: 资金账户
  22060. type: integer
  22061. agreeunit:
  22062. description: 合约单位
  22063. type: number
  22064. averageprice:
  22065. description: 持仓均价
  22066. type: number
  22067. buyorsell:
  22068. description: 方向 - 0:买 1:卖
  22069. type: integer
  22070. closetotalqty:
  22071. description: 平仓总数量
  22072. type: number
  22073. curholderamount:
  22074. description: 当前持仓总金额[商品币种]
  22075. type: number
  22076. curpositionqty:
  22077. description: 当前持仓总数量
  22078. type: number
  22079. currencyid:
  22080. description: 报价货币ID
  22081. type: integer
  22082. curtdposition:
  22083. description: 期末今日头寸
  22084. type: number
  22085. decimalplace:
  22086. description: 报价小数位
  22087. type: integer
  22088. enableqty:
  22089. description: 可用量
  22090. type: number
  22091. fretdposition:
  22092. description: 冻结今日头寸
  22093. type: number
  22094. frozenqty:
  22095. description: 持仓冻结数量
  22096. type: number
  22097. goodscode:
  22098. description: 商品代码
  22099. type: string
  22100. goodsid:
  22101. description: 商品Id
  22102. type: integer
  22103. goodsname:
  22104. description: 商品名称
  22105. type: string
  22106. goodunit:
  22107. description: 报价单位
  22108. type: string
  22109. goodunitid:
  22110. description: 报价单位ID
  22111. type: integer
  22112. holderamount:
  22113. description: 期初持仓总金额[商品币种]
  22114. type: number
  22115. lastprice:
  22116. description: 最新价
  22117. type: number
  22118. marketamount:
  22119. description: 市值
  22120. type: number
  22121. marketid:
  22122. description: 所属市场ID
  22123. type: integer
  22124. openreqqty:
  22125. description: 开仓申请数量(用于比较最大持仓数量)
  22126. type: number
  22127. opentotalqty:
  22128. description: 开仓总数量
  22129. type: number
  22130. otherfrozenqty:
  22131. description: 持仓其他冻结数量(交割冻结)
  22132. type: number
  22133. positionpl:
  22134. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  22135. * 合约单位
  22136. type: number
  22137. positionplrate:
  22138. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  22139. type: number
  22140. positionqty:
  22141. description: 期初持仓数量
  22142. type: number
  22143. qtydecimalplace:
  22144. description: 成交量小数位
  22145. type: integer
  22146. refgoodscode:
  22147. description: 参考商品代码
  22148. type: string
  22149. refgoodsid:
  22150. description: 参考商品ID
  22151. type: integer
  22152. tnqty:
  22153. description: T+N冻结总量
  22154. type: number
  22155. tnusedqty:
  22156. description: T+N使用量(可以使用T+N的冻结数量)
  22157. type: number
  22158. trademode:
  22159. description: 交易模式
  22160. type: integer
  22161. tradeproperty:
  22162. description: 交易属性
  22163. type: integer
  22164. usedmargin:
  22165. description: 占用保证金[商品币种]
  22166. type: number
  22167. required:
  22168. - goodsid
  22169. type: object
  22170. pb.GoodsMarginCfgStruct:
  22171. properties:
  22172. CustomerTypeID:
  22173. description: 投资者客户类型
  22174. type: integer
  22175. GoodsID:
  22176. description: 商品ID
  22177. type: integer
  22178. IsDefault:
  22179. description: 是否默认标志位
  22180. type: integer
  22181. LockMarginValue:
  22182. description: 锁仓保证金
  22183. type: number
  22184. MarginAlgorithm:
  22185. description: 保证金计算方式
  22186. type: integer
  22187. MarketMarginValue:
  22188. description: 即市保证金值
  22189. type: number
  22190. RealMarginAlgorithm:
  22191. description: 实付保证金计算方式
  22192. type: integer
  22193. RealMarginValue:
  22194. description: 实付比例
  22195. type: number
  22196. ReckonMarginValue:
  22197. description: 结算保证金值
  22198. type: number
  22199. type: object
  22200. quote.HistoryData:
  22201. properties:
  22202. c:
  22203. description: 收盘价
  22204. type: number
  22205. f:
  22206. description: 是否补充数据
  22207. type: boolean
  22208. h:
  22209. description: 最高价
  22210. type: number
  22211. hv:
  22212. description: 持仓量
  22213. type: integer
  22214. l:
  22215. description: 最低价
  22216. type: number
  22217. o:
  22218. description: 开盘价
  22219. type: number
  22220. s:
  22221. description: 结算价,日线周期(包括)以上才有
  22222. type: number
  22223. ts:
  22224. description: 时间
  22225. type: string
  22226. tt:
  22227. description: 总金额
  22228. type: number
  22229. tv:
  22230. description: 总量(成交量)
  22231. type: integer
  22232. type: object
  22233. quote.HistoryTikData:
  22234. properties:
  22235. AV:
  22236. description: 卖量
  22237. type: integer
  22238. Ask:
  22239. description: 卖价
  22240. type: number
  22241. BV:
  22242. description: 买量
  22243. type: integer
  22244. Bid:
  22245. description: 买价
  22246. type: number
  22247. HI:
  22248. description: 单笔持仓
  22249. type: integer
  22250. HV:
  22251. description: 持仓量
  22252. type: integer
  22253. PE:
  22254. description: 现价
  22255. type: number
  22256. TDR:
  22257. description: 交易方向,0:买 1:卖
  22258. type: integer
  22259. TK:
  22260. description: 交易类型
  22261. type: integer
  22262. TS:
  22263. description: 行情时间文本
  22264. type: string
  22265. TT:
  22266. description: 现金额
  22267. type: number
  22268. Vol:
  22269. description: 现量
  22270. type: integer
  22271. type: object
  22272. quote.QueryQuoteDayRsp:
  22273. properties:
  22274. ask:
  22275. description: 卖1
  22276. type: number
  22277. ask2:
  22278. description: 卖2
  22279. type: number
  22280. ask3:
  22281. description: 卖3
  22282. type: number
  22283. ask4:
  22284. description: 卖4
  22285. type: number
  22286. ask5:
  22287. description: 卖5
  22288. type: number
  22289. ask6:
  22290. description: 卖6
  22291. type: number
  22292. ask7:
  22293. description: 卖7
  22294. type: number
  22295. ask8:
  22296. description: 卖8
  22297. type: number
  22298. ask9:
  22299. description: 卖9
  22300. type: number
  22301. ask10:
  22302. description: 卖10
  22303. type: number
  22304. askorderid:
  22305. description: 卖单号1
  22306. type: integer
  22307. askorderid2:
  22308. description: 卖单号2
  22309. type: integer
  22310. askorderid3:
  22311. description: 卖单号3
  22312. type: integer
  22313. askorderid4:
  22314. description: 卖单号4
  22315. type: integer
  22316. askorderid5:
  22317. description: 卖单号5
  22318. type: integer
  22319. askordervolume:
  22320. description: 卖单量1
  22321. type: integer
  22322. askordervolume2:
  22323. description: 卖单量2
  22324. type: integer
  22325. askordervolume3:
  22326. description: 卖单量3
  22327. type: integer
  22328. askordervolume4:
  22329. description: 卖单量4
  22330. type: integer
  22331. askordervolume5:
  22332. description: 卖单量5
  22333. type: integer
  22334. askordervolume6:
  22335. description: 卖单量6
  22336. type: integer
  22337. askordervolume7:
  22338. description: 卖单量7
  22339. type: integer
  22340. askordervolume8:
  22341. description: 卖单量8
  22342. type: integer
  22343. askordervolume9:
  22344. description: 卖单量9
  22345. type: integer
  22346. askordervolume10:
  22347. description: 卖单量10
  22348. type: integer
  22349. askqueueinfo:
  22350. description: 大利市卖港股用
  22351. type: string
  22352. askvolume:
  22353. description: 卖量1
  22354. type: integer
  22355. askvolume2:
  22356. description: 卖量2
  22357. type: integer
  22358. askvolume3:
  22359. description: 卖量3
  22360. type: integer
  22361. askvolume4:
  22362. description: 卖量4
  22363. type: integer
  22364. askvolume5:
  22365. description: 卖量5
  22366. type: integer
  22367. askvolume6:
  22368. description: 卖量6
  22369. type: integer
  22370. askvolume7:
  22371. description: 卖量7
  22372. type: integer
  22373. askvolume8:
  22374. description: 卖量8
  22375. type: integer
  22376. askvolume9:
  22377. description: 卖量9
  22378. type: integer
  22379. askvolume10:
  22380. description: 卖量10
  22381. type: integer
  22382. averageprice:
  22383. description: 均价
  22384. type: number
  22385. bid:
  22386. description: 买1
  22387. type: number
  22388. bid2:
  22389. description: 买2
  22390. type: number
  22391. bid3:
  22392. description: 买3
  22393. type: number
  22394. bid4:
  22395. description: 买4
  22396. type: number
  22397. bid5:
  22398. description: 买5
  22399. type: number
  22400. bid6:
  22401. description: 买6
  22402. type: number
  22403. bid7:
  22404. description: 买7
  22405. type: number
  22406. bid8:
  22407. description: 买8
  22408. type: number
  22409. bid9:
  22410. description: 买9
  22411. type: number
  22412. bid10:
  22413. description: 买10
  22414. type: number
  22415. bidorderid:
  22416. description: 买单号1
  22417. type: integer
  22418. bidorderid2:
  22419. description: 买单号2
  22420. type: integer
  22421. bidorderid3:
  22422. description: 买单号3
  22423. type: integer
  22424. bidorderid4:
  22425. description: 买单号4
  22426. type: integer
  22427. bidorderid5:
  22428. description: 买单号5
  22429. type: integer
  22430. bidordervolume:
  22431. description: 买单量1
  22432. type: integer
  22433. bidordervolume2:
  22434. description: 买单量2
  22435. type: integer
  22436. bidordervolume3:
  22437. description: 买单量3
  22438. type: integer
  22439. bidordervolume4:
  22440. description: 买单量4
  22441. type: integer
  22442. bidordervolume5:
  22443. description: 买单量5
  22444. type: integer
  22445. bidordervolume6:
  22446. description: 买单量6
  22447. type: integer
  22448. bidordervolume7:
  22449. description: 买单量7
  22450. type: integer
  22451. bidordervolume8:
  22452. description: 买单量8
  22453. type: integer
  22454. bidordervolume9:
  22455. description: 买单量9
  22456. type: integer
  22457. bidordervolume10:
  22458. description: 买单量10
  22459. type: integer
  22460. bidqueueinfo:
  22461. description: 大利市买港股用
  22462. type: string
  22463. bidvolume:
  22464. description: 买量1
  22465. type: integer
  22466. bidvolume2:
  22467. description: 买量2
  22468. type: integer
  22469. bidvolume3:
  22470. description: 买量3
  22471. type: integer
  22472. bidvolume4:
  22473. description: 买量4
  22474. type: integer
  22475. bidvolume5:
  22476. description: 买量5
  22477. type: integer
  22478. bidvolume6:
  22479. description: 买量6
  22480. type: integer
  22481. bidvolume7:
  22482. description: 买量7
  22483. type: integer
  22484. bidvolume8:
  22485. description: 买量8
  22486. type: integer
  22487. bidvolume9:
  22488. description: 买量9
  22489. type: integer
  22490. bidvolume10:
  22491. description: 买量10
  22492. type: integer
  22493. calloptionpremiums:
  22494. description: 认购期权1
  22495. type: integer
  22496. calloptionpremiums2:
  22497. description: 认购期权2
  22498. type: integer
  22499. calloptionpremiums3:
  22500. description: 认购期权3
  22501. type: integer
  22502. calloptionpremiums4:
  22503. description: 认购期权4
  22504. type: integer
  22505. calloptionpremiums5:
  22506. description: 认购期权5
  22507. type: integer
  22508. cleartime:
  22509. description: 清盘时间
  22510. type: integer
  22511. exchangecode:
  22512. description: 交易所代码
  22513. type: integer
  22514. exchangedate:
  22515. description: 交易日
  22516. type: integer
  22517. goodscode:
  22518. description: 商品代码
  22519. type: string
  22520. grepmarketprice:
  22521. description: 暗盘价 港股专用
  22522. type: number
  22523. highest:
  22524. description: 最高价
  22525. type: number
  22526. holdincrement:
  22527. description: 单笔持仓
  22528. type: integer
  22529. holdvolume:
  22530. description: 持仓
  22531. type: integer
  22532. iep:
  22533. description: 平衡价 港股专用
  22534. type: number
  22535. iev:
  22536. description: 平衡量 港股专用
  22537. type: number
  22538. inventory:
  22539. description: 库存
  22540. type: integer
  22541. iscleared:
  22542. description: 是否清盘标志
  22543. type: integer
  22544. issettled:
  22545. description: 是否结算标志
  22546. type: integer
  22547. last:
  22548. description: 最新价
  22549. type: number
  22550. lastlot:
  22551. description: 最新成交手数
  22552. type: integer
  22553. lasttime:
  22554. description: 行情时间(只有现价变化行情时间才变化)
  22555. type: string
  22556. lastturnover:
  22557. description: 最新成交金额
  22558. type: number
  22559. lastvolume:
  22560. description: 最新成交量
  22561. type: integer
  22562. limitdown:
  22563. description: 跌停价
  22564. type: number
  22565. limitup:
  22566. description: 涨停价
  22567. type: number
  22568. lowest:
  22569. description: 最低价
  22570. type: number
  22571. nontotalholdervolume:
  22572. description: 非交易持仓量
  22573. type: integer
  22574. nontotallot:
  22575. description: 非交易总手数
  22576. type: integer
  22577. nontotalturnover:
  22578. description: 非交易总金额
  22579. type: integer
  22580. nontotalvolume:
  22581. description: 非交易总量
  22582. type: integer
  22583. opened:
  22584. description: 开盘价
  22585. type: number
  22586. opentime:
  22587. description: 开盘时间
  22588. type: string
  22589. orderid:
  22590. description: 序号
  22591. type: integer
  22592. preclose:
  22593. description: 昨收
  22594. type: number
  22595. preholdvolume:
  22596. description: 昨持仓
  22597. type: integer
  22598. presettle:
  22599. description: 昨结价
  22600. type: number
  22601. publictradetype:
  22602. description: 公共交易标志类型 港股专用
  22603. type: string
  22604. putoptionpremiums:
  22605. description: 认沽期权1
  22606. type: integer
  22607. putoptionpremiums2:
  22608. description: 认沽期权2
  22609. type: integer
  22610. putoptionpremiums3:
  22611. description: 认沽期权3
  22612. type: integer
  22613. putoptionpremiums4:
  22614. description: 认沽期权4
  22615. type: integer
  22616. putoptionpremiums5:
  22617. description: 认沽期权5
  22618. type: integer
  22619. settle:
  22620. description: 结算价
  22621. type: number
  22622. strikeprice:
  22623. description: 发行价
  22624. type: number
  22625. totalaskvolume:
  22626. description: 内盘
  22627. type: integer
  22628. totalbidvolume:
  22629. description: 外盘
  22630. type: integer
  22631. totallot:
  22632. description: 总手数
  22633. type: integer
  22634. totalturnover:
  22635. description: 总金额
  22636. type: number
  22637. totalvolume:
  22638. description: 总量
  22639. type: integer
  22640. utclasttime:
  22641. description: utc的行情时间
  22642. type: string
  22643. type: object
  22644. quote.QueryTSDataRsp:
  22645. properties:
  22646. Count:
  22647. description: 交易日应有数据个数
  22648. type: integer
  22649. decimalPlace:
  22650. description: 小数位
  22651. type: integer
  22652. endTime:
  22653. description: 结束时间
  22654. type: string
  22655. goodsCode:
  22656. description: 商品代码
  22657. type: string
  22658. historyDatas:
  22659. description: 历史数据
  22660. items:
  22661. $ref: '#/definitions/quote.HistoryData'
  22662. type: array
  22663. outGoodsCode:
  22664. description: 外部商品代码
  22665. type: string
  22666. preSettle:
  22667. description: 昨结价
  22668. type: number
  22669. runSteps:
  22670. description: 交易日开休市计划
  22671. items:
  22672. $ref: '#/definitions/quote.TSDataRunStep'
  22673. type: array
  22674. startTime:
  22675. description: 开始时间
  22676. type: string
  22677. tradeDate:
  22678. description: 交易日
  22679. type: string
  22680. type: object
  22681. quote.TSDataRunStep:
  22682. properties:
  22683. end:
  22684. description: 真实结束时间
  22685. type: string
  22686. endflag:
  22687. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  22688. type: integer
  22689. endtime:
  22690. description: 结束时间(HH:mm)
  22691. type: string
  22692. endweekday:
  22693. description: 结束周几
  22694. type: integer
  22695. groupid:
  22696. description: 分组ID
  22697. type: integer
  22698. runstep:
  22699. description: 运行阶段 - 2:连续交易
  22700. type: integer
  22701. sectionid:
  22702. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  22703. 结束时间=结算时间 结束周几=结算周几
  22704. type: integer
  22705. start:
  22706. description: 真实开始时间
  22707. type: string
  22708. startflag:
  22709. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  22710. type: integer
  22711. starttime:
  22712. description: 起始时间(HH:mm)
  22713. type: string
  22714. startweekday:
  22715. description: 起始周几
  22716. type: integer
  22717. tradeweekday:
  22718. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  22719. type: integer
  22720. type: object
  22721. szdz.QueryConvertLogRsp:
  22722. properties:
  22723. accountid:
  22724. description: 资金账户ID
  22725. type: integer
  22726. clientticket:
  22727. description: 客户端流水号
  22728. type: string
  22729. converttype:
  22730. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  22731. type: integer
  22732. createtime:
  22733. description: 记账时间
  22734. type: string
  22735. daymaxvalue:
  22736. description: 配置当日最大转入限制
  22737. type: number
  22738. daymaxvalue2:
  22739. description: 配置当日最大转入限制(转入)
  22740. type: number
  22741. goodscode:
  22742. description: 商品代码
  22743. type: string
  22744. goodsname:
  22745. description: 商品名称
  22746. type: string
  22747. handlestatus:
  22748. description: 处理状态
  22749. type: integer
  22750. innergoodsid:
  22751. description: 内部商品ID
  22752. type: integer
  22753. inratio:
  22754. description: 配置转入比值
  22755. type: integer
  22756. invalue:
  22757. description: 目标值
  22758. type: number
  22759. logid:
  22760. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22761. type: integer
  22762. mobile:
  22763. description: 手机号码(加密存储)
  22764. type: string
  22765. outergoodscode:
  22766. description: 外部商品代码[JD\PD]
  22767. type: string
  22768. outratio:
  22769. description: 配置转出比值
  22770. type: integer
  22771. outvalue:
  22772. description: 源值
  22773. type: number
  22774. pddecimalplace:
  22775. description: PD小数位
  22776. type: integer
  22777. qty:
  22778. description: 数量
  22779. type: string
  22780. remark:
  22781. description: 备注
  22782. type: string
  22783. sessionid:
  22784. description: 会话ID
  22785. type: integer
  22786. timemaxvalue:
  22787. description: 配置单次最大转入限制
  22788. type: number
  22789. timemaxvalue2:
  22790. description: 配置单次最大转入限制(转入)
  22791. type: number
  22792. timeminvalue:
  22793. description: 配置单次最小数量限制
  22794. type: number
  22795. timeminvalue2:
  22796. description: 配置单次最小数量限制(转入)
  22797. type: number
  22798. tradedate:
  22799. description: 交易日(yyyyMMdd)
  22800. type: string
  22801. userid:
  22802. description: 用户ID
  22803. type: integer
  22804. required:
  22805. - logid
  22806. type: object
  22807. szdz.QueryGoodsPickupRsp:
  22808. properties:
  22809. accountid:
  22810. description: 账户ID
  22811. type: integer
  22812. address:
  22813. description: 提货人详细地址
  22814. type: string
  22815. auditer:
  22816. description: 审核人
  22817. type: integer
  22818. audittime:
  22819. description: 审核时间
  22820. type: string
  22821. cardnum:
  22822. description: 提货人证件号码
  22823. type: string
  22824. cardtypeid:
  22825. description: 提货人证件类型
  22826. type: integer
  22827. checkremark:
  22828. description: 审核备注
  22829. type: string
  22830. goodscode:
  22831. description: 商品代码
  22832. type: string
  22833. goodsid:
  22834. description: 商品ID
  22835. type: integer
  22836. goodsname:
  22837. description: 商品名称
  22838. type: string
  22839. handlestatus:
  22840. description: 处理状态
  22841. type: integer
  22842. marketid:
  22843. description: 市场ID
  22844. type: integer
  22845. phonenum:
  22846. description: 提货人联系方式
  22847. type: string
  22848. qty:
  22849. description: 提货数量
  22850. type: number
  22851. recivername:
  22852. description: 提货人姓名
  22853. type: string
  22854. reqtime:
  22855. description: 更新时间
  22856. type: string
  22857. takemode:
  22858. description: 提货方式 - 2:自提 3:配送
  22859. type: integer
  22860. takeorderid:
  22861. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  22862. type: string
  22863. takeorderstatus:
  22864. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  22865. type: integer
  22866. takeremark:
  22867. description: 提货备注
  22868. type: string
  22869. tradedate:
  22870. description: 交易日(yyyyMMdd)
  22871. type: string
  22872. userid:
  22873. description: 用户ID
  22874. type: integer
  22875. required:
  22876. - takeorderid
  22877. type: object
  22878. szdz.QueryRecieptOrderRsp:
  22879. properties:
  22880. accountName:
  22881. description: 所属账号名称(已脱敏)
  22882. type: string
  22883. accountid:
  22884. description: 资金账号
  22885. type: integer
  22886. buyorsell:
  22887. description: 方向 - 0:买 1:卖
  22888. type: integer
  22889. enableqty:
  22890. description: 可摘数量
  22891. type: integer
  22892. goodscode:
  22893. description: 商品代码
  22894. type: string
  22895. goodsid:
  22896. description: 商品ID
  22897. type: integer
  22898. goodsname:
  22899. description: 商品名称
  22900. type: string
  22901. orderid:
  22902. description: 委托单号
  22903. type: string
  22904. orderprice:
  22905. description: 委托价格
  22906. type: number
  22907. ordertime:
  22908. description: 委托时间
  22909. type: string
  22910. tradedate:
  22911. description: 交易日(yyyyMMdd)
  22912. type: string
  22913. required:
  22914. - ordertime
  22915. type: object
  22916. szdz.QuerySZDZTradePositionRsp:
  22917. properties:
  22918. accountid:
  22919. description: 账号Id
  22920. type: integer
  22921. agreeunit:
  22922. description: 合约单位
  22923. type: number
  22924. averageprice:
  22925. description: 持仓均价
  22926. type: number
  22927. buyorsell:
  22928. description: 方向 - 0:买 1:卖
  22929. type: integer
  22930. closetotalqty:
  22931. description: 平仓总数量
  22932. type: integer
  22933. curholderamount:
  22934. description: 当前持仓总金额
  22935. type: number
  22936. curpositionqty:
  22937. description: 当前持仓总数量
  22938. type: integer
  22939. currencyid:
  22940. description: 报价货币ID
  22941. type: integer
  22942. curtdposition:
  22943. description: 期末今日头寸
  22944. type: integer
  22945. decimalplace:
  22946. description: 报价小数位
  22947. type: integer
  22948. enableqty:
  22949. description: 可用量
  22950. type: integer
  22951. fretdposition:
  22952. description: 冻结今日头寸
  22953. type: integer
  22954. frozenqty:
  22955. description: 持仓冻结数量
  22956. type: integer
  22957. goodscode:
  22958. description: 商品代码(内部)
  22959. type: string
  22960. goodsid:
  22961. description: 商品Id
  22962. type: integer
  22963. goodsname:
  22964. description: 商品名称
  22965. type: string
  22966. goodunit:
  22967. description: 报价单位
  22968. type: string
  22969. goodunitid:
  22970. description: 报价单位ID
  22971. type: integer
  22972. holderamount:
  22973. description: 期初持仓总金额
  22974. type: number
  22975. marketid:
  22976. description: 市场ID
  22977. type: integer
  22978. openreqqty:
  22979. description: 开仓申请数量
  22980. type: integer
  22981. opentotalqty:
  22982. description: 开仓总数量
  22983. type: integer
  22984. otherfrozenqty:
  22985. description: 持仓其他冻结数量(交割冻结)
  22986. type: integer
  22987. positionqty:
  22988. description: 期初持仓数量
  22989. type: integer
  22990. szdz3freezqty:
  22991. description: 尚志大宗转换冻结总数量
  22992. type: integer
  22993. tnqty:
  22994. description: T+N冻结总量
  22995. type: integer
  22996. tnusedqty:
  22997. description: T+N使用量
  22998. type: integer
  22999. trademode:
  23000. description: 交易模式
  23001. type: integer
  23002. usedmargin:
  23003. description: 占用保证金
  23004. type: number
  23005. type: object
  23006. taaccount.QueryAmountLogRsp:
  23007. properties:
  23008. OPERATETYPENAME:
  23009. description: 资金操作类型名称
  23010. type: string
  23011. accountid:
  23012. description: 资金账户ID
  23013. type: integer
  23014. agoodscode:
  23015. description: 竞拍商品代码
  23016. type: string
  23017. agoodsname:
  23018. description: 竞拍商品名称
  23019. type: string
  23020. amount:
  23021. description: 资金金额
  23022. type: number
  23023. amountadjusttype:
  23024. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  23025. type: integer
  23026. autoid:
  23027. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  23028. type: integer
  23029. balance:
  23030. description: 期初余额
  23031. type: number
  23032. businesscode:
  23033. description: 业务编号
  23034. type: integer
  23035. createtime:
  23036. description: 发生时间
  23037. type: string
  23038. currencyid:
  23039. description: 币种ID
  23040. type: integer
  23041. currentbalance:
  23042. description: 期末余额(变动后金额)
  23043. type: number
  23044. dgoodscode:
  23045. description: 交割商品代码
  23046. type: string
  23047. dgoodsname:
  23048. description: 交割商品名称
  23049. type: string
  23050. goodscode:
  23051. description: 商品代码
  23052. type: string
  23053. goodsid:
  23054. description: 商品ID
  23055. type: integer
  23056. goodsname:
  23057. description: 商品名称
  23058. type: string
  23059. marketid:
  23060. description: 市场ID
  23061. type: integer
  23062. marketname:
  23063. description: 市场名称
  23064. type: string
  23065. moneyticket:
  23066. description: 资金流水号:银行端流水号
  23067. type: integer
  23068. operatetype:
  23069. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  23070. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  23071. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  23072. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  23073. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  23074. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  23075. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  23076. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  23077. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  23078. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  23079. type: integer
  23080. relationorderid:
  23081. description: 关联单号
  23082. type: string
  23083. remark:
  23084. description: 备注
  23085. type: string
  23086. trademode:
  23087. description: 交易模式
  23088. type: integer
  23089. required:
  23090. - accountid
  23091. - amount
  23092. - amountadjusttype
  23093. - autoid
  23094. - balance
  23095. - createtime
  23096. - currentbalance
  23097. - operatetype
  23098. type: object
  23099. taaccount.QueryHisAmountLogRsp:
  23100. properties:
  23101. OPERATETYPENAME:
  23102. description: 资金操作类型名称
  23103. type: string
  23104. accountid:
  23105. description: 资金账户ID
  23106. type: integer
  23107. agoodscode:
  23108. description: 竞拍商品代码
  23109. type: string
  23110. agoodsname:
  23111. description: 竞拍商品名称
  23112. type: string
  23113. amount:
  23114. description: 资金金额
  23115. type: number
  23116. amountadjusttype:
  23117. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  23118. type: integer
  23119. autoid:
  23120. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  23121. type: integer
  23122. balance:
  23123. description: 期初余额
  23124. type: number
  23125. businesscode:
  23126. description: 业务编号
  23127. type: integer
  23128. createtime:
  23129. description: 发生时间
  23130. type: string
  23131. currencyid:
  23132. description: 币种ID
  23133. type: integer
  23134. currentbalance:
  23135. description: 期末余额(变动后金额)
  23136. type: number
  23137. dgoodscode:
  23138. description: 交割商品代码
  23139. type: string
  23140. dgoodsname:
  23141. description: 交割商品名称
  23142. type: string
  23143. goodscode:
  23144. description: 商品代码
  23145. type: string
  23146. goodsid:
  23147. description: 商品ID
  23148. type: integer
  23149. goodsname:
  23150. description: 商品名称
  23151. type: string
  23152. histradedate:
  23153. description: 历史交易日
  23154. type: string
  23155. isvaliddata:
  23156. description: 是否有效 - 0:无效 1:有效
  23157. type: integer
  23158. marketid:
  23159. description: 市场ID
  23160. type: integer
  23161. marketname:
  23162. description: 市场名称
  23163. type: string
  23164. moneyticket:
  23165. description: 资金流水号:银行端流水号
  23166. type: integer
  23167. operatetype:
  23168. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  23169. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  23170. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  23171. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  23172. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  23173. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  23174. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  23175. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  23176. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  23177. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  23178. type: integer
  23179. relationorderid:
  23180. description: 关联单号
  23181. type: string
  23182. remark:
  23183. description: 备注
  23184. type: string
  23185. trademode:
  23186. description: 交易模式
  23187. type: integer
  23188. required:
  23189. - accountid
  23190. - amount
  23191. - amountadjusttype
  23192. - autoid
  23193. - balance
  23194. - createtime
  23195. - currentbalance
  23196. - histradedate
  23197. - operatetype
  23198. type: object
  23199. trade.QueryRecieptOrderRsp:
  23200. properties:
  23201. accountName:
  23202. description: 所属账号名称(已脱敏)
  23203. type: string
  23204. accountid:
  23205. description: 资金账号
  23206. type: integer
  23207. buyorsell:
  23208. description: 方向 - 0:买 1:卖
  23209. type: integer
  23210. enableqty:
  23211. description: 可摘数量
  23212. type: integer
  23213. goodscode:
  23214. description: 商品代码
  23215. type: string
  23216. goodsid:
  23217. description: 商品ID
  23218. type: integer
  23219. goodsname:
  23220. description: 商品名称
  23221. type: string
  23222. orderid:
  23223. description: 委托单号
  23224. type: string
  23225. orderprice:
  23226. description: 委托价格
  23227. type: number
  23228. ordertime:
  23229. description: 委托时间
  23230. type: string
  23231. tradedate:
  23232. description: 交易日(yyyyMMdd)
  23233. type: string
  23234. required:
  23235. - ordertime
  23236. type: object
  23237. user.LoginQueryRsp:
  23238. properties:
  23239. areaRoles:
  23240. description: 所属角色信息
  23241. items:
  23242. $ref: '#/definitions/models.Arearole'
  23243. type: array
  23244. exchangeRateConfigs:
  23245. description: 汇率信息
  23246. items:
  23247. $ref: '#/definitions/models.Exchangerateconfig'
  23248. type: array
  23249. externalExchanges:
  23250. description: 外部交易所
  23251. items:
  23252. $ref: '#/definitions/models.Externalexchange'
  23253. type: array
  23254. goodsgroups:
  23255. description: 商品组
  23256. items:
  23257. $ref: '#/definitions/models.Goodsgroup'
  23258. type: array
  23259. loginAccount:
  23260. $ref: '#/definitions/models.Loginaccount'
  23261. description: 登录账号
  23262. markets:
  23263. description: 市场
  23264. items:
  23265. $ref: '#/definitions/models.Market'
  23266. type: array
  23267. systemParams:
  23268. description: 系统参数
  23269. items:
  23270. $ref: '#/definitions/models.Systemparam'
  23271. type: array
  23272. userAccount:
  23273. $ref: '#/definitions/models.Useraccount'
  23274. description: 用户账号
  23275. userInfo:
  23276. $ref: '#/definitions/models.Userinfo'
  23277. description: 用户信息
  23278. username:
  23279. description: 用户姓名
  23280. type: string
  23281. type: object
  23282. info:
  23283. contact: {}
  23284. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  23285. termsOfService: http://www.muchinfo.cn
  23286. title: MTP2.0 查询服务 API
  23287. version: "1.0"
  23288. paths:
  23289. /CPTrade/QueryCPTradeMyBidInfos:
  23290. get:
  23291. parameters:
  23292. - description: 资金账户
  23293. in: query
  23294. name: accountid
  23295. required: true
  23296. type: integer
  23297. - description: 预售市场ID
  23298. in: query
  23299. name: marketid
  23300. type: integer
  23301. - description: 预售商品ID
  23302. in: query
  23303. name: goodsid
  23304. type: integer
  23305. produces:
  23306. - application/json
  23307. responses:
  23308. "200":
  23309. description: OK
  23310. schema:
  23311. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  23312. "500":
  23313. description: Internal Server Error
  23314. schema:
  23315. $ref: '#/definitions/app.Response'
  23316. security:
  23317. - ApiKeyAuth: []
  23318. summary: 查询产能预售我的出价信息
  23319. tags:
  23320. - 产能预售
  23321. /CPTrade/QueryCPTradeOrderDetail:
  23322. get:
  23323. parameters:
  23324. - description: 预售商品ID
  23325. in: query
  23326. name: goodsid
  23327. type: integer
  23328. - description: 预售市场ID
  23329. in: query
  23330. name: marketid
  23331. type: integer
  23332. - description: 预售商品ID列表 - 格式:1,2,3
  23333. in: query
  23334. name: goodsids
  23335. type: string
  23336. produces:
  23337. - application/json
  23338. responses:
  23339. "200":
  23340. description: OK
  23341. schema:
  23342. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  23343. "500":
  23344. description: Internal Server Error
  23345. schema:
  23346. $ref: '#/definitions/app.Response'
  23347. security:
  23348. - ApiKeyAuth: []
  23349. summary: 查询产能预售委托单信息
  23350. tags:
  23351. - 产能预售
  23352. /CPTrade/QueryMyCPTradeGoods:
  23353. get:
  23354. parameters:
  23355. - description: 资金账户
  23356. in: query
  23357. name: accountid
  23358. required: true
  23359. type: integer
  23360. produces:
  23361. - application/json
  23362. responses:
  23363. "200":
  23364. description: OK
  23365. schema:
  23366. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  23367. "500":
  23368. description: Internal Server Error
  23369. schema:
  23370. $ref: '#/definitions/app.Response'
  23371. security:
  23372. - ApiKeyAuth: []
  23373. summary: 查询我的预售信息
  23374. tags:
  23375. - 产能预售
  23376. /CPTrade/QueryPositionCancel:
  23377. get:
  23378. parameters:
  23379. - description: 账户ID
  23380. in: query
  23381. name: userid
  23382. required: true
  23383. type: integer
  23384. - description: 注销ID
  23385. in: query
  23386. name: cancelid
  23387. type: integer
  23388. - description: 资金账户ID
  23389. in: query
  23390. name: accountid
  23391. type: integer
  23392. produces:
  23393. - application/json
  23394. responses:
  23395. "200":
  23396. description: OK
  23397. schema:
  23398. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  23399. "500":
  23400. description: Internal Server Error
  23401. schema:
  23402. $ref: '#/definitions/app.Response'
  23403. security:
  23404. - ApiKeyAuth: []
  23405. summary: 查询远期订单注销申请信息
  23406. tags:
  23407. - 产能预售
  23408. /CPTrade/QueryPreasleApply:
  23409. get:
  23410. parameters:
  23411. - description: 账户ID
  23412. in: query
  23413. name: userid
  23414. required: true
  23415. type: integer
  23416. - description: 申请ID
  23417. in: query
  23418. name: applyid
  23419. type: integer
  23420. - description: 资金账户ID
  23421. in: query
  23422. name: accountid
  23423. type: integer
  23424. produces:
  23425. - application/json
  23426. responses:
  23427. "200":
  23428. description: OK
  23429. schema:
  23430. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  23431. "500":
  23432. description: Internal Server Error
  23433. schema:
  23434. $ref: '#/definitions/app.Response'
  23435. security:
  23436. - ApiKeyAuth: []
  23437. summary: 查询产能预售申请信息
  23438. tags:
  23439. - 产能预售
  23440. /CPTrade/QueryPresaleGoodsEx:
  23441. get:
  23442. parameters:
  23443. - description: 预售商品ID
  23444. in: query
  23445. name: goodsid
  23446. type: integer
  23447. - description: 预售市场ID
  23448. in: query
  23449. name: marketid
  23450. type: integer
  23451. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  23452. in: query
  23453. name: presalemode
  23454. type: integer
  23455. - description: 预售商品ID列表 - 格式:1,2,3
  23456. in: query
  23457. name: goodsids
  23458. type: string
  23459. - description: 预售商品代码
  23460. in: query
  23461. name: goodscode
  23462. type: string
  23463. produces:
  23464. - application/json
  23465. responses:
  23466. "200":
  23467. description: OK
  23468. schema:
  23469. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  23470. "500":
  23471. description: Internal Server Error
  23472. schema:
  23473. $ref: '#/definitions/app.Response'
  23474. security:
  23475. - ApiKeyAuth: []
  23476. summary: 查询产能预售商品扩展信息
  23477. tags:
  23478. - 产能预售
  23479. /CPTrade/QueryUserGoodsData:
  23480. get:
  23481. parameters:
  23482. - description: 资金账户ID
  23483. in: query
  23484. name: accountid
  23485. required: true
  23486. type: integer
  23487. produces:
  23488. - application/json
  23489. responses:
  23490. "200":
  23491. description: OK
  23492. schema:
  23493. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  23494. "500":
  23495. description: Internal Server Error
  23496. schema:
  23497. $ref: '#/definitions/app.Response'
  23498. security:
  23499. - ApiKeyAuth: []
  23500. summary: 查询远期订单信息
  23501. tags:
  23502. - 产能预售
  23503. /Common/DeleteNewFuncmenu:
  23504. delete:
  23505. consumes:
  23506. - application/json
  23507. parameters:
  23508. - description: 菜单表数据,只需要resourcecode字段即可
  23509. in: body
  23510. name: data
  23511. required: true
  23512. schema:
  23513. $ref: '#/definitions/models.NewFuncmenulist'
  23514. produces:
  23515. - application/json
  23516. responses:
  23517. "200":
  23518. description: OK
  23519. schema:
  23520. $ref: '#/definitions/app.Response'
  23521. "500":
  23522. description: Internal Server Error
  23523. schema:
  23524. $ref: '#/definitions/app.Response'
  23525. security:
  23526. - ApiKeyAuth: []
  23527. summary: 删除菜单表数据
  23528. tags:
  23529. - 通用服务
  23530. /Common/FindNewFuncmenu:
  23531. get:
  23532. parameters:
  23533. - description: 资源代码
  23534. in: query
  23535. name: resourcecode
  23536. type: string
  23537. - description: 上级资源代码
  23538. in: query
  23539. name: parentcode
  23540. type: string
  23541. - description: 资源名(Title), 模糊查询
  23542. in: query
  23543. name: resourcename
  23544. type: string
  23545. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  23546. in: query
  23547. name: menutype
  23548. type: string
  23549. produces:
  23550. - application/json
  23551. responses:
  23552. "200":
  23553. description: OK
  23554. schema:
  23555. items:
  23556. $ref: '#/definitions/models.NewFuncmenulist'
  23557. type: array
  23558. "500":
  23559. description: Internal Server Error
  23560. schema:
  23561. $ref: '#/definitions/app.Response'
  23562. security:
  23563. - ApiKeyAuth: []
  23564. summary: 获取菜单表数据
  23565. tags:
  23566. - 通用服务
  23567. /Common/GetAllEnums:
  23568. get:
  23569. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  23570. parameters:
  23571. - description: 起始自增ID
  23572. in: query
  23573. name: autoid
  23574. type: integer
  23575. produces:
  23576. - application/json
  23577. responses:
  23578. "200":
  23579. description: OK
  23580. schema:
  23581. $ref: '#/definitions/models.Enumdicitem'
  23582. "500":
  23583. description: Internal Server Error
  23584. schema:
  23585. $ref: '#/definitions/app.Response'
  23586. summary: 获取所有枚举信息
  23587. tags:
  23588. - 通用服务
  23589. /Common/GetClientMenus:
  23590. get:
  23591. parameters:
  23592. - description: 登录账号
  23593. in: query
  23594. name: loginID
  23595. required: true
  23596. type: integer
  23597. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  23598. in: query
  23599. name: clientType
  23600. type: integer
  23601. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  23602. in: query
  23603. name: name
  23604. type: string
  23605. produces:
  23606. - application/json
  23607. responses:
  23608. "200":
  23609. description: OK
  23610. schema:
  23611. items:
  23612. $ref: '#/definitions/common.ClientMenu'
  23613. type: array
  23614. "500":
  23615. description: Internal Server Error
  23616. schema:
  23617. $ref: '#/definitions/app.Response'
  23618. security:
  23619. - ApiKeyAuth: []
  23620. summary: 获取交易端菜单
  23621. tags:
  23622. - 通用服务
  23623. /Common/GetClientNewFuncmenu:
  23624. get:
  23625. parameters:
  23626. - description: 登录账号
  23627. in: query
  23628. name: loginid
  23629. required: true
  23630. type: integer
  23631. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  23632. in: query
  23633. name: menutype
  23634. required: true
  23635. type: integer
  23636. produces:
  23637. - application/json
  23638. responses:
  23639. "200":
  23640. description: OK
  23641. schema:
  23642. items:
  23643. $ref: '#/definitions/models.NewFuncmenulist'
  23644. type: array
  23645. "500":
  23646. description: Internal Server Error
  23647. schema:
  23648. $ref: '#/definitions/app.Response'
  23649. security:
  23650. - ApiKeyAuth: []
  23651. summary: 获取终端菜单
  23652. tags:
  23653. - 通用服务
  23654. /Common/GetDivisions:
  23655. get:
  23656. produces:
  23657. - application/json
  23658. responses:
  23659. "200":
  23660. description: OK
  23661. schema:
  23662. $ref: '#/definitions/models.Division'
  23663. "500":
  23664. description: Internal Server Error
  23665. schema:
  23666. $ref: '#/definitions/app.Response'
  23667. summary: 查询区域信息
  23668. tags:
  23669. - 通用服务
  23670. /Common/GetPCWebMenus:
  23671. get:
  23672. parameters:
  23673. - description: 登录账号
  23674. in: query
  23675. name: loginID
  23676. required: true
  23677. type: integer
  23678. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  23679. in: query
  23680. name: name
  23681. type: string
  23682. produces:
  23683. - application/json
  23684. responses:
  23685. "200":
  23686. description: OK
  23687. schema:
  23688. items:
  23689. $ref: '#/definitions/common.PCWebMenu'
  23690. type: array
  23691. "500":
  23692. description: Internal Server Error
  23693. schema:
  23694. $ref: '#/definitions/app.Response'
  23695. security:
  23696. - ApiKeyAuth: []
  23697. summary: 获取PCWeb交易端菜单
  23698. tags:
  23699. - 通用服务
  23700. /Common/GetServerTime:
  23701. get:
  23702. produces:
  23703. - application/json
  23704. responses:
  23705. "200":
  23706. description: OK
  23707. schema:
  23708. $ref: '#/definitions/app.Response'
  23709. "500":
  23710. description: Internal Server Error
  23711. schema:
  23712. $ref: '#/definitions/app.Response'
  23713. summary: 获取服务器时间
  23714. tags:
  23715. - 通用服务
  23716. /Common/InsertNewFuncmenu:
  23717. post:
  23718. consumes:
  23719. - application/json
  23720. parameters:
  23721. - description: 菜单表数据
  23722. in: body
  23723. name: data
  23724. required: true
  23725. schema:
  23726. $ref: '#/definitions/models.NewFuncmenulist'
  23727. produces:
  23728. - application/json
  23729. responses:
  23730. "200":
  23731. description: OK
  23732. schema:
  23733. $ref: '#/definitions/app.Response'
  23734. "500":
  23735. description: Internal Server Error
  23736. schema:
  23737. $ref: '#/definitions/app.Response'
  23738. security:
  23739. - ApiKeyAuth: []
  23740. summary: 插入菜单表数据
  23741. tags:
  23742. - 通用服务
  23743. /Common/NoticeReaded:
  23744. post:
  23745. parameters:
  23746. - description: 登录账号
  23747. in: query
  23748. name: loginID
  23749. required: true
  23750. type: integer
  23751. - description: 通知公告ID
  23752. in: query
  23753. name: noticeID
  23754. required: true
  23755. type: integer
  23756. produces:
  23757. - application/json
  23758. responses:
  23759. "200":
  23760. description: OK
  23761. schema:
  23762. $ref: '#/definitions/app.Response'
  23763. "500":
  23764. description: Internal Server Error
  23765. schema:
  23766. $ref: '#/definitions/app.Response'
  23767. security:
  23768. - ApiKeyAuth: []
  23769. summary: 通知公告设置已读请求
  23770. tags:
  23771. - 通用服务
  23772. /Common/QueryErrorInfos:
  23773. get:
  23774. description: 如果传入rowNumber,则返回此rowNumber后的数据
  23775. parameters:
  23776. - description: 起始行号前索引
  23777. in: query
  23778. name: rowNumber
  23779. type: string
  23780. produces:
  23781. - application/json
  23782. responses:
  23783. "200":
  23784. description: OK
  23785. schema:
  23786. $ref: '#/definitions/models.QueryErrorInfosRsp'
  23787. "500":
  23788. description: Internal Server Error
  23789. schema:
  23790. $ref: '#/definitions/app.Response'
  23791. summary: 获取数据库错误信息
  23792. tags:
  23793. - 通用服务
  23794. /Common/QueryImageConfigs:
  23795. get:
  23796. parameters:
  23797. - description: 用户id
  23798. in: query
  23799. name: userId
  23800. type: integer
  23801. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  23802. in: query
  23803. name: imageType
  23804. type: integer
  23805. produces:
  23806. - application/json
  23807. responses:
  23808. "200":
  23809. description: OK
  23810. schema:
  23811. $ref: '#/definitions/common.QueryImageConfigsRsp'
  23812. "500":
  23813. description: Internal Server Error
  23814. schema:
  23815. $ref: '#/definitions/app.Response'
  23816. summary: 查询轮播图配置信息
  23817. tags:
  23818. - 通用服务
  23819. /Common/QueryNotice:
  23820. get:
  23821. parameters:
  23822. - description: 页码
  23823. in: query
  23824. name: page
  23825. type: integer
  23826. - description: 每页条数
  23827. in: query
  23828. name: pagesize
  23829. type: integer
  23830. - description: 登录账号
  23831. in: query
  23832. name: loginID
  23833. required: true
  23834. type: integer
  23835. - description: 消息类型 - 1:公告通知 2:系统消息
  23836. in: query
  23837. name: msgType
  23838. type: integer
  23839. - description: 是否只获取未读信息
  23840. in: query
  23841. name: onlyUnRead
  23842. type: boolean
  23843. - description: 自增ID,传入后会返回这个ID后面的记录
  23844. in: query
  23845. name: lastID
  23846. type: integer
  23847. produces:
  23848. - application/json
  23849. responses:
  23850. "200":
  23851. description: OK
  23852. schema:
  23853. $ref: '#/definitions/common.QueryNoticeRsp'
  23854. "500":
  23855. description: Internal Server Error
  23856. schema:
  23857. $ref: '#/definitions/app.Response'
  23858. security:
  23859. - ApiKeyAuth: []
  23860. summary: 通知公告系统消息查询
  23861. tags:
  23862. - 通用服务
  23863. /Common/QueryProvincesAndCities:
  23864. get:
  23865. parameters:
  23866. - description: 省ID
  23867. in: query
  23868. name: provinceID
  23869. type: integer
  23870. produces:
  23871. - application/json
  23872. responses:
  23873. "200":
  23874. description: OK
  23875. schema:
  23876. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  23877. "500":
  23878. description: Internal Server Error
  23879. schema:
  23880. $ref: '#/definitions/app.Response'
  23881. summary: 查询省市信息(不包括区)
  23882. tags:
  23883. - 通用服务
  23884. /Common/QueryRates:
  23885. get:
  23886. parameters:
  23887. - description: 页码
  23888. in: query
  23889. name: page
  23890. type: integer
  23891. - description: 每页条数
  23892. in: query
  23893. name: pagesize
  23894. type: integer
  23895. - description: 源币种ID
  23896. in: query
  23897. name: oricurrencyid
  23898. type: integer
  23899. - description: 目标币种ID
  23900. in: query
  23901. name: descurrencyid
  23902. type: integer
  23903. produces:
  23904. - application/json
  23905. responses:
  23906. "200":
  23907. description: OK
  23908. schema:
  23909. items:
  23910. $ref: '#/definitions/models.Exchangerateconfig'
  23911. type: array
  23912. "500":
  23913. description: Internal Server Error
  23914. schema:
  23915. $ref: '#/definitions/app.Response'
  23916. security:
  23917. - ApiKeyAuth: []
  23918. - LoginID: []
  23919. - Group: []
  23920. summary: 查询汇率信息
  23921. tags:
  23922. - 通用服务
  23923. /Common/QueryTableDefine:
  23924. get:
  23925. parameters:
  23926. - description: 表key
  23927. in: query
  23928. name: tableKey
  23929. type: string
  23930. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  23931. in: query
  23932. name: tableType
  23933. type: integer
  23934. produces:
  23935. - application/json
  23936. responses:
  23937. "200":
  23938. description: OK
  23939. schema:
  23940. $ref: '#/definitions/common.QueryTableDefineRsp'
  23941. "500":
  23942. description: Internal Server Error
  23943. schema:
  23944. $ref: '#/definitions/app.Response'
  23945. summary: 查询交易端列表头信息
  23946. tags:
  23947. - 通用服务
  23948. /Common/QueryTraderMenu:
  23949. get:
  23950. parameters:
  23951. - description: 登录账号
  23952. in: query
  23953. name: loginid
  23954. required: true
  23955. type: integer
  23956. produces:
  23957. - application/json
  23958. responses:
  23959. "200":
  23960. description: OK
  23961. schema:
  23962. $ref: '#/definitions/common.QueryTraderMenuRsp'
  23963. "500":
  23964. description: Internal Server Error
  23965. schema:
  23966. $ref: '#/definitions/app.Response'
  23967. summary: 查询交易端菜单
  23968. tags:
  23969. - 通用服务
  23970. /Common/UpdateNewFuncmenu:
  23971. put:
  23972. consumes:
  23973. - application/json
  23974. parameters:
  23975. - description: 菜单表数据
  23976. in: body
  23977. name: data
  23978. required: true
  23979. schema:
  23980. $ref: '#/definitions/models.NewFuncmenulist'
  23981. produces:
  23982. - application/json
  23983. responses:
  23984. "200":
  23985. description: OK
  23986. schema:
  23987. $ref: '#/definitions/app.Response'
  23988. "500":
  23989. description: Internal Server Error
  23990. schema:
  23991. $ref: '#/definitions/app.Response'
  23992. security:
  23993. - ApiKeyAuth: []
  23994. summary: 更新菜单表数据
  23995. tags:
  23996. - 通用服务
  23997. /Delivery/QueryDeliveryRelation:
  23998. get:
  23999. parameters:
  24000. - description: 商品ID
  24001. in: query
  24002. name: goodsid
  24003. type: integer
  24004. - description: 品种ID
  24005. in: query
  24006. name: deliverygoodsid
  24007. type: integer
  24008. - description: 市场ID
  24009. in: query
  24010. name: marketid
  24011. type: integer
  24012. produces:
  24013. - application/json
  24014. responses:
  24015. "200":
  24016. description: OK
  24017. schema:
  24018. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  24019. "500":
  24020. description: Internal Server Error
  24021. schema:
  24022. $ref: '#/definitions/app.Response'
  24023. security:
  24024. - ApiKeyAuth: []
  24025. summary: 查询商品交割关系表
  24026. tags:
  24027. - 交割服务
  24028. /Ermcp/GetErmcpGoods:
  24029. get:
  24030. parameters:
  24031. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  24032. in: query
  24033. name: userid
  24034. type: integer
  24035. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24036. in: query
  24037. name: lastUpdateTime
  24038. type: string
  24039. produces:
  24040. - application/json
  24041. responses:
  24042. "200":
  24043. description: OK
  24044. schema:
  24045. $ref: '#/definitions/models.ErmcpGoods'
  24046. "500":
  24047. description: Internal Server Error
  24048. schema:
  24049. $ref: '#/definitions/app.Response'
  24050. security:
  24051. - ApiKeyAuth: []
  24052. summary: 查询企业风管期货商品信息
  24053. tags:
  24054. - 企业风险管理(app)
  24055. /Ermcp/GetErmcpGoodsSortByPosition:
  24056. get:
  24057. parameters:
  24058. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  24059. in: query
  24060. name: sortIndex
  24061. type: string
  24062. produces:
  24063. - application/json
  24064. responses:
  24065. "200":
  24066. description: OK
  24067. schema:
  24068. $ref: '#/definitions/models.Goodssortbypreposition'
  24069. "500":
  24070. description: Internal Server Error
  24071. schema:
  24072. $ref: '#/definitions/app.Response'
  24073. security:
  24074. - ApiKeyAuth: []
  24075. summary: 查询企业风管期货主力、次主力商品信息
  24076. tags:
  24077. - 企业风险管理(app)
  24078. /Ermcp/GetErmcpOutAccountStatus:
  24079. get:
  24080. parameters:
  24081. - description: 登录账号
  24082. in: query
  24083. name: loginID
  24084. required: true
  24085. type: integer
  24086. produces:
  24087. - application/json
  24088. responses:
  24089. "200":
  24090. description: OK
  24091. schema:
  24092. $ref: '#/definitions/models.Hedgemarketopenlog'
  24093. "500":
  24094. description: Internal Server Error
  24095. schema:
  24096. $ref: '#/definitions/app.Response'
  24097. security:
  24098. - ApiKeyAuth: []
  24099. summary: 获取目标登录账号当前对冲账号在线状态
  24100. tags:
  24101. - 企业风险管理(app)
  24102. /Ermcp/GetErmcpRoleFuncMenuLists:
  24103. get:
  24104. parameters:
  24105. - description: 登录账号
  24106. in: query
  24107. name: loginID
  24108. required: true
  24109. type: integer
  24110. produces:
  24111. - application/json
  24112. responses:
  24113. "200":
  24114. description: OK
  24115. schema:
  24116. $ref: '#/definitions/models.Funcmenulist'
  24117. "500":
  24118. description: Internal Server Error
  24119. schema:
  24120. $ref: '#/definitions/app.Response'
  24121. security:
  24122. - ApiKeyAuth: []
  24123. summary: 获取企业风管终端权限
  24124. tags:
  24125. - 企业风险管理(app)
  24126. /Ermcp/QueryAccMgrBizGroupSet:
  24127. get:
  24128. parameters:
  24129. - description: 用户ID
  24130. in: query
  24131. name: userid
  24132. required: true
  24133. type: integer
  24134. - description: 现货商品id
  24135. in: query
  24136. name: deliverygoodsid
  24137. type: integer
  24138. produces:
  24139. - application/json
  24140. responses:
  24141. "200":
  24142. description: OK
  24143. schema:
  24144. items:
  24145. $ref: '#/definitions/models.ErmcpBizGroupEx'
  24146. type: array
  24147. "500":
  24148. description: Internal Server Error
  24149. schema:
  24150. $ref: '#/definitions/app.Response'
  24151. security:
  24152. - ApiKeyAuth: []
  24153. summary: 查询业务类型分组(账户管理/账户设置)
  24154. tags:
  24155. - 企业风险管理(app)
  24156. /Ermcp/QueryAccMgrLoginUser:
  24157. get:
  24158. parameters:
  24159. - description: 用户ID
  24160. in: query
  24161. name: userid
  24162. required: true
  24163. type: integer
  24164. - description: 用户类型 2-机构 7-企业成员
  24165. in: query
  24166. name: usertype
  24167. type: integer
  24168. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  24169. in: query
  24170. name: querytype
  24171. required: true
  24172. type: integer
  24173. produces:
  24174. - application/json
  24175. responses:
  24176. "200":
  24177. description: OK
  24178. schema:
  24179. items:
  24180. $ref: '#/definitions/models.ErmcpLoginUserEx'
  24181. type: array
  24182. "500":
  24183. description: Internal Server Error
  24184. schema:
  24185. $ref: '#/definitions/app.Response'
  24186. security:
  24187. - ApiKeyAuth: []
  24188. summary: 查询账户管理登录账号(账户管理/登录账号)
  24189. tags:
  24190. - 企业风险管理(app)
  24191. /Ermcp/QueryAccMgrMainAccountInfo:
  24192. get:
  24193. parameters:
  24194. - description: 用户ID
  24195. in: query
  24196. name: userid
  24197. type: integer
  24198. - description: 主账号id
  24199. in: query
  24200. name: accountid
  24201. type: integer
  24202. produces:
  24203. - application/json
  24204. responses:
  24205. "200":
  24206. description: OK
  24207. schema:
  24208. items:
  24209. $ref: '#/definitions/models.MainAccountInfo'
  24210. type: array
  24211. "500":
  24212. description: Internal Server Error
  24213. schema:
  24214. $ref: '#/definitions/app.Response'
  24215. security:
  24216. - ApiKeyAuth: []
  24217. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  24218. tags:
  24219. - 企业风险管理(app)
  24220. /Ermcp/QueryAccMgrRole:
  24221. get:
  24222. parameters:
  24223. - description: 用户ID
  24224. in: query
  24225. name: userid
  24226. required: true
  24227. type: integer
  24228. produces:
  24229. - application/json
  24230. responses:
  24231. "200":
  24232. description: OK
  24233. schema:
  24234. items:
  24235. $ref: '#/definitions/models.ErmcpRole'
  24236. type: array
  24237. "500":
  24238. description: Internal Server Error
  24239. schema:
  24240. $ref: '#/definitions/app.Response'
  24241. security:
  24242. - ApiKeyAuth: []
  24243. summary: 查询账户管理角色设置(账户管理/角色设置)
  24244. tags:
  24245. - 企业风险管理(app)
  24246. /Ermcp/QueryAccMgrRoleMenu:
  24247. get:
  24248. parameters:
  24249. - description: 用户ID
  24250. in: query
  24251. name: userid
  24252. required: true
  24253. type: integer
  24254. - description: 角色id(可多个,逗号隔开)
  24255. in: query
  24256. name: roleid
  24257. type: string
  24258. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  24259. in: query
  24260. name: menutype
  24261. type: integer
  24262. produces:
  24263. - application/json
  24264. responses:
  24265. "200":
  24266. description: OK
  24267. schema:
  24268. items:
  24269. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  24270. type: array
  24271. "500":
  24272. description: Internal Server Error
  24273. schema:
  24274. $ref: '#/definitions/app.Response'
  24275. security:
  24276. - ApiKeyAuth: []
  24277. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  24278. tags:
  24279. - 企业风险管理(app)
  24280. /Ermcp/QueryAccMgrTaAccountInfo:
  24281. get:
  24282. parameters:
  24283. - description: 用户ID
  24284. in: query
  24285. name: userid
  24286. required: true
  24287. type: integer
  24288. - description: 账号id
  24289. in: query
  24290. name: accountid
  24291. type: integer
  24292. produces:
  24293. - application/json
  24294. responses:
  24295. "200":
  24296. description: OK
  24297. schema:
  24298. items:
  24299. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  24300. type: array
  24301. "500":
  24302. description: Internal Server Error
  24303. schema:
  24304. $ref: '#/definitions/app.Response'
  24305. security:
  24306. - ApiKeyAuth: []
  24307. summary: 查询账户管理授信(账户管理/账户设置/授信)
  24308. tags:
  24309. - 企业风险管理(app)
  24310. /Ermcp/QueryAccMgrTaaccount:
  24311. get:
  24312. parameters:
  24313. - description: 用户ID
  24314. in: query
  24315. name: userid
  24316. required: true
  24317. type: integer
  24318. produces:
  24319. - application/json
  24320. responses:
  24321. "200":
  24322. description: OK
  24323. schema:
  24324. items:
  24325. $ref: '#/definitions/models.ErmcpTaAccountEx'
  24326. type: array
  24327. "500":
  24328. description: Internal Server Error
  24329. schema:
  24330. $ref: '#/definitions/app.Response'
  24331. security:
  24332. - ApiKeyAuth: []
  24333. summary: 查询账户管理期货账号(账户管理/期货账号)
  24334. tags:
  24335. - 企业风险管理(app)
  24336. /Ermcp/QueryAvaildGoodsGroup:
  24337. get:
  24338. parameters:
  24339. - description: 所属机构ID
  24340. in: query
  24341. name: userid
  24342. required: true
  24343. type: integer
  24344. produces:
  24345. - application/json
  24346. responses:
  24347. "200":
  24348. description: OK
  24349. schema:
  24350. items:
  24351. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  24352. type: array
  24353. "500":
  24354. description: Internal Server Error
  24355. schema:
  24356. $ref: '#/definitions/app.Response'
  24357. security:
  24358. - ApiKeyAuth: []
  24359. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  24360. tags:
  24361. - 企业风险管理(app)
  24362. /Ermcp/QueryBusinessDj:
  24363. get:
  24364. parameters:
  24365. - description: 用户ID
  24366. in: query
  24367. name: UserId
  24368. required: true
  24369. type: integer
  24370. - description: 用户类型 2-机构 7-企业成员
  24371. in: query
  24372. name: usertype
  24373. type: integer
  24374. - description: 现货合同ID, 不填则查所有
  24375. in: query
  24376. name: relatedid
  24377. type: string
  24378. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24379. in: query
  24380. name: applystatus
  24381. type: string
  24382. produces:
  24383. - application/json
  24384. responses:
  24385. "200":
  24386. description: OK
  24387. schema:
  24388. items:
  24389. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  24390. type: array
  24391. "500":
  24392. description: Internal Server Error
  24393. schema:
  24394. $ref: '#/definitions/app.Response'
  24395. security:
  24396. - ApiKeyAuth: []
  24397. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  24398. tags:
  24399. - 企业风险管理(app)
  24400. /Ermcp/QueryBusinessFp:
  24401. get:
  24402. parameters:
  24403. - description: 用户ID
  24404. in: query
  24405. name: UserId
  24406. required: true
  24407. type: integer
  24408. - description: 用户类型 2-机构 7-企业成员
  24409. in: query
  24410. name: usertype
  24411. type: integer
  24412. - description: 现货合同ID, 不填则查所有
  24413. in: query
  24414. name: relatedid
  24415. type: string
  24416. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24417. in: query
  24418. name: applystatus
  24419. type: string
  24420. produces:
  24421. - application/json
  24422. responses:
  24423. "200":
  24424. description: OK
  24425. schema:
  24426. items:
  24427. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  24428. type: array
  24429. "500":
  24430. description: Internal Server Error
  24431. schema:
  24432. $ref: '#/definitions/app.Response'
  24433. security:
  24434. - ApiKeyAuth: []
  24435. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  24436. tags:
  24437. - 企业风险管理(app)
  24438. /Ermcp/QueryBusinessJs:
  24439. get:
  24440. parameters:
  24441. - description: 用户ID
  24442. in: query
  24443. name: UserId
  24444. required: true
  24445. type: integer
  24446. - description: 用户类型 2-机构 7-企业成员
  24447. in: query
  24448. name: usertype
  24449. type: integer
  24450. - description: 现货合同ID, 不填则查所有
  24451. in: query
  24452. name: relatedid
  24453. type: string
  24454. - description: 操作申请id
  24455. in: query
  24456. name: operateapplyid
  24457. type: string
  24458. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24459. in: query
  24460. name: applystatus
  24461. type: string
  24462. produces:
  24463. - application/json
  24464. responses:
  24465. "200":
  24466. description: OK
  24467. schema:
  24468. items:
  24469. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  24470. type: array
  24471. "500":
  24472. description: Internal Server Error
  24473. schema:
  24474. $ref: '#/definitions/app.Response'
  24475. security:
  24476. - ApiKeyAuth: []
  24477. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  24478. tags:
  24479. - 企业风险管理(app)
  24480. /Ermcp/QueryBusinessJsEx:
  24481. get:
  24482. parameters:
  24483. - description: 用户ID
  24484. in: query
  24485. name: UserId
  24486. required: true
  24487. type: integer
  24488. - description: 用户类型 2-机构 7-企业成员
  24489. in: query
  24490. name: usertype
  24491. type: integer
  24492. - description: 现货合同ID, 不填则查所有
  24493. in: query
  24494. name: relatedid
  24495. type: string
  24496. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24497. in: query
  24498. name: applystatus
  24499. type: string
  24500. produces:
  24501. - application/json
  24502. responses:
  24503. "200":
  24504. description: OK
  24505. schema:
  24506. items:
  24507. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  24508. type: array
  24509. "500":
  24510. description: Internal Server Error
  24511. schema:
  24512. $ref: '#/definitions/app.Response'
  24513. security:
  24514. - ApiKeyAuth: []
  24515. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  24516. tags:
  24517. - 企业风险管理(app)
  24518. /Ermcp/QueryBusinessKx:
  24519. get:
  24520. parameters:
  24521. - description: 用户ID
  24522. in: query
  24523. name: UserId
  24524. required: true
  24525. type: integer
  24526. - description: 用户类型 2-机构 7-企业成员
  24527. in: query
  24528. name: usertype
  24529. type: integer
  24530. - description: 现货合同ID, 不填则查所有
  24531. in: query
  24532. name: relatedid
  24533. type: string
  24534. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24535. in: query
  24536. name: applystatus
  24537. type: string
  24538. produces:
  24539. - application/json
  24540. responses:
  24541. "200":
  24542. description: OK
  24543. schema:
  24544. items:
  24545. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  24546. type: array
  24547. "500":
  24548. description: Internal Server Error
  24549. schema:
  24550. $ref: '#/definitions/app.Response'
  24551. security:
  24552. - ApiKeyAuth: []
  24553. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  24554. tags:
  24555. - 企业风险管理(app)
  24556. /Ermcp/QueryChangeLog:
  24557. get:
  24558. parameters:
  24559. - description: 合同ID
  24560. in: query
  24561. name: RelatedId
  24562. required: true
  24563. type: string
  24564. produces:
  24565. - application/json
  24566. responses:
  24567. "200":
  24568. description: OK
  24569. schema:
  24570. items:
  24571. $ref: '#/definitions/ermcp.QryOPLogRsp'
  24572. type: array
  24573. "500":
  24574. description: Internal Server Error
  24575. schema:
  24576. $ref: '#/definitions/app.Response'
  24577. security:
  24578. - ApiKeyAuth: []
  24579. summary: 查询变更记录
  24580. tags:
  24581. - 企业风险管理(app)
  24582. /Ermcp/QueryErmcpHisOrderDetails:
  24583. get:
  24584. parameters:
  24585. - description: 资金账户ID
  24586. in: query
  24587. name: accountID
  24588. required: true
  24589. type: integer
  24590. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24591. in: query
  24592. name: startDate
  24593. type: string
  24594. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24595. in: query
  24596. name: endDate
  24597. type: string
  24598. produces:
  24599. - application/json
  24600. responses:
  24601. "200":
  24602. description: OK
  24603. schema:
  24604. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  24605. "500":
  24606. description: Internal Server Error
  24607. schema:
  24608. $ref: '#/definitions/app.Response'
  24609. security:
  24610. - ApiKeyAuth: []
  24611. summary: 获取企业风管期货历史委托单信息
  24612. tags:
  24613. - 企业风险管理(app)
  24614. /Ermcp/QueryErmcpHisTradeDetails:
  24615. get:
  24616. parameters:
  24617. - description: 资金账户ID
  24618. in: query
  24619. name: accountID
  24620. required: true
  24621. type: integer
  24622. - description: 商品ID
  24623. in: query
  24624. name: goodsID
  24625. type: integer
  24626. - description: 买卖方向,0:买 1:卖
  24627. in: query
  24628. name: buyOrSell
  24629. type: integer
  24630. - description: 关联委托单号
  24631. in: query
  24632. name: orderID
  24633. type: integer
  24634. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24635. in: query
  24636. name: startDate
  24637. type: string
  24638. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24639. in: query
  24640. name: endDate
  24641. type: string
  24642. produces:
  24643. - application/json
  24644. responses:
  24645. "200":
  24646. description: OK
  24647. schema:
  24648. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  24649. "500":
  24650. description: Internal Server Error
  24651. schema:
  24652. $ref: '#/definitions/app.Response'
  24653. security:
  24654. - ApiKeyAuth: []
  24655. summary: 获取企业风管期货历史成交单信息
  24656. tags:
  24657. - 企业风险管理(app)
  24658. /Ermcp/QueryErmcpInnerHolderDetails:
  24659. get:
  24660. parameters:
  24661. - description: 资金账户ID
  24662. in: query
  24663. name: accountID
  24664. required: true
  24665. type: integer
  24666. - description: 商品ID
  24667. in: query
  24668. name: goodsID
  24669. type: integer
  24670. - description: 买卖方向,0:买 1:卖
  24671. in: query
  24672. name: buyOrSell
  24673. type: integer
  24674. produces:
  24675. - application/json
  24676. responses:
  24677. "200":
  24678. description: OK
  24679. schema:
  24680. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  24681. "500":
  24682. description: Internal Server Error
  24683. schema:
  24684. $ref: '#/definitions/app.Response'
  24685. security:
  24686. - ApiKeyAuth: []
  24687. summary: 获取企业风管期货内部持仓单信息
  24688. tags:
  24689. - 企业风险管理(app)
  24690. /Ermcp/QueryErmcpOrderDetails:
  24691. get:
  24692. parameters:
  24693. - description: 资金账户ID
  24694. in: query
  24695. name: accountID
  24696. required: true
  24697. type: integer
  24698. produces:
  24699. - application/json
  24700. responses:
  24701. "200":
  24702. description: OK
  24703. schema:
  24704. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  24705. "500":
  24706. description: Internal Server Error
  24707. schema:
  24708. $ref: '#/definitions/app.Response'
  24709. security:
  24710. - ApiKeyAuth: []
  24711. summary: 获取企业风管期货委托单信息
  24712. tags:
  24713. - 企业风险管理(app)
  24714. /Ermcp/QueryErmcpTradeDetails:
  24715. get:
  24716. parameters:
  24717. - description: 资金账户ID
  24718. in: query
  24719. name: accountID
  24720. required: true
  24721. type: integer
  24722. - description: 商品ID
  24723. in: query
  24724. name: goodsID
  24725. type: integer
  24726. - description: 买卖方向,0:买 1:卖
  24727. in: query
  24728. name: buyOrSell
  24729. type: integer
  24730. - description: 关联委托单号
  24731. in: query
  24732. name: orderID
  24733. type: integer
  24734. produces:
  24735. - application/json
  24736. responses:
  24737. "200":
  24738. description: OK
  24739. schema:
  24740. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  24741. "500":
  24742. description: Internal Server Error
  24743. schema:
  24744. $ref: '#/definitions/app.Response'
  24745. security:
  24746. - ApiKeyAuth: []
  24747. summary: 获取企业风管期货成交单信息
  24748. tags:
  24749. - 企业风险管理(app)
  24750. /Ermcp/QueryErmcpTradePosition:
  24751. get:
  24752. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  24753. parameters:
  24754. - description: 资金账户ID
  24755. in: query
  24756. name: accountID
  24757. required: true
  24758. type: integer
  24759. - description: 所属市场ID
  24760. in: query
  24761. name: marketID
  24762. type: integer
  24763. produces:
  24764. - application/json
  24765. responses:
  24766. "200":
  24767. description: OK
  24768. schema:
  24769. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  24770. "500":
  24771. description: Internal Server Error
  24772. schema:
  24773. $ref: '#/definitions/app.Response'
  24774. security:
  24775. - ApiKeyAuth: []
  24776. summary: 获取企业风管期货持仓头寸信息
  24777. tags:
  24778. - 企业风险管理(app)
  24779. /Ermcp/QueryExposureDetail:
  24780. get:
  24781. parameters:
  24782. - description: 所属机构ID
  24783. in: query
  24784. name: areaUserId
  24785. required: true
  24786. type: integer
  24787. - description: 套保商品
  24788. in: query
  24789. name: middleGoodsId
  24790. required: true
  24791. type: integer
  24792. produces:
  24793. - application/json
  24794. responses:
  24795. "200":
  24796. description: OK
  24797. schema:
  24798. items:
  24799. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  24800. type: array
  24801. "500":
  24802. description: Internal Server Error
  24803. schema:
  24804. $ref: '#/definitions/app.Response'
  24805. security:
  24806. - ApiKeyAuth: []
  24807. summary: 查询敞口现货明细
  24808. tags:
  24809. - 企业风险管理(app)
  24810. /Ermcp/QueryExposureGoods:
  24811. get:
  24812. parameters:
  24813. - description: 套保商品id
  24814. in: query
  24815. name: middlegoodsid
  24816. required: true
  24817. type: integer
  24818. produces:
  24819. - application/json
  24820. responses:
  24821. "200":
  24822. description: OK
  24823. schema:
  24824. items:
  24825. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  24826. type: array
  24827. "500":
  24828. description: Internal Server Error
  24829. schema:
  24830. $ref: '#/definitions/app.Response'
  24831. security:
  24832. - ApiKeyAuth: []
  24833. summary: 查询敞口主力合约
  24834. tags:
  24835. - 企业风险管理(app)
  24836. /Ermcp/QueryExposureHedgePosition:
  24837. get:
  24838. parameters:
  24839. - description: 用户id
  24840. in: query
  24841. name: userid
  24842. required: true
  24843. type: integer
  24844. produces:
  24845. - application/json
  24846. responses:
  24847. "200":
  24848. description: OK
  24849. schema:
  24850. items:
  24851. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  24852. type: array
  24853. "500":
  24854. description: Internal Server Error
  24855. schema:
  24856. $ref: '#/definitions/app.Response'
  24857. security:
  24858. - ApiKeyAuth: []
  24859. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  24860. tags:
  24861. - 企业风险管理(app)
  24862. /Ermcp/QueryExposureHedgePositionDetail:
  24863. get:
  24864. parameters:
  24865. - description: 所属机构ID
  24866. in: query
  24867. name: userid
  24868. required: true
  24869. type: integer
  24870. - description: 商品id
  24871. in: query
  24872. name: goodsId
  24873. required: true
  24874. type: integer
  24875. produces:
  24876. - application/json
  24877. responses:
  24878. "200":
  24879. description: OK
  24880. schema:
  24881. items:
  24882. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  24883. type: array
  24884. "500":
  24885. description: Internal Server Error
  24886. schema:
  24887. $ref: '#/definitions/app.Response'
  24888. security:
  24889. - ApiKeyAuth: []
  24890. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  24891. tags:
  24892. - 企业风险管理(app)
  24893. /Ermcp/QueryExposureSpot:
  24894. get:
  24895. parameters:
  24896. - description: 所属机构ID
  24897. in: query
  24898. name: areaUserId
  24899. required: true
  24900. type: integer
  24901. produces:
  24902. - application/json
  24903. responses:
  24904. "200":
  24905. description: OK
  24906. schema:
  24907. items:
  24908. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  24909. type: array
  24910. "500":
  24911. description: Internal Server Error
  24912. schema:
  24913. $ref: '#/definitions/app.Response'
  24914. security:
  24915. - ApiKeyAuth: []
  24916. summary: 查询敞口现货头寸(敞口/现货头寸)
  24917. tags:
  24918. - 企业风险管理(app)
  24919. /Ermcp/QueryExposureSpotDetail:
  24920. get:
  24921. parameters:
  24922. - description: 所属机构ID
  24923. in: query
  24924. name: areaUserId
  24925. required: true
  24926. type: integer
  24927. - description: 现货品种ID
  24928. in: query
  24929. name: wrstandardId
  24930. required: true
  24931. type: integer
  24932. produces:
  24933. - application/json
  24934. responses:
  24935. "200":
  24936. description: OK
  24937. schema:
  24938. items:
  24939. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  24940. type: array
  24941. "500":
  24942. description: Internal Server Error
  24943. schema:
  24944. $ref: '#/definitions/app.Response'
  24945. security:
  24946. - ApiKeyAuth: []
  24947. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  24948. tags:
  24949. - 企业风险管理(app)
  24950. /Ermcp/QueryFuturesCompany:
  24951. get:
  24952. produces:
  24953. - application/json
  24954. responses:
  24955. "200":
  24956. description: OK
  24957. schema:
  24958. items:
  24959. $ref: '#/definitions/models.ErmcpFuturesCompany'
  24960. type: array
  24961. "500":
  24962. description: Internal Server Error
  24963. schema:
  24964. $ref: '#/definitions/app.Response'
  24965. security:
  24966. - ApiKeyAuth: []
  24967. summary: 查询期货公司
  24968. tags:
  24969. - 企业风险管理(app)
  24970. /Ermcp/QueryGGConvertConfig:
  24971. get:
  24972. parameters:
  24973. - description: 品种id(不填则查所有)
  24974. in: query
  24975. name: goodsgroupid
  24976. type: integer
  24977. produces:
  24978. - application/json
  24979. responses:
  24980. "200":
  24981. description: OK
  24982. schema:
  24983. items:
  24984. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  24985. type: array
  24986. "500":
  24987. description: Internal Server Error
  24988. schema:
  24989. $ref: '#/definitions/app.Response'
  24990. security:
  24991. - ApiKeyAuth: []
  24992. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  24993. tags:
  24994. - 企业风险管理(app)
  24995. /Ermcp/QueryGoodsBrand:
  24996. get:
  24997. parameters:
  24998. - description: 用户ID
  24999. in: query
  25000. name: userid
  25001. required: true
  25002. type: integer
  25003. - description: 现货商品ID
  25004. in: query
  25005. name: wrstandardid
  25006. type: integer
  25007. produces:
  25008. - application/json
  25009. responses:
  25010. "200":
  25011. description: OK
  25012. schema:
  25013. items:
  25014. $ref: '#/definitions/models.ErmcpGoodsBrand'
  25015. type: array
  25016. "500":
  25017. description: Internal Server Error
  25018. schema:
  25019. $ref: '#/definitions/app.Response'
  25020. security:
  25021. - ApiKeyAuth: []
  25022. summary: 查询商品品牌
  25023. tags:
  25024. - 企业风险管理(app)
  25025. /Ermcp/QueryGoodsModel:
  25026. get:
  25027. parameters:
  25028. - description: 用户ID
  25029. in: query
  25030. name: userid
  25031. required: true
  25032. type: integer
  25033. produces:
  25034. - application/json
  25035. responses:
  25036. "200":
  25037. description: OK
  25038. schema:
  25039. items:
  25040. $ref: '#/definitions/models.ErmcpGoodsModel'
  25041. type: array
  25042. "500":
  25043. description: Internal Server Error
  25044. schema:
  25045. $ref: '#/definitions/app.Response'
  25046. security:
  25047. - ApiKeyAuth: []
  25048. summary: 查询商品型号
  25049. tags:
  25050. - 企业风险管理(app)
  25051. /Ermcp/QueryHisExposure:
  25052. get:
  25053. parameters:
  25054. - description: 用户id
  25055. in: query
  25056. name: userid
  25057. required: true
  25058. type: integer
  25059. - description: 每个品种记录数
  25060. in: query
  25061. name: lastNum
  25062. required: true
  25063. type: integer
  25064. produces:
  25065. - application/json
  25066. responses:
  25067. "200":
  25068. description: OK
  25069. schema:
  25070. items:
  25071. $ref: '#/definitions/ermcp.HisExposureRsp'
  25072. type: array
  25073. "500":
  25074. description: Internal Server Error
  25075. schema:
  25076. $ref: '#/definitions/app.Response'
  25077. security:
  25078. - ApiKeyAuth: []
  25079. summary: 查询历史敞口(菜单:敞口/历史敞口)
  25080. tags:
  25081. - 企业风险管理(app)
  25082. /Ermcp/QueryMiddleGoods:
  25083. get:
  25084. parameters:
  25085. - description: 所属机构ID
  25086. in: query
  25087. name: userid
  25088. required: true
  25089. type: integer
  25090. - description: 状态 0-停用 1-正常
  25091. in: query
  25092. name: status
  25093. required: true
  25094. type: integer
  25095. produces:
  25096. - application/json
  25097. responses:
  25098. "200":
  25099. description: OK
  25100. schema:
  25101. items:
  25102. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  25103. type: array
  25104. "500":
  25105. description: Internal Server Error
  25106. schema:
  25107. $ref: '#/definitions/app.Response'
  25108. security:
  25109. - ApiKeyAuth: []
  25110. summary: 查询套保品种(菜单:套保品种)
  25111. tags:
  25112. - 企业风险管理(app)
  25113. /Ermcp/QueryMiddleGoodsChangeLog:
  25114. get:
  25115. parameters:
  25116. - description: 所属机构ID
  25117. in: query
  25118. name: userid
  25119. required: true
  25120. type: integer
  25121. - description: 套保品种id
  25122. in: query
  25123. name: middlegoodsid
  25124. required: true
  25125. type: integer
  25126. produces:
  25127. - application/json
  25128. responses:
  25129. "200":
  25130. description: OK
  25131. schema:
  25132. items:
  25133. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  25134. type: array
  25135. "500":
  25136. description: Internal Server Error
  25137. schema:
  25138. $ref: '#/definitions/app.Response'
  25139. security:
  25140. - ApiKeyAuth: []
  25141. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  25142. tags:
  25143. - 企业风险管理(app)
  25144. /Ermcp/QueryMiddleGoodsDetail:
  25145. get:
  25146. parameters:
  25147. - description: 所属机构ID
  25148. in: query
  25149. name: userid
  25150. required: true
  25151. type: integer
  25152. - description: 套保品种id
  25153. in: query
  25154. name: middlegoodsid
  25155. type: integer
  25156. produces:
  25157. - application/json
  25158. responses:
  25159. "200":
  25160. description: OK
  25161. schema:
  25162. items:
  25163. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  25164. type: array
  25165. "500":
  25166. description: Internal Server Error
  25167. schema:
  25168. $ref: '#/definitions/app.Response'
  25169. security:
  25170. - ApiKeyAuth: []
  25171. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  25172. tags:
  25173. - 企业风险管理(app)
  25174. /Ermcp/QueryPendingAuditInfo:
  25175. get:
  25176. parameters:
  25177. - description: 用户ID
  25178. in: query
  25179. name: UserId
  25180. required: true
  25181. type: integer
  25182. produces:
  25183. - application/json
  25184. responses:
  25185. "200":
  25186. description: OK
  25187. schema:
  25188. items:
  25189. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  25190. type: array
  25191. "500":
  25192. description: Internal Server Error
  25193. schema:
  25194. $ref: '#/definitions/app.Response'
  25195. security:
  25196. - ApiKeyAuth: []
  25197. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  25198. tags:
  25199. - 企业风险管理(app)
  25200. /Ermcp/QueryRealtimeExposure:
  25201. get:
  25202. parameters:
  25203. - description: 所属机构ID
  25204. in: query
  25205. name: userid
  25206. required: true
  25207. type: integer
  25208. produces:
  25209. - application/json
  25210. responses:
  25211. "200":
  25212. description: OK
  25213. schema:
  25214. items:
  25215. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  25216. type: array
  25217. "500":
  25218. description: Internal Server Error
  25219. schema:
  25220. $ref: '#/definitions/app.Response'
  25221. security:
  25222. - ApiKeyAuth: []
  25223. summary: 查询实时敞口
  25224. tags:
  25225. - 企业风险管理(app)
  25226. /Ermcp/QueryRealtimeExposurePosition:
  25227. get:
  25228. parameters:
  25229. - description: 用户id
  25230. in: query
  25231. name: userid
  25232. required: true
  25233. type: integer
  25234. - description: 套保商品ID
  25235. in: query
  25236. name: middleGoodsId
  25237. required: true
  25238. type: integer
  25239. produces:
  25240. - application/json
  25241. responses:
  25242. "200":
  25243. description: OK
  25244. schema:
  25245. items:
  25246. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  25247. type: array
  25248. "500":
  25249. description: Internal Server Error
  25250. schema:
  25251. $ref: '#/definitions/app.Response'
  25252. security:
  25253. - ApiKeyAuth: []
  25254. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  25255. tags:
  25256. - 企业风险管理(app)
  25257. /Ermcp/QueryRoleMenu:
  25258. get:
  25259. parameters:
  25260. - description: 登录ID
  25261. in: query
  25262. name: loginid
  25263. required: true
  25264. type: integer
  25265. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  25266. in: query
  25267. name: menutype
  25268. type: integer
  25269. produces:
  25270. - application/json
  25271. responses:
  25272. "200":
  25273. description: OK
  25274. schema:
  25275. items:
  25276. $ref: '#/definitions/models.RoleMenu'
  25277. type: array
  25278. "500":
  25279. description: Internal Server Error
  25280. schema:
  25281. $ref: '#/definitions/app.Response'
  25282. security:
  25283. - ApiKeyAuth: []
  25284. summary: 查询角色菜单和权限
  25285. tags:
  25286. - 企业风险管理(app)
  25287. /Ermcp/QueryTradeConfigTMP:
  25288. get:
  25289. parameters:
  25290. - description: 所属机构id
  25291. in: query
  25292. name: areauserid
  25293. type: integer
  25294. produces:
  25295. - application/json
  25296. responses:
  25297. "200":
  25298. description: OK
  25299. schema:
  25300. items:
  25301. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  25302. type: array
  25303. "500":
  25304. description: Internal Server Error
  25305. schema:
  25306. $ref: '#/definitions/app.Response'
  25307. security:
  25308. - ApiKeyAuth: []
  25309. summary: 查询交易模板配置
  25310. tags:
  25311. - 企业风险管理(app)
  25312. /Ermcp/QueryUserInfo:
  25313. get:
  25314. parameters:
  25315. - description: 所属机构用户ID
  25316. in: query
  25317. name: MemberUserID
  25318. required: true
  25319. type: integer
  25320. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  25321. in: query
  25322. name: queryType
  25323. required: true
  25324. type: integer
  25325. produces:
  25326. - application/json
  25327. responses:
  25328. "200":
  25329. description: OK
  25330. schema:
  25331. items:
  25332. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  25333. type: array
  25334. "500":
  25335. description: Internal Server Error
  25336. schema:
  25337. $ref: '#/definitions/app.Response'
  25338. security:
  25339. - ApiKeyAuth: []
  25340. summary: 查询客户资料
  25341. tags:
  25342. - 企业风险管理(app)
  25343. /Ermcp/QueryWarehouseInfo:
  25344. get:
  25345. parameters:
  25346. - description: 用户ID
  25347. in: query
  25348. name: userid
  25349. required: true
  25350. type: integer
  25351. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  25352. in: query
  25353. name: status
  25354. type: string
  25355. produces:
  25356. - application/json
  25357. responses:
  25358. "200":
  25359. description: OK
  25360. schema:
  25361. items:
  25362. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  25363. type: array
  25364. "500":
  25365. description: Internal Server Error
  25366. schema:
  25367. $ref: '#/definitions/app.Response'
  25368. security:
  25369. - ApiKeyAuth: []
  25370. summary: 查询仓库信息
  25371. tags:
  25372. - 企业风险管理(app)
  25373. /Ermcp3/QryAreaExpourseContractDetail:
  25374. get:
  25375. parameters:
  25376. - description: 用户ID
  25377. in: query
  25378. name: userid
  25379. required: true
  25380. type: integer
  25381. - description: 套保商品id
  25382. in: query
  25383. name: middlegoodsid
  25384. required: true
  25385. type: integer
  25386. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25387. in: query
  25388. name: cycletype
  25389. required: true
  25390. type: integer
  25391. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25392. 全(0)【原值】
  25393. in: query
  25394. name: cycletime
  25395. required: true
  25396. type: string
  25397. produces:
  25398. - application/json
  25399. responses:
  25400. "200":
  25401. description: OK
  25402. schema:
  25403. items:
  25404. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  25405. type: array
  25406. "500":
  25407. description: Internal Server Error
  25408. schema:
  25409. $ref: '#/definitions/app.Response'
  25410. security:
  25411. - ApiKeyAuth: []
  25412. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  25413. tags:
  25414. - 企业风险管理v3(app)
  25415. /Ermcp3/QryAreaExpourseFutuDetail:
  25416. get:
  25417. parameters:
  25418. - description: 用户ID
  25419. in: query
  25420. name: userid
  25421. required: true
  25422. type: integer
  25423. - description: 套保商品id
  25424. in: query
  25425. name: middlegoodsid
  25426. required: true
  25427. type: integer
  25428. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25429. in: query
  25430. name: cycletype
  25431. required: true
  25432. type: integer
  25433. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25434. 全(0)【原值】
  25435. in: query
  25436. name: cycletime
  25437. required: true
  25438. type: string
  25439. produces:
  25440. - application/json
  25441. responses:
  25442. "200":
  25443. description: OK
  25444. schema:
  25445. items:
  25446. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  25447. type: array
  25448. "500":
  25449. description: Internal Server Error
  25450. schema:
  25451. $ref: '#/definitions/app.Response'
  25452. security:
  25453. - ApiKeyAuth: []
  25454. summary: 查询敞口期货明细(敞口报表/期货明细)
  25455. tags:
  25456. - 企业风险管理v3(app)
  25457. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  25458. get:
  25459. parameters:
  25460. - description: 用户ID
  25461. in: query
  25462. name: userid
  25463. required: true
  25464. type: integer
  25465. - description: 套保商品id
  25466. in: query
  25467. name: middlegoodsid
  25468. required: true
  25469. type: integer
  25470. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25471. in: query
  25472. name: cycletype
  25473. required: true
  25474. type: integer
  25475. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25476. 全(0)【原值】
  25477. in: query
  25478. name: cycletime
  25479. required: true
  25480. type: string
  25481. produces:
  25482. - application/json
  25483. responses:
  25484. "200":
  25485. description: OK
  25486. schema:
  25487. items:
  25488. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  25489. type: array
  25490. "500":
  25491. description: Internal Server Error
  25492. schema:
  25493. $ref: '#/definitions/app.Response'
  25494. security:
  25495. - ApiKeyAuth: []
  25496. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  25497. tags:
  25498. - 企业风险管理v3(app)
  25499. /Ermcp3/QryAreaExpourseParamChLogDetail:
  25500. get:
  25501. parameters:
  25502. - description: 用户ID
  25503. in: query
  25504. name: userid
  25505. required: true
  25506. type: integer
  25507. - description: 套保商品id
  25508. in: query
  25509. name: middlegoodsid
  25510. required: true
  25511. type: integer
  25512. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25513. in: query
  25514. name: cycletype
  25515. required: true
  25516. type: integer
  25517. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25518. 全(0)【原值】
  25519. in: query
  25520. name: cycletime
  25521. required: true
  25522. type: string
  25523. produces:
  25524. - application/json
  25525. responses:
  25526. "200":
  25527. description: OK
  25528. schema:
  25529. items:
  25530. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  25531. type: array
  25532. "500":
  25533. description: Internal Server Error
  25534. schema:
  25535. $ref: '#/definitions/app.Response'
  25536. security:
  25537. - ApiKeyAuth: []
  25538. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  25539. tags:
  25540. - 企业风险管理v3(app)
  25541. /Ermcp3/QryAreaExpourseReport:
  25542. get:
  25543. parameters:
  25544. - description: 用户ID
  25545. in: query
  25546. name: userid
  25547. required: true
  25548. type: integer
  25549. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  25550. in: query
  25551. name: querytype
  25552. required: true
  25553. type: integer
  25554. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25555. in: query
  25556. name: cycletype
  25557. required: true
  25558. type: integer
  25559. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25560. 全(0)【原值】
  25561. in: query
  25562. name: cycletime
  25563. required: true
  25564. type: string
  25565. produces:
  25566. - application/json
  25567. responses:
  25568. "200":
  25569. description: OK
  25570. schema:
  25571. items:
  25572. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  25573. type: array
  25574. "500":
  25575. description: Internal Server Error
  25576. schema:
  25577. $ref: '#/definitions/app.Response'
  25578. security:
  25579. - ApiKeyAuth: []
  25580. summary: 查询敞口报表
  25581. tags:
  25582. - 企业风险管理v3(app)
  25583. /Ermcp3/QryAreaSpotplReport:
  25584. get:
  25585. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  25586. parameters:
  25587. - description: 用户ID
  25588. in: query
  25589. name: userid
  25590. required: true
  25591. type: integer
  25592. - description: 查询类型 1-报表 2-报表明细
  25593. in: query
  25594. name: querytype
  25595. required: true
  25596. type: integer
  25597. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25598. in: query
  25599. name: cycletype
  25600. required: true
  25601. type: integer
  25602. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25603. 全(0)【原值】
  25604. in: query
  25605. name: cycletime
  25606. required: true
  25607. type: string
  25608. - description: 现货品种id(明细必填)
  25609. in: query
  25610. name: deliverygoodsid
  25611. type: integer
  25612. - description: 币种id(明细必填)
  25613. in: query
  25614. name: currencyid
  25615. type: integer
  25616. - description: 日/周/月报表汇总维度 1:品种+品类
  25617. in: query
  25618. name: sumflag
  25619. type: integer
  25620. produces:
  25621. - application/json
  25622. responses:
  25623. "200":
  25624. description: OK
  25625. schema:
  25626. items:
  25627. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  25628. type: array
  25629. "500":
  25630. description: Internal Server Error
  25631. schema:
  25632. $ref: '#/definitions/app.Response'
  25633. security:
  25634. - ApiKeyAuth: []
  25635. summary: 查询现货报表
  25636. tags:
  25637. - 企业风险管理v3(app)
  25638. /Ermcp3/QryAreaStockReport:
  25639. get:
  25640. parameters:
  25641. - description: 用户ID
  25642. in: query
  25643. name: userid
  25644. required: true
  25645. type: integer
  25646. - description: 查询类型 1-报表 2-报表明细
  25647. in: query
  25648. name: querytype
  25649. required: true
  25650. type: integer
  25651. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25652. in: query
  25653. name: cycletype
  25654. required: true
  25655. type: integer
  25656. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25657. 全(0)【原值】
  25658. in: query
  25659. name: cycletime
  25660. required: true
  25661. type: string
  25662. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  25663. in: query
  25664. name: sumfields
  25665. type: string
  25666. - description: 品种ID
  25667. in: query
  25668. name: deliverygoodsid
  25669. type: integer
  25670. - description: 品类ID
  25671. in: query
  25672. name: wrstandardid
  25673. type: integer
  25674. - description: 品牌ID
  25675. in: query
  25676. name: spotgoodsbrandid
  25677. type: integer
  25678. - description: 仓库ID
  25679. in: query
  25680. name: warehouseinfoid
  25681. type: integer
  25682. produces:
  25683. - application/json
  25684. responses:
  25685. "200":
  25686. description: OK
  25687. schema:
  25688. items:
  25689. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  25690. type: array
  25691. "500":
  25692. description: Internal Server Error
  25693. schema:
  25694. $ref: '#/definitions/app.Response'
  25695. security:
  25696. - ApiKeyAuth: []
  25697. summary: 查询库存报表
  25698. tags:
  25699. - 企业风险管理v3(app)
  25700. /Ermcp3/QryAreaSumPL:
  25701. get:
  25702. parameters:
  25703. - description: 用户ID
  25704. in: query
  25705. name: userid
  25706. required: true
  25707. type: integer
  25708. - description: 查询类型 1-报表 2-报表明细
  25709. in: query
  25710. name: querytype
  25711. required: true
  25712. type: integer
  25713. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25714. in: query
  25715. name: cycletype
  25716. required: true
  25717. type: integer
  25718. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25719. 全(0)【原值】
  25720. in: query
  25721. name: cycletime
  25722. required: true
  25723. type: string
  25724. - description: 币种id(明细必填)
  25725. in: query
  25726. name: currencyid
  25727. type: integer
  25728. - description: 套保品种ID, 查询类型为2时起效
  25729. in: query
  25730. name: middlegoodsid
  25731. type: integer
  25732. produces:
  25733. - application/json
  25734. responses:
  25735. "200":
  25736. description: OK
  25737. schema:
  25738. items:
  25739. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  25740. type: array
  25741. "500":
  25742. description: Internal Server Error
  25743. schema:
  25744. $ref: '#/definitions/app.Response'
  25745. security:
  25746. - ApiKeyAuth: []
  25747. summary: 查询汇总损益表
  25748. tags:
  25749. - 企业风险管理v3(app)
  25750. /Ermcp3/QryFinanceReport:
  25751. get:
  25752. parameters:
  25753. - description: 用户ID
  25754. in: query
  25755. name: userid
  25756. required: true
  25757. type: integer
  25758. - description: 查询类型 1-报表 2-报表明细
  25759. in: query
  25760. name: querytype
  25761. required: true
  25762. type: integer
  25763. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25764. in: query
  25765. name: cycletype
  25766. required: true
  25767. type: integer
  25768. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25769. 全(0)【原值】
  25770. in: query
  25771. name: cycletime
  25772. required: true
  25773. type: string
  25774. - description: 币种id(报表明细必填)
  25775. in: query
  25776. name: currencyid
  25777. type: integer
  25778. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  25779. in: query
  25780. name: sumfields
  25781. type: string
  25782. produces:
  25783. - application/json
  25784. responses:
  25785. "200":
  25786. description: OK
  25787. schema:
  25788. items:
  25789. $ref: '#/definitions/models.Ermcp3FinanceReport'
  25790. type: array
  25791. "500":
  25792. description: Internal Server Error
  25793. schema:
  25794. $ref: '#/definitions/app.Response'
  25795. security:
  25796. - ApiKeyAuth: []
  25797. summary: 查询财务报表
  25798. tags:
  25799. - 企业风险管理v3(app)
  25800. /Ermcp3/QrySCMiddleGoodsReport:
  25801. get:
  25802. parameters:
  25803. - description: 用户ID
  25804. in: query
  25805. name: userid
  25806. required: true
  25807. type: integer
  25808. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25809. in: query
  25810. name: cycletype
  25811. required: true
  25812. type: integer
  25813. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25814. 全(0)【原值】
  25815. in: query
  25816. name: cycletime
  25817. required: true
  25818. type: string
  25819. - description: 合同id
  25820. in: query
  25821. name: spotcontractid
  25822. type: integer
  25823. - description: 套保品种id
  25824. in: query
  25825. name: middlegoodsid
  25826. type: integer
  25827. - description: 现货品种id
  25828. in: query
  25829. name: deliverygoodsid
  25830. type: integer
  25831. - description: 现货商品id
  25832. in: query
  25833. name: wrstandardid
  25834. type: integer
  25835. - description: 合同编号(模糊匹配)
  25836. in: query
  25837. name: contractno
  25838. type: string
  25839. produces:
  25840. - application/json
  25841. responses:
  25842. "200":
  25843. description: OK
  25844. schema:
  25845. items:
  25846. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  25847. type: array
  25848. "500":
  25849. description: Internal Server Error
  25850. schema:
  25851. $ref: '#/definitions/app.Response'
  25852. security:
  25853. - ApiKeyAuth: []
  25854. summary: 查询定价报表
  25855. tags:
  25856. - 企业风险管理v3(app)
  25857. /Ermcp3/QryTaFutureDataReport:
  25858. get:
  25859. parameters:
  25860. - description: 用户ID
  25861. in: query
  25862. name: userid
  25863. required: true
  25864. type: integer
  25865. - description: 查询类型 1-报表 2-报表明细
  25866. in: query
  25867. name: querytype
  25868. required: true
  25869. type: integer
  25870. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25871. in: query
  25872. name: cycletype
  25873. required: true
  25874. type: integer
  25875. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25876. 全(0)【原值】
  25877. in: query
  25878. name: cycletime
  25879. required: true
  25880. type: string
  25881. - description: 币种id(查明细必填)
  25882. in: query
  25883. name: currencyid
  25884. type: integer
  25885. - description: 品种id(查明细必填)
  25886. in: query
  25887. name: goodsgroupid
  25888. type: integer
  25889. - description: 商品id(查明细必填)
  25890. in: query
  25891. name: goodsid
  25892. type: integer
  25893. - description: 买卖方向(查明细必填)
  25894. in: query
  25895. name: buyorsell
  25896. type: integer
  25897. produces:
  25898. - application/json
  25899. responses:
  25900. "200":
  25901. description: OK
  25902. schema:
  25903. items:
  25904. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  25905. type: array
  25906. "500":
  25907. description: Internal Server Error
  25908. schema:
  25909. $ref: '#/definitions/app.Response'
  25910. security:
  25911. - ApiKeyAuth: []
  25912. summary: 查询期货报表
  25913. tags:
  25914. - 企业风险管理v3(app)
  25915. /Ermcp3/QueryAreaStock:
  25916. get:
  25917. parameters:
  25918. - description: 用户ID
  25919. in: query
  25920. name: userid
  25921. required: true
  25922. type: integer
  25923. produces:
  25924. - application/json
  25925. responses:
  25926. "200":
  25927. description: OK
  25928. schema:
  25929. items:
  25930. $ref: '#/definitions/models.Ermcp3AreaStock'
  25931. type: array
  25932. "500":
  25933. description: Internal Server Error
  25934. schema:
  25935. $ref: '#/definitions/app.Response'
  25936. security:
  25937. - ApiKeyAuth: []
  25938. summary: 查询机构库存(库存管理/当前库存)
  25939. tags:
  25940. - 企业风险管理v3(app)
  25941. /Ermcp3/QueryAreaStockApply:
  25942. get:
  25943. parameters:
  25944. - description: 用户ID
  25945. in: query
  25946. name: userid
  25947. required: true
  25948. type: integer
  25949. - description: 用户类型 2-机构 7-企业成员
  25950. in: query
  25951. name: usertype
  25952. type: integer
  25953. - description: 现货商品ID
  25954. in: query
  25955. name: deliverygoodsid
  25956. type: integer
  25957. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  25958. in: query
  25959. name: inouttype
  25960. type: string
  25961. - description: 合同ID
  25962. in: query
  25963. name: spotcontractid
  25964. type: integer
  25965. - description: 品类ID
  25966. in: query
  25967. name: wrstandardid
  25968. type: integer
  25969. - description: 品牌ID
  25970. in: query
  25971. name: spotgoodsbrandid
  25972. type: integer
  25973. - description: 仓库ID
  25974. in: query
  25975. name: warehouseinfoid
  25976. type: integer
  25977. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25978. in: query
  25979. name: applystatus
  25980. type: string
  25981. produces:
  25982. - application/json
  25983. responses:
  25984. "200":
  25985. description: OK
  25986. schema:
  25987. items:
  25988. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  25989. type: array
  25990. "500":
  25991. description: Internal Server Error
  25992. schema:
  25993. $ref: '#/definitions/app.Response'
  25994. security:
  25995. - ApiKeyAuth: []
  25996. summary: 查询库存申请(出入库记录|库存审核)
  25997. tags:
  25998. - 企业风险管理v3(app)
  25999. /Ermcp3/QueryAreaStockApplySum:
  26000. get:
  26001. parameters:
  26002. - description: 合同ID
  26003. in: query
  26004. name: spotcontractid
  26005. required: true
  26006. type: integer
  26007. produces:
  26008. - application/json
  26009. responses:
  26010. "200":
  26011. description: OK
  26012. schema:
  26013. items:
  26014. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  26015. type: array
  26016. "500":
  26017. description: Internal Server Error
  26018. schema:
  26019. $ref: '#/definitions/app.Response'
  26020. security:
  26021. - ApiKeyAuth: []
  26022. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  26023. tags:
  26024. - 企业风险管理v3(app)
  26025. /Ermcp3/QueryDGFactoryItem:
  26026. get:
  26027. parameters:
  26028. - description: 用户id
  26029. in: query
  26030. name: userid
  26031. type: integer
  26032. - description: 用户类型 2-机构 7-企业成员
  26033. in: query
  26034. name: usertype
  26035. type: integer
  26036. - description: 选择项ID(SEQ_DGFACTORYITEM)
  26037. in: query
  26038. name: dgfactoryitemid
  26039. type: integer
  26040. - description: 现货品种ID
  26041. in: query
  26042. name: deliverygoodsid
  26043. type: integer
  26044. - description: 要素项类型
  26045. in: query
  26046. name: dgfactoryitemtypeid
  26047. type: integer
  26048. - description: 顺序
  26049. in: query
  26050. name: orderindex
  26051. type: integer
  26052. produces:
  26053. - application/json
  26054. responses:
  26055. "200":
  26056. description: OK
  26057. schema:
  26058. items:
  26059. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  26060. type: array
  26061. "500":
  26062. description: Internal Server Error
  26063. schema:
  26064. $ref: '#/definitions/app.Response'
  26065. security:
  26066. - ApiKeyAuth: []
  26067. summary: 查询品种要素定义项
  26068. tags:
  26069. - 企业风险管理v3(app)
  26070. /Ermcp3/QueryDeliveryGoods:
  26071. get:
  26072. parameters:
  26073. - description: 用户id
  26074. in: query
  26075. name: userid
  26076. required: true
  26077. type: integer
  26078. - description: 用户类型 2-机构 7-企业成员
  26079. in: query
  26080. name: usertype
  26081. type: integer
  26082. - description: 排除已配置的业务类型商品 1-套保 2-套利
  26083. in: query
  26084. name: excludecfg
  26085. type: integer
  26086. produces:
  26087. - application/json
  26088. responses:
  26089. "200":
  26090. description: OK
  26091. schema:
  26092. items:
  26093. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  26094. type: array
  26095. "500":
  26096. description: Internal Server Error
  26097. schema:
  26098. $ref: '#/definitions/app.Response'
  26099. security:
  26100. - ApiKeyAuth: []
  26101. summary: 查询现货商品
  26102. tags:
  26103. - 企业风险管理v3(app)
  26104. /Ermcp3/QueryDeliveryGoodsDetail:
  26105. get:
  26106. parameters:
  26107. - description: 用户id
  26108. in: query
  26109. name: userid
  26110. required: true
  26111. type: integer
  26112. - description: 用户类型 2-机构 7-企业成员
  26113. in: query
  26114. name: usertype
  26115. type: integer
  26116. - description: 现货商品id
  26117. in: query
  26118. name: deliverygoodsid
  26119. type: integer
  26120. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  26121. in: query
  26122. name: filtersubempty
  26123. type: integer
  26124. produces:
  26125. - application/json
  26126. responses:
  26127. "200":
  26128. description: OK
  26129. schema:
  26130. items:
  26131. $ref: '#/definitions/models.XHDeliveryGoods'
  26132. type: array
  26133. "500":
  26134. description: Internal Server Error
  26135. schema:
  26136. $ref: '#/definitions/app.Response'
  26137. security:
  26138. - ApiKeyAuth: []
  26139. summary: 查询现货商品详情
  26140. tags:
  26141. - 企业风险管理v3(app)
  26142. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  26143. get:
  26144. parameters:
  26145. - description: 合同id
  26146. in: query
  26147. name: spotcontractid
  26148. required: true
  26149. type: string
  26150. produces:
  26151. - application/json
  26152. responses:
  26153. "200":
  26154. description: OK
  26155. schema:
  26156. items:
  26157. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  26158. type: array
  26159. "500":
  26160. description: Internal Server Error
  26161. schema:
  26162. $ref: '#/definitions/app.Response'
  26163. security:
  26164. - ApiKeyAuth: []
  26165. summary: 查询现货合同期现配置信息
  26166. tags:
  26167. - 企业风险管理v3(app)
  26168. /Ermcp3/QueryExposureDetail:
  26169. get:
  26170. parameters:
  26171. - description: 用户id
  26172. in: query
  26173. name: userid
  26174. required: true
  26175. type: integer
  26176. - description: 用户类型 2-机构 7-企业成员
  26177. in: query
  26178. name: usertype
  26179. type: integer
  26180. - description: 套保商品
  26181. in: query
  26182. name: middlegoodsid
  26183. required: true
  26184. type: integer
  26185. produces:
  26186. - application/json
  26187. responses:
  26188. "200":
  26189. description: OK
  26190. schema:
  26191. items:
  26192. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  26193. type: array
  26194. "500":
  26195. description: Internal Server Error
  26196. schema:
  26197. $ref: '#/definitions/app.Response'
  26198. security:
  26199. - ApiKeyAuth: []
  26200. summary: 查询敞口现货明细
  26201. tags:
  26202. - 企业风险管理v3(app)
  26203. /Ermcp3/QueryExposureSpot:
  26204. get:
  26205. parameters:
  26206. - description: 用户id
  26207. in: query
  26208. name: userid
  26209. required: true
  26210. type: integer
  26211. - description: 用户类型 2-机构 7-企业成员
  26212. in: query
  26213. name: usertype
  26214. type: integer
  26215. produces:
  26216. - application/json
  26217. responses:
  26218. "200":
  26219. description: OK
  26220. schema:
  26221. items:
  26222. $ref: '#/definitions/models.Ermcp3AreaSpot'
  26223. type: array
  26224. "500":
  26225. description: Internal Server Error
  26226. schema:
  26227. $ref: '#/definitions/app.Response'
  26228. security:
  26229. - ApiKeyAuth: []
  26230. summary: 查询敞口现货头寸(敞口/现货头寸)
  26231. tags:
  26232. - 企业风险管理v3(app)
  26233. /Ermcp3/QueryExposureSpotDetail:
  26234. get:
  26235. parameters:
  26236. - description: 用户id
  26237. in: query
  26238. name: userid
  26239. required: true
  26240. type: integer
  26241. - description: 用户类型 2-机构 7-企业成员
  26242. in: query
  26243. name: usertype
  26244. type: integer
  26245. - description: 现货商品ID
  26246. in: query
  26247. name: wrstandardid
  26248. required: true
  26249. type: integer
  26250. produces:
  26251. - application/json
  26252. responses:
  26253. "200":
  26254. description: OK
  26255. schema:
  26256. items:
  26257. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  26258. type: array
  26259. "500":
  26260. description: Internal Server Error
  26261. schema:
  26262. $ref: '#/definitions/app.Response'
  26263. security:
  26264. - ApiKeyAuth: []
  26265. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  26266. tags:
  26267. - 企业风险管理v3(app)
  26268. /Ermcp3/QueryGoodsGroup:
  26269. get:
  26270. parameters:
  26271. - description: 用户id
  26272. in: query
  26273. name: userid
  26274. required: true
  26275. type: integer
  26276. - description: 用户类型 2-机构 7-企业成员
  26277. in: query
  26278. name: usertype
  26279. type: integer
  26280. - description: 排除套保品中已关联的商品组 1-排除
  26281. in: query
  26282. name: excludecfg
  26283. type: integer
  26284. produces:
  26285. - application/json
  26286. responses:
  26287. "200":
  26288. description: OK
  26289. schema:
  26290. items:
  26291. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  26292. type: array
  26293. "500":
  26294. description: Internal Server Error
  26295. schema:
  26296. $ref: '#/definitions/app.Response'
  26297. security:
  26298. - ApiKeyAuth: []
  26299. summary: 查询期货商品组
  26300. tags:
  26301. - 企业风险管理v3(app)
  26302. /Ermcp3/QueryGoodsWrstandard:
  26303. get:
  26304. parameters:
  26305. - description: 用户id
  26306. in: query
  26307. name: userid
  26308. required: true
  26309. type: integer
  26310. - description: 用户类型 2-机构 7-企业成员
  26311. in: query
  26312. name: usertype
  26313. type: integer
  26314. - description: 现货商品id
  26315. in: query
  26316. name: deliverygoodsid
  26317. type: integer
  26318. produces:
  26319. - application/json
  26320. responses:
  26321. "200":
  26322. description: OK
  26323. schema:
  26324. items:
  26325. $ref: '#/definitions/models.Ermcp3Wrstandard'
  26326. type: array
  26327. "500":
  26328. description: Internal Server Error
  26329. schema:
  26330. $ref: '#/definitions/app.Response'
  26331. security:
  26332. - ApiKeyAuth: []
  26333. summary: 查询商品品类
  26334. tags:
  26335. - 企业风险管理v3(app)
  26336. /Ermcp3/QueryGoodsbrand:
  26337. get:
  26338. parameters:
  26339. - description: 用户id
  26340. in: query
  26341. name: userid
  26342. required: true
  26343. type: integer
  26344. - description: 用户类型 2-机构 7-企业成员
  26345. in: query
  26346. name: usertype
  26347. type: integer
  26348. produces:
  26349. - application/json
  26350. responses:
  26351. "200":
  26352. description: OK
  26353. schema:
  26354. items:
  26355. $ref: '#/definitions/models.Ermcp3Brand'
  26356. type: array
  26357. "500":
  26358. description: Internal Server Error
  26359. schema:
  26360. $ref: '#/definitions/app.Response'
  26361. security:
  26362. - ApiKeyAuth: []
  26363. summary: 查询商品品牌
  26364. tags:
  26365. - 企业风险管理v3(app)
  26366. /Ermcp3/QueryHPMiddleGoods:
  26367. get:
  26368. parameters:
  26369. - description: 用户ID(填登录用户的userid)
  26370. in: query
  26371. name: userid
  26372. required: true
  26373. type: integer
  26374. - description: 买卖方向 0-买 1-卖
  26375. in: query
  26376. name: buyorsell
  26377. required: true
  26378. type: integer
  26379. - description: 商品组id
  26380. in: query
  26381. name: goodsgroupid
  26382. required: true
  26383. type: integer
  26384. - description: 套保计划编号(模糊匹配)
  26385. in: query
  26386. name: hedgeplanno
  26387. type: string
  26388. - description: 现货商品名称(模糊匹配)
  26389. in: query
  26390. name: wrstandardname
  26391. type: string
  26392. produces:
  26393. - application/json
  26394. responses:
  26395. "200":
  26396. description: OK
  26397. schema:
  26398. items:
  26399. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  26400. type: array
  26401. "500":
  26402. description: Internal Server Error
  26403. schema:
  26404. $ref: '#/definitions/app.Response'
  26405. security:
  26406. - ApiKeyAuth: []
  26407. summary: 查询可关联套保计划
  26408. tags:
  26409. - 企业风险管理v3(app)
  26410. /Ermcp3/QueryHedgePlan:
  26411. get:
  26412. parameters:
  26413. - description: 用户ID
  26414. in: query
  26415. name: userid
  26416. required: true
  26417. type: integer
  26418. - description: 用户类型 2-机构 7-企业成员
  26419. in: query
  26420. name: usertype
  26421. type: integer
  26422. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26423. in: query
  26424. name: hedgeplanstatus
  26425. required: true
  26426. type: string
  26427. produces:
  26428. - application/json
  26429. responses:
  26430. "200":
  26431. description: OK
  26432. schema:
  26433. items:
  26434. $ref: '#/definitions/models.Ermcp3HedgePlan'
  26435. type: array
  26436. "500":
  26437. description: Internal Server Error
  26438. schema:
  26439. $ref: '#/definitions/app.Response'
  26440. security:
  26441. - ApiKeyAuth: []
  26442. summary: 查询套保计划
  26443. tags:
  26444. - 企业风险管理v3(app)
  26445. /Ermcp3/QueryInnerTradeLink:
  26446. get:
  26447. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  26448. parameters:
  26449. - description: 外部成交单号
  26450. in: query
  26451. name: outtradeid
  26452. required: true
  26453. type: integer
  26454. produces:
  26455. - application/json
  26456. responses:
  26457. "200":
  26458. description: OK
  26459. schema:
  26460. items:
  26461. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  26462. type: array
  26463. "500":
  26464. description: Internal Server Error
  26465. schema:
  26466. $ref: '#/definitions/app.Response'
  26467. security:
  26468. - ApiKeyAuth: []
  26469. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  26470. tags:
  26471. - 企业风险管理v3(app)
  26472. /Ermcp3/QueryMiddleGoodsDetail:
  26473. get:
  26474. parameters:
  26475. - description: 用户id
  26476. in: query
  26477. name: userid
  26478. required: true
  26479. type: integer
  26480. - description: 用户类型 2-机构 7-企业成员
  26481. in: query
  26482. name: usertype
  26483. type: integer
  26484. - description: 套保品种id
  26485. in: query
  26486. name: middlegoodsid
  26487. type: integer
  26488. produces:
  26489. - application/json
  26490. responses:
  26491. "200":
  26492. description: OK
  26493. schema:
  26494. items:
  26495. $ref: '#/definitions/models.TBMiddleGoods'
  26496. type: array
  26497. "500":
  26498. description: Internal Server Error
  26499. schema:
  26500. $ref: '#/definitions/app.Response'
  26501. security:
  26502. - ApiKeyAuth: []
  26503. summary: 查询套保品种详情(套保品种/商品详情)
  26504. tags:
  26505. - 企业风险管理v3(app)
  26506. /Ermcp3/QueryOutTradeLink:
  26507. get:
  26508. description: 页面 app 现货->期现关联->外部成交单关联
  26509. parameters:
  26510. - description: 用户ID(填登录用户的userid)
  26511. in: query
  26512. name: userid
  26513. required: true
  26514. type: integer
  26515. - description: 外部订单号(模糊匹配)
  26516. in: query
  26517. name: outtradeid
  26518. type: string
  26519. - description: 合约名称/代码(模糊匹配)
  26520. in: query
  26521. name: goodsname
  26522. type: string
  26523. - description: 关联状态 0-未关联 1-已关联
  26524. in: query
  26525. name: hasinnerorder
  26526. type: integer
  26527. produces:
  26528. - application/json
  26529. responses:
  26530. "200":
  26531. description: OK
  26532. schema:
  26533. items:
  26534. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  26535. type: array
  26536. "500":
  26537. description: Internal Server Error
  26538. schema:
  26539. $ref: '#/definitions/app.Response'
  26540. security:
  26541. - ApiKeyAuth: []
  26542. summary: 查询外部成交单关联
  26543. tags:
  26544. - 企业风险管理v3(app)
  26545. /Ermcp3/QueryPaAreaAuditCfg:
  26546. get:
  26547. parameters:
  26548. - description: 用户id
  26549. in: query
  26550. name: userid
  26551. required: true
  26552. type: integer
  26553. produces:
  26554. - application/json
  26555. responses:
  26556. "200":
  26557. description: OK
  26558. schema:
  26559. items:
  26560. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  26561. type: array
  26562. "500":
  26563. description: Internal Server Error
  26564. schema:
  26565. $ref: '#/definitions/app.Response'
  26566. security:
  26567. - ApiKeyAuth: []
  26568. summary: 查询审核设置
  26569. tags:
  26570. - 企业风险管理v3(app)
  26571. /Ermcp3/QueryPaAreaSubject:
  26572. get:
  26573. parameters:
  26574. - description: 用户id
  26575. in: query
  26576. name: userid
  26577. required: true
  26578. type: integer
  26579. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  26580. in: query
  26581. name: subjectid
  26582. type: integer
  26583. - description: 主体类型 - 1:交易主体 2:业务部门
  26584. in: query
  26585. name: subjecttype
  26586. type: integer
  26587. - description: '主体状态 - 1:正常 2: 停用'
  26588. in: query
  26589. name: subjectstatus
  26590. type: integer
  26591. produces:
  26592. - application/json
  26593. responses:
  26594. "200":
  26595. description: OK
  26596. schema:
  26597. items:
  26598. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  26599. type: array
  26600. "500":
  26601. description: Internal Server Error
  26602. schema:
  26603. $ref: '#/definitions/app.Response'
  26604. security:
  26605. - ApiKeyAuth: []
  26606. summary: 查询交易主体
  26607. tags:
  26608. - 企业风险管理v3(app)
  26609. /Ermcp3/QueryPaTradeLink:
  26610. get:
  26611. description: 页面 app 现货->期现关联->期现单据关联
  26612. parameters:
  26613. - description: 用户ID
  26614. in: query
  26615. name: userid
  26616. required: true
  26617. type: integer
  26618. produces:
  26619. - application/json
  26620. responses:
  26621. "200":
  26622. description: OK
  26623. schema:
  26624. items:
  26625. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  26626. type: array
  26627. "500":
  26628. description: Internal Server Error
  26629. schema:
  26630. $ref: '#/definitions/app.Response'
  26631. security:
  26632. - ApiKeyAuth: []
  26633. summary: 查询期现单据关联
  26634. tags:
  26635. - 企业风险管理v3(app)
  26636. /Ermcp3/QueryPaTradeLinkDetail:
  26637. get:
  26638. description: 页面 app 现货->期现关联->关联记录
  26639. parameters:
  26640. - description: 用户ID(填登录用户的userid)
  26641. in: query
  26642. name: userid
  26643. required: true
  26644. type: integer
  26645. - description: 关联状态 1:成功 2:失败 3:解绑
  26646. in: query
  26647. name: linkstatus
  26648. type: integer
  26649. - description: 期货订单号(模糊匹配)
  26650. in: query
  26651. name: tradeid
  26652. type: string
  26653. - description: 现货编号(模糊匹配)
  26654. in: query
  26655. name: contractno
  26656. type: string
  26657. - description: 期货账户(模糊匹配)
  26658. in: query
  26659. name: taname
  26660. type: string
  26661. produces:
  26662. - application/json
  26663. responses:
  26664. "200":
  26665. description: OK
  26666. schema:
  26667. items:
  26668. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  26669. type: array
  26670. "500":
  26671. description: Internal Server Error
  26672. schema:
  26673. $ref: '#/definitions/app.Response'
  26674. security:
  26675. - ApiKeyAuth: []
  26676. summary: 查询期现关联记录
  26677. tags:
  26678. - 企业风险管理v3(app)
  26679. /Ermcp3/QueryParamChangeApp:
  26680. get:
  26681. description: |-
  26682. 原型页面:
  26683. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  26684. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  26685. parameters:
  26686. - description: 用户ID
  26687. in: query
  26688. name: userid
  26689. required: true
  26690. type: integer
  26691. - description: 现货品种id
  26692. in: query
  26693. name: deliverygoodsid
  26694. type: integer
  26695. - description: 现货商品id
  26696. in: query
  26697. name: wrstandardid
  26698. type: integer
  26699. - description: 套保商品id
  26700. in: query
  26701. name: middlegoodsid
  26702. type: integer
  26703. - description: 操作类型 1:新增 2:修改
  26704. in: query
  26705. name: operatetype
  26706. type: integer
  26707. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  26708. in: query
  26709. name: paramchangetype
  26710. type: integer
  26711. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26712. in: query
  26713. name: ftstatus
  26714. type: string
  26715. produces:
  26716. - application/json
  26717. responses:
  26718. "200":
  26719. description: OK
  26720. schema:
  26721. items:
  26722. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  26723. type: array
  26724. "500":
  26725. description: Internal Server Error
  26726. schema:
  26727. $ref: '#/definitions/app.Response'
  26728. security:
  26729. - ApiKeyAuth: []
  26730. summary: 查询现货商品参数变更申请(流水)
  26731. tags:
  26732. - 企业风险管理v3(app)
  26733. /Ermcp3/QueryRootUserAccount:
  26734. get:
  26735. parameters:
  26736. - description: 用户ID
  26737. in: query
  26738. name: userid
  26739. required: true
  26740. type: integer
  26741. produces:
  26742. - application/json
  26743. responses:
  26744. "200":
  26745. description: OK
  26746. schema:
  26747. items:
  26748. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  26749. type: array
  26750. "500":
  26751. description: Internal Server Error
  26752. schema:
  26753. $ref: '#/definitions/app.Response'
  26754. security:
  26755. - ApiKeyAuth: []
  26756. summary: 查询顶级用户信息
  26757. tags:
  26758. - 企业风险管理v3(app)
  26759. /Ermcp3/QuerySCMiddleGoods:
  26760. get:
  26761. description: |-
  26762. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  26763. 现货编号 即 合同编号
  26764. parameters:
  26765. - description: 用户ID(填登录用户的userid)
  26766. in: query
  26767. name: userid
  26768. required: true
  26769. type: integer
  26770. - description: 买卖方向 0-买 1-卖
  26771. in: query
  26772. name: buyorsell
  26773. required: true
  26774. type: integer
  26775. - description: 商品组id
  26776. in: query
  26777. name: goodsgroupid
  26778. required: true
  26779. type: integer
  26780. - description: 业务类型 1:套保 2:套利
  26781. in: query
  26782. name: biztype
  26783. type: integer
  26784. - description: 现货编号(模糊匹配)
  26785. in: query
  26786. name: contractno
  26787. type: string
  26788. - description: 对手方(模糊匹配)
  26789. in: query
  26790. name: customername
  26791. type: string
  26792. - description: 现货商品名称(模糊匹配)
  26793. in: query
  26794. name: wrstandardname
  26795. type: string
  26796. produces:
  26797. - application/json
  26798. responses:
  26799. "200":
  26800. description: OK
  26801. schema:
  26802. items:
  26803. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  26804. type: array
  26805. "500":
  26806. description: Internal Server Error
  26807. schema:
  26808. $ref: '#/definitions/app.Response'
  26809. security:
  26810. - ApiKeyAuth: []
  26811. summary: 查询现货订单
  26812. tags:
  26813. - 企业风险管理v3(app)
  26814. /Ermcp3/QuerySpotContract:
  26815. get:
  26816. parameters:
  26817. - description: 用户id(当指定contractid, userid可不填)
  26818. in: query
  26819. name: userid
  26820. required: true
  26821. type: integer
  26822. - description: 用户类型 2-机构 7-企业成员
  26823. in: query
  26824. name: usertype
  26825. type: integer
  26826. - description: 合同类型 1-采购, -1-销售
  26827. in: query
  26828. name: contracttype
  26829. type: integer
  26830. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  26831. in: query
  26832. name: querytype
  26833. type: string
  26834. - description: 合同ID(SpotContractId)
  26835. in: query
  26836. name: contractid
  26837. type: string
  26838. - description: 合同编号(模糊匹配)
  26839. in: query
  26840. name: contractno
  26841. type: string
  26842. - description: 商品名称(模糊匹配)
  26843. in: query
  26844. name: wrstandardname
  26845. type: string
  26846. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  26847. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26848. in: query
  26849. name: status
  26850. type: string
  26851. - description: 是否只查今日的合同 1-查今日合同
  26852. in: query
  26853. name: istoday
  26854. type: integer
  26855. produces:
  26856. - application/json
  26857. responses:
  26858. "200":
  26859. description: OK
  26860. schema:
  26861. items:
  26862. $ref: '#/definitions/models.Ermcp3Contract'
  26863. type: array
  26864. "500":
  26865. description: Internal Server Error
  26866. schema:
  26867. $ref: '#/definitions/app.Response'
  26868. security:
  26869. - ApiKeyAuth: []
  26870. summary: 查询现货合同
  26871. tags:
  26872. - 企业风险管理v3(app)
  26873. /Ermcp3/QuerySpotContractBS:
  26874. get:
  26875. parameters:
  26876. - description: 用户id
  26877. in: query
  26878. name: userid
  26879. required: true
  26880. type: integer
  26881. - description: 用户类型 2-机构 7-企业成员
  26882. in: query
  26883. name: usertype
  26884. type: integer
  26885. - description: 合同类型 1-采购, -1-销售
  26886. in: query
  26887. name: contracttype
  26888. required: true
  26889. type: integer
  26890. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  26891. in: query
  26892. name: querytype
  26893. type: integer
  26894. - description: 合同ID(SpotContractId)
  26895. in: query
  26896. name: contractid
  26897. type: string
  26898. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  26899. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26900. in: query
  26901. name: status
  26902. type: string
  26903. - description: 是否只查今日的合同 1-查今日合同
  26904. in: query
  26905. name: istoday
  26906. type: integer
  26907. produces:
  26908. - application/json
  26909. responses:
  26910. "200":
  26911. description: OK
  26912. schema:
  26913. items:
  26914. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  26915. type: array
  26916. "500":
  26917. description: Internal Server Error
  26918. schema:
  26919. $ref: '#/definitions/app.Response'
  26920. security:
  26921. - ApiKeyAuth: []
  26922. summary: 查询合同(采购/销售)
  26923. tags:
  26924. - 企业风险管理v3(app)
  26925. /Ermcp3/QuerySpotGoodsPrice:
  26926. get:
  26927. parameters:
  26928. - description: 用户ID
  26929. in: query
  26930. name: userid
  26931. required: true
  26932. type: integer
  26933. produces:
  26934. - application/json
  26935. responses:
  26936. "200":
  26937. description: OK
  26938. schema:
  26939. items:
  26940. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  26941. type: array
  26942. "500":
  26943. description: Internal Server Error
  26944. schema:
  26945. $ref: '#/definitions/app.Response'
  26946. security:
  26947. - ApiKeyAuth: []
  26948. summary: 查询现货市价(现货市价)
  26949. tags:
  26950. - 企业风险管理v3(app)
  26951. /Ermcp3/QuerySpotGoodsPriceLog:
  26952. get:
  26953. parameters:
  26954. - description: 用户ID
  26955. in: query
  26956. name: userid
  26957. required: true
  26958. type: integer
  26959. - description: 现货商品ID
  26960. in: query
  26961. name: deliverygoodsid
  26962. required: true
  26963. type: integer
  26964. - description: 品牌ID
  26965. in: query
  26966. name: brandid
  26967. type: integer
  26968. - description: 品类ID
  26969. in: query
  26970. name: wrstandardid
  26971. type: integer
  26972. produces:
  26973. - application/json
  26974. responses:
  26975. "200":
  26976. description: OK
  26977. schema:
  26978. items:
  26979. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  26980. type: array
  26981. "500":
  26982. description: Internal Server Error
  26983. schema:
  26984. $ref: '#/definitions/app.Response'
  26985. security:
  26986. - ApiKeyAuth: []
  26987. summary: 查询现货市价详情(现货市价/详情)
  26988. tags:
  26989. - 企业风险管理v3(app)
  26990. /Ermcp3/QuerySubTaaccount:
  26991. get:
  26992. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  26993. parameters:
  26994. - description: 母账号id
  26995. in: query
  26996. name: parentaccountid
  26997. type: integer
  26998. - description: 母账号代码
  26999. in: query
  27000. name: parentaccountcode
  27001. type: string
  27002. produces:
  27003. - application/json
  27004. responses:
  27005. "200":
  27006. description: OK
  27007. schema:
  27008. items:
  27009. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  27010. type: array
  27011. "500":
  27012. description: Internal Server Error
  27013. schema:
  27014. $ref: '#/definitions/app.Response'
  27015. security:
  27016. - ApiKeyAuth: []
  27017. summary: 查询期货子账户
  27018. tags:
  27019. - 企业风险管理v3(app)
  27020. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  27021. get:
  27022. parameters:
  27023. - description: 套期项目ID
  27024. in: query
  27025. name: hedgeditemid
  27026. required: true
  27027. type: integer
  27028. produces:
  27029. - application/json
  27030. responses:
  27031. "200":
  27032. description: OK
  27033. schema:
  27034. items:
  27035. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  27036. type: array
  27037. "500":
  27038. description: Internal Server Error
  27039. schema:
  27040. $ref: '#/definitions/app.Response'
  27041. security:
  27042. - ApiKeyAuth: []
  27043. summary: 现货成交明细查询
  27044. tags:
  27045. - 企业风险管理v8
  27046. /Ermcp8/QueryERMCP2HedgedItemspot:
  27047. get:
  27048. parameters:
  27049. - description: 套期项目ID
  27050. in: query
  27051. name: hedgeditemid
  27052. required: true
  27053. type: integer
  27054. produces:
  27055. - application/json
  27056. responses:
  27057. "200":
  27058. description: OK
  27059. schema:
  27060. items:
  27061. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  27062. type: array
  27063. "500":
  27064. description: Internal Server Error
  27065. schema:
  27066. $ref: '#/definitions/app.Response'
  27067. security:
  27068. - ApiKeyAuth: []
  27069. summary: 套期计划明细查询
  27070. tags:
  27071. - 企业风险管理v8
  27072. /Ermcp8/QueryERMCPJRLinkPos:
  27073. get:
  27074. parameters:
  27075. - description: 套期项目ID
  27076. in: query
  27077. name: hedgeditemid
  27078. required: true
  27079. type: integer
  27080. produces:
  27081. - application/json
  27082. responses:
  27083. "200":
  27084. description: OK
  27085. schema:
  27086. items:
  27087. $ref: '#/definitions/models.Ermcpjrlinkpos'
  27088. type: array
  27089. "500":
  27090. description: Internal Server Error
  27091. schema:
  27092. $ref: '#/definitions/app.Response'
  27093. security:
  27094. - ApiKeyAuth: []
  27095. summary: 期货持仓明细查询
  27096. tags:
  27097. - 企业风险管理v8
  27098. /Ermcp8/QueryERMCPPatradeLinkDetail:
  27099. get:
  27100. parameters:
  27101. - description: 套期项目ID
  27102. in: query
  27103. name: hedgeditemid
  27104. required: true
  27105. type: integer
  27106. produces:
  27107. - application/json
  27108. responses:
  27109. "200":
  27110. description: OK
  27111. schema:
  27112. items:
  27113. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  27114. type: array
  27115. "500":
  27116. description: Internal Server Error
  27117. schema:
  27118. $ref: '#/definitions/app.Response'
  27119. security:
  27120. - ApiKeyAuth: []
  27121. summary: 期货成交单明细查询
  27122. tags:
  27123. - 企业风险管理v8
  27124. /Ermcp8/QueryErmcp2AreaExposure:
  27125. get:
  27126. parameters:
  27127. - description: 用户ID
  27128. in: query
  27129. name: userid
  27130. required: true
  27131. type: string
  27132. produces:
  27133. - application/json
  27134. responses:
  27135. "200":
  27136. description: OK
  27137. schema:
  27138. items:
  27139. $ref: '#/definitions/models.Ermcp2AreaExposure'
  27140. type: array
  27141. "500":
  27142. description: Internal Server Error
  27143. schema:
  27144. $ref: '#/definitions/app.Response'
  27145. security:
  27146. - ApiKeyAuth: []
  27147. summary: 企业敞口查询
  27148. tags:
  27149. - 企业风险管理v8
  27150. /Ermcp8/QueryErmcp2HedgedItem:
  27151. get:
  27152. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  27153. parameters:
  27154. - description: 用户ID
  27155. in: query
  27156. name: userid
  27157. required: true
  27158. type: string
  27159. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  27160. in: query
  27161. name: hedgedtype
  27162. type: integer
  27163. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27164. in: query
  27165. name: hedgeditemstatus
  27166. type: integer
  27167. produces:
  27168. - application/json
  27169. responses:
  27170. "200":
  27171. description: OK
  27172. schema:
  27173. items:
  27174. $ref: '#/definitions/models.Ermcp2hedgeditem'
  27175. type: array
  27176. "500":
  27177. description: Internal Server Error
  27178. schema:
  27179. $ref: '#/definitions/app.Response'
  27180. security:
  27181. - ApiKeyAuth: []
  27182. summary: 查询被套期项目信息
  27183. tags:
  27184. - 企业风险管理v8
  27185. /Ermcp8/QueryErmcp2HedgedItemLink:
  27186. get:
  27187. parameters:
  27188. - description: 现货合同ID
  27189. in: query
  27190. name: spotcontractid
  27191. required: true
  27192. type: integer
  27193. produces:
  27194. - application/json
  27195. responses:
  27196. "200":
  27197. description: OK
  27198. schema:
  27199. items:
  27200. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  27201. type: array
  27202. "500":
  27203. description: Internal Server Error
  27204. schema:
  27205. $ref: '#/definitions/app.Response'
  27206. security:
  27207. - ApiKeyAuth: []
  27208. summary: 现货合同关联被套期项目查询
  27209. tags:
  27210. - 企业风险管理v8
  27211. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  27212. get:
  27213. parameters:
  27214. - description: 用户ID
  27215. in: query
  27216. name: userid
  27217. required: true
  27218. type: integer
  27219. - description: 套保品种ID
  27220. in: query
  27221. name: middlegoodsid
  27222. required: true
  27223. type: integer
  27224. produces:
  27225. - application/json
  27226. responses:
  27227. "200":
  27228. description: OK
  27229. schema:
  27230. items:
  27231. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  27232. type: array
  27233. "500":
  27234. description: Internal Server Error
  27235. schema:
  27236. $ref: '#/definitions/app.Response'
  27237. security:
  27238. - ApiKeyAuth: []
  27239. summary: 敞口明细 - 计划变动明细
  27240. tags:
  27241. - 企业风险管理v8
  27242. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  27243. get:
  27244. parameters:
  27245. - description: 用户ID
  27246. in: query
  27247. name: userid
  27248. required: true
  27249. type: integer
  27250. - description: 套保品种ID
  27251. in: query
  27252. name: middlegoodsid
  27253. required: true
  27254. type: integer
  27255. produces:
  27256. - application/json
  27257. responses:
  27258. "200":
  27259. description: OK
  27260. schema:
  27261. items:
  27262. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  27263. type: array
  27264. "500":
  27265. description: Internal Server Error
  27266. schema:
  27267. $ref: '#/definitions/app.Response'
  27268. security:
  27269. - ApiKeyAuth: []
  27270. summary: 敞口明细 - 现货变动明细查询
  27271. tags:
  27272. - 企业风险管理v8
  27273. /Ermcp8/QueryErmcp8EnableHedgeditem:
  27274. get:
  27275. parameters:
  27276. - description: 用户ID
  27277. in: query
  27278. name: userid
  27279. required: true
  27280. type: integer
  27281. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  27282. in: query
  27283. name: spottype
  27284. required: true
  27285. type: integer
  27286. - description: 现货商品ID
  27287. in: query
  27288. name: wrstandardid
  27289. type: integer
  27290. produces:
  27291. - application/json
  27292. responses:
  27293. "200":
  27294. description: OK
  27295. schema:
  27296. items:
  27297. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  27298. type: array
  27299. "500":
  27300. description: Internal Server Error
  27301. schema:
  27302. $ref: '#/definitions/app.Response'
  27303. security:
  27304. - ApiKeyAuth: []
  27305. summary: 可关联项目查询
  27306. tags:
  27307. - 企业风险管理v8
  27308. /Ermcp8/QueryErmcp8HedgeditemReport:
  27309. get:
  27310. parameters:
  27311. - description: 用户ID
  27312. in: query
  27313. name: userid
  27314. required: true
  27315. type: integer
  27316. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27317. in: query
  27318. name: cycletype
  27319. type: integer
  27320. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  27321. 全(0)【原值】
  27322. in: query
  27323. name: cycletime
  27324. required: true
  27325. type: string
  27326. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  27327. in: query
  27328. name: hedgedtype
  27329. type: integer
  27330. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27331. in: query
  27332. name: hedgeditemstatus
  27333. type: integer
  27334. - description: 项目编号,模糊查询
  27335. in: query
  27336. name: hedgeditemnum
  27337. type: string
  27338. - description: 现货商品ID
  27339. in: query
  27340. name: wrstandardid
  27341. type: integer
  27342. produces:
  27343. - application/json
  27344. responses:
  27345. "200":
  27346. description: OK
  27347. schema:
  27348. items:
  27349. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  27350. type: array
  27351. "500":
  27352. description: Internal Server Error
  27353. schema:
  27354. $ref: '#/definitions/app.Response'
  27355. security:
  27356. - ApiKeyAuth: []
  27357. summary: 套期项目报表查询
  27358. tags:
  27359. - 企业风险管理v8
  27360. /Ermcp8/QueryErmcp8RunningHedgeditem:
  27361. get:
  27362. parameters:
  27363. - description: 用户ID
  27364. in: query
  27365. name: userid
  27366. required: true
  27367. type: string
  27368. produces:
  27369. - application/json
  27370. responses:
  27371. "200":
  27372. description: OK
  27373. schema:
  27374. items:
  27375. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  27376. type: array
  27377. "500":
  27378. description: Internal Server Error
  27379. schema:
  27380. $ref: '#/definitions/app.Response'
  27381. security:
  27382. - ApiKeyAuth: []
  27383. summary: 查询执行中项目查询信息
  27384. tags:
  27385. - 企业风险管理v8
  27386. /Ermcp8/QueryInternalEnableTradeDetail:
  27387. get:
  27388. parameters:
  27389. - description: 企业ID
  27390. in: query
  27391. name: areauserid
  27392. required: true
  27393. type: integer
  27394. - description: 期货合约ID
  27395. in: query
  27396. name: goodsid
  27397. required: true
  27398. type: integer
  27399. - description: 交易用户ID
  27400. in: query
  27401. name: tradeuserid
  27402. required: true
  27403. type: integer
  27404. produces:
  27405. - application/json
  27406. responses:
  27407. "200":
  27408. description: OK
  27409. schema:
  27410. items:
  27411. $ref: '#/definitions/models.InternalEnableTradeDetail'
  27412. type: array
  27413. "500":
  27414. description: Internal Server Error
  27415. schema:
  27416. $ref: '#/definitions/app.Response'
  27417. security:
  27418. - ApiKeyAuth: []
  27419. summary: 内部成交单可关联项目查询
  27420. tags:
  27421. - 企业风险管理v8
  27422. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  27423. get:
  27424. parameters:
  27425. - description: 用户编号
  27426. in: query
  27427. name: userid
  27428. required: true
  27429. type: integer
  27430. - description: 起始日期(格式yyyymmdd)
  27431. in: query
  27432. name: begindate
  27433. type: string
  27434. - description: 终止日期(格式yyyymmdd)
  27435. in: query
  27436. name: enddate
  27437. type: string
  27438. - description: 合约代码
  27439. in: query
  27440. name: goodscode
  27441. type: string
  27442. - description: 合约名称
  27443. in: query
  27444. name: goodsname
  27445. type: string
  27446. - description: 成交单号
  27447. in: query
  27448. name: tradeid
  27449. type: integer
  27450. - description: 方向 - 0:买 1:卖
  27451. in: query
  27452. name: buyorsell
  27453. type: integer
  27454. - description: 套期主体
  27455. in: query
  27456. name: accountname
  27457. type: string
  27458. produces:
  27459. - application/json
  27460. responses:
  27461. "200":
  27462. description: OK
  27463. schema:
  27464. items:
  27465. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  27466. type: array
  27467. "500":
  27468. description: Internal Server Error
  27469. schema:
  27470. $ref: '#/definitions/app.Response'
  27471. security:
  27472. - ApiKeyAuth: []
  27473. summary: 内部未关联成交单查询
  27474. tags:
  27475. - 企业风险管理v8
  27476. /Ermcp8/QueryMarketCalendar:
  27477. get:
  27478. parameters:
  27479. - description: 市场ID
  27480. in: query
  27481. name: marketid
  27482. type: integer
  27483. produces:
  27484. - application/json
  27485. responses:
  27486. "200":
  27487. description: OK
  27488. schema:
  27489. items:
  27490. $ref: '#/definitions/models.Marketcalendar'
  27491. type: array
  27492. "500":
  27493. description: Internal Server Error
  27494. schema:
  27495. $ref: '#/definitions/app.Response'
  27496. security:
  27497. - ApiKeyAuth: []
  27498. summary: 市场节假日查询
  27499. tags:
  27500. - 企业风险管理v8
  27501. /Ermcp8/QueryPatradeLinkDetail:
  27502. get:
  27503. parameters:
  27504. - description: 用户ID
  27505. in: query
  27506. name: userid
  27507. required: true
  27508. type: integer
  27509. - description: 套保品种ID
  27510. in: query
  27511. name: middlegoodsid
  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.Patradelinkdetail'
  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. - 企业风险管理v8
  27532. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  27533. get:
  27534. parameters:
  27535. - description: 企业ID
  27536. in: query
  27537. name: areauserid
  27538. required: true
  27539. type: integer
  27540. - description: 计划类型 - 1:采购 -1:销售
  27541. in: query
  27542. name: contracttype
  27543. type: integer
  27544. - description: 计划编号,模糊查询
  27545. in: query
  27546. name: hedgeplanno
  27547. type: string
  27548. - description: 现货商品,模糊查询
  27549. in: query
  27550. name: wrstandardname
  27551. type: string
  27552. produces:
  27553. - application/json
  27554. responses:
  27555. "200":
  27556. description: OK
  27557. schema:
  27558. items:
  27559. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  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. - 企业风险管理v8
  27570. /Ermcp8/QueryUnLinkSpotContract:
  27571. get:
  27572. parameters:
  27573. - description: 用户ID
  27574. in: query
  27575. name: userid
  27576. required: true
  27577. type: integer
  27578. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  27579. in: query
  27580. name: pricetype
  27581. type: integer
  27582. - description: 合同编号, 模拟查询
  27583. in: query
  27584. name: contractno
  27585. type: string
  27586. - description: 对手方, 模拟查询
  27587. in: query
  27588. name: customername
  27589. type: string
  27590. - description: 项合同类型 - 1:采购 -1:销售
  27591. in: query
  27592. name: contracttype
  27593. type: integer
  27594. produces:
  27595. - application/json
  27596. responses:
  27597. "200":
  27598. description: OK
  27599. schema:
  27600. items:
  27601. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  27602. type: array
  27603. "500":
  27604. description: Internal Server Error
  27605. schema:
  27606. $ref: '#/definitions/app.Response'
  27607. security:
  27608. - ApiKeyAuth: []
  27609. summary: 未关联合同查询
  27610. tags:
  27611. - 企业风险管理v8
  27612. /Erms2/QueryArbitrageStrategy:
  27613. get:
  27614. parameters:
  27615. - description: 账户ID
  27616. in: query
  27617. name: userid
  27618. required: true
  27619. type: integer
  27620. - description: 商品组ID(品种ID)
  27621. in: query
  27622. name: goodsgroupid
  27623. type: string
  27624. produces:
  27625. - application/json
  27626. responses:
  27627. "200":
  27628. description: OK
  27629. schema:
  27630. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  27631. "500":
  27632. description: Internal Server Error
  27633. schema:
  27634. $ref: '#/definitions/app.Response'
  27635. security:
  27636. - ApiKeyAuth: []
  27637. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  27638. tags:
  27639. - 风险管理
  27640. /Erms2/QueryInnerTradeDetail:
  27641. get:
  27642. parameters:
  27643. - description: 资金账户
  27644. in: query
  27645. name: accountid
  27646. required: true
  27647. type: integer
  27648. produces:
  27649. - application/json
  27650. responses:
  27651. "200":
  27652. description: OK
  27653. schema:
  27654. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  27655. "500":
  27656. description: Internal Server Error
  27657. schema:
  27658. $ref: '#/definitions/app.Response'
  27659. security:
  27660. - ApiKeyAuth: []
  27661. summary: 查询内部成交单信息
  27662. tags:
  27663. - 风险管理
  27664. /Erms2/QuerySpotContract:
  27665. get:
  27666. parameters:
  27667. - description: 策略申请ID
  27668. in: query
  27669. name: asapplyid
  27670. required: true
  27671. type: integer
  27672. - description: 现货合同ID
  27673. in: query
  27674. name: spotcontractid
  27675. type: integer
  27676. produces:
  27677. - application/json
  27678. responses:
  27679. "200":
  27680. description: OK
  27681. schema:
  27682. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  27683. "500":
  27684. description: Internal Server Error
  27685. schema:
  27686. $ref: '#/definitions/app.Response'
  27687. security:
  27688. - ApiKeyAuth: []
  27689. summary: 查询现货合同表信息(指定策略ID、未结束的)
  27690. tags:
  27691. - 风险管理
  27692. /Erms3/AddErms2ASApply:
  27693. post:
  27694. parameters:
  27695. - description: 申请参数
  27696. in: body
  27697. name: jsonBody
  27698. required: true
  27699. schema:
  27700. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  27701. produces:
  27702. - application/json
  27703. responses:
  27704. "200":
  27705. description: OK
  27706. schema:
  27707. $ref: '#/definitions/app.Response'
  27708. "500":
  27709. description: Internal Server Error
  27710. schema:
  27711. $ref: '#/definitions/app.Response'
  27712. security:
  27713. - ApiKeyAuth: []
  27714. summary: 新增期现套利业务申请
  27715. tags:
  27716. - 风险管理v3
  27717. /Erms3/AddErms2SpotTradeApply:
  27718. post:
  27719. parameters:
  27720. - description: 申请参数
  27721. in: body
  27722. name: jsonBody
  27723. required: true
  27724. schema:
  27725. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  27726. produces:
  27727. - application/json
  27728. responses:
  27729. "200":
  27730. description: OK
  27731. schema:
  27732. $ref: '#/definitions/app.Response'
  27733. "500":
  27734. description: Internal Server Error
  27735. schema:
  27736. $ref: '#/definitions/app.Response'
  27737. security:
  27738. - ApiKeyAuth: []
  27739. summary: 新增现货贸易业务申请
  27740. tags:
  27741. - 风险管理v3
  27742. /Erms3/AddSpotContractApply:
  27743. post:
  27744. parameters:
  27745. - description: 申请参数
  27746. in: body
  27747. name: jsonBody
  27748. required: true
  27749. schema:
  27750. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  27751. produces:
  27752. - application/json
  27753. responses:
  27754. "200":
  27755. description: OK
  27756. schema:
  27757. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  27758. "500":
  27759. description: Internal Server Error
  27760. schema:
  27761. $ref: '#/definitions/app.Response'
  27762. security:
  27763. - ApiKeyAuth: []
  27764. summary: 新增现货合同申请
  27765. tags:
  27766. - 风险管理v3
  27767. /Erms3/AddUserInfoApply:
  27768. post:
  27769. parameters:
  27770. - description: 用户信息
  27771. in: body
  27772. name: jsonBody
  27773. required: true
  27774. schema:
  27775. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  27776. produces:
  27777. - application/json
  27778. responses:
  27779. "200":
  27780. description: OK
  27781. schema:
  27782. $ref: '#/definitions/app.Response'
  27783. "500":
  27784. description: Internal Server Error
  27785. schema:
  27786. $ref: '#/definitions/app.Response'
  27787. security:
  27788. - ApiKeyAuth: []
  27789. summary: 新增客户申请
  27790. tags:
  27791. - 风险管理v3
  27792. /Erms3/DeleteUserInfoApply:
  27793. get:
  27794. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  27795. parameters:
  27796. - description: 用户ID
  27797. in: query
  27798. name: userID
  27799. required: true
  27800. type: integer
  27801. produces:
  27802. - application/json
  27803. responses:
  27804. "200":
  27805. description: OK
  27806. schema:
  27807. $ref: '#/definitions/app.Response'
  27808. "500":
  27809. description: Internal Server Error
  27810. schema:
  27811. $ref: '#/definitions/app.Response'
  27812. security:
  27813. - ApiKeyAuth: []
  27814. summary: 删除客户申请
  27815. tags:
  27816. - 风险管理v3
  27817. /Erms3/ModifyUserInfoApply:
  27818. post:
  27819. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  27820. int, "userstate": 2 }'
  27821. parameters:
  27822. - description: 用户信息
  27823. in: body
  27824. name: jsonBody
  27825. required: true
  27826. schema:
  27827. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  27828. produces:
  27829. - application/json
  27830. responses:
  27831. "200":
  27832. description: OK
  27833. schema:
  27834. $ref: '#/definitions/app.Response'
  27835. "500":
  27836. description: Internal Server Error
  27837. schema:
  27838. $ref: '#/definitions/app.Response'
  27839. security:
  27840. - ApiKeyAuth: []
  27841. summary: 修改客户申请
  27842. tags:
  27843. - 风险管理v3
  27844. /Erms3/QueryBusinessInfo:
  27845. get:
  27846. parameters:
  27847. - description: 资金账号ID列表,用逗号分隔
  27848. in: query
  27849. name: accountids
  27850. required: true
  27851. type: string
  27852. - description: 状态,0为未结束 1为已结束
  27853. in: query
  27854. name: status
  27855. required: true
  27856. type: integer
  27857. produces:
  27858. - application/json
  27859. responses:
  27860. "200":
  27861. description: OK
  27862. schema:
  27863. items:
  27864. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  27865. type: array
  27866. "500":
  27867. description: Internal Server Error
  27868. schema:
  27869. $ref: '#/definitions/app.Response'
  27870. security:
  27871. - ApiKeyAuth: []
  27872. summary: 查询业务表单数据
  27873. tags:
  27874. - 风险管理v3
  27875. /Erms3/QueryPendingAuditContract:
  27876. get:
  27877. parameters:
  27878. - description: 资金账号ID列表,逗号隔开
  27879. in: query
  27880. name: accountids
  27881. required: true
  27882. type: string
  27883. - description: 合同类型 1-采购 -1-销售
  27884. in: query
  27885. name: contracttype
  27886. required: true
  27887. type: integer
  27888. - description: 合同模式 1-普通 2-回购
  27889. in: query
  27890. name: contractmode
  27891. required: true
  27892. type: integer
  27893. produces:
  27894. - application/json
  27895. responses:
  27896. "200":
  27897. description: OK
  27898. schema:
  27899. items:
  27900. $ref: '#/definitions/erms3.QryAuditContractRsp'
  27901. type: array
  27902. "500":
  27903. description: Internal Server Error
  27904. schema:
  27905. $ref: '#/definitions/app.Response'
  27906. security:
  27907. - ApiKeyAuth: []
  27908. summary: 查询待审核合同
  27909. tags:
  27910. - 风险管理v3
  27911. /Erms3/QueryPendingBusiness:
  27912. get:
  27913. parameters:
  27914. - description: 资金账号ID列表,逗号隔开
  27915. in: query
  27916. name: accountids
  27917. required: true
  27918. type: string
  27919. produces:
  27920. - application/json
  27921. responses:
  27922. "200":
  27923. description: OK
  27924. schema:
  27925. items:
  27926. $ref: '#/definitions/erms3.QryPendingBizRsp'
  27927. type: array
  27928. "500":
  27929. description: Internal Server Error
  27930. schema:
  27931. $ref: '#/definitions/app.Response'
  27932. security:
  27933. - ApiKeyAuth: []
  27934. summary: 查询待审核基差贸易业务
  27935. tags:
  27936. - 风险管理v3
  27937. /Erms3/QuerySpotContractAppleForm:
  27938. get:
  27939. parameters:
  27940. - description: 登录账号
  27941. in: query
  27942. name: loginID
  27943. required: true
  27944. type: integer
  27945. produces:
  27946. - application/json
  27947. responses:
  27948. "200":
  27949. description: OK
  27950. schema:
  27951. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  27952. "500":
  27953. description: Internal Server Error
  27954. schema:
  27955. $ref: '#/definitions/app.Response'
  27956. security:
  27957. - ApiKeyAuth: []
  27958. summary: 查询合同申请表单数据
  27959. tags:
  27960. - 风险管理v3
  27961. /Erms3/QuerySpotContractDetail:
  27962. get:
  27963. parameters:
  27964. - description: 资金账号ID列表,用逗号分隔
  27965. in: query
  27966. name: accountids
  27967. required: true
  27968. type: string
  27969. - description: 合同类型,1为采购合同 -1为销售合同
  27970. in: query
  27971. name: contracttype
  27972. required: true
  27973. type: integer
  27974. - description: 合同模式,1为普通合同 2为回购销售合同
  27975. in: query
  27976. name: contractmode
  27977. required: true
  27978. type: integer
  27979. - description: 状态,0为履约中 1为已完成
  27980. in: query
  27981. name: status
  27982. required: true
  27983. type: integer
  27984. produces:
  27985. - application/json
  27986. responses:
  27987. "200":
  27988. description: OK
  27989. schema:
  27990. items:
  27991. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  27992. type: array
  27993. "500":
  27994. description: Internal Server Error
  27995. schema:
  27996. $ref: '#/definitions/app.Response'
  27997. security:
  27998. - ApiKeyAuth: []
  27999. summary: 查询合同详细信息
  28000. tags:
  28001. - 风险管理v3
  28002. /Erms3/QueryUserInfoApplies:
  28003. get:
  28004. parameters:
  28005. - description: 页码
  28006. in: query
  28007. name: page
  28008. type: integer
  28009. - description: 每页条数
  28010. in: query
  28011. name: pagesize
  28012. type: integer
  28013. - description: 客户名称,支持模糊查询
  28014. in: query
  28015. name: userName
  28016. type: string
  28017. produces:
  28018. - application/json
  28019. responses:
  28020. "200":
  28021. description: OK
  28022. schema:
  28023. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  28024. "500":
  28025. description: Internal Server Error
  28026. schema:
  28027. $ref: '#/definitions/app.Response'
  28028. security:
  28029. - ApiKeyAuth: []
  28030. summary: 客户申请信息查询
  28031. tags:
  28032. - 风险管理v3
  28033. /Erms3/QueryUserInfos:
  28034. get:
  28035. parameters:
  28036. - description: 页码
  28037. in: query
  28038. name: page
  28039. type: integer
  28040. - description: 每页条数
  28041. in: query
  28042. name: pagesize
  28043. type: integer
  28044. - description: 客户名称,支持模糊查询
  28045. in: query
  28046. name: userName
  28047. type: string
  28048. produces:
  28049. - application/json
  28050. responses:
  28051. "200":
  28052. description: OK
  28053. schema:
  28054. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  28055. "500":
  28056. description: Internal Server Error
  28057. schema:
  28058. $ref: '#/definitions/app.Response'
  28059. security:
  28060. - ApiKeyAuth: []
  28061. summary: 客户信息查询
  28062. tags:
  28063. - 风险管理v3
  28064. /Guangzuan/GZBSFWOrderOperate:
  28065. get:
  28066. parameters:
  28067. - description: 单据ID
  28068. in: query
  28069. name: orderid
  28070. required: true
  28071. type: integer
  28072. produces:
  28073. - application/json
  28074. responses:
  28075. "200":
  28076. description: OK
  28077. schema:
  28078. items:
  28079. $ref: '#/definitions/models.Gzbsfworderoperate'
  28080. type: array
  28081. "500":
  28082. description: Internal Server Error
  28083. schema:
  28084. $ref: '#/definitions/app.Response'
  28085. security:
  28086. - ApiKeyAuth: []
  28087. - LoginID: []
  28088. - Group: []
  28089. summary: 保税服务单据操作信息
  28090. tags:
  28091. - 广钻
  28092. /Guangzuan/GetGoods:
  28093. get:
  28094. parameters:
  28095. - description: 商品编号
  28096. in: query
  28097. name: goodsno
  28098. required: true
  28099. type: string
  28100. produces:
  28101. - application/json
  28102. responses:
  28103. "200":
  28104. description: OK
  28105. schema:
  28106. $ref: '#/definitions/models.GZGoods'
  28107. "500":
  28108. description: Internal Server Error
  28109. schema:
  28110. $ref: '#/definitions/app.Response'
  28111. security:
  28112. - ApiKeyAuth: []
  28113. - LoginID: []
  28114. - Group: []
  28115. summary: 获取钻石详情
  28116. tags:
  28117. - 广钻
  28118. /Guangzuan/GzCertAddressConfig:
  28119. get:
  28120. produces:
  28121. - application/json
  28122. responses:
  28123. "200":
  28124. description: OK
  28125. schema:
  28126. items:
  28127. $ref: '#/definitions/models.Gzcertaddressconfig'
  28128. type: array
  28129. "500":
  28130. description: Internal Server Error
  28131. schema:
  28132. $ref: '#/definitions/app.Response'
  28133. security:
  28134. - ApiKeyAuth: []
  28135. - LoginID: []
  28136. - Group: []
  28137. summary: Rapaport最新报价表(广钻)
  28138. tags:
  28139. - 广钻
  28140. /Guangzuan/GzCertAddressParam:
  28141. get:
  28142. produces:
  28143. - application/json
  28144. responses:
  28145. "200":
  28146. description: OK
  28147. schema:
  28148. items:
  28149. $ref: '#/definitions/models.Gzcertaddressparam'
  28150. type: array
  28151. "500":
  28152. description: Internal Server Error
  28153. schema:
  28154. $ref: '#/definitions/app.Response'
  28155. security:
  28156. - ApiKeyAuth: []
  28157. - LoginID: []
  28158. - Group: []
  28159. summary: 钻石证书地址参数
  28160. tags:
  28161. - 广钻
  28162. /Guangzuan/HomeData:
  28163. get:
  28164. parameters:
  28165. - description: 用户ID
  28166. in: query
  28167. name: userid
  28168. required: true
  28169. type: integer
  28170. produces:
  28171. - application/json
  28172. responses:
  28173. "200":
  28174. description: OK
  28175. schema:
  28176. $ref: '#/definitions/models.GZHomeData'
  28177. "500":
  28178. description: Internal Server Error
  28179. schema:
  28180. $ref: '#/definitions/app.Response'
  28181. security:
  28182. - ApiKeyAuth: []
  28183. - LoginID: []
  28184. - Group: []
  28185. summary: 首页统计数据
  28186. tags:
  28187. - 广钻
  28188. /Guangzuan/PriceCalc:
  28189. get:
  28190. parameters:
  28191. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  28192. in: query
  28193. name: zsshape
  28194. required: true
  28195. type: integer
  28196. - description: 颜色(D-M)
  28197. in: query
  28198. name: zscolor
  28199. required: true
  28200. type: string
  28201. - description: 净度
  28202. in: query
  28203. name: zsclarity
  28204. required: true
  28205. type: string
  28206. - description: 重量
  28207. in: query
  28208. name: weight
  28209. required: true
  28210. type: number
  28211. - description: 汇率
  28212. in: query
  28213. name: rate
  28214. required: true
  28215. type: number
  28216. - description: 折扣(%), 方向(加:10, 减:-10 )
  28217. in: query
  28218. name: discount
  28219. type: number
  28220. produces:
  28221. - application/json
  28222. responses:
  28223. "200":
  28224. description: OK
  28225. schema:
  28226. items:
  28227. $ref: '#/definitions/models.Gzrapaportprice'
  28228. type: array
  28229. "500":
  28230. description: Internal Server Error
  28231. schema:
  28232. $ref: '#/definitions/app.Response'
  28233. security:
  28234. - ApiKeyAuth: []
  28235. - LoginID: []
  28236. - Group: []
  28237. summary: 钻石价格计算器
  28238. tags:
  28239. - 广钻
  28240. /Guangzuan/QueryBuyOrder:
  28241. get:
  28242. parameters:
  28243. - description: 页码
  28244. in: query
  28245. name: page
  28246. type: integer
  28247. - description: 每页条数
  28248. in: query
  28249. name: pagesize
  28250. type: integer
  28251. - description: 商品(查询字段-模糊查询)
  28252. in: query
  28253. name: zsallproperties
  28254. type: string
  28255. - description: 钻石分类, 格式:1,2,3
  28256. in: query
  28257. name: zscategorys
  28258. type: string
  28259. - description: 委托单号
  28260. in: query
  28261. name: wrtradeorderid
  28262. type: integer
  28263. - description: 买方(查询字段-模糊查询)
  28264. in: query
  28265. name: buyusername
  28266. type: string
  28267. produces:
  28268. - application/json
  28269. responses:
  28270. "200":
  28271. description: OK
  28272. schema:
  28273. items:
  28274. $ref: '#/definitions/models.BuyOrder'
  28275. type: array
  28276. "500":
  28277. description: Internal Server Error
  28278. schema:
  28279. $ref: '#/definitions/app.Response'
  28280. security:
  28281. - ApiKeyAuth: []
  28282. - LoginID: []
  28283. - Group: []
  28284. summary: 查询求购大厅委托单
  28285. tags:
  28286. - 广钻
  28287. /Guangzuan/QueryDiamond:
  28288. post:
  28289. parameters:
  28290. - description: 钻石搜索入参
  28291. in: body
  28292. name: data
  28293. required: true
  28294. schema:
  28295. $ref: '#/definitions/models.SellOrderQueryReq'
  28296. produces:
  28297. - application/json
  28298. responses:
  28299. "200":
  28300. description: OK
  28301. schema:
  28302. items:
  28303. $ref: '#/definitions/models.SellOrder'
  28304. type: array
  28305. "500":
  28306. description: Internal Server Error
  28307. schema:
  28308. $ref: '#/definitions/app.Response'
  28309. security:
  28310. - ApiKeyAuth: []
  28311. - LoginID: []
  28312. - Group: []
  28313. summary: 钻石搜索
  28314. tags:
  28315. - 广钻
  28316. /Guangzuan/QueryGZBSFWOrder:
  28317. get:
  28318. parameters:
  28319. - description: 用户ID
  28320. in: query
  28321. name: userid
  28322. required: true
  28323. type: integer
  28324. - description: 页码
  28325. in: query
  28326. name: page
  28327. type: integer
  28328. - description: 每页条数
  28329. in: query
  28330. name: pagesize
  28331. type: integer
  28332. produces:
  28333. - application/json
  28334. responses:
  28335. "200":
  28336. description: OK
  28337. schema:
  28338. items:
  28339. $ref: '#/definitions/models.GzbsfworderM'
  28340. type: array
  28341. "500":
  28342. description: Internal Server Error
  28343. schema:
  28344. $ref: '#/definitions/app.Response'
  28345. security:
  28346. - ApiKeyAuth: []
  28347. - LoginID: []
  28348. - Group: []
  28349. summary: 查询保税服务单据
  28350. tags:
  28351. - 广钻
  28352. /Guangzuan/QueryGZBSFWOrderDetail:
  28353. get:
  28354. parameters:
  28355. - description: 用户ID
  28356. in: query
  28357. name: userid
  28358. required: true
  28359. type: integer
  28360. - description: 单据ID
  28361. in: query
  28362. name: orderid
  28363. type: integer
  28364. - description: 页码
  28365. in: query
  28366. name: page
  28367. type: integer
  28368. - description: 每页条数
  28369. in: query
  28370. name: pagesize
  28371. type: integer
  28372. produces:
  28373. - application/json
  28374. responses:
  28375. "200":
  28376. description: OK
  28377. schema:
  28378. items:
  28379. $ref: '#/definitions/models.GzbsfworderdetailM'
  28380. type: array
  28381. "500":
  28382. description: Internal Server Error
  28383. schema:
  28384. $ref: '#/definitions/app.Response'
  28385. security:
  28386. - ApiKeyAuth: []
  28387. - LoginID: []
  28388. - Group: []
  28389. summary: 查询保税服务单据明细
  28390. tags:
  28391. - 广钻
  28392. /Guangzuan/QueryGZCJBSOrderFile:
  28393. get:
  28394. parameters:
  28395. - description: 单据ID
  28396. in: query
  28397. name: orderid
  28398. required: true
  28399. type: integer
  28400. - description: 页码
  28401. in: query
  28402. name: page
  28403. type: integer
  28404. - description: 每页条数
  28405. in: query
  28406. name: pagesize
  28407. type: integer
  28408. produces:
  28409. - application/json
  28410. responses:
  28411. "200":
  28412. description: OK
  28413. schema:
  28414. items:
  28415. $ref: '#/definitions/models.GzcjbsorderfileM'
  28416. type: array
  28417. "500":
  28418. description: Internal Server Error
  28419. schema:
  28420. $ref: '#/definitions/app.Response'
  28421. security:
  28422. - ApiKeyAuth: []
  28423. - LoginID: []
  28424. - Group: []
  28425. summary: 出境保税单据文件
  28426. tags:
  28427. - 广钻
  28428. /Guangzuan/QueryGZCJJCOrder:
  28429. get:
  28430. parameters:
  28431. - description: 用户ID
  28432. in: query
  28433. name: userid
  28434. required: true
  28435. type: integer
  28436. - description: 页码
  28437. in: query
  28438. name: page
  28439. type: integer
  28440. - description: 每页条数
  28441. in: query
  28442. name: pagesize
  28443. type: integer
  28444. produces:
  28445. - application/json
  28446. responses:
  28447. "200":
  28448. description: OK
  28449. schema:
  28450. items:
  28451. $ref: '#/definitions/models.GzcjjcorderM'
  28452. type: array
  28453. "500":
  28454. description: Internal Server Error
  28455. schema:
  28456. $ref: '#/definitions/app.Response'
  28457. security:
  28458. - ApiKeyAuth: []
  28459. - LoginID: []
  28460. - Group: []
  28461. summary: 查询出境检测单据
  28462. tags:
  28463. - 广钻
  28464. /Guangzuan/QueryGZCJJCOrderDetail:
  28465. get:
  28466. parameters:
  28467. - description: 用户ID
  28468. in: query
  28469. name: userid
  28470. required: true
  28471. type: integer
  28472. - description: 单据ID
  28473. in: query
  28474. name: orderid
  28475. type: integer
  28476. - description: 页码
  28477. in: query
  28478. name: page
  28479. type: integer
  28480. - description: 每页条数
  28481. in: query
  28482. name: pagesize
  28483. type: integer
  28484. produces:
  28485. - application/json
  28486. responses:
  28487. "200":
  28488. description: OK
  28489. schema:
  28490. items:
  28491. $ref: '#/definitions/models.GzcjjcorderdetailM'
  28492. type: array
  28493. "500":
  28494. description: Internal Server Error
  28495. schema:
  28496. $ref: '#/definitions/app.Response'
  28497. security:
  28498. - ApiKeyAuth: []
  28499. - LoginID: []
  28500. - Group: []
  28501. summary: 查询出境检测单据明细(批次信息)
  28502. tags:
  28503. - 广钻
  28504. /Guangzuan/QueryMemberReport:
  28505. get:
  28506. parameters:
  28507. - description: 用户ID
  28508. in: query
  28509. name: userid
  28510. required: true
  28511. type: integer
  28512. - description: 页码
  28513. in: query
  28514. name: page
  28515. type: integer
  28516. - description: 每页条数
  28517. in: query
  28518. name: pagesize
  28519. type: integer
  28520. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  28521. in: query
  28522. name: cycletype
  28523. type: string
  28524. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  28525. in: query
  28526. name: begindate
  28527. required: true
  28528. type: string
  28529. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  28530. in: query
  28531. name: enddate
  28532. required: true
  28533. type: string
  28534. produces:
  28535. - application/json
  28536. responses:
  28537. "200":
  28538. description: OK
  28539. schema:
  28540. items:
  28541. $ref: '#/definitions/models.Reckondaytaaccount'
  28542. type: array
  28543. "500":
  28544. description: Internal Server Error
  28545. schema:
  28546. $ref: '#/definitions/app.Response'
  28547. security:
  28548. - ApiKeyAuth: []
  28549. - LoginID: []
  28550. - Group: []
  28551. summary: 查询会员报表
  28552. tags:
  28553. - 广钻
  28554. /Guangzuan/QueryMyBargainApply:
  28555. get:
  28556. parameters:
  28557. - description: 用户ID
  28558. in: query
  28559. name: userid
  28560. required: true
  28561. type: integer
  28562. - description: 页码
  28563. in: query
  28564. name: page
  28565. type: integer
  28566. - description: 每页条数
  28567. in: query
  28568. name: pagesize
  28569. type: integer
  28570. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  28571. in: query
  28572. name: applystatus
  28573. type: integer
  28574. - description: 查询类型 - 0:我的询价 1:我订单的询价
  28575. in: query
  28576. name: type
  28577. type: integer
  28578. - description: 关联委托单ID
  28579. in: query
  28580. name: wrtradeorderid
  28581. type: string
  28582. produces:
  28583. - application/json
  28584. responses:
  28585. "200":
  28586. description: OK
  28587. schema:
  28588. items:
  28589. $ref: '#/definitions/models.MyBargainApply'
  28590. type: array
  28591. "500":
  28592. description: Internal Server Error
  28593. schema:
  28594. $ref: '#/definitions/app.Response'
  28595. security:
  28596. - ApiKeyAuth: []
  28597. - LoginID: []
  28598. - Group: []
  28599. summary: 查询询价-求购
  28600. tags:
  28601. - 广钻
  28602. /Guangzuan/QueryMyBuyOrder:
  28603. get:
  28604. parameters:
  28605. - description: 用户ID
  28606. in: query
  28607. name: userid
  28608. required: true
  28609. type: integer
  28610. - description: 页码
  28611. in: query
  28612. name: page
  28613. type: integer
  28614. - description: 每页条数
  28615. in: query
  28616. name: pagesize
  28617. type: integer
  28618. - description: 商品(查询字段-模糊查询)
  28619. in: query
  28620. name: zsallproperties
  28621. type: string
  28622. - description: 钻石分类, 格式:1,2,3
  28623. in: query
  28624. name: zscategorys
  28625. type: string
  28626. - description: 委托单号
  28627. in: query
  28628. name: wrtradeorderid
  28629. type: integer
  28630. - description: 是否历史查询
  28631. in: query
  28632. name: ishis
  28633. type: boolean
  28634. - description: 开始交易日(yyyymmdd)
  28635. in: query
  28636. name: begindate
  28637. type: string
  28638. - description: 结束交易日(yyyymmdd)
  28639. in: query
  28640. name: enddate
  28641. type: string
  28642. produces:
  28643. - application/json
  28644. responses:
  28645. "200":
  28646. description: OK
  28647. schema:
  28648. items:
  28649. $ref: '#/definitions/models.MyBuyOrder'
  28650. type: array
  28651. "500":
  28652. description: Internal Server Error
  28653. schema:
  28654. $ref: '#/definitions/app.Response'
  28655. security:
  28656. - ApiKeyAuth: []
  28657. - LoginID: []
  28658. - Group: []
  28659. summary: 查询我的求购
  28660. tags:
  28661. - 广钻
  28662. /Guangzuan/QueryMyDeListing:
  28663. get:
  28664. parameters:
  28665. - description: 用户ID
  28666. in: query
  28667. name: userid
  28668. required: true
  28669. type: integer
  28670. - description: 页码
  28671. in: query
  28672. name: page
  28673. type: integer
  28674. - description: 每页条数
  28675. in: query
  28676. name: pagesize
  28677. type: integer
  28678. - description: 商品(查询字段-模糊查询)
  28679. in: query
  28680. name: zsallproperties
  28681. type: string
  28682. - description: 钻石分类, 格式:1,2,3
  28683. in: query
  28684. name: zscategorys
  28685. type: string
  28686. - description: 成交单号
  28687. in: query
  28688. name: wrtradedetailid
  28689. type: integer
  28690. - description: 方向,0-购买 1-出售
  28691. in: query
  28692. name: buyorsell
  28693. type: integer
  28694. - description: 对手方(模糊匹配)
  28695. in: query
  28696. name: matchusername
  28697. type: string
  28698. - description: 开始交易日(yyyymmdd)
  28699. in: query
  28700. name: begindate
  28701. type: string
  28702. - description: 结束交易日(yyyymmdd)
  28703. in: query
  28704. name: enddate
  28705. type: string
  28706. produces:
  28707. - application/json
  28708. responses:
  28709. "200":
  28710. description: OK
  28711. schema:
  28712. items:
  28713. $ref: '#/definitions/models.MyDeListing'
  28714. type: array
  28715. "500":
  28716. description: Internal Server Error
  28717. schema:
  28718. $ref: '#/definitions/app.Response'
  28719. security:
  28720. - ApiKeyAuth: []
  28721. - LoginID: []
  28722. - Group: []
  28723. summary: 查询我的摘牌
  28724. tags:
  28725. - 广钻
  28726. /Guangzuan/QueryMyDelistingApply:
  28727. get:
  28728. parameters:
  28729. - description: 用户ID
  28730. in: query
  28731. name: userid
  28732. required: true
  28733. type: integer
  28734. - description: 页码
  28735. in: query
  28736. name: page
  28737. type: integer
  28738. - description: 每页条数
  28739. in: query
  28740. name: pagesize
  28741. type: integer
  28742. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  28743. in: query
  28744. name: applystatus
  28745. type: integer
  28746. - description: 查询类型 - 0:我的询价 1:我订单的询价
  28747. in: query
  28748. name: type
  28749. type: integer
  28750. - description: 买委托单ID
  28751. in: query
  28752. name: buywrtradeorderid
  28753. type: string
  28754. produces:
  28755. - application/json
  28756. responses:
  28757. "200":
  28758. description: OK
  28759. schema:
  28760. items:
  28761. $ref: '#/definitions/models.MyDelistingApply'
  28762. type: array
  28763. "500":
  28764. description: Internal Server Error
  28765. schema:
  28766. $ref: '#/definitions/app.Response'
  28767. security:
  28768. - ApiKeyAuth: []
  28769. - LoginID: []
  28770. - Group: []
  28771. summary: 查询询价-出售
  28772. tags:
  28773. - 广钻
  28774. /Guangzuan/QueryMyFavorite:
  28775. get:
  28776. parameters:
  28777. - description: 用户ID
  28778. in: query
  28779. name: userid
  28780. required: true
  28781. type: integer
  28782. - description: 页码
  28783. in: query
  28784. name: page
  28785. type: integer
  28786. - description: 每页条数
  28787. in: query
  28788. name: pagesize
  28789. type: integer
  28790. - description: 钻石分类, 格式:1,2,3
  28791. in: query
  28792. name: zscategorys
  28793. type: string
  28794. produces:
  28795. - application/json
  28796. responses:
  28797. "200":
  28798. description: OK
  28799. schema:
  28800. items:
  28801. $ref: '#/definitions/models.MyFavorite'
  28802. type: array
  28803. "500":
  28804. description: Internal Server Error
  28805. schema:
  28806. $ref: '#/definitions/app.Response'
  28807. security:
  28808. - ApiKeyAuth: []
  28809. - LoginID: []
  28810. - Group: []
  28811. summary: 查询我的收藏
  28812. tags:
  28813. - 广钻
  28814. /Guangzuan/QueryMyPerformanc:
  28815. get:
  28816. parameters:
  28817. - description: 用户ID
  28818. in: query
  28819. name: userid
  28820. required: true
  28821. type: integer
  28822. - description: 页码
  28823. in: query
  28824. name: page
  28825. type: integer
  28826. - description: 每页条数
  28827. in: query
  28828. name: pagesize
  28829. type: integer
  28830. - description: 商品(查询字段-模糊查询)
  28831. in: query
  28832. name: zsallproperties
  28833. type: string
  28834. - description: 方向,0-买 1-卖
  28835. in: query
  28836. name: buyorsell
  28837. type: integer
  28838. - description: 是否历史查询
  28839. in: query
  28840. name: ishis
  28841. type: boolean
  28842. - description: 开始交易日(yyyymmdd)
  28843. in: query
  28844. name: begindate
  28845. type: string
  28846. - description: 结束交易日(yyyymmdd)
  28847. in: query
  28848. name: enddate
  28849. type: string
  28850. produces:
  28851. - application/json
  28852. responses:
  28853. "200":
  28854. description: OK
  28855. schema:
  28856. items:
  28857. $ref: '#/definitions/models.MyPerformanc'
  28858. type: array
  28859. "500":
  28860. description: Internal Server Error
  28861. schema:
  28862. $ref: '#/definitions/app.Response'
  28863. security:
  28864. - ApiKeyAuth: []
  28865. - LoginID: []
  28866. - Group: []
  28867. summary: 查询我的履约
  28868. tags:
  28869. - 广钻
  28870. /Guangzuan/QueryMySellOrder:
  28871. get:
  28872. parameters:
  28873. - description: 用户ID
  28874. in: query
  28875. name: userid
  28876. required: true
  28877. type: integer
  28878. - description: 页码
  28879. in: query
  28880. name: page
  28881. type: integer
  28882. - description: 每页条数
  28883. in: query
  28884. name: pagesize
  28885. type: integer
  28886. - description: 商品(查询字段-模糊查询)
  28887. in: query
  28888. name: zsallproperties
  28889. type: string
  28890. - description: 钻石分类, 格式:1,2,3
  28891. in: query
  28892. name: zscategorys
  28893. type: string
  28894. - description: 委托单号
  28895. in: query
  28896. name: wrtradeorderid
  28897. type: integer
  28898. - description: 是否历史查询
  28899. in: query
  28900. name: ishis
  28901. type: boolean
  28902. - description: 开始交易日(yyyymmdd)
  28903. in: query
  28904. name: begindate
  28905. type: string
  28906. - description: 结束交易日(yyyymmdd)
  28907. in: query
  28908. name: enddate
  28909. type: string
  28910. produces:
  28911. - application/json
  28912. responses:
  28913. "200":
  28914. description: OK
  28915. schema:
  28916. items:
  28917. $ref: '#/definitions/models.MySellOrder'
  28918. type: array
  28919. "500":
  28920. description: Internal Server Error
  28921. schema:
  28922. $ref: '#/definitions/app.Response'
  28923. security:
  28924. - ApiKeyAuth: []
  28925. - LoginID: []
  28926. - Group: []
  28927. summary: 查询我的出售
  28928. tags:
  28929. - 广钻
  28930. /Guangzuan/QueryMyWRPosition:
  28931. get:
  28932. parameters:
  28933. - description: 页码
  28934. in: query
  28935. name: page
  28936. type: integer
  28937. - description: 每页条数
  28938. in: query
  28939. name: pagesize
  28940. type: integer
  28941. - description: 登录用户ID
  28942. in: query
  28943. name: wruserid
  28944. required: true
  28945. type: integer
  28946. - description: 商品(查询字段-模糊查询)
  28947. in: query
  28948. name: zsallproperties
  28949. type: string
  28950. - description: 钻石分类, 格式:1,2,3
  28951. in: query
  28952. name: zscategorys
  28953. type: string
  28954. - description: 仓库ID
  28955. in: query
  28956. name: warehouseid
  28957. type: integer
  28958. - description: 是否上架,0-全部 1-是 2-否
  28959. in: query
  28960. name: marketflag
  28961. type: integer
  28962. produces:
  28963. - application/json
  28964. responses:
  28965. "200":
  28966. description: OK
  28967. schema:
  28968. items:
  28969. $ref: '#/definitions/models.MyWRPosition'
  28970. type: array
  28971. "500":
  28972. description: Internal Server Error
  28973. schema:
  28974. $ref: '#/definitions/app.Response'
  28975. security:
  28976. - ApiKeyAuth: []
  28977. - LoginID: []
  28978. - Group: []
  28979. summary: 查询我的库存
  28980. tags:
  28981. - 广钻
  28982. /Guangzuan/QuerySellOrder:
  28983. get:
  28984. parameters:
  28985. - description: 页码
  28986. in: query
  28987. name: page
  28988. type: integer
  28989. - description: 每页条数
  28990. in: query
  28991. name: pagesize
  28992. type: integer
  28993. - description: 商品(查询字段-模糊查询)
  28994. in: query
  28995. name: zsallproperties
  28996. type: string
  28997. - description: 钻石分类, 格式:1,2,3
  28998. in: query
  28999. name: zscategorys
  29000. type: string
  29001. - description: 委托单号
  29002. in: query
  29003. name: wrtradeorderid
  29004. type: integer
  29005. - description: 卖方(查询字段-模糊查询)
  29006. in: query
  29007. name: buyusername
  29008. type: string
  29009. produces:
  29010. - application/json
  29011. responses:
  29012. "200":
  29013. description: OK
  29014. schema:
  29015. items:
  29016. $ref: '#/definitions/models.SellOrder'
  29017. type: array
  29018. "500":
  29019. description: Internal Server Error
  29020. schema:
  29021. $ref: '#/definitions/app.Response'
  29022. security:
  29023. - ApiKeyAuth: []
  29024. - LoginID: []
  29025. - Group: []
  29026. summary: 查询出售大厅委托单
  29027. tags:
  29028. - 广钻
  29029. /Guangzuan/QueryWRPositionReport:
  29030. get:
  29031. parameters:
  29032. - description: 用户ID
  29033. in: query
  29034. name: userid
  29035. required: true
  29036. type: integer
  29037. - description: 页码
  29038. in: query
  29039. name: page
  29040. type: integer
  29041. - description: 每页条数
  29042. in: query
  29043. name: pagesize
  29044. type: integer
  29045. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  29046. in: query
  29047. name: cycletype
  29048. type: string
  29049. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29050. in: query
  29051. name: begindate
  29052. required: true
  29053. type: string
  29054. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29055. in: query
  29056. name: enddate
  29057. required: true
  29058. type: string
  29059. - description: 商品分类
  29060. in: query
  29061. name: zscategory
  29062. type: integer
  29063. - description: 商品币种
  29064. in: query
  29065. name: zscurrencytype
  29066. type: integer
  29067. produces:
  29068. - application/json
  29069. responses:
  29070. "200":
  29071. description: OK
  29072. schema:
  29073. items:
  29074. $ref: '#/definitions/models.WRPositionReport'
  29075. type: array
  29076. "500":
  29077. description: Internal Server Error
  29078. schema:
  29079. $ref: '#/definitions/app.Response'
  29080. security:
  29081. - ApiKeyAuth: []
  29082. - LoginID: []
  29083. - Group: []
  29084. summary: 查询仓储报表
  29085. tags:
  29086. - 广钻
  29087. /Guangzuan/QueryWarehouseInfo:
  29088. get:
  29089. parameters:
  29090. - description: 页码
  29091. in: query
  29092. name: page
  29093. type: integer
  29094. - description: 每页条数
  29095. in: query
  29096. name: pagesize
  29097. type: integer
  29098. - description: 用户ID
  29099. in: query
  29100. name: userid
  29101. required: true
  29102. type: integer
  29103. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  29104. in: query
  29105. name: status
  29106. type: string
  29107. - description: 是返回交易所仓库
  29108. in: query
  29109. name: isincludeexchange
  29110. type: boolean
  29111. produces:
  29112. - application/json
  29113. responses:
  29114. "200":
  29115. description: OK
  29116. schema:
  29117. items:
  29118. $ref: '#/definitions/models.GZWarehouseinfo'
  29119. type: array
  29120. "500":
  29121. description: Internal Server Error
  29122. schema:
  29123. $ref: '#/definitions/app.Response'
  29124. security:
  29125. - ApiKeyAuth: []
  29126. - LoginID: []
  29127. - Group: []
  29128. summary: 查询仓库信息
  29129. tags:
  29130. - 广钻
  29131. /Market/GetAllExExchanges:
  29132. get:
  29133. produces:
  29134. - application/json
  29135. responses:
  29136. "200":
  29137. description: OK
  29138. schema:
  29139. $ref: '#/definitions/models.Goods'
  29140. "500":
  29141. description: Internal Server Error
  29142. schema:
  29143. $ref: '#/definitions/app.Response'
  29144. security:
  29145. - ApiKeyAuth: []
  29146. summary: 获取所有外部交易所信息
  29147. tags:
  29148. - 通用市场
  29149. /Market/QueryGoodsesByLoginID:
  29150. get:
  29151. parameters:
  29152. - description: 登录账号
  29153. in: query
  29154. name: loginID
  29155. required: true
  29156. type: integer
  29157. - description: 市场ID列表,格式:1,2,3
  29158. in: query
  29159. name: marketIDs
  29160. type: string
  29161. produces:
  29162. - application/json
  29163. responses:
  29164. "200":
  29165. description: OK
  29166. schema:
  29167. $ref: '#/definitions/models.Goods'
  29168. "500":
  29169. description: Internal Server Error
  29170. schema:
  29171. $ref: '#/definitions/app.Response'
  29172. security:
  29173. - ApiKeyAuth: []
  29174. summary: 获取登录账号有权限的商品信息
  29175. tags:
  29176. - 通用市场
  29177. /Market/QueryMarketRun:
  29178. get:
  29179. parameters:
  29180. - description: 市场ID,不传返回所有
  29181. in: query
  29182. name: marketID
  29183. type: integer
  29184. produces:
  29185. - application/json
  29186. responses:
  29187. "200":
  29188. description: OK
  29189. schema:
  29190. $ref: '#/definitions/models.Marketrun'
  29191. "500":
  29192. description: Internal Server Error
  29193. schema:
  29194. $ref: '#/definitions/app.Response'
  29195. security:
  29196. - ApiKeyAuth: []
  29197. summary: 查询市场运行信息
  29198. tags:
  29199. - 通用市场
  29200. /Market/QueryMarketsByLoginID:
  29201. get:
  29202. parameters:
  29203. - description: 登录账号
  29204. in: query
  29205. name: loginID
  29206. required: true
  29207. type: integer
  29208. produces:
  29209. - application/json
  29210. responses:
  29211. "200":
  29212. description: OK
  29213. schema:
  29214. $ref: '#/definitions/models.Market'
  29215. "500":
  29216. description: Internal Server Error
  29217. schema:
  29218. $ref: '#/definitions/app.Response'
  29219. security:
  29220. - ApiKeyAuth: []
  29221. summary: 获取登录账号有权限的市场信息
  29222. tags:
  29223. - 通用市场
  29224. /Order/QueryHisTradeDetail:
  29225. get:
  29226. parameters:
  29227. - description: 资金账户 - 格式:1,2,3
  29228. in: query
  29229. name: accountID
  29230. required: true
  29231. type: string
  29232. - description: 成交单号
  29233. in: query
  29234. name: tradeID
  29235. type: integer
  29236. - description: 委托单号
  29237. in: query
  29238. name: orderID
  29239. type: integer
  29240. - description: 商品ID
  29241. in: query
  29242. name: goodsID
  29243. type: integer
  29244. - description: 交易模式 - 格式:1,2,3
  29245. in: query
  29246. name: tradeMode
  29247. type: string
  29248. - description: 委托单据类型
  29249. in: query
  29250. name: buildType
  29251. type: integer
  29252. - description: 成交类别 - 格式:1,2,3
  29253. in: query
  29254. name: tradeType
  29255. type: string
  29256. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  29257. in: query
  29258. name: startDate
  29259. type: string
  29260. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  29261. in: query
  29262. name: endDate
  29263. type: string
  29264. produces:
  29265. - application/json
  29266. responses:
  29267. "200":
  29268. description: OK
  29269. schema:
  29270. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  29271. "500":
  29272. description: Internal Server Error
  29273. schema:
  29274. $ref: '#/definitions/app.Response'
  29275. security:
  29276. - ApiKeyAuth: []
  29277. summary: 历史成交单查询(合约市场)
  29278. tags:
  29279. - 通用单据
  29280. /Order/QueryHisTradeOrderDetail:
  29281. get:
  29282. parameters:
  29283. - description: 资金账户 - 格式:1,2,3
  29284. in: query
  29285. name: accountID
  29286. required: true
  29287. type: string
  29288. - description: 交易模式 - 格式:1,2,3
  29289. in: query
  29290. name: tradeMode
  29291. type: string
  29292. - description: 委托状态 - 格式:1,2,3
  29293. in: query
  29294. name: orderStatus
  29295. type: string
  29296. - description: 委托单号
  29297. in: query
  29298. name: orderID
  29299. type: integer
  29300. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  29301. in: query
  29302. name: startDate
  29303. type: string
  29304. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  29305. in: query
  29306. name: endDate
  29307. type: string
  29308. produces:
  29309. - application/json
  29310. responses:
  29311. "200":
  29312. description: OK
  29313. schema:
  29314. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  29315. "500":
  29316. description: Internal Server Error
  29317. schema:
  29318. $ref: '#/definitions/app.Response'
  29319. security:
  29320. - ApiKeyAuth: []
  29321. summary: 历史委托单查询请求(合约市场)
  29322. tags:
  29323. - 通用单据
  29324. /Order/QueryTradeDetail:
  29325. get:
  29326. parameters:
  29327. - description: 资金账户 - 格式:1,2,3
  29328. in: query
  29329. name: accountID
  29330. required: true
  29331. type: string
  29332. - description: 成交单号
  29333. in: query
  29334. name: tradeID
  29335. type: integer
  29336. - description: 委托单号
  29337. in: query
  29338. name: orderID
  29339. type: integer
  29340. - description: 交易模式 - 格式:1,2,3
  29341. in: query
  29342. name: tradeMode
  29343. type: string
  29344. - description: 委托单据类型
  29345. in: query
  29346. name: buildType
  29347. type: integer
  29348. - description: 成交类别 - 格式:1,2,3
  29349. in: query
  29350. name: tradeType
  29351. type: string
  29352. - description: 商品ID
  29353. in: query
  29354. name: goodsID
  29355. type: integer
  29356. produces:
  29357. - application/json
  29358. responses:
  29359. "200":
  29360. description: OK
  29361. schema:
  29362. $ref: '#/definitions/order.QueryTradeDetailRsp'
  29363. "500":
  29364. description: Internal Server Error
  29365. schema:
  29366. $ref: '#/definitions/app.Response'
  29367. security:
  29368. - ApiKeyAuth: []
  29369. summary: 成交单查询(合约市场)
  29370. tags:
  29371. - 通用单据
  29372. /Order/QueryTradeHolderDetail:
  29373. get:
  29374. parameters:
  29375. - description: 用户id
  29376. in: query
  29377. name: userid
  29378. type: integer
  29379. - description: 资金账号, 格式 1,2,3
  29380. in: query
  29381. name: accids
  29382. type: string
  29383. - description: 交易模式, 格式 1,2,3
  29384. in: query
  29385. name: trademodes
  29386. type: string
  29387. - description: 市场id, 格式 1,2,3
  29388. in: query
  29389. name: marketids
  29390. type: string
  29391. - description: 商品id
  29392. in: query
  29393. name: goodsid
  29394. type: integer
  29395. - description: 买卖方向 0-买 1-卖
  29396. in: query
  29397. name: buyorsell
  29398. type: integer
  29399. produces:
  29400. - application/json
  29401. responses:
  29402. "200":
  29403. description: OK
  29404. schema:
  29405. items:
  29406. $ref: '#/definitions/models.TradeHolderDetail'
  29407. type: array
  29408. "500":
  29409. description: Internal Server Error
  29410. schema:
  29411. $ref: '#/definitions/app.Response'
  29412. security:
  29413. - ApiKeyAuth: []
  29414. summary: 查询持仓明细
  29415. tags:
  29416. - 通用单据
  29417. /Order/QueryTradeOrderDetail:
  29418. get:
  29419. parameters:
  29420. - description: 资金账户 - 格式:1,2,3
  29421. in: query
  29422. name: accountID
  29423. required: true
  29424. type: string
  29425. - description: 交易模式 - 格式:1,2,3
  29426. in: query
  29427. name: tradeMode
  29428. type: string
  29429. - description: 委托状态 - 格式:1,2,3
  29430. in: query
  29431. name: orderStatus
  29432. type: string
  29433. - description: 委托单号
  29434. in: query
  29435. name: orderID
  29436. type: integer
  29437. produces:
  29438. - application/json
  29439. responses:
  29440. "200":
  29441. description: OK
  29442. schema:
  29443. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  29444. "500":
  29445. description: Internal Server Error
  29446. schema:
  29447. $ref: '#/definitions/app.Response'
  29448. security:
  29449. - ApiKeyAuth: []
  29450. summary: 委托单查询请求(合约市场)
  29451. tags:
  29452. - 通用单据
  29453. /Order/QueryTradePosition:
  29454. get:
  29455. parameters:
  29456. - description: 资金账户 - 格式:1,2,3
  29457. in: query
  29458. name: accountID
  29459. required: true
  29460. type: string
  29461. - description: 交易模式 - 格式:1,2,3
  29462. in: query
  29463. name: tradeMode
  29464. type: string
  29465. produces:
  29466. - application/json
  29467. responses:
  29468. "200":
  29469. description: OK
  29470. schema:
  29471. $ref: '#/definitions/order.QueryTradePositionRsp'
  29472. "500":
  29473. description: Internal Server Error
  29474. schema:
  29475. $ref: '#/definitions/app.Response'
  29476. security:
  29477. - ApiKeyAuth: []
  29478. summary: 持仓汇总查询(合约市场)
  29479. tags:
  29480. - 通用单据
  29481. /Qhj/QueryAccountInOutApply:
  29482. get:
  29483. parameters:
  29484. - description: 用户ID
  29485. in: query
  29486. name: userid
  29487. required: true
  29488. type: integer
  29489. - description: 申请起始日期(格式yyyymmdd)
  29490. in: query
  29491. name: begindate
  29492. type: string
  29493. - description: 申请截止日期(格式yyyymmdd)
  29494. in: query
  29495. name: enddate
  29496. type: string
  29497. - description: 模糊搜索名称
  29498. in: query
  29499. name: likename
  29500. type: string
  29501. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  29502. in: query
  29503. name: applystatus
  29504. type: integer
  29505. - description: 查询类型 1-提现(出金) 2-充值(入金)
  29506. in: query
  29507. name: querytype
  29508. type: integer
  29509. produces:
  29510. - application/json
  29511. responses:
  29512. "200":
  29513. description: OK
  29514. schema:
  29515. items:
  29516. $ref: '#/definitions/models.QhjAccountOutInApply'
  29517. type: array
  29518. "500":
  29519. description: Internal Server Error
  29520. schema:
  29521. $ref: '#/definitions/app.Response'
  29522. security:
  29523. - ApiKeyAuth: []
  29524. summary: 查询充值提现
  29525. tags:
  29526. - 大连千海金
  29527. /Qhj/QueryAreaFinanceConfig:
  29528. get:
  29529. parameters:
  29530. - description: 机构用户ID 其他做市关系,都设置为 1
  29531. in: query
  29532. name: userid
  29533. type: integer
  29534. produces:
  29535. - application/json
  29536. responses:
  29537. "200":
  29538. description: OK
  29539. schema:
  29540. items:
  29541. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  29542. type: array
  29543. "500":
  29544. description: Internal Server Error
  29545. schema:
  29546. $ref: '#/definitions/app.Response'
  29547. security:
  29548. - ApiKeyAuth: []
  29549. summary: 查询企业配置表
  29550. tags:
  29551. - 大连千海金
  29552. /Qhj/QueryBankAccountSign:
  29553. get:
  29554. parameters:
  29555. - description: 用户ID
  29556. in: query
  29557. name: userid
  29558. required: true
  29559. type: integer
  29560. produces:
  29561. - application/json
  29562. responses:
  29563. "200":
  29564. description: OK
  29565. schema:
  29566. items:
  29567. $ref: '#/definitions/models.QhjBankAccountSign'
  29568. type: array
  29569. "500":
  29570. description: Internal Server Error
  29571. schema:
  29572. $ref: '#/definitions/app.Response'
  29573. security:
  29574. - ApiKeyAuth: []
  29575. summary: 查询签约银行信息(提现账户管理)
  29576. tags:
  29577. - 大连千海金
  29578. /Qhj/QueryBankInfo:
  29579. get:
  29580. produces:
  29581. - application/json
  29582. responses:
  29583. "200":
  29584. description: OK
  29585. schema:
  29586. items:
  29587. $ref: '#/definitions/models.QhjBankInfo'
  29588. type: array
  29589. "500":
  29590. description: Internal Server Error
  29591. schema:
  29592. $ref: '#/definitions/app.Response'
  29593. security:
  29594. - ApiKeyAuth: []
  29595. summary: 查询开户行
  29596. tags:
  29597. - 大连千海金
  29598. /Qhj/QueryBrokerApply:
  29599. get:
  29600. parameters:
  29601. - description: 所属机构ID
  29602. in: query
  29603. name: userid
  29604. type: integer
  29605. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29606. in: query
  29607. name: filterstatus
  29608. type: string
  29609. produces:
  29610. - application/json
  29611. responses:
  29612. "200":
  29613. description: OK
  29614. schema:
  29615. items:
  29616. $ref: '#/definitions/models.QhjBrokerApply'
  29617. type: array
  29618. "500":
  29619. description: Internal Server Error
  29620. schema:
  29621. $ref: '#/definitions/app.Response'
  29622. security:
  29623. - ApiKeyAuth: []
  29624. summary: 查询经纪人申请
  29625. tags:
  29626. - 大连千海金
  29627. /Qhj/QueryBrokerApplyEx:
  29628. get:
  29629. parameters:
  29630. - description: 所属机构ID
  29631. in: query
  29632. name: userid
  29633. type: integer
  29634. produces:
  29635. - application/json
  29636. responses:
  29637. "200":
  29638. description: OK
  29639. schema:
  29640. items:
  29641. $ref: '#/definitions/models.QhjBrokerApplyEx'
  29642. type: array
  29643. "500":
  29644. description: Internal Server Error
  29645. schema:
  29646. $ref: '#/definitions/app.Response'
  29647. security:
  29648. - ApiKeyAuth: []
  29649. summary: 查询经纪人信息和申请记录
  29650. tags:
  29651. - 大连千海金
  29652. /Qhj/QueryBrokerRewardLog:
  29653. get:
  29654. parameters:
  29655. - description: 用户ID
  29656. in: query
  29657. name: userid
  29658. required: true
  29659. type: integer
  29660. - description: 开始交易日(yyyymmdd)
  29661. in: query
  29662. name: begindate
  29663. type: string
  29664. - description: 结束交易日(yyyymmdd)
  29665. in: query
  29666. name: enddate
  29667. type: string
  29668. produces:
  29669. - application/json
  29670. responses:
  29671. "200":
  29672. description: OK
  29673. schema:
  29674. items:
  29675. $ref: '#/definitions/models.QhjBrokerRewardLog'
  29676. type: array
  29677. "500":
  29678. description: Internal Server Error
  29679. schema:
  29680. $ref: '#/definitions/app.Response'
  29681. security:
  29682. - ApiKeyAuth: []
  29683. summary: 查询奖励流水(我的奖励)
  29684. tags:
  29685. - 大连千海金
  29686. /Qhj/QueryContract:
  29687. get:
  29688. parameters:
  29689. - description: 用户ID
  29690. in: query
  29691. name: userid
  29692. type: integer
  29693. - description: scf合同id
  29694. in: query
  29695. name: scfcontractid
  29696. type: integer
  29697. produces:
  29698. - application/json
  29699. responses:
  29700. "200":
  29701. description: OK
  29702. schema:
  29703. items:
  29704. $ref: '#/definitions/models.QhjContract'
  29705. type: array
  29706. "500":
  29707. description: Internal Server Error
  29708. schema:
  29709. $ref: '#/definitions/app.Response'
  29710. security:
  29711. - ApiKeyAuth: []
  29712. summary: 查询融资明细(合同)
  29713. tags:
  29714. - 大连千海金
  29715. /Qhj/QueryContractLog:
  29716. get:
  29717. parameters:
  29718. - description: scf合同id
  29719. in: query
  29720. name: scfcontractid
  29721. required: true
  29722. type: integer
  29723. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  29724. in: query
  29725. name: amounttype
  29726. type: string
  29727. produces:
  29728. - application/json
  29729. responses:
  29730. "200":
  29731. description: OK
  29732. schema:
  29733. items:
  29734. $ref: '#/definitions/models.QhjContractLog'
  29735. type: array
  29736. "500":
  29737. description: Internal Server Error
  29738. schema:
  29739. $ref: '#/definitions/app.Response'
  29740. security:
  29741. - ApiKeyAuth: []
  29742. summary: 查询融资明细流水(融资明细详情页中的流水)
  29743. tags:
  29744. - 大连千海金
  29745. /Qhj/QueryCusBankSignBank:
  29746. get:
  29747. produces:
  29748. - application/json
  29749. responses:
  29750. "200":
  29751. description: OK
  29752. schema:
  29753. items:
  29754. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  29755. type: array
  29756. "500":
  29757. description: Internal Server Error
  29758. schema:
  29759. $ref: '#/definitions/app.Response'
  29760. security:
  29761. - ApiKeyAuth: []
  29762. summary: 查询托管银行
  29763. tags:
  29764. - 大连千海金
  29765. /Qhj/QueryCustomerInfo:
  29766. get:
  29767. parameters:
  29768. - description: 用户ID
  29769. in: query
  29770. name: userid
  29771. required: true
  29772. type: integer
  29773. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  29774. in: query
  29775. name: querytype
  29776. required: true
  29777. type: integer
  29778. - description: 客户类型 1-个人 2-企业
  29779. in: query
  29780. name: userinfotype
  29781. type: integer
  29782. - description: 客户名称(模糊匹配)
  29783. in: query
  29784. name: customername
  29785. type: string
  29786. - description: 昵称(模糊匹配)
  29787. in: query
  29788. name: nickname
  29789. type: string
  29790. - description: 是否包含子级 1-包含
  29791. in: query
  29792. name: includesub
  29793. type: integer
  29794. produces:
  29795. - application/json
  29796. responses:
  29797. "200":
  29798. description: OK
  29799. schema:
  29800. items:
  29801. $ref: '#/definitions/models.QhjCustomer'
  29802. type: array
  29803. "500":
  29804. description: Internal Server Error
  29805. schema:
  29806. $ref: '#/definitions/app.Response'
  29807. security:
  29808. - ApiKeyAuth: []
  29809. summary: 查询客户资料
  29810. tags:
  29811. - 大连千海金
  29812. /Qhj/QueryGoodsEx:
  29813. get:
  29814. parameters:
  29815. - description: 商品id
  29816. in: query
  29817. name: goodsid
  29818. type: integer
  29819. produces:
  29820. - application/json
  29821. responses:
  29822. "200":
  29823. description: OK
  29824. schema:
  29825. items:
  29826. $ref: '#/definitions/models.Qhjgoodsex'
  29827. type: array
  29828. "500":
  29829. description: Internal Server Error
  29830. schema:
  29831. $ref: '#/definitions/app.Response'
  29832. security:
  29833. - ApiKeyAuth: []
  29834. summary: 交易商品扩展表
  29835. tags:
  29836. - 大连千海金
  29837. /Qhj/QueryMyTeam:
  29838. get:
  29839. parameters:
  29840. - description: 用户ID
  29841. in: query
  29842. name: userid
  29843. required: true
  29844. type: integer
  29845. produces:
  29846. - application/json
  29847. responses:
  29848. "200":
  29849. description: OK
  29850. schema:
  29851. items:
  29852. $ref: '#/definitions/models.QhjMyTeamEx'
  29853. type: array
  29854. "500":
  29855. description: Internal Server Error
  29856. schema:
  29857. $ref: '#/definitions/app.Response'
  29858. security:
  29859. - ApiKeyAuth: []
  29860. summary: 查询我的团队
  29861. tags:
  29862. - 大连千海金
  29863. /Qhj/QueryMyTeamOrder:
  29864. get:
  29865. parameters:
  29866. - description: 页码
  29867. in: query
  29868. name: page
  29869. type: integer
  29870. - description: 每页条数
  29871. in: query
  29872. name: pagesize
  29873. type: integer
  29874. - description: 用户ID
  29875. in: query
  29876. name: userid
  29877. required: true
  29878. type: integer
  29879. - description: 交易模式
  29880. in: query
  29881. name: trademode
  29882. type: integer
  29883. - description: 名称(模糊搜索账户)
  29884. in: query
  29885. name: filtername
  29886. type: string
  29887. produces:
  29888. - application/json
  29889. responses:
  29890. "200":
  29891. description: OK
  29892. schema:
  29893. items:
  29894. $ref: '#/definitions/models.QhjTeamOrder'
  29895. type: array
  29896. "500":
  29897. description: Internal Server Error
  29898. schema:
  29899. $ref: '#/definitions/app.Response'
  29900. security:
  29901. - ApiKeyAuth: []
  29902. summary: 查询团队订单(我的团队/团队订单)
  29903. tags:
  29904. - 大连千海金
  29905. /Qhj/QueryParentAreaList:
  29906. get:
  29907. parameters:
  29908. - description: 用户ID
  29909. in: query
  29910. name: userid
  29911. required: true
  29912. type: integer
  29913. produces:
  29914. - application/json
  29915. responses:
  29916. "200":
  29917. description: OK
  29918. schema:
  29919. items:
  29920. $ref: '#/definitions/models.QhjParentAreaList'
  29921. type: array
  29922. "500":
  29923. description: Internal Server Error
  29924. schema:
  29925. $ref: '#/definitions/app.Response'
  29926. security:
  29927. - ApiKeyAuth: []
  29928. summary: 查询所属机构列表
  29929. tags:
  29930. - 大连千海金
  29931. /Qhj/QueryPayOrder:
  29932. get:
  29933. parameters:
  29934. - description: 资金账号id
  29935. in: query
  29936. name: accountid
  29937. required: true
  29938. type: integer
  29939. - description: 成交单号
  29940. in: query
  29941. name: tradeid
  29942. type: integer
  29943. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  29944. in: query
  29945. name: payflag
  29946. type: string
  29947. produces:
  29948. - application/json
  29949. responses:
  29950. "200":
  29951. description: OK
  29952. schema:
  29953. items:
  29954. $ref: '#/definitions/models.QhjPayOrder'
  29955. type: array
  29956. "500":
  29957. description: Internal Server Error
  29958. schema:
  29959. $ref: '#/definitions/app.Response'
  29960. security:
  29961. - ApiKeyAuth: []
  29962. summary: 查询待付款单据
  29963. tags:
  29964. - 大连千海金
  29965. /Qhj/QueryPickArea:
  29966. get:
  29967. parameters:
  29968. - description: 用户ID
  29969. in: query
  29970. name: userid
  29971. type: integer
  29972. produces:
  29973. - application/json
  29974. responses:
  29975. "200":
  29976. description: OK
  29977. schema:
  29978. items:
  29979. $ref: '#/definitions/models.QhjPickArea'
  29980. type: array
  29981. "500":
  29982. description: Internal Server Error
  29983. schema:
  29984. $ref: '#/definitions/app.Response'
  29985. security:
  29986. - ApiKeyAuth: []
  29987. summary: 查询提货门店
  29988. tags:
  29989. - 大连千海金
  29990. /Qhj/QueryPickGoods:
  29991. get:
  29992. parameters:
  29993. - description: 交易商品id
  29994. in: query
  29995. name: goodsid
  29996. required: true
  29997. type: integer
  29998. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  29999. in: query
  30000. name: status
  30001. type: string
  30002. produces:
  30003. - application/json
  30004. responses:
  30005. "200":
  30006. description: OK
  30007. schema:
  30008. items:
  30009. $ref: '#/definitions/models.QhjPickGoods'
  30010. type: array
  30011. "500":
  30012. description: Internal Server Error
  30013. schema:
  30014. $ref: '#/definitions/app.Response'
  30015. security:
  30016. - ApiKeyAuth: []
  30017. summary: 查询提货商品
  30018. tags:
  30019. - 大连千海金
  30020. /Qhj/QueryRSTriggerLog:
  30021. get:
  30022. parameters:
  30023. - description: 用户ID
  30024. in: query
  30025. name: userid
  30026. type: integer
  30027. - description: 定投策略id
  30028. in: query
  30029. name: regularlystrategyid
  30030. type: integer
  30031. - description: 商品id
  30032. in: query
  30033. name: goodsid
  30034. type: integer
  30035. - description: 开始交易日(yyyymmdd)
  30036. in: query
  30037. name: begindate
  30038. type: string
  30039. - description: 结束交易日(yyyymmdd)
  30040. in: query
  30041. name: enddate
  30042. type: string
  30043. - description: 名称(模糊搜索账户)
  30044. in: query
  30045. name: filtername
  30046. type: string
  30047. produces:
  30048. - application/json
  30049. responses:
  30050. "200":
  30051. description: OK
  30052. schema:
  30053. items:
  30054. $ref: '#/definitions/models.QhjRSTriggerLog'
  30055. type: array
  30056. "500":
  30057. description: Internal Server Error
  30058. schema:
  30059. $ref: '#/definitions/app.Response'
  30060. security:
  30061. - ApiKeyAuth: []
  30062. summary: 查询定投记录(定投管理/详情/定投记录)
  30063. tags:
  30064. - 大连千海金
  30065. /Qhj/QueryRStrategy:
  30066. get:
  30067. parameters:
  30068. - description: 用户ID
  30069. in: query
  30070. name: userid
  30071. type: integer
  30072. - description: 商品id
  30073. in: query
  30074. name: goodsid
  30075. type: integer
  30076. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  30077. in: query
  30078. name: status
  30079. type: string
  30080. - description: 名称(模糊搜索账户)
  30081. in: query
  30082. name: filtername
  30083. type: string
  30084. produces:
  30085. - application/json
  30086. responses:
  30087. "200":
  30088. description: OK
  30089. schema:
  30090. items:
  30091. $ref: '#/definitions/models.QhjRStrategy'
  30092. type: array
  30093. "500":
  30094. description: Internal Server Error
  30095. schema:
  30096. $ref: '#/definitions/app.Response'
  30097. security:
  30098. - ApiKeyAuth: []
  30099. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  30100. tags:
  30101. - 大连千海金
  30102. /Qhj/QueryReckonPriceLog:
  30103. get:
  30104. parameters:
  30105. - description: 商品ID
  30106. in: query
  30107. name: goodsid
  30108. type: integer
  30109. - description: 交易日 格式(yyyymmdd)
  30110. in: query
  30111. name: tradedate
  30112. type: string
  30113. produces:
  30114. - application/json
  30115. responses:
  30116. "200":
  30117. description: OK
  30118. schema:
  30119. items:
  30120. $ref: '#/definitions/models.QhjReckonPriceLog'
  30121. type: array
  30122. "500":
  30123. description: Internal Server Error
  30124. schema:
  30125. $ref: '#/definitions/app.Response'
  30126. security:
  30127. - ApiKeyAuth: []
  30128. summary: 查询定投价(结算价)
  30129. tags:
  30130. - 大连千海金
  30131. /Qhj/QueryScoreLog:
  30132. get:
  30133. parameters:
  30134. - description: 用户ID
  30135. in: query
  30136. name: userid
  30137. required: true
  30138. type: integer
  30139. - description: 开始交易日(yyyymmdd)
  30140. in: query
  30141. name: begindate
  30142. type: string
  30143. - description: 结束交易日(yyyymmdd)
  30144. in: query
  30145. name: enddate
  30146. type: string
  30147. - description: 最近多少条
  30148. in: query
  30149. name: lastnum
  30150. type: integer
  30151. produces:
  30152. - application/json
  30153. responses:
  30154. "200":
  30155. description: OK
  30156. schema:
  30157. items:
  30158. $ref: '#/definitions/models.QhjScoreLog'
  30159. type: array
  30160. "500":
  30161. description: Internal Server Error
  30162. schema:
  30163. $ref: '#/definitions/app.Response'
  30164. security:
  30165. - ApiKeyAuth: []
  30166. summary: 查询积分流水(我的积分)
  30167. tags:
  30168. - 大连千海金
  30169. /Qhj/QuerySiteColumnDetail:
  30170. get:
  30171. parameters:
  30172. - description: 用户ID
  30173. in: query
  30174. name: userid
  30175. required: true
  30176. type: integer
  30177. produces:
  30178. - application/json
  30179. responses:
  30180. "200":
  30181. description: OK
  30182. schema:
  30183. items:
  30184. $ref: '#/definitions/models.QhjSiteColumnDetail'
  30185. type: array
  30186. "500":
  30187. description: Internal Server Error
  30188. schema:
  30189. $ref: '#/definitions/app.Response'
  30190. security:
  30191. - ApiKeyAuth: []
  30192. summary: 查询资讯
  30193. tags:
  30194. - 大连千海金
  30195. /Qhj/QueryTradeGoodsPickup:
  30196. get:
  30197. parameters:
  30198. - description: 用户ID
  30199. in: query
  30200. name: userid
  30201. required: true
  30202. type: integer
  30203. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  30204. 7:已拒绝 8:已撤销
  30205. in: query
  30206. name: takeorderstatus
  30207. type: integer
  30208. produces:
  30209. - application/json
  30210. responses:
  30211. "200":
  30212. description: OK
  30213. schema:
  30214. items:
  30215. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  30216. type: array
  30217. "500":
  30218. description: Internal Server Error
  30219. schema:
  30220. $ref: '#/definitions/app.Response'
  30221. security:
  30222. - ApiKeyAuth: []
  30223. summary: 查询提货
  30224. tags:
  30225. - 大连千海金
  30226. /Qhj/QueryUserCollectConfig:
  30227. get:
  30228. parameters:
  30229. - description: 用户ID
  30230. in: query
  30231. name: userid
  30232. required: true
  30233. type: integer
  30234. produces:
  30235. - application/json
  30236. responses:
  30237. "200":
  30238. description: OK
  30239. schema:
  30240. items:
  30241. $ref: '#/definitions/models.UserCollectConfig'
  30242. type: array
  30243. "500":
  30244. description: Internal Server Error
  30245. schema:
  30246. $ref: '#/definitions/app.Response'
  30247. security:
  30248. - ApiKeyAuth: []
  30249. summary: 查询提现账户设置
  30250. tags:
  30251. - 大连千海金
  30252. /Qhj/QueryUserReceiveInfo:
  30253. get:
  30254. parameters:
  30255. - description: 用户ID
  30256. in: query
  30257. name: userid
  30258. required: true
  30259. type: integer
  30260. produces:
  30261. - application/json
  30262. responses:
  30263. "200":
  30264. description: OK
  30265. schema:
  30266. items:
  30267. $ref: '#/definitions/models.UserReceiveInfo'
  30268. type: array
  30269. "500":
  30270. description: Internal Server Error
  30271. schema:
  30272. $ref: '#/definitions/app.Response'
  30273. security:
  30274. - ApiKeyAuth: []
  30275. summary: 查询收货地址信息
  30276. tags:
  30277. - 大连千海金
  30278. /QhjMgr/QueryAccountInOutApply:
  30279. get:
  30280. parameters:
  30281. - description: 查询类型 1-提现(出金) 2-充值(出金)
  30282. in: query
  30283. name: querytype
  30284. required: true
  30285. type: integer
  30286. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  30287. in: query
  30288. name: applystatus
  30289. type: integer
  30290. - description: 申请起始日期(格式yyyymmdd)
  30291. in: query
  30292. name: begindate
  30293. type: string
  30294. - description: 申请截止日期(格式yyyymmdd)
  30295. in: query
  30296. name: enddate
  30297. type: string
  30298. - description: 模糊搜索名称
  30299. in: query
  30300. name: likename
  30301. type: string
  30302. produces:
  30303. - application/json
  30304. responses:
  30305. "200":
  30306. description: OK
  30307. schema:
  30308. items:
  30309. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  30310. type: array
  30311. "500":
  30312. description: Internal Server Error
  30313. schema:
  30314. $ref: '#/definitions/app.Response'
  30315. security:
  30316. - ApiKeyAuth: []
  30317. summary: 查询充值提现
  30318. tags:
  30319. - 大连千海金(PCWeb)
  30320. /QhjMgr/QueryBrokerApply:
  30321. get:
  30322. parameters:
  30323. - description: 所属机构ID
  30324. in: query
  30325. name: userid
  30326. type: integer
  30327. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  30328. in: query
  30329. name: filterstatus
  30330. type: string
  30331. - description: 名称(模糊匹配)
  30332. in: query
  30333. name: filtername
  30334. type: string
  30335. - description: 是否包含子级 1-包含
  30336. in: query
  30337. name: includesub
  30338. type: integer
  30339. produces:
  30340. - application/json
  30341. responses:
  30342. "200":
  30343. description: OK
  30344. schema:
  30345. items:
  30346. $ref: '#/definitions/models.QhjMgrBrokerApply'
  30347. type: array
  30348. "500":
  30349. description: Internal Server Error
  30350. schema:
  30351. $ref: '#/definitions/app.Response'
  30352. security:
  30353. - ApiKeyAuth: []
  30354. summary: 查询经纪人申请
  30355. tags:
  30356. - 大连千海金(PCWeb)
  30357. /QhjMgr/QueryBrokerRewardReport:
  30358. get:
  30359. parameters:
  30360. - description: 所属机构ID
  30361. in: query
  30362. name: userid
  30363. required: true
  30364. type: integer
  30365. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  30366. in: query
  30367. name: cycletype
  30368. required: true
  30369. type: integer
  30370. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  30371. in: query
  30372. name: cycletime
  30373. required: true
  30374. type: string
  30375. - description: 名称(模糊匹配)
  30376. in: query
  30377. name: filtername
  30378. type: string
  30379. - description: 是否包含子级 1-包含
  30380. in: query
  30381. name: includesub
  30382. type: integer
  30383. produces:
  30384. - application/json
  30385. responses:
  30386. "200":
  30387. description: OK
  30388. schema:
  30389. items:
  30390. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  30391. type: array
  30392. "500":
  30393. description: Internal Server Error
  30394. schema:
  30395. $ref: '#/definitions/app.Response'
  30396. security:
  30397. - ApiKeyAuth: []
  30398. summary: 查询经纪人奖励报表(废弃)
  30399. tags:
  30400. - 大连千海金(PCWeb)
  30401. /QhjMgr/QueryContract:
  30402. get:
  30403. parameters:
  30404. - description: 用户ID
  30405. in: query
  30406. name: userid
  30407. type: integer
  30408. - description: 商品id
  30409. in: query
  30410. name: goodsid
  30411. type: integer
  30412. - description: 名称(模糊搜索账户)
  30413. in: query
  30414. name: filtername
  30415. type: string
  30416. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  30417. in: query
  30418. name: risklevel
  30419. type: string
  30420. - description: 开始交易日(yyyymmdd)
  30421. in: query
  30422. name: begindate
  30423. type: string
  30424. - description: 结束交易日(yyyymmdd)
  30425. in: query
  30426. name: enddate
  30427. type: string
  30428. produces:
  30429. - application/json
  30430. responses:
  30431. "200":
  30432. description: OK
  30433. schema:
  30434. items:
  30435. $ref: '#/definitions/models.QhjMgrContract'
  30436. type: array
  30437. "500":
  30438. description: Internal Server Error
  30439. schema:
  30440. $ref: '#/definitions/app.Response'
  30441. security:
  30442. - ApiKeyAuth: []
  30443. summary: 查询融资信息(合同)
  30444. tags:
  30445. - 大连千海金(PCWeb)
  30446. /QhjMgr/QueryCustomerInfo:
  30447. get:
  30448. parameters:
  30449. - description: 用户ID
  30450. in: query
  30451. name: userid
  30452. required: true
  30453. type: integer
  30454. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  30455. in: query
  30456. name: querytype
  30457. required: true
  30458. type: integer
  30459. - description: 客户类型 1-个人 2-企业
  30460. in: query
  30461. name: userinfotype
  30462. type: integer
  30463. - description: 客户名称(模糊匹配)
  30464. in: query
  30465. name: customername
  30466. type: string
  30467. - description: 昵称(模糊匹配)
  30468. in: query
  30469. name: nickname
  30470. type: string
  30471. - description: 所属客户经理(模糊匹配)
  30472. in: query
  30473. name: brokername
  30474. type: string
  30475. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  30476. 如0503 -5月3日)
  30477. in: query
  30478. name: birthday
  30479. type: string
  30480. - description: 是否包含子级 1-包含
  30481. in: query
  30482. name: includesub
  30483. type: integer
  30484. produces:
  30485. - application/json
  30486. responses:
  30487. "200":
  30488. description: OK
  30489. schema:
  30490. items:
  30491. $ref: '#/definitions/models.QhjMgrCustomer'
  30492. type: array
  30493. "500":
  30494. description: Internal Server Error
  30495. schema:
  30496. $ref: '#/definitions/app.Response'
  30497. security:
  30498. - ApiKeyAuth: []
  30499. summary: 查询客户资料
  30500. tags:
  30501. - 大连千海金(PCWeb)
  30502. /QhjMgr/QueryPickGoods:
  30503. get:
  30504. parameters:
  30505. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  30506. in: query
  30507. name: status
  30508. type: string
  30509. produces:
  30510. - application/json
  30511. responses:
  30512. "200":
  30513. description: OK
  30514. schema:
  30515. items:
  30516. $ref: '#/definitions/models.QhjMgrPickGoods'
  30517. type: array
  30518. "500":
  30519. description: Internal Server Error
  30520. schema:
  30521. $ref: '#/definitions/app.Response'
  30522. security:
  30523. - ApiKeyAuth: []
  30524. summary: 查询提货商品
  30525. tags:
  30526. - 大连千海金(PCWeb)
  30527. /QhjMgr/QuerySubArea:
  30528. get:
  30529. parameters:
  30530. - description: 用户ID
  30531. in: query
  30532. name: userid
  30533. required: true
  30534. type: integer
  30535. produces:
  30536. - application/json
  30537. responses:
  30538. "200":
  30539. description: OK
  30540. schema:
  30541. items:
  30542. $ref: '#/definitions/models.QhjMgrSubArea'
  30543. type: array
  30544. "500":
  30545. description: Internal Server Error
  30546. schema:
  30547. $ref: '#/definitions/app.Response'
  30548. security:
  30549. - ApiKeyAuth: []
  30550. summary: 查询子机构列表
  30551. tags:
  30552. - 大连千海金(PCWeb)
  30553. /QhjMgr/QueryTradeDetail:
  30554. get:
  30555. parameters:
  30556. - description: 用户ID
  30557. in: query
  30558. name: userid
  30559. required: true
  30560. type: integer
  30561. - description: 用户类型 1-个人 2-企业
  30562. in: query
  30563. name: userinfotype
  30564. type: integer
  30565. - description: 交易模式
  30566. in: query
  30567. name: trademode
  30568. type: integer
  30569. - description: 商品id
  30570. in: query
  30571. name: goodsid
  30572. type: integer
  30573. - description: 名称(模糊搜索账户)
  30574. in: query
  30575. name: filtername
  30576. type: string
  30577. - description: 开始交易日(yyyymmdd)
  30578. in: query
  30579. name: begindate
  30580. type: string
  30581. - description: 结束交易日(yyyymmdd)
  30582. in: query
  30583. name: enddate
  30584. type: string
  30585. - description: 是否包含子级 1-包含
  30586. in: query
  30587. name: includesub
  30588. type: integer
  30589. produces:
  30590. - application/json
  30591. responses:
  30592. "200":
  30593. description: OK
  30594. schema:
  30595. items:
  30596. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  30597. type: array
  30598. "500":
  30599. description: Internal Server Error
  30600. schema:
  30601. $ref: '#/definitions/app.Response'
  30602. security:
  30603. - ApiKeyAuth: []
  30604. summary: 查询成交明细
  30605. tags:
  30606. - 大连千海金(PCWeb)
  30607. /QhjMgr/QueryTradeOrderDetail:
  30608. get:
  30609. parameters:
  30610. - description: 用户ID
  30611. in: query
  30612. name: userid
  30613. required: true
  30614. type: integer
  30615. - description: 用户类型 1-个人 2-企业
  30616. in: query
  30617. name: userinfotype
  30618. type: integer
  30619. - description: 交易模式
  30620. in: query
  30621. name: trademode
  30622. type: integer
  30623. - description: 商品id
  30624. in: query
  30625. name: goodsid
  30626. type: integer
  30627. - description: 名称(模糊搜索账户)
  30628. in: query
  30629. name: filtername
  30630. type: string
  30631. - description: 开始交易日(yyyymmdd)
  30632. in: query
  30633. name: begindate
  30634. type: string
  30635. - description: 结束交易日(yyyymmdd)
  30636. in: query
  30637. name: enddate
  30638. type: string
  30639. - description: 是否包含子级 1-包含
  30640. in: query
  30641. name: includesub
  30642. type: integer
  30643. produces:
  30644. - application/json
  30645. responses:
  30646. "200":
  30647. description: OK
  30648. schema:
  30649. items:
  30650. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  30651. type: array
  30652. "500":
  30653. description: Internal Server Error
  30654. schema:
  30655. $ref: '#/definitions/app.Response'
  30656. security:
  30657. - ApiKeyAuth: []
  30658. summary: 查询委托明细
  30659. tags:
  30660. - 大连千海金(PCWeb)
  30661. /QhjMgr/QueryTradePayOrder:
  30662. get:
  30663. parameters:
  30664. - description: 用户ID
  30665. in: query
  30666. name: userid
  30667. required: true
  30668. type: integer
  30669. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  30670. in: query
  30671. name: payflag
  30672. type: string
  30673. - description: 用户类型 1-个人 2-企业
  30674. in: query
  30675. name: userinfotype
  30676. type: integer
  30677. - description: 交易模式
  30678. in: query
  30679. name: trademode
  30680. type: integer
  30681. - description: 商品id
  30682. in: query
  30683. name: goodsid
  30684. type: integer
  30685. - description: 名称(模糊搜索账户)
  30686. in: query
  30687. name: filtername
  30688. type: string
  30689. - description: 开始交易日(yyyymmdd)
  30690. in: query
  30691. name: begindate
  30692. type: string
  30693. - description: 结束交易日(yyyymmdd)
  30694. in: query
  30695. name: enddate
  30696. type: string
  30697. - description: 是否包含子级 1-包含
  30698. in: query
  30699. name: includesub
  30700. type: integer
  30701. produces:
  30702. - application/json
  30703. responses:
  30704. "200":
  30705. description: OK
  30706. schema:
  30707. items:
  30708. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  30709. type: array
  30710. "500":
  30711. description: Internal Server Error
  30712. schema:
  30713. $ref: '#/definitions/app.Response'
  30714. security:
  30715. - ApiKeyAuth: []
  30716. summary: 查询待付款单
  30717. tags:
  30718. - 大连千海金(PCWeb)
  30719. /QhjMgr/QueryTradePosition:
  30720. get:
  30721. parameters:
  30722. - description: 用户ID
  30723. in: query
  30724. name: userid
  30725. required: true
  30726. type: integer
  30727. - description: 用户类型 1-个人 2-企业
  30728. in: query
  30729. name: userinfotype
  30730. type: integer
  30731. - description: 交易模式
  30732. in: query
  30733. name: trademode
  30734. type: integer
  30735. - description: 商品id
  30736. in: query
  30737. name: goodsid
  30738. type: integer
  30739. - description: 名称(模糊搜索账户)
  30740. in: query
  30741. name: filtername
  30742. type: string
  30743. - description: 是否包含子级 1-包含
  30744. in: query
  30745. name: includesub
  30746. type: integer
  30747. produces:
  30748. - application/json
  30749. responses:
  30750. "200":
  30751. description: OK
  30752. schema:
  30753. items:
  30754. $ref: '#/definitions/models.QhjMgrPositionRsp'
  30755. type: array
  30756. "500":
  30757. description: Internal Server Error
  30758. schema:
  30759. $ref: '#/definitions/app.Response'
  30760. security:
  30761. - ApiKeyAuth: []
  30762. summary: 查询持仓汇总
  30763. tags:
  30764. - 大连千海金(PCWeb)
  30765. /QhjSys/QueryAgreementChangeLog:
  30766. get:
  30767. parameters:
  30768. - description: 协议ID
  30769. in: query
  30770. name: agreementid
  30771. type: integer
  30772. - description: 协议版本号
  30773. in: query
  30774. name: agreementversion
  30775. type: integer
  30776. - description: 协议类型 - 1:注册 2:登录 3:交易
  30777. in: query
  30778. name: agreementtype
  30779. type: integer
  30780. - description: 协议编号(模糊匹配)
  30781. in: query
  30782. name: agreementno
  30783. type: string
  30784. - description: 协议名称(模糊匹配)
  30785. in: query
  30786. name: agreementname
  30787. type: string
  30788. produces:
  30789. - application/json
  30790. responses:
  30791. "200":
  30792. description: OK
  30793. schema:
  30794. items:
  30795. $ref: '#/definitions/models.QhjAgreementChangeLog'
  30796. type: array
  30797. "500":
  30798. description: Internal Server Error
  30799. schema:
  30800. $ref: '#/definitions/app.Response'
  30801. security:
  30802. - ApiKeyAuth: []
  30803. summary: 查询协议配置变更流水
  30804. tags:
  30805. - 大连千海金(协议和签约信息)
  30806. /QhjSys/QueryAgreementConfig:
  30807. get:
  30808. parameters:
  30809. - description: 协议ID
  30810. in: query
  30811. name: agreementid
  30812. type: integer
  30813. - description: 协议版本号
  30814. in: query
  30815. name: agreementversion
  30816. type: integer
  30817. - description: 协议类型 - 1:注册 2:登录 3:交易
  30818. in: query
  30819. name: agreementtype
  30820. type: integer
  30821. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  30822. in: query
  30823. name: isvalid
  30824. type: integer
  30825. - description: 协议编号(模糊匹配)
  30826. in: query
  30827. name: agreementno
  30828. type: string
  30829. - description: 协议名称(模糊匹配)
  30830. in: query
  30831. name: agreementname
  30832. type: string
  30833. produces:
  30834. - application/json
  30835. responses:
  30836. "200":
  30837. description: OK
  30838. schema:
  30839. items:
  30840. $ref: '#/definitions/models.QhjAgreementConfig'
  30841. type: array
  30842. "500":
  30843. description: Internal Server Error
  30844. schema:
  30845. $ref: '#/definitions/app.Response'
  30846. security:
  30847. - ApiKeyAuth: []
  30848. summary: 查询协议配置
  30849. tags:
  30850. - 大连千海金(协议和签约信息)
  30851. /QhjSys/QueryCustomerSignStatus:
  30852. get:
  30853. parameters:
  30854. - description: 客户ID
  30855. in: query
  30856. name: userid
  30857. type: integer
  30858. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  30859. in: query
  30860. name: nodetype
  30861. type: integer
  30862. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30863. in: query
  30864. name: goodsid
  30865. type: integer
  30866. - description: 创建交易日(yyyyMMdd)
  30867. in: query
  30868. name: tradedate
  30869. type: string
  30870. - description: 用户名称(模糊匹配)
  30871. in: query
  30872. name: username
  30873. type: string
  30874. produces:
  30875. - application/json
  30876. responses:
  30877. "200":
  30878. description: OK
  30879. schema:
  30880. items:
  30881. $ref: '#/definitions/models.QhjCustomerSignStatus'
  30882. type: array
  30883. "500":
  30884. description: Internal Server Error
  30885. schema:
  30886. $ref: '#/definitions/app.Response'
  30887. security:
  30888. - ApiKeyAuth: []
  30889. summary: 查询客户协议签约状态
  30890. tags:
  30891. - 大连千海金(协议和签约信息)
  30892. /QhjSys/QueryNodeAgreementConfig:
  30893. get:
  30894. parameters:
  30895. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  30896. in: query
  30897. name: configid
  30898. type: integer
  30899. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  30900. in: query
  30901. name: nodetype
  30902. type: integer
  30903. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30904. in: query
  30905. name: goodsid
  30906. type: integer
  30907. - description: 协议ID
  30908. in: query
  30909. name: agreementid
  30910. type: integer
  30911. - description: 协议类型 - 1:注册 2:登录 3:交易
  30912. in: query
  30913. name: agreementtype
  30914. type: integer
  30915. - description: 协议版本号
  30916. in: query
  30917. name: agreementversion
  30918. type: integer
  30919. - description: 协议编号(模糊匹配)
  30920. in: query
  30921. name: agreementno
  30922. type: string
  30923. - description: 协议名称(模糊匹配)
  30924. in: query
  30925. name: agreementname
  30926. type: string
  30927. produces:
  30928. - application/json
  30929. responses:
  30930. "200":
  30931. description: OK
  30932. schema:
  30933. items:
  30934. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  30935. type: array
  30936. "500":
  30937. description: Internal Server Error
  30938. schema:
  30939. $ref: '#/definitions/app.Response'
  30940. security:
  30941. - ApiKeyAuth: []
  30942. summary: 查询协议节点配置
  30943. tags:
  30944. - 大连千海金(协议和签约信息)
  30945. /QhjSys/QueryQhjCustomerSignLog:
  30946. get:
  30947. parameters:
  30948. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  30949. in: query
  30950. name: logid
  30951. type: integer
  30952. - description: 客户ID
  30953. in: query
  30954. name: userid
  30955. type: integer
  30956. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  30957. in: query
  30958. name: nodetype
  30959. type: integer
  30960. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30961. in: query
  30962. name: goodsid
  30963. type: integer
  30964. - description: 协议ID
  30965. in: query
  30966. name: agreementid
  30967. type: integer
  30968. - description: 用户名称(模糊匹配)
  30969. in: query
  30970. name: username
  30971. type: string
  30972. - description: 协议编号(模糊匹配)
  30973. in: query
  30974. name: agreementno
  30975. type: string
  30976. - description: 协议名称(模糊匹配)
  30977. in: query
  30978. name: agreementname
  30979. type: string
  30980. produces:
  30981. - application/json
  30982. responses:
  30983. "200":
  30984. description: OK
  30985. schema:
  30986. items:
  30987. $ref: '#/definitions/models.QhjCustomerSignLog'
  30988. type: array
  30989. "500":
  30990. description: Internal Server Error
  30991. schema:
  30992. $ref: '#/definitions/app.Response'
  30993. security:
  30994. - ApiKeyAuth: []
  30995. summary: 查询客户协议签约流水
  30996. tags:
  30997. - 大连千海金(协议和签约信息)
  30998. /QhjSys/QueryUserNodeCfgAndStatus:
  30999. get:
  31000. parameters:
  31001. - description: 客户ID
  31002. in: query
  31003. name: userid
  31004. type: integer
  31005. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  31006. in: query
  31007. name: configid
  31008. type: integer
  31009. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  31010. in: query
  31011. name: nodetype
  31012. type: string
  31013. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31014. in: query
  31015. name: goodsid
  31016. type: integer
  31017. - description: 协议ID
  31018. in: query
  31019. name: agreementid
  31020. type: integer
  31021. - description: 协议类型 - 1:注册 2:登录 3:交易
  31022. in: query
  31023. name: agreementtype
  31024. type: integer
  31025. - description: 协议版本号
  31026. in: query
  31027. name: agreementversion
  31028. type: integer
  31029. - description: 协议编号(模糊匹配)
  31030. in: query
  31031. name: agreementno
  31032. type: string
  31033. - description: 协议名称(模糊匹配)
  31034. in: query
  31035. name: agreementname
  31036. type: string
  31037. produces:
  31038. - application/json
  31039. responses:
  31040. "200":
  31041. description: OK
  31042. schema:
  31043. items:
  31044. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  31045. type: array
  31046. "500":
  31047. description: Internal Server Error
  31048. schema:
  31049. $ref: '#/definitions/app.Response'
  31050. security:
  31051. - ApiKeyAuth: []
  31052. summary: 查询用户协议节点配置和状态
  31053. tags:
  31054. - 大连千海金(协议和签约信息)
  31055. /Quote/QueryHistoryDatas:
  31056. get:
  31057. parameters:
  31058. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  31059. 日线 12:周线 13:月线 14:年线'
  31060. in: query
  31061. name: cycleType
  31062. required: true
  31063. type: integer
  31064. - description: 商品代码
  31065. in: query
  31066. name: goodsCode
  31067. required: true
  31068. type: string
  31069. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  31070. in: query
  31071. name: startTime
  31072. type: string
  31073. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  31074. in: query
  31075. name: endTime
  31076. type: string
  31077. - description: 条数
  31078. in: query
  31079. name: count
  31080. type: integer
  31081. - description: 是否按时间顺序排序(默认为时间倒序排序)
  31082. in: query
  31083. name: isAsc
  31084. type: boolean
  31085. produces:
  31086. - application/json
  31087. responses:
  31088. "200":
  31089. description: OK
  31090. schema:
  31091. $ref: '#/definitions/quote.HistoryData'
  31092. "500":
  31093. description: Internal Server Error
  31094. schema:
  31095. $ref: '#/definitions/app.Response'
  31096. security:
  31097. - ApiKeyAuth: []
  31098. summary: 查询行情历史数据
  31099. tags:
  31100. - 行情服务
  31101. /Quote/QueryHistoryTikDatas:
  31102. get:
  31103. parameters:
  31104. - description: 商品代码
  31105. in: query
  31106. name: goodsCode
  31107. required: true
  31108. type: string
  31109. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  31110. in: query
  31111. name: startTime
  31112. type: string
  31113. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  31114. in: query
  31115. name: endTime
  31116. type: string
  31117. - description: 条数
  31118. in: query
  31119. name: count
  31120. type: integer
  31121. - description: 是否按时间顺序排序(默认为时间倒序排序)
  31122. in: query
  31123. name: isAsc
  31124. type: boolean
  31125. produces:
  31126. - application/json
  31127. responses:
  31128. "200":
  31129. description: OK
  31130. schema:
  31131. $ref: '#/definitions/quote.HistoryTikData'
  31132. "500":
  31133. description: Internal Server Error
  31134. schema:
  31135. $ref: '#/definitions/app.Response'
  31136. security:
  31137. - ApiKeyAuth: []
  31138. summary: 查询行情Tik数据
  31139. tags:
  31140. - 行情服务
  31141. /Quote/QueryQuoteDay:
  31142. get:
  31143. parameters:
  31144. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  31145. in: query
  31146. name: goodsCodes
  31147. type: string
  31148. produces:
  31149. - application/json
  31150. responses:
  31151. "200":
  31152. description: OK
  31153. schema:
  31154. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  31155. "500":
  31156. description: Internal Server Error
  31157. schema:
  31158. $ref: '#/definitions/app.Response'
  31159. security:
  31160. - ApiKeyAuth: []
  31161. summary: 获取商品盘面信息
  31162. tags:
  31163. - 行情服务
  31164. /Quote/QueryTSData:
  31165. get:
  31166. parameters:
  31167. - description: 商品代码
  31168. in: query
  31169. name: goodsCode
  31170. required: true
  31171. type: string
  31172. produces:
  31173. - application/json
  31174. responses:
  31175. "200":
  31176. description: OK
  31177. schema:
  31178. $ref: '#/definitions/quote.QueryTSDataRsp'
  31179. "500":
  31180. description: Internal Server Error
  31181. schema:
  31182. $ref: '#/definitions/app.Response'
  31183. security:
  31184. - ApiKeyAuth: []
  31185. summary: 分时图数据查询
  31186. tags:
  31187. - 行情服务
  31188. /SZDZ/QueryConvertConfig:
  31189. get:
  31190. parameters:
  31191. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  31192. 6:交易转花生米(不设置)
  31193. in: query
  31194. name: convertType
  31195. type: integer
  31196. - description: 外部商品代码[JD\PD]
  31197. in: query
  31198. name: outerGoodsCode
  31199. type: string
  31200. - description: 内部商品ID列表[交易],格式:1,2,3
  31201. in: query
  31202. name: innerGoodsIDs
  31203. type: string
  31204. produces:
  31205. - application/json
  31206. responses:
  31207. "200":
  31208. description: OK
  31209. schema:
  31210. $ref: '#/definitions/models.Szdz3convertconfig'
  31211. "500":
  31212. description: Internal Server Error
  31213. schema:
  31214. $ref: '#/definitions/app.Response'
  31215. security:
  31216. - ApiKeyAuth: []
  31217. summary: 查询交易系统转换设置
  31218. tags:
  31219. - 定制【尚志大宗】
  31220. /SZDZ/QueryConvertLog:
  31221. get:
  31222. parameters:
  31223. - description: 资金账户 - 格式:1,2,3
  31224. in: query
  31225. name: accountID
  31226. required: true
  31227. type: string
  31228. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  31229. in: query
  31230. name: startDate
  31231. type: string
  31232. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  31233. in: query
  31234. name: endDate
  31235. type: string
  31236. produces:
  31237. - application/json
  31238. responses:
  31239. "200":
  31240. description: OK
  31241. schema:
  31242. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  31243. "500":
  31244. description: Internal Server Error
  31245. schema:
  31246. $ref: '#/definitions/app.Response'
  31247. security:
  31248. - ApiKeyAuth: []
  31249. summary: 交易系统转换流水查询
  31250. tags:
  31251. - 定制【尚志大宗】
  31252. /SZDZ/QueryGoodsPickup:
  31253. get:
  31254. parameters:
  31255. - description: 资金账户 - 格式:1,2,3
  31256. in: query
  31257. name: accountID
  31258. required: true
  31259. type: string
  31260. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  31261. in: query
  31262. name: takeOrderStatus
  31263. type: integer
  31264. produces:
  31265. - application/json
  31266. responses:
  31267. "200":
  31268. description: OK
  31269. schema:
  31270. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  31271. "500":
  31272. description: Internal Server Error
  31273. schema:
  31274. $ref: '#/definitions/app.Response'
  31275. security:
  31276. - ApiKeyAuth: []
  31277. summary: 商品提货单查询
  31278. tags:
  31279. - 定制【尚志大宗】
  31280. /SZDZ/QueryRecieptOrder:
  31281. get:
  31282. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  31283. parameters:
  31284. - description: 页码
  31285. in: query
  31286. name: page
  31287. type: integer
  31288. - description: 每页条数
  31289. in: query
  31290. name: pagesize
  31291. type: integer
  31292. - description: 商品ID
  31293. in: query
  31294. name: goodsID
  31295. required: true
  31296. type: integer
  31297. - description: 所属账户名称
  31298. in: query
  31299. name: accountName
  31300. type: string
  31301. - description: 市场ID
  31302. in: query
  31303. name: marketID
  31304. type: integer
  31305. - description: 方向 - 0:买 1:卖
  31306. in: query
  31307. name: buyorsell
  31308. required: true
  31309. type: integer
  31310. produces:
  31311. - application/json
  31312. responses:
  31313. "200":
  31314. description: OK
  31315. schema:
  31316. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  31317. "500":
  31318. description: Internal Server Error
  31319. schema:
  31320. $ref: '#/definitions/app.Response'
  31321. security:
  31322. - ApiKeyAuth: []
  31323. summary: 点选挂牌委托单据查询(摘牌大厅)
  31324. tags:
  31325. - 定制【尚志大宗】
  31326. /SZDZ/QuerySZDZTradePosition:
  31327. get:
  31328. parameters:
  31329. - description: 资金账户
  31330. in: query
  31331. name: accountID
  31332. required: true
  31333. type: integer
  31334. produces:
  31335. - application/json
  31336. responses:
  31337. "200":
  31338. description: OK
  31339. schema:
  31340. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  31341. "500":
  31342. description: Internal Server Error
  31343. schema:
  31344. $ref: '#/definitions/app.Response'
  31345. security:
  31346. - ApiKeyAuth: []
  31347. summary: 持仓汇总查询(尚志大宗)
  31348. tags:
  31349. - 定制【尚志大宗】
  31350. /SZDZ/SearchWhite:
  31351. get:
  31352. parameters:
  31353. - description: 用户ID
  31354. in: query
  31355. name: userID
  31356. required: true
  31357. type: integer
  31358. produces:
  31359. - application/json
  31360. responses:
  31361. "200":
  31362. description: OK
  31363. schema:
  31364. $ref: '#/definitions/models.Szdz3searchwhitelist'
  31365. "500":
  31366. description: Internal Server Error
  31367. schema:
  31368. $ref: '#/definitions/app.Response'
  31369. security:
  31370. - ApiKeyAuth: []
  31371. summary: 搜索白名单
  31372. tags:
  31373. - 定制【尚志大宗】
  31374. /Search/SearchGoodses:
  31375. get:
  31376. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  31377. parameters:
  31378. - description: 检索内容
  31379. in: query
  31380. name: content
  31381. required: true
  31382. type: string
  31383. - description: 交易模式,格式:1,2,3
  31384. in: query
  31385. name: tradeModes
  31386. type: string
  31387. produces:
  31388. - application/json
  31389. responses:
  31390. "200":
  31391. description: OK
  31392. schema:
  31393. $ref: '#/definitions/models.SearchGoods'
  31394. "500":
  31395. description: Internal Server Error
  31396. schema:
  31397. $ref: '#/definitions/app.Response'
  31398. summary: 检索商品信息
  31399. tags:
  31400. - 检索服务
  31401. /TaAccount/GetTaAccounts:
  31402. get:
  31403. parameters:
  31404. - description: 登录账户
  31405. in: query
  31406. name: loginID
  31407. required: true
  31408. type: integer
  31409. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  31410. in: query
  31411. name: taAccountType
  31412. type: integer
  31413. produces:
  31414. - application/json
  31415. responses:
  31416. "200":
  31417. description: OK
  31418. schema:
  31419. $ref: '#/definitions/models.Taaccount'
  31420. "500":
  31421. description: Internal Server Error
  31422. schema:
  31423. $ref: '#/definitions/app.Response'
  31424. security:
  31425. - ApiKeyAuth: []
  31426. summary: 获取资金账户信息
  31427. tags:
  31428. - 资金账户
  31429. /TaAccount/QueryAmountLog:
  31430. get:
  31431. parameters:
  31432. - description: 页码
  31433. in: query
  31434. name: page
  31435. type: integer
  31436. - description: 每页条数
  31437. in: query
  31438. name: pagesize
  31439. type: integer
  31440. - description: 资金账户 - 格式:1,2,3
  31441. in: query
  31442. name: accountID
  31443. required: true
  31444. type: string
  31445. - description: 资金操作类型 - 格式:1,2,3
  31446. in: query
  31447. name: OperateType
  31448. type: string
  31449. produces:
  31450. - application/json
  31451. responses:
  31452. "200":
  31453. description: OK
  31454. schema:
  31455. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  31456. "500":
  31457. description: Internal Server Error
  31458. schema:
  31459. $ref: '#/definitions/app.Response'
  31460. security:
  31461. - ApiKeyAuth: []
  31462. summary: 资金流水查询(当前)
  31463. tags:
  31464. - 资金账户
  31465. /TaAccount/QueryHisAmountLog:
  31466. get:
  31467. parameters:
  31468. - description: 页码
  31469. in: query
  31470. name: page
  31471. type: integer
  31472. - description: 每页条数
  31473. in: query
  31474. name: pagesize
  31475. type: integer
  31476. - description: 资金账户 - 格式:1,2,3
  31477. in: query
  31478. name: accountID
  31479. required: true
  31480. type: string
  31481. - description: 资金操作类型 - 格式:1,2,3
  31482. in: query
  31483. name: OperateType
  31484. type: string
  31485. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  31486. in: query
  31487. name: startDate
  31488. type: string
  31489. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  31490. in: query
  31491. name: endDate
  31492. type: string
  31493. produces:
  31494. - application/json
  31495. responses:
  31496. "200":
  31497. description: OK
  31498. schema:
  31499. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  31500. "500":
  31501. description: Internal Server Error
  31502. schema:
  31503. $ref: '#/definitions/app.Response'
  31504. security:
  31505. - ApiKeyAuth: []
  31506. summary: 资金流水查询(历史)
  31507. tags:
  31508. - 资金账户
  31509. /TaAccount/QueryRelatedTaAccount:
  31510. get:
  31511. parameters:
  31512. - description: 关联UserID
  31513. in: query
  31514. name: relateduserid
  31515. required: true
  31516. type: integer
  31517. produces:
  31518. - application/json
  31519. responses:
  31520. "200":
  31521. description: OK
  31522. schema:
  31523. items:
  31524. $ref: '#/definitions/models.RelatedTaAccount'
  31525. type: array
  31526. "500":
  31527. description: Internal Server Error
  31528. schema:
  31529. $ref: '#/definitions/app.Response'
  31530. security:
  31531. - ApiKeyAuth: []
  31532. summary: 查询关联资金账户信息
  31533. tags:
  31534. - 资金账户
  31535. /Tjmd/QueryQuoteGoodsList:
  31536. get:
  31537. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  31538. parameters:
  31539. - description: 用户类型
  31540. in: query
  31541. name: usertype
  31542. required: true
  31543. type: integer
  31544. - description: 市场id, 格式 1,2,3
  31545. in: query
  31546. name: marketids
  31547. type: string
  31548. - description: 商品组id
  31549. in: query
  31550. name: goodsgroupid
  31551. type: integer
  31552. - description: 商品id
  31553. in: query
  31554. name: goodsid
  31555. type: integer
  31556. produces:
  31557. - application/json
  31558. responses:
  31559. "200":
  31560. description: OK
  31561. schema:
  31562. items:
  31563. $ref: '#/definitions/models.TjmdQuoteGoods'
  31564. type: array
  31565. "500":
  31566. description: Internal Server Error
  31567. schema:
  31568. $ref: '#/definitions/app.Response'
  31569. security:
  31570. - ApiKeyAuth: []
  31571. summary: 查询掉期报价列表
  31572. tags:
  31573. - 天津麦顿
  31574. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  31575. get:
  31576. parameters:
  31577. - description: 成交单号
  31578. in: query
  31579. name: tradeid
  31580. required: true
  31581. type: string
  31582. produces:
  31583. - application/json
  31584. responses:
  31585. "200":
  31586. description: OK
  31587. schema:
  31588. items:
  31589. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  31590. type: array
  31591. "500":
  31592. description: Internal Server Error
  31593. schema:
  31594. $ref: '#/definitions/app.Response'
  31595. security:
  31596. - ApiKeyAuth: []
  31597. summary: 掉期商品订单详情(交易确认书)
  31598. tags:
  31599. - 天津麦顿
  31600. /Tjmd/QueryTjmdMarketSection:
  31601. get:
  31602. produces:
  31603. - application/json
  31604. responses:
  31605. "200":
  31606. description: OK
  31607. schema:
  31608. items:
  31609. $ref: '#/definitions/models.TjmdMarketSection'
  31610. type: array
  31611. "500":
  31612. description: Internal Server Error
  31613. schema:
  31614. $ref: '#/definitions/app.Response'
  31615. security:
  31616. - ApiKeyAuth: []
  31617. summary: 查询市场板块
  31618. tags:
  31619. - 天津麦顿
  31620. /Tjmd/QueryTjmdTodayAccountMargin:
  31621. get:
  31622. parameters:
  31623. - description: 市场id
  31624. in: query
  31625. name: marketid
  31626. type: string
  31627. - description: 商品id
  31628. in: query
  31629. name: goodsid
  31630. type: string
  31631. - description: 资金账号
  31632. in: query
  31633. name: accountid
  31634. type: string
  31635. produces:
  31636. - application/json
  31637. responses:
  31638. "200":
  31639. description: OK
  31640. schema:
  31641. items:
  31642. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  31643. type: array
  31644. "500":
  31645. description: Internal Server Error
  31646. schema:
  31647. $ref: '#/definitions/app.Response'
  31648. security:
  31649. - ApiKeyAuth: []
  31650. summary: 查询今日账户保证金配置
  31651. tags:
  31652. - 天津麦顿
  31653. /Tjmd/QueryTjmdTradeOrderDetail:
  31654. get:
  31655. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  31656. parameters:
  31657. - description: 页码
  31658. in: query
  31659. name: page
  31660. type: integer
  31661. - description: 每页条数
  31662. in: query
  31663. name: pagesize
  31664. type: integer
  31665. - description: 用户id
  31666. in: query
  31667. name: userid
  31668. required: true
  31669. type: integer
  31670. - description: 用户类型
  31671. in: query
  31672. name: usertype
  31673. required: true
  31674. type: integer
  31675. - description: 市场id, 格式 1,2,3
  31676. in: query
  31677. name: marketids
  31678. type: string
  31679. - description: 商品id
  31680. in: query
  31681. name: goodsid
  31682. required: true
  31683. type: integer
  31684. - description: 买卖方向 0-买 1-卖
  31685. in: query
  31686. name: buyorsell
  31687. required: true
  31688. type: integer
  31689. produces:
  31690. - application/json
  31691. responses:
  31692. "200":
  31693. description: OK
  31694. schema:
  31695. items:
  31696. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  31697. type: array
  31698. "500":
  31699. description: Internal Server Error
  31700. schema:
  31701. $ref: '#/definitions/app.Response'
  31702. security:
  31703. - ApiKeyAuth: []
  31704. summary: 查询掉期买卖大厅
  31705. tags:
  31706. - 天津麦顿
  31707. /Tjmd/QueryTjmdTransferApply:
  31708. get:
  31709. parameters:
  31710. - description: 类型 1-我的申请 2-对方申请
  31711. in: query
  31712. name: applytype
  31713. required: true
  31714. type: integer
  31715. - description: 市场id, 格式 1,2,3
  31716. in: query
  31717. name: marketids
  31718. type: string
  31719. - description: 资金账号, 格式 25000000001,25000000003
  31720. in: query
  31721. name: accountids
  31722. type: string
  31723. - description: 开始交易日(yyyymmdd)
  31724. in: query
  31725. name: begindate
  31726. type: string
  31727. - description: 结束交易日(yyyymmdd)
  31728. in: query
  31729. name: enddate
  31730. type: string
  31731. produces:
  31732. - application/json
  31733. responses:
  31734. "200":
  31735. description: OK
  31736. schema:
  31737. items:
  31738. $ref: '#/definitions/models.TjmdTransferApply'
  31739. type: array
  31740. "500":
  31741. description: Internal Server Error
  31742. schema:
  31743. $ref: '#/definitions/app.Response'
  31744. security:
  31745. - ApiKeyAuth: []
  31746. summary: 查询掉期协议单
  31747. tags:
  31748. - 天津麦顿
  31749. /Trade/QueryRecieptOrder:
  31750. get:
  31751. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  31752. parameters:
  31753. - description: 页码
  31754. in: query
  31755. name: page
  31756. type: integer
  31757. - description: 每页条数
  31758. in: query
  31759. name: pagesize
  31760. type: integer
  31761. - description: 商品ID
  31762. in: query
  31763. name: goodsID
  31764. required: true
  31765. type: integer
  31766. - description: 所属账户名称
  31767. in: query
  31768. name: accountName
  31769. type: string
  31770. - description: 市场ID
  31771. in: query
  31772. name: marketID
  31773. type: integer
  31774. - description: 方向 - 0:买 1:卖
  31775. in: query
  31776. name: buyorsell
  31777. required: true
  31778. type: integer
  31779. produces:
  31780. - application/json
  31781. responses:
  31782. "200":
  31783. description: OK
  31784. schema:
  31785. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  31786. "500":
  31787. description: Internal Server Error
  31788. schema:
  31789. $ref: '#/definitions/app.Response'
  31790. security:
  31791. - ApiKeyAuth: []
  31792. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  31793. tags:
  31794. - 通用交易
  31795. /User/AddMessageBoard:
  31796. post:
  31797. parameters:
  31798. - description: 用户ID
  31799. in: query
  31800. name: userID
  31801. required: true
  31802. type: integer
  31803. - description: 留言信息
  31804. in: query
  31805. name: message
  31806. required: true
  31807. type: string
  31808. - description: 联系电话
  31809. in: query
  31810. name: contactNum
  31811. required: true
  31812. type: string
  31813. produces:
  31814. - application/json
  31815. responses:
  31816. "200":
  31817. description: OK
  31818. schema:
  31819. $ref: '#/definitions/app.Response'
  31820. "500":
  31821. description: Internal Server Error
  31822. schema:
  31823. $ref: '#/definitions/app.Response'
  31824. security:
  31825. - ApiKeyAuth: []
  31826. summary: 添加用户留言板信息
  31827. tags:
  31828. - 用户信息
  31829. /User/AddUserFavoriteGoods:
  31830. post:
  31831. parameters:
  31832. - description: 用户ID
  31833. in: query
  31834. name: userID
  31835. required: true
  31836. type: integer
  31837. - description: 商品ID
  31838. in: query
  31839. name: goodsID
  31840. required: true
  31841. type: integer
  31842. produces:
  31843. - application/json
  31844. responses:
  31845. "200":
  31846. description: OK
  31847. schema:
  31848. $ref: '#/definitions/app.Response'
  31849. "500":
  31850. description: Internal Server Error
  31851. schema:
  31852. $ref: '#/definitions/app.Response'
  31853. security:
  31854. - ApiKeyAuth: []
  31855. summary: 添加用户商品收藏信息
  31856. tags:
  31857. - 用户信息
  31858. /User/GetLoginID:
  31859. get:
  31860. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  31861. parameters:
  31862. - description: 登录代码
  31863. in: query
  31864. name: username
  31865. required: true
  31866. type: string
  31867. produces:
  31868. - application/json
  31869. responses:
  31870. "200":
  31871. description: OK
  31872. schema:
  31873. $ref: '#/definitions/app.Response'
  31874. "500":
  31875. description: Internal Server Error
  31876. schema:
  31877. $ref: '#/definitions/app.Response'
  31878. summary: 获取登录ID
  31879. tags:
  31880. - 用户信息
  31881. /User/GetUserAccount:
  31882. get:
  31883. parameters:
  31884. - description: 用户ID
  31885. in: query
  31886. name: userID
  31887. required: true
  31888. type: integer
  31889. produces:
  31890. - application/json
  31891. responses:
  31892. "200":
  31893. description: OK
  31894. schema:
  31895. $ref: '#/definitions/models.Useraccount'
  31896. "500":
  31897. description: Internal Server Error
  31898. schema:
  31899. $ref: '#/definitions/app.Response'
  31900. security:
  31901. - ApiKeyAuth: []
  31902. summary: 获取用户账号信息
  31903. tags:
  31904. - 用户信息
  31905. /User/GetUserAuthStatus:
  31906. get:
  31907. parameters:
  31908. - description: 用户ID
  31909. in: query
  31910. name: userID
  31911. required: true
  31912. type: integer
  31913. produces:
  31914. - application/json
  31915. responses:
  31916. "200":
  31917. description: OK
  31918. schema:
  31919. $ref: '#/definitions/app.Response'
  31920. "500":
  31921. description: Internal Server Error
  31922. schema:
  31923. $ref: '#/definitions/app.Response'
  31924. security:
  31925. - ApiKeyAuth: []
  31926. summary: 获取用户实名认证状态
  31927. tags:
  31928. - 用户信息
  31929. /User/LoginQuery:
  31930. get:
  31931. parameters:
  31932. - description: 登录账号
  31933. in: query
  31934. name: loginID
  31935. required: true
  31936. type: integer
  31937. produces:
  31938. - application/json
  31939. responses:
  31940. "200":
  31941. description: OK
  31942. schema:
  31943. $ref: '#/definitions/user.LoginQueryRsp'
  31944. "500":
  31945. description: Internal Server Error
  31946. schema:
  31947. $ref: '#/definitions/app.Response'
  31948. security:
  31949. - ApiKeyAuth: []
  31950. summary: 账户登录后信息查询
  31951. tags:
  31952. - 用户信息
  31953. /User/QueryMessageBoard:
  31954. get:
  31955. parameters:
  31956. - description: 用户ID
  31957. in: query
  31958. name: userID
  31959. required: true
  31960. type: integer
  31961. produces:
  31962. - application/json
  31963. responses:
  31964. "200":
  31965. description: OK
  31966. schema:
  31967. $ref: '#/definitions/models.Messageboard'
  31968. "500":
  31969. description: Internal Server Error
  31970. schema:
  31971. $ref: '#/definitions/app.Response'
  31972. security:
  31973. - ApiKeyAuth: []
  31974. summary: 获取用户留言板信息
  31975. tags:
  31976. - 用户信息
  31977. /User/QueryUserFavoriteGoodses:
  31978. get:
  31979. parameters:
  31980. - description: 用户ID
  31981. in: query
  31982. name: userID
  31983. required: true
  31984. type: integer
  31985. produces:
  31986. - application/json
  31987. responses:
  31988. "200":
  31989. description: OK
  31990. schema:
  31991. $ref: '#/definitions/models.Userfavoritegoods'
  31992. "500":
  31993. description: Internal Server Error
  31994. schema:
  31995. $ref: '#/definitions/app.Response'
  31996. security:
  31997. - ApiKeyAuth: []
  31998. summary: 获取用户商品收藏信息
  31999. tags:
  32000. - 用户信息
  32001. /User/QueryUserInfo:
  32002. get:
  32003. parameters:
  32004. - description: 用户ID
  32005. in: query
  32006. name: userID
  32007. required: true
  32008. type: integer
  32009. - description: 是否解密
  32010. in: query
  32011. name: isDecrypt
  32012. type: boolean
  32013. produces:
  32014. - application/json
  32015. responses:
  32016. "200":
  32017. description: OK
  32018. schema:
  32019. $ref: '#/definitions/models.Userinfo'
  32020. "500":
  32021. description: Internal Server Error
  32022. schema:
  32023. $ref: '#/definitions/app.Response'
  32024. security:
  32025. - ApiKeyAuth: []
  32026. summary: 获取用户信息
  32027. tags:
  32028. - 用户信息
  32029. /User/QueryUserReferNum:
  32030. get:
  32031. parameters:
  32032. - description: 用户ID
  32033. in: query
  32034. name: userID
  32035. required: true
  32036. type: integer
  32037. produces:
  32038. - application/json
  32039. responses:
  32040. "200":
  32041. description: OK
  32042. schema:
  32043. $ref: '#/definitions/app.Response'
  32044. "500":
  32045. description: Internal Server Error
  32046. schema:
  32047. $ref: '#/definitions/app.Response'
  32048. summary: 获取用户邀请码
  32049. tags:
  32050. - 用户信息
  32051. /User/RemoveUserFavoriteGoods:
  32052. post:
  32053. parameters:
  32054. - description: 用户ID
  32055. in: query
  32056. name: userID
  32057. required: true
  32058. type: integer
  32059. - description: 商品ID
  32060. in: query
  32061. name: goodsID
  32062. required: true
  32063. type: integer
  32064. produces:
  32065. - application/json
  32066. responses:
  32067. "200":
  32068. description: OK
  32069. schema:
  32070. $ref: '#/definitions/app.Response'
  32071. "500":
  32072. description: Internal Server Error
  32073. schema:
  32074. $ref: '#/definitions/app.Response'
  32075. security:
  32076. - ApiKeyAuth: []
  32077. summary: 移除用户商品收藏信息
  32078. tags:
  32079. - 用户信息
  32080. /User/UpdateUserAccountStatus:
  32081. post:
  32082. parameters:
  32083. - description: 用户ID
  32084. in: query
  32085. name: userID
  32086. required: true
  32087. type: integer
  32088. - description: 账户状态 - 4:正常 6:注销(停用)
  32089. in: query
  32090. name: accountStatus
  32091. required: true
  32092. type: integer
  32093. produces:
  32094. - application/json
  32095. responses:
  32096. "200":
  32097. description: OK
  32098. schema:
  32099. $ref: '#/definitions/app.Response'
  32100. "500":
  32101. description: Internal Server Error
  32102. schema:
  32103. $ref: '#/definitions/app.Response'
  32104. security:
  32105. - ApiKeyAuth: []
  32106. summary: 更新用户状态
  32107. tags:
  32108. - 用户信息
  32109. /WRTrade/GetAllDeliveryGoods:
  32110. get:
  32111. produces:
  32112. - application/json
  32113. responses:
  32114. "200":
  32115. description: OK
  32116. schema:
  32117. $ref: '#/definitions/app.Response'
  32118. "500":
  32119. description: Internal Server Error
  32120. schema:
  32121. $ref: '#/definitions/app.Response'
  32122. security:
  32123. - ApiKeyAuth: []
  32124. summary: 获取带仓单分类的种类信息
  32125. tags:
  32126. - 仓单贸易
  32127. - 仓单贸易
  32128. /WrTrade2/InsertXhcpSellBackApply:
  32129. post:
  32130. parameters:
  32131. - description: 回收申请
  32132. in: body
  32133. name: jsonBody
  32134. required: true
  32135. schema:
  32136. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  32137. produces:
  32138. - application/json
  32139. responses:
  32140. "200":
  32141. description: OK
  32142. schema:
  32143. $ref: '#/definitions/app.Response'
  32144. "500":
  32145. description: Internal Server Error
  32146. schema:
  32147. $ref: '#/definitions/app.Response'
  32148. security:
  32149. - ApiKeyAuth: []
  32150. summary: 新增回收申请(新会陈皮)
  32151. tags:
  32152. - 仓单贸易v2
  32153. /WrTrade2/QueryDeliveryGoodsSection:
  32154. get:
  32155. produces:
  32156. - application/json
  32157. responses:
  32158. "200":
  32159. description: OK
  32160. schema:
  32161. items:
  32162. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  32163. type: array
  32164. "500":
  32165. description: Internal Server Error
  32166. schema:
  32167. $ref: '#/definitions/app.Response'
  32168. security:
  32169. - ApiKeyAuth: []
  32170. summary: 查询板块(分类)
  32171. tags:
  32172. - 仓单贸易v2
  32173. /WrTrade2/QueryFaProductDetail:
  32174. get:
  32175. description: 页面 买卖大厅 -> 选择融资方案
  32176. parameters:
  32177. - description: 仓单要素id
  32178. in: query
  32179. name: wrfactortypeid
  32180. required: true
  32181. type: integer
  32182. produces:
  32183. - application/json
  32184. responses:
  32185. "200":
  32186. description: OK
  32187. schema:
  32188. items:
  32189. $ref: '#/definitions/models.WrFAProductDetail'
  32190. type: array
  32191. "500":
  32192. description: Internal Server Error
  32193. schema:
  32194. $ref: '#/definitions/app.Response'
  32195. security:
  32196. - ApiKeyAuth: []
  32197. summary: 查询融资产品列表
  32198. tags:
  32199. - 仓单贸易v2
  32200. /WrTrade2/QueryFilterItem:
  32201. get:
  32202. parameters:
  32203. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  32204. in: query
  32205. name: itype
  32206. required: true
  32207. type: string
  32208. produces:
  32209. - application/json
  32210. responses:
  32211. "200":
  32212. description: OK
  32213. schema:
  32214. items:
  32215. $ref: '#/definitions/models.WrFilterItem'
  32216. type: array
  32217. "500":
  32218. description: Internal Server Error
  32219. schema:
  32220. $ref: '#/definitions/app.Response'
  32221. security:
  32222. - ApiKeyAuth: []
  32223. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  32224. tags:
  32225. - 仓单贸易v2
  32226. /WrTrade2/QueryFtDeliveryGoods:
  32227. get:
  32228. produces:
  32229. - application/json
  32230. responses:
  32231. "200":
  32232. description: OK
  32233. schema:
  32234. items:
  32235. $ref: '#/definitions/models.WrFtDeliveryGoods'
  32236. type: array
  32237. "500":
  32238. description: Internal Server Error
  32239. schema:
  32240. $ref: '#/definitions/app.Response'
  32241. security:
  32242. - ApiKeyAuth: []
  32243. summary: 查询品种品类筛选框列表
  32244. tags:
  32245. - 仓单贸易v2
  32246. /WrTrade2/QueryHoldLB:
  32247. get:
  32248. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  32249. parameters:
  32250. - description: 资金账号
  32251. in: query
  32252. name: accountid
  32253. required: true
  32254. type: integer
  32255. - description: 仓库id
  32256. in: query
  32257. name: warehouseid
  32258. type: integer
  32259. - description: 品种id
  32260. in: query
  32261. name: deliverygoodsid
  32262. type: integer
  32263. - description: 品类id
  32264. in: query
  32265. name: wrstandardid
  32266. type: integer
  32267. - description: 仓单要素id
  32268. in: query
  32269. name: wrfactortypeid
  32270. type: integer
  32271. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  32272. in: query
  32273. name: dgitemname
  32274. type: string
  32275. produces:
  32276. - application/json
  32277. responses:
  32278. "200":
  32279. description: OK
  32280. schema:
  32281. items:
  32282. $ref: '#/definitions/models.WrHoldLB'
  32283. type: array
  32284. "500":
  32285. description: Internal Server Error
  32286. schema:
  32287. $ref: '#/definitions/app.Response'
  32288. security:
  32289. - ApiKeyAuth: []
  32290. summary: 查询仓单持有记录
  32291. tags:
  32292. - 仓单贸易v2
  32293. /WrTrade2/QueryOrderQuote:
  32294. get:
  32295. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  32296. 唯一确定1条记录
  32297. parameters:
  32298. - description: 页码
  32299. in: query
  32300. name: page
  32301. type: integer
  32302. - description: 每页条数
  32303. in: query
  32304. name: pagesize
  32305. type: integer
  32306. - description: 仓单贸易市场id
  32307. in: query
  32308. name: marketid
  32309. type: integer
  32310. - description: 价格方式 - 1:固定价 2-浮动价
  32311. in: query
  32312. name: wrpricetype
  32313. required: true
  32314. type: integer
  32315. - description: 0:仓单预售 1:仓单贸易
  32316. in: query
  32317. name: haswr
  32318. type: integer
  32319. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  32320. in: query
  32321. name: dgitemname
  32322. type: string
  32323. - description: 仓库id(筛选条件)
  32324. in: query
  32325. name: warehouseid
  32326. type: integer
  32327. - description: 品种id
  32328. in: query
  32329. name: deliverygoodsid
  32330. type: integer
  32331. - description: 品类id
  32332. in: query
  32333. name: wrstandardid
  32334. type: integer
  32335. - description: 品牌id(dgfactoryitemid)
  32336. in: query
  32337. name: brandid
  32338. type: integer
  32339. - description: 年份id(dgfactoryitemid)
  32340. in: query
  32341. name: yearsid
  32342. type: integer
  32343. - description: 仓单要素id
  32344. in: query
  32345. name: wrfactortypeid
  32346. type: integer
  32347. - description: 交收月(yyyy-mm) 仓单预售填写
  32348. in: query
  32349. name: deliverymonth
  32350. type: string
  32351. produces:
  32352. - application/json
  32353. responses:
  32354. "200":
  32355. description: OK
  32356. schema:
  32357. items:
  32358. $ref: '#/definitions/models.WrOrderQuote'
  32359. type: array
  32360. "500":
  32361. description: Internal Server Error
  32362. schema:
  32363. $ref: '#/definitions/app.Response'
  32364. security:
  32365. - ApiKeyAuth: []
  32366. summary: 查询大厅行情列表
  32367. tags:
  32368. - 仓单贸易v2
  32369. /WrTrade2/QueryOrderQuoteDetail:
  32370. get:
  32371. parameters:
  32372. - description: 页码
  32373. in: query
  32374. name: page
  32375. type: integer
  32376. - description: 每页条数
  32377. in: query
  32378. name: pagesize
  32379. type: integer
  32380. - description: 仓单贸易市场id
  32381. in: query
  32382. name: marketid
  32383. type: integer
  32384. - description: 价格方式 - 1:固定价 2-浮动价
  32385. in: query
  32386. name: wrpricetype
  32387. required: true
  32388. type: integer
  32389. - description: 0:仓单预售 1:仓单贸易
  32390. in: query
  32391. name: haswr
  32392. type: integer
  32393. - description: 仓单要素id
  32394. in: query
  32395. name: wrfactortypeid
  32396. required: true
  32397. type: integer
  32398. - description: 期货商品id(浮动价方式时填)
  32399. in: query
  32400. name: goodsid
  32401. type: integer
  32402. - description: 买卖方向 0-买 1-卖
  32403. in: query
  32404. name: buyorsell
  32405. required: true
  32406. type: integer
  32407. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  32408. in: query
  32409. name: deliverymonth
  32410. type: string
  32411. produces:
  32412. - application/json
  32413. responses:
  32414. "200":
  32415. description: OK
  32416. schema:
  32417. items:
  32418. $ref: '#/definitions/models.WrOrderQuoteDetail'
  32419. type: array
  32420. "500":
  32421. description: Internal Server Error
  32422. schema:
  32423. $ref: '#/definitions/app.Response'
  32424. security:
  32425. - ApiKeyAuth: []
  32426. summary: 查询买卖大厅
  32427. tags:
  32428. - 仓单贸易v2
  32429. /WrTrade2/QueryOrderQuoteMyq:
  32430. get:
  32431. parameters:
  32432. - description: 页码
  32433. in: query
  32434. name: page
  32435. type: integer
  32436. - description: 每页条数
  32437. in: query
  32438. name: pagesize
  32439. type: integer
  32440. - description: 用户id
  32441. in: query
  32442. name: userid
  32443. required: true
  32444. type: integer
  32445. - description: 仓单贸易市场id
  32446. in: query
  32447. name: marketid
  32448. type: integer
  32449. - description: 0:仓单预售 1:仓单贸易
  32450. in: query
  32451. name: haswr
  32452. type: integer
  32453. - description: 买卖方向 0-买 1-卖
  32454. in: query
  32455. name: buyorsell
  32456. required: true
  32457. type: integer
  32458. - description: 品种id
  32459. in: query
  32460. name: deliverygoodsid
  32461. type: integer
  32462. - description: 品类id
  32463. in: query
  32464. name: wrstandardid
  32465. type: integer
  32466. - description: 交收月(yyyy-mm) 仓单预售填写
  32467. in: query
  32468. name: deliverymonth
  32469. type: string
  32470. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  32471. in: query
  32472. name: dgitemname
  32473. type: string
  32474. produces:
  32475. - application/json
  32476. responses:
  32477. "200":
  32478. description: OK
  32479. schema:
  32480. items:
  32481. $ref: '#/definitions/models.WrQuoteOrderMyq'
  32482. type: array
  32483. "500":
  32484. description: Internal Server Error
  32485. schema:
  32486. $ref: '#/definitions/app.Response'
  32487. security:
  32488. - ApiKeyAuth: []
  32489. summary: 查询贸易圈挂牌大厅
  32490. tags:
  32491. - 仓单贸易v2
  32492. /WrTrade2/QueryPerformancePlan:
  32493. get:
  32494. parameters:
  32495. - description: 用户id
  32496. in: query
  32497. name: userid
  32498. required: true
  32499. type: integer
  32500. - description: 买卖方向 0-买 1-卖
  32501. in: query
  32502. name: buyorsell
  32503. required: true
  32504. type: integer
  32505. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  32506. 8:释放冻结失败 9:超时待处理 10:超时关闭
  32507. in: query
  32508. name: status
  32509. type: string
  32510. - description: 开始交易日(yyyymmdd)
  32511. in: query
  32512. name: begindate
  32513. type: string
  32514. - description: 结束交易日(yyyymmdd)
  32515. in: query
  32516. name: enddate
  32517. type: string
  32518. produces:
  32519. - application/json
  32520. responses:
  32521. "200":
  32522. description: OK
  32523. schema:
  32524. items:
  32525. $ref: '#/definitions/models.WrPerformancePlan'
  32526. type: array
  32527. "500":
  32528. description: Internal Server Error
  32529. schema:
  32530. $ref: '#/definitions/app.Response'
  32531. security:
  32532. - ApiKeyAuth: []
  32533. summary: 查询履约信息
  32534. tags:
  32535. - 仓单贸易v2
  32536. /WrTrade2/QueryPermancePlanTmp:
  32537. get:
  32538. description: |-
  32539. 返回指定用户的模板和公共模板(用户id为空)
  32540. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  32541. parameters:
  32542. - description: 用户id
  32543. in: query
  32544. name: userid
  32545. type: integer
  32546. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  32547. (无仓单) 5:挂牌期权 6:竞拍-降价式
  32548. in: query
  32549. name: tmptype
  32550. type: string
  32551. - description: 是否包含公共模板(用户id为空的) 1-包含
  32552. in: query
  32553. name: includepub
  32554. type: integer
  32555. - description: 市场id(天津麦顿指定此参数,其它不用)
  32556. in: query
  32557. name: marketid
  32558. type: integer
  32559. produces:
  32560. - application/json
  32561. responses:
  32562. "200":
  32563. description: OK
  32564. schema:
  32565. items:
  32566. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  32567. type: array
  32568. "500":
  32569. description: Internal Server Error
  32570. schema:
  32571. $ref: '#/definitions/app.Response'
  32572. security:
  32573. - ApiKeyAuth: []
  32574. summary: 查询履约模板
  32575. tags:
  32576. - 仓单贸易v2
  32577. /WrTrade2/QuerySiteColumnDetail:
  32578. get:
  32579. parameters:
  32580. - description: 页码
  32581. in: query
  32582. name: page
  32583. type: integer
  32584. - description: 每页条数
  32585. in: query
  32586. name: pagesize
  32587. type: integer
  32588. - description: 所属栏目id
  32589. in: query
  32590. name: columnid
  32591. type: integer
  32592. produces:
  32593. - application/json
  32594. responses:
  32595. "200":
  32596. description: OK
  32597. schema:
  32598. items:
  32599. $ref: '#/definitions/models.WrSiteColumnDetail'
  32600. type: array
  32601. "500":
  32602. description: Internal Server Error
  32603. schema:
  32604. $ref: '#/definitions/app.Response'
  32605. security:
  32606. - ApiKeyAuth: []
  32607. summary: 查询资讯
  32608. tags:
  32609. - 仓单贸易v2
  32610. /WrTrade2/QuerySpotGroupTradeSum:
  32611. get:
  32612. produces:
  32613. - application/json
  32614. responses:
  32615. "200":
  32616. description: OK
  32617. schema:
  32618. items:
  32619. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  32620. type: array
  32621. "500":
  32622. description: Internal Server Error
  32623. schema:
  32624. $ref: '#/definitions/app.Response'
  32625. security:
  32626. - ApiKeyAuth: []
  32627. summary: 查询指数
  32628. tags:
  32629. - 仓单贸易v2
  32630. /WrTrade2/QuerySpotGroupTradeSumDetail:
  32631. get:
  32632. description: 查询的结果将会按日期 从小到大 排序
  32633. parameters:
  32634. - description: 现货商品id
  32635. in: query
  32636. name: deliverygoodsid
  32637. required: true
  32638. type: integer
  32639. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  32640. in: query
  32641. name: lastnum
  32642. type: integer
  32643. produces:
  32644. - application/json
  32645. responses:
  32646. "200":
  32647. description: OK
  32648. schema:
  32649. items:
  32650. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  32651. type: array
  32652. "500":
  32653. description: Internal Server Error
  32654. schema:
  32655. $ref: '#/definitions/app.Response'
  32656. security:
  32657. - ApiKeyAuth: []
  32658. summary: 查询指数详细(价格走势图)
  32659. tags:
  32660. - 仓单贸易v2
  32661. /WrTrade2/QueryWrAverageTradePrice:
  32662. get:
  32663. parameters:
  32664. - description: 页码
  32665. in: query
  32666. name: page
  32667. type: integer
  32668. - description: 每页条数
  32669. in: query
  32670. name: pagesize
  32671. type: integer
  32672. - description: 0:仓单预售 1:仓单贸易
  32673. in: query
  32674. name: haswr
  32675. required: true
  32676. type: integer
  32677. - description: 仓单要素id
  32678. in: query
  32679. name: wrfactortypeid
  32680. required: true
  32681. type: integer
  32682. produces:
  32683. - application/json
  32684. responses:
  32685. "200":
  32686. description: OK
  32687. schema:
  32688. items:
  32689. $ref: '#/definitions/models.WrAverageTradePrice'
  32690. type: array
  32691. "500":
  32692. description: Internal Server Error
  32693. schema:
  32694. $ref: '#/definitions/app.Response'
  32695. security:
  32696. - ApiKeyAuth: []
  32697. summary: 查询成交价(历史走势)
  32698. tags:
  32699. - 仓单贸易v2
  32700. /WrTrade2/QueryWrBrandAndYears:
  32701. get:
  32702. produces:
  32703. - application/json
  32704. responses:
  32705. "200":
  32706. description: OK
  32707. schema:
  32708. items:
  32709. $ref: '#/definitions/models.WrBrandAndYears'
  32710. type: array
  32711. "500":
  32712. description: Internal Server Error
  32713. schema:
  32714. $ref: '#/definitions/app.Response'
  32715. security:
  32716. - ApiKeyAuth: []
  32717. summary: 查询品牌和年份
  32718. tags:
  32719. - 仓单贸易v2
  32720. /WrTrade2/QueryWrBsGoodsInfo:
  32721. get:
  32722. description: 合约交易/买卖大厅/详情
  32723. parameters:
  32724. - description: 商品id
  32725. in: query
  32726. name: goodsid
  32727. required: true
  32728. type: integer
  32729. produces:
  32730. - application/json
  32731. responses:
  32732. "200":
  32733. description: OK
  32734. schema:
  32735. items:
  32736. $ref: '#/definitions/models.WrBsGoodsInfo'
  32737. type: array
  32738. "500":
  32739. description: Internal Server Error
  32740. schema:
  32741. $ref: '#/definitions/app.Response'
  32742. security:
  32743. - ApiKeyAuth: []
  32744. summary: 查询合约交易买卖大厅详情
  32745. tags:
  32746. - 仓单贸易v2
  32747. /WrTrade2/QueryWrBuybackDetail:
  32748. get:
  32749. parameters:
  32750. - description: 融资合同id
  32751. in: query
  32752. name: scfcontractid
  32753. type: integer
  32754. produces:
  32755. - application/json
  32756. responses:
  32757. "200":
  32758. description: OK
  32759. schema:
  32760. items:
  32761. $ref: '#/definitions/models.WrBuybackDetail'
  32762. type: array
  32763. "500":
  32764. description: Internal Server Error
  32765. schema:
  32766. $ref: '#/definitions/app.Response'
  32767. security:
  32768. - ApiKeyAuth: []
  32769. summary: 查询仓单回购明细
  32770. tags:
  32771. - 仓单贸易v2
  32772. /WrTrade2/QueryWrClientAdSpaceConfig:
  32773. get:
  32774. produces:
  32775. - application/json
  32776. responses:
  32777. "200":
  32778. description: OK
  32779. schema:
  32780. items:
  32781. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  32782. type: array
  32783. "500":
  32784. description: Internal Server Error
  32785. schema:
  32786. $ref: '#/definitions/app.Response'
  32787. security:
  32788. - ApiKeyAuth: []
  32789. summary: 查询固定广告配置
  32790. tags:
  32791. - 仓单贸易v2
  32792. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  32793. get:
  32794. parameters:
  32795. - description: 资金账号
  32796. in: query
  32797. name: accountid
  32798. required: true
  32799. type: integer
  32800. - description: 商品id
  32801. in: query
  32802. name: goodsid
  32803. required: true
  32804. type: integer
  32805. produces:
  32806. - application/json
  32807. responses:
  32808. "200":
  32809. description: OK
  32810. schema:
  32811. items:
  32812. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  32813. type: array
  32814. "500":
  32815. description: Internal Server Error
  32816. schema:
  32817. $ref: '#/definitions/app.Response'
  32818. security:
  32819. - ApiKeyAuth: []
  32820. summary: 查询合约交收可点选仓单
  32821. tags:
  32822. - 仓单贸易v2
  32823. /WrTrade2/QueryWrDeliveryDetail:
  32824. get:
  32825. parameters:
  32826. - description: 用户id
  32827. in: query
  32828. name: userid
  32829. required: true
  32830. type: integer
  32831. - description: 资金账号id
  32832. in: query
  32833. name: accountid
  32834. type: integer
  32835. - description: 开始交易日(yyyymmdd)
  32836. in: query
  32837. name: begindate
  32838. type: string
  32839. - description: 结束交易日(yyyymmdd)
  32840. in: query
  32841. name: enddate
  32842. type: string
  32843. produces:
  32844. - application/json
  32845. responses:
  32846. "200":
  32847. description: OK
  32848. schema:
  32849. items:
  32850. $ref: '#/definitions/models.WrDeliveryDetail'
  32851. type: array
  32852. "500":
  32853. description: Internal Server Error
  32854. schema:
  32855. $ref: '#/definitions/app.Response'
  32856. security:
  32857. - ApiKeyAuth: []
  32858. summary: 查询交收
  32859. tags:
  32860. - 仓单贸易v2
  32861. /WrTrade2/QueryWrDraftUserInfo:
  32862. get:
  32863. parameters:
  32864. - description: 用户ID
  32865. in: query
  32866. name: userid
  32867. required: true
  32868. type: integer
  32869. - description: 用户状态 1:正常 2:注销
  32870. in: query
  32871. name: userstatus
  32872. type: integer
  32873. produces:
  32874. - application/json
  32875. responses:
  32876. "200":
  32877. description: OK
  32878. schema:
  32879. items:
  32880. $ref: '#/definitions/models.WrDraftUserInfo'
  32881. type: array
  32882. "500":
  32883. description: Internal Server Error
  32884. schema:
  32885. $ref: '#/definitions/app.Response'
  32886. security:
  32887. - ApiKeyAuth: []
  32888. summary: 查询实名认证信息
  32889. tags:
  32890. - 仓单贸易v2
  32891. /WrTrade2/QueryWrFactorTypeInfo:
  32892. get:
  32893. parameters:
  32894. - description: 仓单要素id
  32895. in: query
  32896. name: wrfactortypeid
  32897. required: true
  32898. type: integer
  32899. produces:
  32900. - application/json
  32901. responses:
  32902. "200":
  32903. description: OK
  32904. schema:
  32905. items:
  32906. $ref: '#/definitions/models.WrFactorTypeInfo'
  32907. type: array
  32908. "500":
  32909. description: Internal Server Error
  32910. schema:
  32911. $ref: '#/definitions/app.Response'
  32912. security:
  32913. - ApiKeyAuth: []
  32914. summary: 查询仓单要素详细信息
  32915. tags:
  32916. - 仓单贸易v2
  32917. /WrTrade2/QueryWrFactorTypeInfoEx:
  32918. get:
  32919. parameters:
  32920. - description: 仓单要素id
  32921. in: query
  32922. name: wrfactortypeid
  32923. required: true
  32924. type: integer
  32925. produces:
  32926. - application/json
  32927. responses:
  32928. "200":
  32929. description: OK
  32930. schema:
  32931. items:
  32932. $ref: '#/definitions/models.WrTypeItem'
  32933. type: array
  32934. "500":
  32935. description: Internal Server Error
  32936. schema:
  32937. $ref: '#/definitions/app.Response'
  32938. security:
  32939. - ApiKeyAuth: []
  32940. summary: 查询仓单要素详细信息列表项
  32941. tags:
  32942. - 仓单贸易v2
  32943. /WrTrade2/QueryWrFinanceBuyApply:
  32944. get:
  32945. description: 页面 融资信息+ / 申请单
  32946. parameters:
  32947. - description: 用户id
  32948. in: query
  32949. name: userid
  32950. required: true
  32951. type: integer
  32952. produces:
  32953. - application/json
  32954. responses:
  32955. "200":
  32956. description: OK
  32957. schema:
  32958. items:
  32959. $ref: '#/definitions/models.WrFinanceBuyApply'
  32960. type: array
  32961. "500":
  32962. description: Internal Server Error
  32963. schema:
  32964. $ref: '#/definitions/app.Response'
  32965. security:
  32966. - ApiKeyAuth: []
  32967. summary: 查询融资购买申请
  32968. tags:
  32969. - 仓单贸易v2
  32970. /WrTrade2/QueryWrFriendApply:
  32971. get:
  32972. parameters:
  32973. - description: 用户id
  32974. in: query
  32975. name: userid
  32976. required: true
  32977. type: integer
  32978. produces:
  32979. - application/json
  32980. responses:
  32981. "200":
  32982. description: OK
  32983. schema:
  32984. items:
  32985. $ref: '#/definitions/models.WrFriendApply'
  32986. type: array
  32987. "500":
  32988. description: Internal Server Error
  32989. schema:
  32990. $ref: '#/definitions/app.Response'
  32991. security:
  32992. - ApiKeyAuth: []
  32993. summary: 查询好友申请记录
  32994. tags:
  32995. - 仓单贸易v2
  32996. /WrTrade2/QueryWrGoodsInfo:
  32997. get:
  32998. parameters:
  32999. - description: 仓单贸易市场id
  33000. in: query
  33001. name: marketid
  33002. type: integer
  33003. - description: 0:仓单预售 1:仓单贸易
  33004. in: query
  33005. name: haswr
  33006. required: true
  33007. type: integer
  33008. - description: 仓单要素id
  33009. in: query
  33010. name: wrfactortypeid
  33011. required: true
  33012. type: integer
  33013. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  33014. in: query
  33015. name: tmplateid
  33016. type: integer
  33017. produces:
  33018. - application/json
  33019. responses:
  33020. "200":
  33021. description: OK
  33022. schema:
  33023. items:
  33024. $ref: '#/definitions/models.WrGoodsInfo'
  33025. type: array
  33026. "500":
  33027. description: Internal Server Error
  33028. schema:
  33029. $ref: '#/definitions/app.Response'
  33030. security:
  33031. - ApiKeyAuth: []
  33032. summary: 查询仓单商品信息
  33033. tags:
  33034. - 仓单贸易v2
  33035. /WrTrade2/QueryWrMarketTradeConfig:
  33036. get:
  33037. parameters:
  33038. - description: 市场id
  33039. in: query
  33040. name: marketid
  33041. type: integer
  33042. produces:
  33043. - application/json
  33044. responses:
  33045. "200":
  33046. description: OK
  33047. schema:
  33048. items:
  33049. $ref: '#/definitions/models.WrMarketTradeConfig'
  33050. type: array
  33051. "500":
  33052. description: Internal Server Error
  33053. schema:
  33054. $ref: '#/definitions/app.Response'
  33055. security:
  33056. - ApiKeyAuth: []
  33057. summary: 查询市场交易参数配置
  33058. tags:
  33059. - 仓单贸易v2
  33060. /WrTrade2/QueryWrOrderDetail:
  33061. get:
  33062. description: 页面 现货仓单 | 预售仓单 -> 委托单
  33063. parameters:
  33064. - description: 页码
  33065. in: query
  33066. name: page
  33067. type: integer
  33068. - description: 每页条数
  33069. in: query
  33070. name: pagesize
  33071. type: integer
  33072. - description: 用户id
  33073. in: query
  33074. name: userid
  33075. required: true
  33076. type: integer
  33077. - description: 仓单贸易市场id
  33078. in: query
  33079. name: marketid
  33080. type: integer
  33081. - description: 0:仓单预售 1:仓单贸易
  33082. in: query
  33083. name: haswr
  33084. required: true
  33085. type: integer
  33086. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  33087. in: query
  33088. name: bcancel
  33089. type: integer
  33090. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  33091. in: query
  33092. name: wrtradetype
  33093. type: integer
  33094. - description: 开始交易日(yyyymmdd)
  33095. in: query
  33096. name: begindate
  33097. type: string
  33098. - description: 结束交易日(yyyymmdd)
  33099. in: query
  33100. name: enddate
  33101. type: string
  33102. produces:
  33103. - application/json
  33104. responses:
  33105. "200":
  33106. description: OK
  33107. schema:
  33108. items:
  33109. $ref: '#/definitions/models.WrOrderDetail'
  33110. type: array
  33111. "500":
  33112. description: Internal Server Error
  33113. schema:
  33114. $ref: '#/definitions/app.Response'
  33115. security:
  33116. - ApiKeyAuth: []
  33117. summary: 查询仓单委托单
  33118. tags:
  33119. - 仓单贸易v2
  33120. /WrTrade2/QueryWrOutInApply:
  33121. get:
  33122. parameters:
  33123. - description: 页码
  33124. in: query
  33125. name: page
  33126. type: integer
  33127. - description: 每页条数
  33128. in: query
  33129. name: pagesize
  33130. type: integer
  33131. - description: 用户id
  33132. in: query
  33133. name: userid
  33134. required: true
  33135. type: integer
  33136. - description: 开始交易日(yyyymmdd)
  33137. in: query
  33138. name: begindate
  33139. type: string
  33140. - description: 结束交易日(yyyymmdd)
  33141. in: query
  33142. name: enddate
  33143. type: string
  33144. produces:
  33145. - application/json
  33146. responses:
  33147. "200":
  33148. description: OK
  33149. schema:
  33150. items:
  33151. $ref: '#/definitions/models.WrOutInApply'
  33152. type: array
  33153. "500":
  33154. description: Internal Server Error
  33155. schema:
  33156. $ref: '#/definitions/app.Response'
  33157. security:
  33158. - ApiKeyAuth: []
  33159. summary: 查询提货申请
  33160. tags:
  33161. - 仓单贸易v2
  33162. /WrTrade2/QueryWrPerformancePlanStep:
  33163. get:
  33164. parameters:
  33165. - description: 履约计划id(performanceplanid)
  33166. in: query
  33167. name: planid
  33168. required: true
  33169. type: integer
  33170. - description: 当前步骤id
  33171. in: query
  33172. name: curstepid
  33173. type: integer
  33174. produces:
  33175. - application/json
  33176. responses:
  33177. "200":
  33178. description: OK
  33179. schema:
  33180. items:
  33181. $ref: '#/definitions/models.WrPerformancePlanStep'
  33182. type: array
  33183. "500":
  33184. description: Internal Server Error
  33185. schema:
  33186. $ref: '#/definitions/app.Response'
  33187. security:
  33188. - ApiKeyAuth: []
  33189. summary: 查询履约信息详情
  33190. tags:
  33191. - 仓单贸易v2
  33192. /WrTrade2/QueryWrPerformanceStepType:
  33193. get:
  33194. produces:
  33195. - application/json
  33196. responses:
  33197. "200":
  33198. description: OK
  33199. schema:
  33200. items:
  33201. $ref: '#/definitions/models.WrPerformanceStepType'
  33202. type: array
  33203. "500":
  33204. description: Internal Server Error
  33205. schema:
  33206. $ref: '#/definitions/app.Response'
  33207. security:
  33208. - ApiKeyAuth: []
  33209. summary: 查询履约步骤枚举
  33210. tags:
  33211. - 仓单贸易v2
  33212. /WrTrade2/QueryWrPosition:
  33213. get:
  33214. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  33215. parameters:
  33216. - description: 用户id
  33217. in: query
  33218. name: userid
  33219. required: true
  33220. type: integer
  33221. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  33222. in: query
  33223. name: querytype
  33224. required: true
  33225. type: integer
  33226. - description: 0:仓单预售 1:仓单贸易
  33227. in: query
  33228. name: haswr
  33229. required: true
  33230. type: integer
  33231. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  33232. in: query
  33233. name: dgitemname
  33234. type: string
  33235. - description: 仓库id(筛选条件)
  33236. in: query
  33237. name: warehouseid
  33238. type: integer
  33239. - description: 品种id
  33240. in: query
  33241. name: deliverygoodsid
  33242. type: integer
  33243. - description: 品类id
  33244. in: query
  33245. name: wrstandardid
  33246. type: integer
  33247. produces:
  33248. - application/json
  33249. responses:
  33250. "200":
  33251. description: OK
  33252. schema:
  33253. items:
  33254. $ref: '#/definitions/models.WrPosition'
  33255. type: array
  33256. "500":
  33257. description: Internal Server Error
  33258. schema:
  33259. $ref: '#/definitions/app.Response'
  33260. security:
  33261. - ApiKeyAuth: []
  33262. summary: 查询现货(预售)仓单持仓
  33263. tags:
  33264. - 仓单贸易v2
  33265. /WrTrade2/QueryWrPreSaleInfo:
  33266. get:
  33267. parameters:
  33268. - description: 市场id
  33269. in: query
  33270. name: marketid
  33271. type: integer
  33272. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  33273. in: query
  33274. name: presalestatus
  33275. type: string
  33276. - description: 摇号标识 - 0:未摇号 1:已摇号
  33277. in: query
  33278. name: lotteryflag
  33279. type: integer
  33280. - description: 最近多少条记录(按创建时间倒序)
  33281. in: query
  33282. name: lastnum
  33283. type: integer
  33284. produces:
  33285. - application/json
  33286. responses:
  33287. "200":
  33288. description: OK
  33289. schema:
  33290. items:
  33291. $ref: '#/definitions/models.WrPreSaleInfo'
  33292. type: array
  33293. "500":
  33294. description: Internal Server Error
  33295. schema:
  33296. $ref: '#/definitions/app.Response'
  33297. security:
  33298. - ApiKeyAuth: []
  33299. summary: 查询新品发布
  33300. tags:
  33301. - 仓单贸易v2
  33302. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  33303. get:
  33304. parameters:
  33305. - description: 市场id
  33306. in: query
  33307. name: marketid
  33308. required: true
  33309. type: integer
  33310. - description: 现货商品id
  33311. in: query
  33312. name: wrstandardid
  33313. required: true
  33314. type: integer
  33315. - description: 开始交易日(yyyymmdd)
  33316. in: query
  33317. name: begindate
  33318. type: string
  33319. - description: 结束交易日(yyyymmdd)
  33320. in: query
  33321. name: enddate
  33322. type: string
  33323. - description: 最近多少条记录(按交易日倒序)
  33324. in: query
  33325. name: lastnum
  33326. type: integer
  33327. - description: 是否今日
  33328. in: query
  33329. name: istoday
  33330. type: boolean
  33331. produces:
  33332. - application/json
  33333. responses:
  33334. "200":
  33335. description: OK
  33336. schema:
  33337. items:
  33338. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  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. - 仓单贸易v2
  33349. /WrTrade2/QueryWrScfContract:
  33350. get:
  33351. parameters:
  33352. - description: 用户id
  33353. in: query
  33354. name: userid
  33355. required: true
  33356. type: integer
  33357. - description: 融资合同id
  33358. in: query
  33359. name: scfcontractid
  33360. type: integer
  33361. produces:
  33362. - application/json
  33363. responses:
  33364. "200":
  33365. description: OK
  33366. schema:
  33367. items:
  33368. $ref: '#/definitions/models.WrScfContract'
  33369. type: array
  33370. "500":
  33371. description: Internal Server Error
  33372. schema:
  33373. $ref: '#/definitions/app.Response'
  33374. security:
  33375. - ApiKeyAuth: []
  33376. summary: 查询仓单贸易融资合同
  33377. tags:
  33378. - 仓单贸易v2
  33379. /WrTrade2/QueryWrScfContractInterest:
  33380. get:
  33381. parameters:
  33382. - description: 融资合同id
  33383. in: query
  33384. name: scfcontractid
  33385. type: integer
  33386. produces:
  33387. - application/json
  33388. responses:
  33389. "200":
  33390. description: OK
  33391. schema:
  33392. items:
  33393. $ref: '#/definitions/models.WrScfContractInterest'
  33394. type: array
  33395. "500":
  33396. description: Internal Server Error
  33397. schema:
  33398. $ref: '#/definitions/app.Response'
  33399. security:
  33400. - ApiKeyAuth: []
  33401. summary: 查询融资合同费用明细
  33402. tags:
  33403. - 仓单贸易v2
  33404. /WrTrade2/QueryWrSearchUser:
  33405. get:
  33406. parameters:
  33407. - description: 用户名称(模糊匹配)
  33408. in: query
  33409. name: username
  33410. required: true
  33411. type: string
  33412. produces:
  33413. - application/json
  33414. responses:
  33415. "200":
  33416. description: OK
  33417. schema:
  33418. items:
  33419. $ref: '#/definitions/models.WrSearchUser'
  33420. type: array
  33421. "500":
  33422. description: Internal Server Error
  33423. schema:
  33424. $ref: '#/definitions/app.Response'
  33425. security:
  33426. - ApiKeyAuth: []
  33427. summary: 查询用户
  33428. tags:
  33429. - 仓单贸易v2
  33430. /WrTrade2/QueryWrSpecialMatchOrder:
  33431. get:
  33432. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  33433. parameters:
  33434. - description: 页码
  33435. in: query
  33436. name: page
  33437. type: integer
  33438. - description: 每页条数
  33439. in: query
  33440. name: pagesize
  33441. type: integer
  33442. - description: 用户id
  33443. in: query
  33444. name: userid
  33445. required: true
  33446. type: integer
  33447. - description: 仓单贸易市场id
  33448. in: query
  33449. name: marketid
  33450. type: integer
  33451. - description: 0:仓单预售 1:仓单贸易
  33452. in: query
  33453. name: haswr
  33454. required: true
  33455. type: integer
  33456. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  33457. in: query
  33458. name: isspecified
  33459. type: integer
  33460. produces:
  33461. - application/json
  33462. responses:
  33463. "200":
  33464. description: OK
  33465. schema:
  33466. items:
  33467. $ref: '#/definitions/models.WrSpecialMatchOrder'
  33468. type: array
  33469. "500":
  33470. description: Internal Server Error
  33471. schema:
  33472. $ref: '#/definitions/app.Response'
  33473. security:
  33474. - ApiKeyAuth: []
  33475. summary: 查询指定成交
  33476. tags:
  33477. - 仓单贸易v2
  33478. /WrTrade2/QueryWrStandardFactoryItem:
  33479. get:
  33480. parameters:
  33481. - description: 品类id
  33482. in: query
  33483. name: wrstandardid
  33484. required: true
  33485. type: integer
  33486. produces:
  33487. - application/json
  33488. responses:
  33489. "200":
  33490. description: OK
  33491. schema:
  33492. items:
  33493. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  33494. type: array
  33495. "500":
  33496. description: Internal Server Error
  33497. schema:
  33498. $ref: '#/definitions/app.Response'
  33499. security:
  33500. - ApiKeyAuth: []
  33501. summary: 查询品类要素定义项
  33502. tags:
  33503. - 仓单贸易v2
  33504. /WrTrade2/QueryWrTradeBargainApply:
  33505. get:
  33506. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  33507. 议价->对方议价 填写matchuserid=登录用户id
  33508. parameters:
  33509. - description: 议价人id(摘牌方)
  33510. in: query
  33511. name: userid
  33512. type: integer
  33513. - description: 挂牌方id(查对方议价时,填写此项)
  33514. in: query
  33515. name: matchuserid
  33516. type: integer
  33517. - description: 关联委托单id
  33518. in: query
  33519. name: wrtradeorderid
  33520. type: integer
  33521. - description: 0:仓单预售 1:仓单贸易
  33522. in: query
  33523. name: haswr
  33524. required: true
  33525. type: integer
  33526. - description: 开始交易日(yyyymmdd)
  33527. in: query
  33528. name: begindate
  33529. type: string
  33530. - description: 结束交易日(yyyymmdd)
  33531. in: query
  33532. name: enddate
  33533. type: string
  33534. produces:
  33535. - application/json
  33536. responses:
  33537. "200":
  33538. description: OK
  33539. schema:
  33540. items:
  33541. $ref: '#/definitions/models.WRTradeBargainApply'
  33542. type: array
  33543. "500":
  33544. description: Internal Server Error
  33545. schema:
  33546. $ref: '#/definitions/app.Response'
  33547. security:
  33548. - ApiKeyAuth: []
  33549. summary: 查询议价单
  33550. tags:
  33551. - 仓单贸易v2
  33552. /WrTrade2/QueryWrTradeDetail:
  33553. get:
  33554. parameters:
  33555. - description: 页码
  33556. in: query
  33557. name: page
  33558. type: integer
  33559. - description: 每页条数
  33560. in: query
  33561. name: pagesize
  33562. type: integer
  33563. - description: 用户id
  33564. in: query
  33565. name: userid
  33566. required: true
  33567. type: integer
  33568. - description: 仓单贸易市场id
  33569. in: query
  33570. name: marketid
  33571. type: integer
  33572. - description: 0:仓单预售 1:仓单贸易
  33573. in: query
  33574. name: haswr
  33575. required: true
  33576. type: integer
  33577. - description: 开始交易日(yyyymmdd)
  33578. in: query
  33579. name: begindate
  33580. type: string
  33581. - description: 结束交易日(yyyymmdd)
  33582. in: query
  33583. name: enddate
  33584. type: string
  33585. produces:
  33586. - application/json
  33587. responses:
  33588. "200":
  33589. description: OK
  33590. schema:
  33591. items:
  33592. $ref: '#/definitions/models.WrTradeDetail'
  33593. type: array
  33594. "500":
  33595. description: Internal Server Error
  33596. schema:
  33597. $ref: '#/definitions/app.Response'
  33598. security:
  33599. - ApiKeyAuth: []
  33600. summary: 查询仓单成交明细
  33601. tags:
  33602. - 仓单贸易v2
  33603. /WrTrade2/QueryWrTradeOrderDetail:
  33604. get:
  33605. parameters:
  33606. - description: 页码
  33607. in: query
  33608. name: page
  33609. type: integer
  33610. - description: 每页条数
  33611. in: query
  33612. name: pagesize
  33613. type: integer
  33614. - description: 商品id
  33615. in: query
  33616. name: goodsid
  33617. required: true
  33618. type: integer
  33619. - description: 买卖方向 0-买 1-卖
  33620. in: query
  33621. name: buyorsell
  33622. required: true
  33623. type: integer
  33624. produces:
  33625. - application/json
  33626. responses:
  33627. "200":
  33628. description: OK
  33629. schema:
  33630. items:
  33631. $ref: '#/definitions/models.WrTradeOrderDetail'
  33632. type: array
  33633. "500":
  33634. description: Internal Server Error
  33635. schema:
  33636. $ref: '#/definitions/app.Response'
  33637. security:
  33638. - ApiKeyAuth: []
  33639. summary: 查询合约交易买卖大厅
  33640. tags:
  33641. - 仓单贸易v2
  33642. /WrTrade2/QueryWrTradeQuote:
  33643. get:
  33644. parameters:
  33645. - description: 现货商品id
  33646. in: query
  33647. name: wrstandardid
  33648. required: true
  33649. type: integer
  33650. - description: 开始日期(yyyymmdd)
  33651. in: query
  33652. name: begindate
  33653. required: true
  33654. type: string
  33655. - description: 结束日期(yyyymmdd)
  33656. in: query
  33657. name: enddate
  33658. required: true
  33659. type: string
  33660. - description: 市场id
  33661. in: query
  33662. name: marketid
  33663. type: integer
  33664. produces:
  33665. - application/json
  33666. responses:
  33667. "200":
  33668. description: OK
  33669. schema:
  33670. items:
  33671. $ref: '#/definitions/models.Wrtradetradequote'
  33672. type: array
  33673. "500":
  33674. description: Internal Server Error
  33675. schema:
  33676. $ref: '#/definitions/app.Response'
  33677. security:
  33678. - ApiKeyAuth: []
  33679. summary: 查询仓单贸易成交行情
  33680. tags:
  33681. - 仓单贸易v2
  33682. /WrTrade2/QueryWrUserFriend:
  33683. get:
  33684. parameters:
  33685. - description: 用户id
  33686. in: query
  33687. name: userid
  33688. required: true
  33689. type: integer
  33690. - description: 新朋友userid, 如果填写了此项则查找新朋友
  33691. in: query
  33692. name: newuserid
  33693. type: integer
  33694. produces:
  33695. - application/json
  33696. responses:
  33697. "200":
  33698. description: OK
  33699. schema:
  33700. items:
  33701. $ref: '#/definitions/models.WrUserFriend'
  33702. type: array
  33703. "500":
  33704. description: Internal Server Error
  33705. schema:
  33706. $ref: '#/definitions/app.Response'
  33707. security:
  33708. - ApiKeyAuth: []
  33709. summary: 查询我的朋友
  33710. tags:
  33711. - 仓单贸易v2
  33712. /WrTrade2/QueryWrUserReceiptInfo:
  33713. get:
  33714. parameters:
  33715. - description: 用户id
  33716. in: query
  33717. name: userid
  33718. type: integer
  33719. - description: 发票类型 - 1:个人 2:企业
  33720. in: query
  33721. name: receipttype
  33722. type: integer
  33723. produces:
  33724. - application/json
  33725. responses:
  33726. "200":
  33727. description: OK
  33728. schema:
  33729. items:
  33730. $ref: '#/definitions/models.WrUserReceiptInfo'
  33731. type: array
  33732. "500":
  33733. description: Internal Server Error
  33734. schema:
  33735. $ref: '#/definitions/app.Response'
  33736. security:
  33737. - ApiKeyAuth: []
  33738. summary: 查询发票信息
  33739. tags:
  33740. - 仓单贸易v2
  33741. /WrTrade2/QueryXhcpSellBackApply:
  33742. get:
  33743. parameters:
  33744. - description: 用户ID
  33745. in: query
  33746. name: userid
  33747. required: true
  33748. type: integer
  33749. produces:
  33750. - application/json
  33751. responses:
  33752. "200":
  33753. description: OK
  33754. schema:
  33755. items:
  33756. $ref: '#/definitions/models.Xhcpsellbackapply'
  33757. type: array
  33758. "500":
  33759. description: Internal Server Error
  33760. schema:
  33761. $ref: '#/definitions/app.Response'
  33762. security:
  33763. - ApiKeyAuth: []
  33764. summary: 查询我的回收申请(新会陈皮)
  33765. tags:
  33766. - 仓单贸易v2
  33767. /ZJ/GetBankTip:
  33768. get:
  33769. produces:
  33770. - application/json
  33771. responses:
  33772. "200":
  33773. description: OK
  33774. schema:
  33775. type: string
  33776. "500":
  33777. description: Internal Server Error
  33778. schema:
  33779. $ref: '#/definitions/app.Response'
  33780. summary: 获取中江网银端出入金提示信息
  33781. tags:
  33782. - 中江
  33783. /ZJ/GetCusBankChannels:
  33784. get:
  33785. produces:
  33786. - application/json
  33787. responses:
  33788. "200":
  33789. description: OK
  33790. schema:
  33791. items:
  33792. type: string
  33793. type: array
  33794. "500":
  33795. description: Internal Server Error
  33796. schema:
  33797. $ref: '#/definitions/app.Response'
  33798. summary: 获取中江出入金渠道显示列表
  33799. tags:
  33800. - 中江
  33801. securityDefinitions:
  33802. ApiKeyAuth:
  33803. in: header
  33804. name: Authorization
  33805. type: apiKey
  33806. Group:
  33807. in: header
  33808. name: Group
  33809. type: apiKey
  33810. LoginID:
  33811. in: header
  33812. name: LoginID
  33813. type: apiKey
  33814. swagger: "2.0"